INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(7311, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''SO20150100000004'', 1, ''[6948]PM2B200S003066948'', ''76'', ''4'', 28430.34, 1, ''1'', 28430.34, ''1'', ''2015'', 1, ''SDN20150523[00000004][00000004]'', NULL, ''2'')', 'sotransaction/doPosting', '0.059627056121826', '2015-05-23 08:48:58'),
(7312, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''SO20150100000004'', ''[6948]PM2B200S003066948'', ''21'', ''4'', 28430.34, 1, ''1'', 28430.34, ''1'', ''2015'', ''SDN20150523[00000004][00000006]'', 1, NULL, ''2'')', 'sotransaction/doPosting', '0.037618160247803', '2015-05-23 08:48:58'),
(7313, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 28430.34, `total_amount_cr` = 28430.34, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''SO20150100000004''', 'sotransaction/doPosting', '0.053337812423706', '2015-05-23 08:48:58'),
(7314, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''340''', 'Gltransaction/journalPosting', '0.064840078353882', '2015-05-23 08:49:38'),
(7315, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''SO20150100000004''', 'Gltransaction/journalPosting', '0.052417993545532', '2015-05-23 08:49:38'),
(7316, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''76'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.051063776016235', '2015-05-23 08:49:38'),
(7317, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.079792022705078', '2015-05-23 08:49:38'),
(7318, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice` (`invoiceCodeID`, `customerID`, `currencyID`, `formNo`, `salesInvoiceDate`, `customerPoNo`, `projectID`, `agentID`, `termsID`, `shipToID`, `exchangeRate`, `locationID`, `totalTaxAmount`, `totalReceivable`, `totalamount`, `memo`, `employeeID`, `shippingMethodID`, `companyID`, `createdBy`, `showSaleAgent`) VALUES (2, ''7'', ''1'', ''INV20150523'', ''2015-04-30'', ''YUA11855'', '''', '''', ''6'', ''null'', ''1.00000'', ''2'', 0, ''42161.96'', ''42161.96'', '''', '''', '''', ''2'', ''2'', ''0'')', 'Artransaction/saveNewDirectSaleInvoice', '0.083786964416504', '2015-05-23 09:02:10'),
(7319, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_detail` (`invoiceID`, `lineNo`, `createdBy`, `itemID`, `quantity`, `umID`, `itemdescription`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (7, ''1'', ''2'', ''6'', ''1'', ''16'', ''PM2M602S002228544'', ''39775.43'', ''39775.43'', ''2'', ''6'', ''2386.53'', ''42161.96'')', 'Artransaction/saveNewDirectSaleInvoice', '0.098239898681641', '2015-05-23 09:02:11'),
(7320, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''2386.53'', `totalAmount` = ''42161.96'' WHERE `ID` =  7', 'Artransaction/saveNewDirectSaleInvoice', '0.07775092124939', '2015-05-23 09:02:11'),
(7321, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''7'', ''1'', ''2'', ''284'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''1837.99'', ''8'', ''0'', ''0'', ''1837.99'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.10063290596008', '2015-05-23 09:04:26'),
(7322, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''2386.53'', `totalAmount` = ''43999.95'', `totalReceivable` = ''43999.95'' WHERE `ID` =  ''7''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.074225902557373', '2015-05-23 09:04:26'),
(7323, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_order` (`companyID`, `customerID`, `deliveryOrderDate`, `locationID`, `toAddress`, `shippingMethodID`, `currencyID`, `exchangeRate`, `employeeID`, `totalAmount`, `memo`, `createdBy`, `formNo`) VALUES (''2'', ''7'', ''2015-04-30'', ''2'', '',\\r\\n,\\r\\n \\r\\n, '', ''0'', ''1'', ''1'', ''0'', 41613.42, '''', ''2'', ''SDN20150523'')', 'artransaction/directInvoicePosting', '0.06942892074585', '2015-05-23 09:05:07'),
(7324, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_detail` (`deliveryID`, `lineNo`, `itemID`, `invoiceID`, `amount`, `unitPrice`, `quantitySent`, `createdBy`) VALUES (7, ''1'', ''6'', ''7'', 39775.43, ''39775.43'', ''1'', ''2'')', 'artransaction/directInvoicePosting', '0.097862005233765', '2015-05-23 09:05:07'),
(7325, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice_detail` SET `doID` = 7 WHERE `ID` =  ''7''', 'artransaction/directInvoicePosting', '0.08725905418396', '2015-05-23 09:05:07'),
(7326, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  ''11''', 'artransaction/directInvoicePosting', '0.033364057540894', '2015-05-23 09:05:07'),
(7327, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `journalNo` = ''AR20150100000005'', `updateAble` = ''0'' WHERE `ID` =  ''7''', 'artransaction/directInvoicePosting', '0.033101797103882', '2015-05-23 09:05:07'),
(7328, 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'', ''AR20150100000005'', ''INV20150523[00000005]'', ''Posting Direct Sales Invoices [ INV20150523[00000005] ]'', ''2'', ''2015-04-30'', ''2015'', ''1'', 43999.95, 43999.95, ''2'')', 'artransaction/directInvoicePosting', '0.039521932601929', '2015-05-23 09:05:07'),
(7329, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 1, ''AR20150100000005'', ''[8544]PM2M602S002228544'', ''289'', ''Siti Hajar Mohamad Khalil'', 39775.43, ''1'', ''1'', ''39775.43'', ''1'', ''2015'', ''1'', ''INV20150523[00000005]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.050086975097656', '2015-05-23 09:05:07'),
(7330, 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'', ''AR20150100000005'', 2, ''[8544]PM2M602S002228544'', ''59'', ''Siti Hajar Mohamad Khalil'', 39775.43, ''1'', ''1'', ''39775.43'', ''1'', ''2015'', ''1'', ''INV20150523[00000005]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.030362844467163', '2015-05-23 09:05:07'),
(7331, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150100000005'', ''[8544]PM2M602S002228544'', ''289'', ''Siti Hajar Mohamad Khalil'', 2386.53, ''1'', ''1'', ''2386.53'', ''1'', ''2015'', ''1'', ''INV20150523[00000005]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.029051780700684', '2015-05-23 09:05:07'),
(7332, 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, ''AR20150100000005'', ''[8544]PM2M602S002228544'', ''41'', ''Siti Hajar Mohamad Khalil'', 2386.53, ''1'', ''1'', ''2386.53'', ''1'', ''2015'', ''1'', ''INV20150523[00000005]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.030788898468018', '2015-05-23 09:05:07'),
(7333, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AR20150100000005'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''289'', ''Siti Hajar Mohamad Khalil'', 1837.99, ''1'', ''1'', ''1837.99'', ''1'', ''2015'', ''1'', ''INV20150523[00000005]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.040317058563232', '2015-05-23 09:05:07'),
(7334, 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'', ''AR20150100000005'', 6, ''Road Tax,Registration,HP Claim,Ins Premium'', ''284'', ''Siti Hajar Mohamad Khalil'', 1837.99, ''1'', ''1'', ''1837.99'', ''1'', ''2015'', ''1'', ''INV20150523[00000005]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.028358936309814', '2015-05-23 09:05:07'),
(7335, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 43999.95, `total_amount_cr` = 43999.95, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000005''', 'artransaction/directInvoicePosting', '0.032167911529541', '2015-05-23 09:05:07'),
(7336, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''341''', 'Gltransaction/journalPosting', '0.29878497123718', '2015-05-23 09:06:13'),
(7337, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000005''', 'Gltransaction/journalPosting', '0.06371283531189', '2015-05-23 09:06:13'),
(7338, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''3'', ''289'', ''2015'', ''1'', ''39775.43'', ''0'', 39775.43, ''2'', ''2015-05-23: 03:05:12'')', 'Gltransaction/journalPosting', '0.053062915802002', '2015-05-23 09:06:13'),
(7339, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''59'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.06912899017334', '2015-05-23 09:06:13'),
(7340, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''289'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.034423828125', '2015-05-23 09:06:13'),
(7341, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''41'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.059535980224609', '2015-05-23 09:06:13'),
(7342, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''289'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.034607887268066', '2015-05-23 09:06:13'),
(7343, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''284'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.037353992462158', '2015-05-23 09:06:13'),
(7344, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `updateAble` = ''0'' WHERE `ID` =  ''7''', 'sotransaction/doPosting', '0.031995058059692', '2015-05-23 09:06:38'),
(7345, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  ''12''', 'sotransaction/doPosting', '0.034512996673584', '2015-05-23 09:06:39'),
(7346, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `journalNo` = ''SO20150100000005'' WHERE `ID` =  ''7''', 'sotransaction/doPosting', '0.029681205749512', '2015-05-23 09:06:39'),
(7347, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''SO20150100000005'', ''SDN20150523[00000005]'', ''Delivery Order Confirm [ SDN20150523[00000005] ]'', ''5'', ''2015-04-30'', ''2015'', ''1'', ''2'')', 'sotransaction/doPosting', '0.046941041946411', '2015-05-23 09:06:39'),
(7348, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''6'' AND `companyID` =  ''2''', 'sotransaction/doPosting', '0.057855129241943', '2015-05-23 09:06:39'),
(7349, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''159''', 'sotransaction/doPosting', '0.029487133026123', '2015-05-23 09:06:39'),
(7350, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''159'', ''7'', ''1'', ''1'')', 'sotransaction/doPosting', '0.052929162979126', '2015-05-23 09:06:39'),
(7351, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''SO20150100000005'', 1, ''[8544]PM2M602S002228544'', ''76'', ''7'', 38285.43, 1, ''1'', 38285.43, ''1'', ''2015'', 1, ''SDN20150523[00000005][00000005]'', NULL, ''2'')', 'sotransaction/doPosting', '0.049493074417114', '2015-05-23 09:06:39'),
(7352, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''SO20150100000005'', ''[8544]PM2M602S002228544'', ''21'', ''7'', 38285.43, 1, ''1'', 38285.43, ''1'', ''2015'', ''SDN20150523[00000005][00000007]'', 1, NULL, ''2'')', 'sotransaction/doPosting', '0.040014982223511', '2015-05-23 09:06:39'),
(7353, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 38285.43, `total_amount_cr` = 38285.43, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''SO20150100000005''', 'sotransaction/doPosting', '0.029230117797852', '2015-05-23 09:06:39'),
(7354, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''342''', 'Gltransaction/journalPosting', '0.30234098434448', '2015-05-23 09:07:52'),
(7355, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''SO20150100000005''', 'Gltransaction/journalPosting', '0.072766065597534', '2015-05-23 09:07:52'),
(7356, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''76'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.051463842391968', '2015-05-23 09:07:52'),
(7357, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.076894044876099', '2015-05-23 09:07:52'),
(7358, 2, 2, '::1', 'insert', 'INSERT INTO `comp_chart_of_acct` (`ID`, `companyID`, `acctGroupID`, `acctCode`, `acctName`, `createdBy`, `createdTS`) VALUES (0, ''2'', ''3'', ''2100M0001'', ''Mohd Basir Bin Hussin'', ''yaumanauto'', ''2015-05-23 03-10-48'')', 'glsetting/chartOfAcct', '0.042279958724976', '2015-05-23 09:13:52'),
(7359, 2, 2, '::1', 'insert', 'INSERT INTO `customer` (`ID`, `companyID`, `customerName`, `customerCompanyNo`, `accountCode`, `line1`, `line2`, `line3`, `city`, `customerPostCode`, `customerStateID`, `customerCountryID`, `attention`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `email`, `position`, `linkedAPAccountID`, `generalNote`, `gstRegNo`, `creditLimit`, `creditLimitAlert`, `createdDate`, `termsID`, `currencyID`) VALUES (0, ''2'', ''Mohd Basir Bin Hussin'', ''1743643'', ''M00-01'', '''', '''', '''', '''', '''', ''0'', ''458'', 0, 0, '''', '''', '''', '''', '''', ''290'', '''', '''', '''', 0, ''2015-04-01'', ''6'', ''1'')', 'customerSetup/CustomerNew', '0.05908203125', '2015-05-23 09:17:04'),
(7360, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice` (`invoiceCodeID`, `customerID`, `currencyID`, `formNo`, `salesInvoiceDate`, `customerPoNo`, `projectID`, `agentID`, `termsID`, `shipToID`, `exchangeRate`, `locationID`, `totalTaxAmount`, `totalReceivable`, `totalamount`, `memo`, `employeeID`, `shippingMethodID`, `companyID`, `createdBy`, `showSaleAgent`) VALUES (2, ''8'', ''1'', ''INV20150523'', ''2015-04-30'', ''YUA11854'', '''', '''', ''6'', ''null'', ''1.00000'', ''2'', 0, ''57637.25'', ''57637.25'', '''', '''', '''', ''2'', ''2'', ''0'')', 'Artransaction/saveNewDirectSaleInvoice', '0.10997414588928', '2015-05-23 09:18:57'),
(7361, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_detail` (`invoiceID`, `lineNo`, `createdBy`, `itemID`, `quantity`, `umID`, `itemdescription`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (8, ''1'', ''2'', ''3'', ''1'', ''16'', ''PM2M502G002244478'', ''54374.76'', ''54374.76'', ''2'', ''6'', ''3262.49'', ''57637.25'')', 'Artransaction/saveNewDirectSaleInvoice', '0.028949975967407', '2015-05-23 09:18:57'),
(7362, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''3262.49'', `totalAmount` = ''57637.25'' WHERE `ID` =  8', 'Artransaction/saveNewDirectSaleInvoice', '0.058001041412354', '2015-05-23 09:18:57'),
(7363, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''8'', ''1'', ''2'', ''284'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''2332.55'', ''8'', ''0'', ''0'', ''2332.55'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.053921937942505', '2015-05-23 09:20:45'),
(7364, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''3262.49'', `totalAmount` = ''59969.8'', `totalReceivable` = ''59969.8'' WHERE `ID` =  ''8''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.026668071746826', '2015-05-23 09:20:45'),
(7365, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_order` (`companyID`, `customerID`, `deliveryOrderDate`, `locationID`, `toAddress`, `shippingMethodID`, `currencyID`, `exchangeRate`, `employeeID`, `totalAmount`, `memo`, `createdBy`, `formNo`) VALUES (''2'', ''8'', ''2015-04-30'', ''2'', '',\\r\\n,\\r\\n \\r\\n, '', ''0'', ''1'', ''1'', ''0'', 56707.31, '''', ''2'', ''SDN20150523'')', 'artransaction/directInvoicePosting', '0.054949045181274', '2015-05-23 09:21:51'),
(7366, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_detail` (`deliveryID`, `lineNo`, `itemID`, `invoiceID`, `amount`, `unitPrice`, `quantitySent`, `createdBy`) VALUES (8, ''1'', ''3'', ''8'', 54374.76, ''54374.76'', ''1'', ''2'')', 'artransaction/directInvoicePosting', '0.039665937423706', '2015-05-23 09:21:51'),
(7367, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice_detail` SET `doID` = 8 WHERE `ID` =  ''8''', 'artransaction/directInvoicePosting', '0.028787136077881', '2015-05-23 09:21:51'),
(7368, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  ''11''', 'artransaction/directInvoicePosting', '0.066097021102905', '2015-05-23 09:21:51'),
(7369, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `journalNo` = ''AR20150100000006'', `updateAble` = ''0'' WHERE `ID` =  ''8''', 'artransaction/directInvoicePosting', '0.053857088088989', '2015-05-23 09:21:52'),
(7370, 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'', ''AR20150100000006'', ''INV20150523[00000006]'', ''Posting Direct Sales Invoices [ INV20150523[00000006] ]'', ''2'', ''2015-04-30'', ''2015'', ''1'', 59969.8, 59969.8, ''2'')', 'artransaction/directInvoicePosting', '0.032015085220337', '2015-05-23 09:21:52'),
(7371, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 1, ''AR20150100000006'', ''[4478]PM2M502G002244478'', ''290'', ''Mohd Basir Bin Hussin'', 54374.76, ''1'', ''1'', ''54374.76'', ''1'', ''2015'', ''1'', ''INV20150523[00000006]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.050657033920288', '2015-05-23 09:21:52'),
(7372, 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'', ''AR20150100000006'', 2, ''[4478]PM2M502G002244478'', ''59'', ''Mohd Basir Bin Hussin'', 54374.76, ''1'', ''1'', ''54374.76'', ''1'', ''2015'', ''1'', ''INV20150523[00000006]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.032378196716309', '2015-05-23 09:21:52'),
(7373, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150100000006'', ''[4478]PM2M502G002244478'', ''290'', ''Mohd Basir Bin Hussin'', 3262.49, ''1'', ''1'', ''3262.49'', ''1'', ''2015'', ''1'', ''INV20150523[00000006]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.026227951049805', '2015-05-23 09:21:52'),
(7374, 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, ''AR20150100000006'', ''[4478]PM2M502G002244478'', ''41'', ''Mohd Basir Bin Hussin'', 3262.49, ''1'', ''1'', ''3262.49'', ''1'', ''2015'', ''1'', ''INV20150523[00000006]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.032517910003662', '2015-05-23 09:21:52'),
(7375, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AR20150100000006'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''290'', ''Mohd Basir Bin Hussin'', 2332.55, ''1'', ''1'', ''2332.55'', ''1'', ''2015'', ''1'', ''INV20150523[00000006]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.04026198387146', '2015-05-23 09:21:52'),
(7376, 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'', ''AR20150100000006'', 6, ''Road Tax,Registration,HP Claim,Ins Premium'', ''284'', ''Mohd Basir Bin Hussin'', 2332.55, ''1'', ''1'', ''2332.55'', ''1'', ''2015'', ''1'', ''INV20150523[00000006]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.026774883270264', '2015-05-23 09:21:52'),
(7377, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 59969.8, `total_amount_cr` = 59969.8, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000006''', 'artransaction/directInvoicePosting', '0.033784151077271', '2015-05-23 09:21:52'),
(7378, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''343''', 'Gltransaction/journalPosting', '0.10159087181091', '2015-05-23 09:23:38'),
(7379, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000006''', 'Gltransaction/journalPosting', '0.067915916442871', '2015-05-23 09:23:38'),
(7380, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''3'', ''290'', ''2015'', ''1'', ''54374.76'', ''0'', 54374.76, ''2'', ''2015-05-23: 03:05:38'')', 'Gltransaction/journalPosting', '0.051270008087158', '2015-05-23 09:23:38'),
(7381, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''59'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.033464908599854', '2015-05-23 09:23:38'),
(7382, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''290'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.038663864135742', '2015-05-23 09:23:38'),
(7383, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''41'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.0690758228302', '2015-05-23 09:23:38'),
(7384, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''290'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.033002138137817', '2015-05-23 09:23:38'),
(7385, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''284'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.038843870162964', '2015-05-23 09:23:38'),
(7386, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `updateAble` = ''0'' WHERE `ID` =  ''8''', 'sotransaction/doPosting', '0.038645029067993', '2015-05-23 09:24:03'),
(7387, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  ''12''', 'sotransaction/doPosting', '0.0261549949646', '2015-05-23 09:24:04'),
(7388, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `journalNo` = ''SO20150100000006'' WHERE `ID` =  ''8''', 'sotransaction/doPosting', '0.034688949584961', '2015-05-23 09:24:04'),
(7389, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''SO20150100000006'', ''SDN20150523[00000006]'', ''Delivery Order Confirm [ SDN20150523[00000006] ]'', ''5'', ''2015-04-30'', ''2015'', ''1'', ''2'')', 'sotransaction/doPosting', '0.056520938873291', '2015-05-23 09:24:04'),
(7390, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''3'' AND `companyID` =  ''2''', 'sotransaction/doPosting', '0.047276020050049', '2015-05-23 09:24:04'),
(7391, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''8''', 'sotransaction/doPosting', '0.029049873352051', '2015-05-23 09:24:04'),
(7392, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''8'', ''8'', ''1'', ''1'')', 'sotransaction/doPosting', '0.034677982330322', '2015-05-23 09:24:04'),
(7393, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''SO20150100000006'', 1, ''[4478]PM2M502G002244478'', ''76'', ''8'', 52234.76, 1, ''1'', 52234.76, ''1'', ''2015'', 1, ''SDN20150523[00000006][00000006]'', NULL, ''2'')', 'sotransaction/doPosting', '0.059592962265015', '2015-05-23 09:24:04'),
(7394, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''SO20150100000006'', ''[4478]PM2M502G002244478'', ''21'', ''8'', 52234.76, 1, ''1'', 52234.76, ''1'', ''2015'', ''SDN20150523[00000006][00000008]'', 1, NULL, ''2'')', 'sotransaction/doPosting', '0.037782907485962', '2015-05-23 09:24:04'),
(7395, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 52234.76, `total_amount_cr` = 52234.76, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''SO20150100000006''', 'sotransaction/doPosting', '0.028033971786499', '2015-05-23 09:24:04'),
(7396, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''344''', 'Gltransaction/journalPosting', '0.064246892929077', '2015-05-23 09:24:43'),
(7397, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''SO20150100000006''', 'Gltransaction/journalPosting', '0.042883157730103', '2015-05-23 09:24:43'),
(7398, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''76'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.048784017562866', '2015-05-23 09:24:43'),
(7399, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.094474792480469', '2015-05-23 09:24:43'),
(7400, 2, 2, '::1', 'insert', 'INSERT INTO `comp_chart_of_acct` (`ID`, `companyID`, `acctGroupID`, `acctCode`, `acctName`, `createdBy`, `createdTS`) VALUES (0, ''2'', ''3'', ''2100S0003'', ''Sadhanaraj A/L Susairaj'', ''yaumanauto'', ''2015-05-23 14-33-29'')', 'glsetting/chartOfAcct', '0.060199022293091', '2015-05-23 20:34:28'),
(7401, 2, 2, '::1', 'insert', 'INSERT INTO `customer` (`ID`, `companyID`, `customerName`, `customerCompanyNo`, `accountCode`, `line1`, `line2`, `line3`, `city`, `customerPostCode`, `customerStateID`, `customerCountryID`, `attention`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `email`, `position`, `linkedAPAccountID`, `generalNote`, `gstRegNo`, `creditLimit`, `creditLimitAlert`, `createdDate`, `termsID`, `currencyID`) VALUES (0, ''2'', ''Sadhanaraj A/L Susairaj'', ''2755000'', ''S00-03'', '''', '''', '''', '''', '''', ''0'', ''458'', 0, 0, '''', '''', '''', '''', '''', ''291'', '''', '''', '''', 0, ''2015-04-01'', ''6'', ''1'')', 'customerSetup/CustomerNew', '0.052180051803589', '2015-05-23 20:40:41'),
(7402, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice` (`invoiceCodeID`, `customerID`, `currencyID`, `formNo`, `salesInvoiceDate`, `customerPoNo`, `projectID`, `agentID`, `termsID`, `shipToID`, `exchangeRate`, `locationID`, `totalTaxAmount`, `totalReceivable`, `totalamount`, `memo`, `employeeID`, `shippingMethodID`, `companyID`, `createdBy`, `showSaleAgent`) VALUES (2, ''9'', ''1'', ''INV20150523'', ''2015-04-30'', ''YUA11853'', '''', '''', ''6'', ''null'', ''1.00000'', ''2'', 0, ''51366.67'', ''51366.67'', '''', '''', '''', ''2'', ''2'', ''0'')', 'Artransaction/saveNewDirectSaleInvoice', '0.16015005111694', '2015-05-23 20:42:47'),
(7403, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_detail` (`invoiceID`, `lineNo`, `createdBy`, `itemID`, `quantity`, `umID`, `itemdescription`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (9, ''1'', ''2'', ''4'', ''1'', ''16'', ''PM2M603S002124504'', ''48459.12'', ''48459.12'', ''2'', ''6'', ''2907.55'', ''51366.67'')', 'Artransaction/saveNewDirectSaleInvoice', '0.043378829956055', '2015-05-23 20:42:47'),
(7404, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''2907.55'', `totalAmount` = ''51366.67'' WHERE `ID` =  9', 'Artransaction/saveNewDirectSaleInvoice', '0.050132036209106', '2015-05-23 20:42:47'),
(7405, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''9'', ''1'', ''2'', ''284'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''1076.43'', ''8'', ''0'', ''0'', ''1076.43'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.10318207740784', '2015-05-23 20:44:18'),
(7406, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''2907.55'', `totalAmount` = ''52443.1'', `totalReceivable` = ''52443.1'' WHERE `ID` =  ''9''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.096544027328491', '2015-05-23 20:44:18'),
(7407, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_order` (`companyID`, `customerID`, `deliveryOrderDate`, `locationID`, `toAddress`, `shippingMethodID`, `currencyID`, `exchangeRate`, `employeeID`, `totalAmount`, `memo`, `createdBy`, `formNo`) VALUES (''2'', ''9'', ''2015-04-30'', ''2'', '',\\r\\n,\\r\\n \\r\\n, '', ''0'', ''1'', ''1'', ''0'', 49535.55, '''', ''2'', ''SDN20150523'')', 'artransaction/directInvoicePosting', '0.083851099014282', '2015-05-23 20:45:30'),
(7408, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_detail` (`deliveryID`, `lineNo`, `itemID`, `invoiceID`, `amount`, `unitPrice`, `quantitySent`, `createdBy`) VALUES (9, ''1'', ''4'', ''9'', 48459.12, ''48459.12'', ''1'', ''2'')', 'artransaction/directInvoicePosting', '0.043824911117554', '2015-05-23 20:45:30'),
(7409, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice_detail` SET `doID` = 9 WHERE `ID` =  ''9''', 'artransaction/directInvoicePosting', '0.088135004043579', '2015-05-23 20:45:30'),
(7410, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 7 WHERE `ID` =  ''11''', 'artransaction/directInvoicePosting', '0.075176000595093', '2015-05-23 20:45:30'),
(7411, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `journalNo` = ''AR20150100000007'', `updateAble` = ''0'' WHERE `ID` =  ''9''', 'artransaction/directInvoicePosting', '0.063835144042969', '2015-05-23 20:45:30'),
(7412, 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'', ''AR20150100000007'', ''INV20150523[00000007]'', ''Posting Direct Sales Invoices [ INV20150523[00000007] ]'', ''2'', ''2015-04-30'', ''2015'', ''1'', 52443.1, 52443.1, ''2'')', 'artransaction/directInvoicePosting', '0.047695875167847', '2015-05-23 20:45:30'),
(7413, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 1, ''AR20150100000007'', ''[4504]PM2M603S002124504'', ''291'', ''Sadhanaraj A/L Susairaj'', 48459.12, ''1'', ''1'', ''48459.12'', ''1'', ''2015'', ''1'', ''INV20150523[00000007]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.051608085632324', '2015-05-23 20:45:30'),
(7414, 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'', ''AR20150100000007'', 2, ''[4504]PM2M603S002124504'', ''59'', ''Sadhanaraj A/L Susairaj'', 48459.12, ''1'', ''1'', ''48459.12'', ''1'', ''2015'', ''1'', ''INV20150523[00000007]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.042788028717041', '2015-05-23 20:45:30'),
(7415, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150100000007'', ''[4504]PM2M603S002124504'', ''291'', ''Sadhanaraj A/L Susairaj'', 2907.55, ''1'', ''1'', ''2907.55'', ''1'', ''2015'', ''1'', ''INV20150523[00000007]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.046519041061401', '2015-05-23 20:45:30'),
(7416, 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, ''AR20150100000007'', ''[4504]PM2M603S002124504'', ''41'', ''Sadhanaraj A/L Susairaj'', 2907.55, ''1'', ''1'', ''2907.55'', ''1'', ''2015'', ''1'', ''INV20150523[00000007]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.05433201789856', '2015-05-23 20:45:30'),
(7417, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AR20150100000007'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''291'', ''Sadhanaraj A/L Susairaj'', 1076.43, ''1'', ''1'', ''1076.43'', ''1'', ''2015'', ''1'', ''INV20150523[00000007]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.051670074462891', '2015-05-23 20:45:31'),
(7418, 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'', ''AR20150100000007'', 6, ''Road Tax,Registration,HP Claim,Ins Premium'', ''284'', ''Sadhanaraj A/L Susairaj'', 1076.43, ''1'', ''1'', ''1076.43'', ''1'', ''2015'', ''1'', ''INV20150523[00000007]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.04597806930542', '2015-05-23 20:45:31'),
(7419, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 52443.1, `total_amount_cr` = 52443.1, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000007''', 'artransaction/directInvoicePosting', '0.041038990020752', '2015-05-23 20:45:31'),
(7420, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''345''', 'Gltransaction/journalPosting', '0.30183792114258', '2015-05-23 20:46:19'),
(7421, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000007''', 'Gltransaction/journalPosting', '0.054811954498291', '2015-05-23 20:46:19'),
(7422, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''3'', ''291'', ''2015'', ''1'', ''48459.12'', ''0'', 48459.12, ''2'', ''2015-05-23: 14:05:19'')', 'Gltransaction/journalPosting', '0.045326948165894', '2015-05-23 20:46:19'),
(7423, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''59'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.034235000610352', '2015-05-23 20:46:19'),
(7424, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''291'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.027810096740723', '2015-05-23 20:46:19'),
(7425, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''41'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.056245088577271', '2015-05-23 20:46:19'),
(7426, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''291'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.027724981307983', '2015-05-23 20:46:19'),
(7427, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''284'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.034286975860596', '2015-05-23 20:46:19'),
(7428, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `updateAble` = ''0'' WHERE `ID` =  ''9''', 'sotransaction/doPosting', '0.044806957244873', '2015-05-23 20:46:49'),
(7429, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 7 WHERE `ID` =  ''12''', 'sotransaction/doPosting', '0.039216995239258', '2015-05-23 20:46:49'),
(7430, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `journalNo` = ''SO20150100000007'' WHERE `ID` =  ''9''', 'sotransaction/doPosting', '0.047224998474121', '2015-05-23 20:46:49');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(7431, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''SO20150100000007'', ''SDN20150523[00000007]'', ''Delivery Order Confirm [ SDN20150523[00000007] ]'', ''5'', ''2015-04-30'', ''2015'', ''1'', ''2'')', 'sotransaction/doPosting', '0.047420024871826', '2015-05-23 20:46:49'),
(7432, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''4'' AND `companyID` =  ''2''', 'sotransaction/doPosting', '0.061609029769897', '2015-05-23 20:46:49'),
(7433, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''9''', 'sotransaction/doPosting', '0.055030822753906', '2015-05-23 20:46:49'),
(7434, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''9'', ''9'', ''1'', ''1'')', 'sotransaction/doPosting', '0.043891906738281', '2015-05-23 20:46:49'),
(7435, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''SO20150100000007'', 1, ''[4504]PM2M603S002124504'', ''76'', ''9'', 46519.12, 1, ''1'', 46519.12, ''1'', ''2015'', 1, ''SDN20150523[00000007][00000007]'', NULL, ''2'')', 'sotransaction/doPosting', '0.042344093322754', '2015-05-23 20:46:49'),
(7436, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''SO20150100000007'', ''[4504]PM2M603S002124504'', ''21'', ''9'', 46519.12, 1, ''1'', 46519.12, ''1'', ''2015'', ''SDN20150523[00000007][00000009]'', 1, NULL, ''2'')', 'sotransaction/doPosting', '0.075579166412354', '2015-05-23 20:46:49'),
(7437, 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` =  ''SO20150100000007''', 'sotransaction/doPosting', '0.076941013336182', '2015-05-23 20:46:49'),
(7438, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''346''', 'Gltransaction/journalPosting', '0.097052097320557', '2015-05-23 20:47:38'),
(7439, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''SO20150100000007''', 'Gltransaction/journalPosting', '0.043743848800659', '2015-05-23 20:47:38'),
(7440, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''76'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.037163972854614', '2015-05-23 20:47:38'),
(7441, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.067611217498779', '2015-05-23 20:47:38'),
(7442, 2, 2, '::1', 'insert', 'INSERT INTO `comp_chart_of_acct` (`ID`, `companyID`, `acctGroupID`, `acctCode`, `acctName`, `createdBy`, `createdTS`) VALUES (0, ''2'', ''3'', ''2100F0001'', ''Foh Rui Yin'', ''yaumanauto'', ''2015-05-23 14-50-16'')', 'glsetting/chartOfAcct', '0.046932935714722', '2015-05-23 20:51:11'),
(7443, 2, 2, '::1', 'insert', 'INSERT INTO `customer` (`ID`, `companyID`, `customerName`, `customerCompanyNo`, `accountCode`, `line1`, `line2`, `line3`, `city`, `customerPostCode`, `customerStateID`, `customerCountryID`, `attention`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `email`, `position`, `linkedAPAccountID`, `generalNote`, `gstRegNo`, `creditLimit`, `creditLimitAlert`, `createdDate`, `termsID`, `currencyID`) VALUES (0, ''2'', ''Foh Rui Yin'', ''2709571'', ''F00-01'', '''', '''', '''', '''', '''', ''0'', ''458'', 0, 0, '''', '''', '''', '''', '''', ''292'', '''', '''', '''', 0, ''2015-04-01'', ''6'', ''1'')', 'customerSetup/CustomerNew', '0.04758620262146', '2015-05-23 20:53:06'),
(7444, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice` (`invoiceCodeID`, `customerID`, `currencyID`, `formNo`, `salesInvoiceDate`, `customerPoNo`, `projectID`, `agentID`, `termsID`, `shipToID`, `exchangeRate`, `locationID`, `totalTaxAmount`, `totalReceivable`, `totalamount`, `memo`, `employeeID`, `shippingMethodID`, `companyID`, `createdBy`, `showSaleAgent`) VALUES (2, ''10'', ''1'', ''INV20150523'', ''2015-04-30'', ''YUA11852'', '''', '''', ''6'', ''null'', ''1.00000'', ''2'', 0, ''56228.87'', ''56228.87'', '''', '''', '''', ''2'', ''2'', ''0'')', 'Artransaction/saveNewDirectSaleInvoice', '0.11307191848755', '2015-05-23 20:55:36'),
(7445, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_detail` (`invoiceID`, `lineNo`, `createdBy`, `itemID`, `quantity`, `umID`, `itemdescription`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (10, ''1'', ''2'', ''21'', ''1'', ''16'', ''PM2M603S002125470'', ''53046.1'', ''53046.1'', ''2'', ''6'', ''3182.77'', ''56228.87'')', 'Artransaction/saveNewDirectSaleInvoice', '0.03606915473938', '2015-05-23 20:55:36'),
(7446, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''3182.77'', `totalAmount` = ''56228.87'' WHERE `ID` =  10', 'Artransaction/saveNewDirectSaleInvoice', '0.025108814239502', '2015-05-23 20:55:36'),
(7447, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''10'', ''1'', ''2'', ''284'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''2139.63'', ''8'', ''0'', ''0'', ''2139.63'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.1012167930603', '2015-05-23 20:56:38'),
(7448, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''3182.77'', `totalAmount` = ''58368.5'', `totalReceivable` = ''58368.5'' WHERE `ID` =  ''10''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.048709869384766', '2015-05-23 20:56:38'),
(7449, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_order` (`companyID`, `customerID`, `deliveryOrderDate`, `locationID`, `toAddress`, `shippingMethodID`, `currencyID`, `exchangeRate`, `employeeID`, `totalAmount`, `memo`, `createdBy`, `formNo`) VALUES (''2'', ''10'', ''2015-04-30'', ''2'', '',\\r\\n,\\r\\n \\r\\n, '', ''0'', ''1'', ''1'', ''0'', 55185.73, '''', ''2'', ''SDN20150523'')', 'artransaction/directInvoicePosting', '0.063613891601562', '2015-05-23 20:57:24'),
(7450, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_detail` (`deliveryID`, `lineNo`, `itemID`, `invoiceID`, `amount`, `unitPrice`, `quantitySent`, `createdBy`) VALUES (10, ''1'', ''21'', ''10'', 53046.1, ''53046.1'', ''1'', ''2'')', 'artransaction/directInvoicePosting', '0.04380202293396', '2015-05-23 20:57:24'),
(7451, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice_detail` SET `doID` = 10 WHERE `ID` =  ''10''', 'artransaction/directInvoicePosting', '0.054946184158325', '2015-05-23 20:57:24'),
(7452, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 8 WHERE `ID` =  ''11''', 'artransaction/directInvoicePosting', '0.14662194252014', '2015-05-23 20:57:24'),
(7453, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `journalNo` = ''AR20150100000008'', `updateAble` = ''0'' WHERE `ID` =  ''10''', 'artransaction/directInvoicePosting', '0.060081005096436', '2015-05-23 20:57:24'),
(7454, 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'', ''AR20150100000008'', ''INV20150523[00000008]'', ''Posting Direct Sales Invoices [ INV20150523[00000008] ]'', ''2'', ''2015-04-30'', ''2015'', ''1'', 58368.5, 58368.5, ''2'')', 'artransaction/directInvoicePosting', '0.069038867950439', '2015-05-23 20:57:24'),
(7455, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 1, ''AR20150100000008'', ''[5470]PM2M603S002125470'', ''292'', ''Foh Rui Yin'', 53046.1, ''1'', ''1'', ''53046.1'', ''1'', ''2015'', ''1'', ''INV20150523[00000008]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.25833511352539', '2015-05-23 20:57:24'),
(7456, 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'', ''AR20150100000008'', 2, ''[5470]PM2M603S002125470'', ''59'', ''Foh Rui Yin'', 53046.1, ''1'', ''1'', ''53046.1'', ''1'', ''2015'', ''1'', ''INV20150523[00000008]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.028731107711792', '2015-05-23 20:57:24'),
(7457, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150100000008'', ''[5470]PM2M603S002125470'', ''292'', ''Foh Rui Yin'', 3182.77, ''1'', ''1'', ''3182.77'', ''1'', ''2015'', ''1'', ''INV20150523[00000008]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.035763025283813', '2015-05-23 20:57:24'),
(7458, 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, ''AR20150100000008'', ''[5470]PM2M603S002125470'', ''41'', ''Foh Rui Yin'', 3182.77, ''1'', ''1'', ''3182.77'', ''1'', ''2015'', ''1'', ''INV20150523[00000008]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.043215036392212', '2015-05-23 20:57:24'),
(7459, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AR20150100000008'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''292'', ''Foh Rui Yin'', 2139.63, ''1'', ''1'', ''2139.63'', ''1'', ''2015'', ''1'', ''INV20150523[00000008]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.028275966644287', '2015-05-23 20:57:24'),
(7460, 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'', ''AR20150100000008'', 6, ''Road Tax,Registration,HP Claim,Ins Premium'', ''284'', ''Foh Rui Yin'', 2139.63, ''1'', ''1'', ''2139.63'', ''1'', ''2015'', ''1'', ''INV20150523[00000008]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.036206960678101', '2015-05-23 20:57:24'),
(7461, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 58368.5, `total_amount_cr` = 58368.5, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000008''', 'artransaction/directInvoicePosting', '0.039818048477173', '2015-05-23 20:57:24'),
(7462, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''347''', 'Gltransaction/journalPosting', '0.056543111801147', '2015-05-23 20:58:42'),
(7463, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000008''', 'Gltransaction/journalPosting', '0.02876091003418', '2015-05-23 20:58:42'),
(7464, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''3'', ''292'', ''2015'', ''1'', ''53046.1'', ''0'', 53046.1, ''2'', ''2015-05-23: 14:05:41'')', 'Gltransaction/journalPosting', '0.060034990310669', '2015-05-23 20:58:42'),
(7465, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''59'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.042142868041992', '2015-05-23 20:58:42'),
(7466, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''292'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.075255155563354', '2015-05-23 20:58:42'),
(7467, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''41'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.064200162887573', '2015-05-23 20:58:42'),
(7468, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''292'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.027549982070923', '2015-05-23 20:58:42'),
(7469, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''284'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.034590005874634', '2015-05-23 20:58:42'),
(7470, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `updateAble` = ''0'' WHERE `ID` =  ''10''', 'sotransaction/doPosting', '0.035980939865112', '2015-05-23 20:59:17'),
(7471, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 8 WHERE `ID` =  ''12''', 'sotransaction/doPosting', '0.036607027053833', '2015-05-23 20:59:17'),
(7472, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `journalNo` = ''SO20150100000008'' WHERE `ID` =  ''10''', 'sotransaction/doPosting', '0.028649091720581', '2015-05-23 20:59:17'),
(7473, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''SO20150100000008'', ''SDN20150523[00000008]'', ''Delivery Order Confirm [ SDN20150523[00000008] ]'', ''5'', ''2015-04-30'', ''2015'', ''1'', ''2'')', 'sotransaction/doPosting', '0.073983907699585', '2015-05-23 20:59:17'),
(7474, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''21'' AND `companyID` =  ''2''', 'sotransaction/doPosting', '0.084246873855591', '2015-05-23 20:59:17'),
(7475, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''24''', 'sotransaction/doPosting', '0.029200077056885', '2015-05-23 20:59:17'),
(7476, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''24'', ''10'', ''1'', ''1'')', 'sotransaction/doPosting', '0.036417007446289', '2015-05-23 20:59:17'),
(7477, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''SO20150100000008'', 1, ''[5470]PM2M603S002125470'', ''76'', ''10'', 51084.1, 1, ''1'', 51084.1, ''1'', ''2015'', 1, ''SDN20150523[00000008][00000008]'', NULL, ''2'')', 'sotransaction/doPosting', '0.027718067169189', '2015-05-23 20:59:17'),
(7478, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''SO20150100000008'', ''[5470]PM2M603S002125470'', ''21'', ''10'', 51084.1, 1, ''1'', 51084.1, ''1'', ''2015'', ''SDN20150523[00000008][00000010]'', 1, NULL, ''2'')', 'sotransaction/doPosting', '0.034982919692993', '2015-05-23 20:59:17'),
(7479, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 51084.1, `total_amount_cr` = 51084.1, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''SO20150100000008''', 'sotransaction/doPosting', '0.029045104980469', '2015-05-23 20:59:17'),
(7480, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''348''', 'Gltransaction/journalPosting', '0.091572999954224', '2015-05-23 20:59:55'),
(7481, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''SO20150100000008''', 'Gltransaction/journalPosting', '0.043119192123413', '2015-05-23 20:59:55'),
(7482, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''76'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.033905029296875', '2015-05-23 20:59:55'),
(7483, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.064254999160767', '2015-05-23 20:59:55'),
(7484, 2, 2, '::1', 'insert', 'INSERT INTO `comp_chart_of_acct` (`ID`, `companyID`, `acctGroupID`, `acctCode`, `acctName`, `createdBy`, `createdTS`) VALUES (0, ''2'', ''3'', ''2100N0003'', ''Norazlin Binti Yusop'', ''yaumanauto'', ''2015-05-23 15-10-17'')', 'glsetting/chartOfAcct', '0.056320905685425', '2015-05-23 21:11:11'),
(7485, 2, 2, '::1', 'insert', 'INSERT INTO `customer` (`ID`, `companyID`, `customerName`, `customerCompanyNo`, `accountCode`, `line1`, `line2`, `line3`, `city`, `customerPostCode`, `customerStateID`, `customerCountryID`, `attention`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `email`, `position`, `linkedAPAccountID`, `generalNote`, `gstRegNo`, `creditLimit`, `creditLimitAlert`, `createdDate`, `termsID`, `currencyID`) VALUES (0, ''2'', ''Norazlin Binti Yusop'', ''2737248'', ''N00-03'', '''', '''', '''', '''', '''', ''0'', ''458'', 0, 0, '''', '''', '''', '''', '''', ''293'', '''', '''', '''', 0, ''2015-04-01'', ''6'', ''1'')', 'customerSetup/CustomerNew', '0.053191184997559', '2015-05-23 21:12:54'),
(7486, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice` (`invoiceCodeID`, `customerID`, `currencyID`, `formNo`, `salesInvoiceDate`, `customerPoNo`, `projectID`, `agentID`, `termsID`, `shipToID`, `exchangeRate`, `locationID`, `totalTaxAmount`, `totalReceivable`, `totalamount`, `memo`, `employeeID`, `shippingMethodID`, `companyID`, `createdBy`, `showSaleAgent`) VALUES (2, ''11'', ''1'', ''INV20150523'', ''2015-04-30'', ''YUA11851'', '''', '''', ''6'', ''null'', ''1.00000'', ''2'', 0, ''45479.28'', ''45479.28'', '''', '''', '''', ''2'', ''2'', ''0'')', 'Artransaction/saveNewDirectSaleInvoice', '0.10974812507629', '2015-05-23 21:14:31'),
(7487, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_detail` (`invoiceID`, `lineNo`, `createdBy`, `itemID`, `quantity`, `umID`, `itemdescription`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (11, ''1'', ''2'', ''8'', ''1'', ''16'', ''PM2M602S002227972'', ''42904.98'', ''42904.98'', ''2'', ''6'', ''2574.3'', ''45479.28'')', 'Artransaction/saveNewDirectSaleInvoice', '0.028058052062988', '2015-05-23 21:14:31'),
(7488, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''2574.3'', `totalAmount` = ''45479.28'' WHERE `ID` =  11', 'Artransaction/saveNewDirectSaleInvoice', '0.034106016159058', '2015-05-23 21:14:31'),
(7489, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''11'', ''1'', ''2'', ''284'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''1782.87'', ''8'', ''0'', ''0'', ''1782.87'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.1079728603363', '2015-05-23 21:15:34'),
(7490, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''2574.3'', `totalAmount` = ''47262.15'', `totalReceivable` = ''47262.15'' WHERE `ID` =  ''11''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.041276931762695', '2015-05-23 21:15:34'),
(7491, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_order` (`companyID`, `customerID`, `deliveryOrderDate`, `locationID`, `toAddress`, `shippingMethodID`, `currencyID`, `exchangeRate`, `employeeID`, `totalAmount`, `memo`, `createdBy`, `formNo`) VALUES (''2'', ''11'', ''2015-04-30'', ''2'', '',\\r\\n,\\r\\n \\r\\n, '', ''0'', ''1'', ''1'', ''0'', 44687.85, '''', ''2'', ''SDN20150523'')', 'artransaction/directInvoicePosting', '0.058506965637207', '2015-05-23 21:16:02'),
(7492, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_detail` (`deliveryID`, `lineNo`, `itemID`, `invoiceID`, `amount`, `unitPrice`, `quantitySent`, `createdBy`) VALUES (11, ''1'', ''8'', ''11'', 42904.98, ''42904.98'', ''1'', ''2'')', 'artransaction/directInvoicePosting', '0.041079044342041', '2015-05-23 21:16:02'),
(7493, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice_detail` SET `doID` = 11 WHERE `ID` =  ''11''', 'artransaction/directInvoicePosting', '0.028802871704102', '2015-05-23 21:16:02'),
(7494, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 9 WHERE `ID` =  ''11''', 'artransaction/directInvoicePosting', '0.036386966705322', '2015-05-23 21:16:02'),
(7495, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `journalNo` = ''AR20150100000009'', `updateAble` = ''0'' WHERE `ID` =  ''11''', 'artransaction/directInvoicePosting', '0.036813020706177', '2015-05-23 21:16:02'),
(7496, 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'', ''AR20150100000009'', ''INV20150523[00000009]'', ''Posting Direct Sales Invoices [ INV20150523[00000009] ]'', ''2'', ''2015-04-30'', ''2015'', ''1'', 47262.15, 47262.15, ''2'')', 'artransaction/directInvoicePosting', '0.033218145370483', '2015-05-23 21:16:02'),
(7497, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 1, ''AR20150100000009'', ''[7972]PM2M602S002227972'', ''293'', ''Norazlin Binti Yusop'', 42904.98, ''1'', ''1'', ''42904.98'', ''1'', ''2015'', ''1'', ''INV20150523[00000009]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.05436897277832', '2015-05-23 21:16:02'),
(7498, 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'', ''AR20150100000009'', 2, ''[7972]PM2M602S002227972'', ''59'', ''Norazlin Binti Yusop'', 42904.98, ''1'', ''1'', ''42904.98'', ''1'', ''2015'', ''1'', ''INV20150523[00000009]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.027652025222778', '2015-05-23 21:16:02'),
(7499, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150100000009'', ''[7972]PM2M602S002227972'', ''293'', ''Norazlin Binti Yusop'', 2574.3, ''1'', ''1'', ''2574.3'', ''1'', ''2015'', ''1'', ''INV20150523[00000009]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.036777019500732', '2015-05-23 21:16:02'),
(7500, 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, ''AR20150100000009'', ''[7972]PM2M602S002227972'', ''41'', ''Norazlin Binti Yusop'', 2574.3, ''1'', ''1'', ''2574.3'', ''1'', ''2015'', ''1'', ''INV20150523[00000009]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.027667999267578', '2015-05-23 21:16:02'),
(7501, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AR20150100000009'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''293'', ''Norazlin Binti Yusop'', 1782.87, ''1'', ''1'', ''1782.87'', ''1'', ''2015'', ''1'', ''INV20150523[00000009]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.092115879058838', '2015-05-23 21:16:02'),
(7502, 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'', ''AR20150100000009'', 6, ''Road Tax,Registration,HP Claim,Ins Premium'', ''284'', ''Norazlin Binti Yusop'', 1782.87, ''1'', ''1'', ''1782.87'', ''1'', ''2015'', ''1'', ''INV20150523[00000009]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.065425872802734', '2015-05-23 21:16:02'),
(7503, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 47262.15, `total_amount_cr` = 47262.15, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000009''', 'artransaction/directInvoicePosting', '0.028595924377441', '2015-05-23 21:16:02'),
(7504, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''349''', 'Gltransaction/journalPosting', '0.091290950775146', '2015-05-23 21:18:21'),
(7505, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000009''', 'Gltransaction/journalPosting', '0.048481941223145', '2015-05-23 21:18:21'),
(7506, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''3'', ''293'', ''2015'', ''1'', ''42904.98'', ''0'', 42904.98, ''2'', ''2015-05-23: 15:05:21'')', 'Gltransaction/journalPosting', '0.042092800140381', '2015-05-23 21:18:21'),
(7507, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''59'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.035148859024048', '2015-05-23 21:18:21'),
(7508, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''293'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.053057193756104', '2015-05-23 21:18:21'),
(7509, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''41'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.053128957748413', '2015-05-23 21:18:21'),
(7510, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''293'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.037800073623657', '2015-05-23 21:18:21'),
(7511, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''284'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.046180963516235', '2015-05-23 21:18:21'),
(7512, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `updateAble` = ''0'' WHERE `ID` =  ''11''', 'sotransaction/doPosting', '0.036401033401489', '2015-05-23 21:18:53'),
(7513, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 9 WHERE `ID` =  ''12''', 'sotransaction/doPosting', '0.037113904953003', '2015-05-23 21:18:53'),
(7514, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `journalNo` = ''SO20150100000009'' WHERE `ID` =  ''11''', 'sotransaction/doPosting', '0.028985023498535', '2015-05-23 21:18:53'),
(7515, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''SO20150100000009'', ''SDN20150523[00000009]'', ''Delivery Order Confirm [ SDN20150523[00000009] ]'', ''5'', ''2015-04-30'', ''2015'', ''1'', ''2'')', 'sotransaction/doPosting', '0.051687955856323', '2015-05-23 21:18:53'),
(7516, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''8'' AND `companyID` =  ''2''', 'sotransaction/doPosting', '0.04050087928772', '2015-05-23 21:18:53'),
(7517, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''12''', 'sotransaction/doPosting', '0.028568983078003', '2015-05-23 21:18:53'),
(7518, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''12'', ''11'', ''1'', ''1'')', 'sotransaction/doPosting', '0.037092208862305', '2015-05-23 21:18:53'),
(7519, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''SO20150100000009'', 1, ''[7972]PM2M602S002227972'', ''76'', ''11'', 41314.98, 1, ''1'', 41314.98, ''1'', ''2015'', 1, ''SDN20150523[00000009][00000009]'', NULL, ''2'')', 'sotransaction/doPosting', '0.026979207992554', '2015-05-23 21:18:53'),
(7520, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''SO20150100000009'', ''[7972]PM2M602S002227972'', ''21'', ''11'', 41314.98, 1, ''1'', 41314.98, ''1'', ''2015'', ''SDN20150523[00000009][00000011]'', 1, NULL, ''2'')', 'sotransaction/doPosting', '0.035701036453247', '2015-05-23 21:18:53'),
(7521, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 41314.98, `total_amount_cr` = 41314.98, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''SO20150100000009''', 'sotransaction/doPosting', '0.028352975845337', '2015-05-23 21:18:53'),
(7522, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''350''', 'Gltransaction/journalPosting', '0.30994081497192', '2015-05-23 21:20:38'),
(7523, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''SO20150100000009''', 'Gltransaction/journalPosting', '0.049956083297729', '2015-05-23 21:20:38'),
(7524, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''76'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.058225870132446', '2015-05-23 21:20:38'),
(7525, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.059263944625854', '2015-05-23 21:20:38'),
(7526, 2, 2, '::1', 'insert', 'INSERT INTO `comp_chart_of_acct` (`ID`, `companyID`, `acctGroupID`, `acctCode`, `acctName`, `createdBy`, `createdTS`) VALUES (0, ''2'', ''3'', ''2100H0001'', ''Hew Yong Hui'', ''yaumanauto'', ''2015-05-23 15-51-21'')', 'glsetting/chartOfAcct', '0.049256086349487', '2015-05-23 21:52:11'),
(7527, 2, 2, '::1', 'insert', 'INSERT INTO `customer` (`ID`, `companyID`, `customerName`, `customerCompanyNo`, `accountCode`, `line1`, `line2`, `line3`, `city`, `customerPostCode`, `customerStateID`, `customerCountryID`, `attention`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `email`, `position`, `linkedAPAccountID`, `generalNote`, `gstRegNo`, `creditLimit`, `creditLimitAlert`, `createdDate`, `termsID`, `currencyID`) VALUES (0, ''2'', ''Hew Yong Hui'', ''2729224'', ''H00-01'', '''', '''', '''', '''', '''', ''0'', ''458'', 0, 0, '''', '''', '''', '''', '''', ''294'', '''', '''', '''', 0, ''2015-04-01'', ''6'', ''1'')', 'customerSetup/CustomerNew', '0.068227052688599', '2015-05-23 21:53:34'),
(7528, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice` (`invoiceCodeID`, `customerID`, `currencyID`, `formNo`, `salesInvoiceDate`, `customerPoNo`, `projectID`, `agentID`, `termsID`, `shipToID`, `exchangeRate`, `locationID`, `totalTaxAmount`, `totalReceivable`, `totalamount`, `memo`, `employeeID`, `shippingMethodID`, `companyID`, `createdBy`, `showSaleAgent`) VALUES (2, ''12'', ''1'', ''INV20150523'', ''2015-04-30'', ''YUA11850'', '''', '''', ''6'', ''null'', ''1.00000'', ''2'', 0, ''40754.88'', ''40754.88'', '''', '''', '''', ''2'', ''2'', ''0'')', 'Artransaction/saveNewDirectSaleInvoice', '0.06537389755249', '2015-05-23 21:55:54'),
(7529, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_detail` (`invoiceID`, `lineNo`, `createdBy`, `itemID`, `quantity`, `umID`, `itemdescription`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (12, ''1'', ''2'', ''11'', ''1'', ''16'', ''PM2B2002003065820'', ''38448'', ''38448'', ''2'', ''6'', ''2306.88'', ''40754.88'')', 'Artransaction/saveNewDirectSaleInvoice', '0.092153787612915', '2015-05-23 21:55:54'),
(7530, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''2306.88'', `totalAmount` = ''40754.88'' WHERE `ID` =  12', 'Artransaction/saveNewDirectSaleInvoice', '0.034880876541138', '2015-05-23 21:55:54'),
(7531, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''12'', ''1'', ''2'', ''284'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''1662.63'', ''8'', ''0'', ''0'', ''1662.63'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.090567827224731', '2015-05-23 21:57:11'),
(7532, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''2306.88'', `totalAmount` = ''42417.509999999995'', `totalReceivable` = ''42417.509999999995'' WHERE `ID` =  ''12''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.035346031188965', '2015-05-23 21:57:11'),
(7533, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_order` (`companyID`, `customerID`, `deliveryOrderDate`, `locationID`, `toAddress`, `shippingMethodID`, `currencyID`, `exchangeRate`, `employeeID`, `totalAmount`, `memo`, `createdBy`, `formNo`) VALUES (''2'', ''12'', ''2015-04-30'', ''2'', '',\\r\\n,\\r\\n \\r\\n, '', ''0'', ''1'', ''1'', ''0'', 40110.63, '''', ''2'', ''SDN20150523'')', 'artransaction/directInvoicePosting', '0.098912000656128', '2015-05-23 22:00:55'),
(7534, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_detail` (`deliveryID`, `lineNo`, `itemID`, `invoiceID`, `amount`, `unitPrice`, `quantitySent`, `createdBy`) VALUES (12, ''1'', ''11'', ''12'', 38448, ''38448'', ''1'', ''2'')', 'artransaction/directInvoicePosting', '0.093792915344238', '2015-05-23 22:00:55'),
(7535, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice_detail` SET `doID` = 12 WHERE `ID` =  ''12''', 'artransaction/directInvoicePosting', '0.039317846298218', '2015-05-23 22:00:55'),
(7536, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 10 WHERE `ID` =  ''11''', 'artransaction/directInvoicePosting', '0.037431001663208', '2015-05-23 22:00:55'),
(7537, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `journalNo` = ''AR20150100000010'', `updateAble` = ''0'' WHERE `ID` =  ''12''', 'artransaction/directInvoicePosting', '0.03889012336731', '2015-05-23 22:00:55'),
(7538, 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'', ''AR20150100000010'', ''INV20150523[00000010]'', ''Posting Direct Sales Invoices [ INV20150523[00000010] ]'', ''2'', ''2015-04-30'', ''2015'', ''1'', 42417.51, 42417.51, ''2'')', 'artransaction/directInvoicePosting', '0.041413068771362', '2015-05-23 22:00:55'),
(7539, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 1, ''AR20150100000010'', ''[5820]PM2B2002003065820'', ''294'', ''Hew Yong Hui'', 38448, ''1'', ''1'', ''38448'', ''1'', ''2015'', ''1'', ''INV20150523[00000010]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.05437707901001', '2015-05-23 22:00:55'),
(7540, 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'', ''AR20150100000010'', 2, ''[5820]PM2B2002003065820'', ''59'', ''Hew Yong Hui'', 38448, ''1'', ''1'', ''38448'', ''1'', ''2015'', ''1'', ''INV20150523[00000010]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.027640104293823', '2015-05-23 22:00:55'),
(7541, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150100000010'', ''[5820]PM2B2002003065820'', ''294'', ''Hew Yong Hui'', 2306.88, ''1'', ''1'', ''2306.88'', ''1'', ''2015'', ''1'', ''INV20150523[00000010]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.036842823028564', '2015-05-23 22:00:55'),
(7542, 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, ''AR20150100000010'', ''[5820]PM2B2002003065820'', ''41'', ''Hew Yong Hui'', 2306.88, ''1'', ''1'', ''2306.88'', ''1'', ''2015'', ''1'', ''INV20150523[00000010]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.043292045593262', '2015-05-23 22:00:55'),
(7543, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AR20150100000010'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''294'', ''Hew Yong Hui'', 1662.63, ''1'', ''1'', ''1662.63'', ''1'', ''2015'', ''1'', ''INV20150523[00000010]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.038190841674805', '2015-05-23 22:00:55'),
(7544, 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'', ''AR20150100000010'', 6, ''Road Tax,Registration,HP Claim,Ins Premium'', ''284'', ''Hew Yong Hui'', 1662.63, ''1'', ''1'', ''1662.63'', ''1'', ''2015'', ''1'', ''INV20150523[00000010]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.037292003631592', '2015-05-23 22:00:55'),
(7545, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 42417.51, `total_amount_cr` = 42417.51, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000010''', 'artransaction/directInvoicePosting', '0.038663864135742', '2015-05-23 22:00:56'),
(7546, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''351''', 'Gltransaction/journalPosting', '0.053124904632568', '2015-05-23 22:01:31'),
(7547, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000010''', 'Gltransaction/journalPosting', '0.04423189163208', '2015-05-23 22:01:31'),
(7548, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''3'', ''294'', ''2015'', ''1'', ''38448'', ''0'', 38448, ''2'', ''2015-05-23: 16:05:30'')', 'Gltransaction/journalPosting', '0.047162055969238', '2015-05-23 22:01:31'),
(7549, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''59'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.048460006713867', '2015-05-23 22:01:31'),
(7550, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''294'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.035728931427002', '2015-05-23 22:01:31'),
(7551, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''41'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.053253173828125', '2015-05-23 22:01:31');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(7552, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''294'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.036943912506104', '2015-05-23 22:01:31'),
(7553, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''284'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.047311782836914', '2015-05-23 22:01:31'),
(7554, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `updateAble` = ''0'' WHERE `ID` =  ''12''', 'sotransaction/doPosting', '0.036067008972168', '2015-05-23 22:01:56'),
(7555, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 10 WHERE `ID` =  ''12''', 'sotransaction/doPosting', '0.035518169403076', '2015-05-23 22:01:57'),
(7556, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `journalNo` = ''SO20150100000010'' WHERE `ID` =  ''12''', 'sotransaction/doPosting', '0.048191070556641', '2015-05-23 22:01:57'),
(7557, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''SO20150100000010'', ''SDN20150523[00000010]'', ''Delivery Order Confirm [ SDN20150523[00000010] ]'', ''5'', ''2015-04-30'', ''2015'', ''1'', ''2'')', 'sotransaction/doPosting', '0.07578706741333', '2015-05-23 22:01:57'),
(7558, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''11'' AND `companyID` =  ''2''', 'sotransaction/doPosting', '0.063584089279175', '2015-05-23 22:01:57'),
(7559, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''15''', 'sotransaction/doPosting', '0.038632154464722', '2015-05-23 22:01:57'),
(7560, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''15'', ''12'', ''1'', ''1'')', 'sotransaction/doPosting', '0.038070917129517', '2015-05-23 22:01:57'),
(7561, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''SO20150100000010'', 1, ''[5820]PM2B2002003065820'', ''76'', ''12'', 36708, 1, ''1'', 36708, ''1'', ''2015'', 1, ''SDN20150523[00000010][00000010]'', NULL, ''2'')', 'sotransaction/doPosting', '0.059252977371216', '2015-05-23 22:01:57'),
(7562, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''SO20150100000010'', ''[5820]PM2B2002003065820'', ''21'', ''12'', 36708, 1, ''1'', 36708, ''1'', ''2015'', ''SDN20150523[00000010][00000012]'', 1, NULL, ''2'')', 'sotransaction/doPosting', '0.036656141281128', '2015-05-23 22:01:57'),
(7563, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 36708, `total_amount_cr` = 36708, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''SO20150100000010''', 'sotransaction/doPosting', '0.038434982299805', '2015-05-23 22:01:57'),
(7564, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''352''', 'Gltransaction/journalPosting', '0.071255922317505', '2015-05-23 22:02:22'),
(7565, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''SO20150100000010''', 'Gltransaction/journalPosting', '0.054843902587891', '2015-05-23 22:02:22'),
(7566, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''76'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.087220907211304', '2015-05-23 22:02:22'),
(7567, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.058580875396729', '2015-05-23 22:02:22'),
(7568, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_creditnote` (`customerID`, `formNo`, `salesInvoiceID`, `creditNoteDate`, `projectID`, `exchangeRate`, `memo`, `companyID`, `createdBy`) VALUES (''12'', ''SCN20150523'', ''12'', ''2015-04-30'', '''', ''1.00000'', '''', ''2'', ''2'')', 'artransaction/saveSaleCreditNoteItem', '0.14812707901001', '2015-05-23 22:05:02'),
(7569, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_creditnote_detail` (`creditnoteID`, `createdBy`, `itemID`, `invoiceDetailID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (1, ''2'', ''11'', ''12'', ''1'', ''PM2B2002003065820'', ''1'', ''16'', ''38448'', ''38448'', ''2'', ''6'', ''2306.88'', ''40754.88'')', 'artransaction/saveSaleCreditNoteItem', '0.037989139556885', '2015-05-23 22:05:02'),
(7570, 2, 2, '::1', 'update', 'UPDATE `comp_sales_creditnote` SET `totalTaxAmount` = ''2306.88'', `totalAmount` = ''40754.88'' WHERE `ID` =  1', 'artransaction/saveSaleCreditNoteItem', '0.058556795120239', '2015-05-23 22:05:02'),
(7571, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_creditnote_charges` (`creditNoteID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''1'', ''1'', ''2'', ''284'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''1662.63'', ''8'', ''0'', ''0'', ''1662.63'')', 'Artransaction/saveSaleCreditNoteChargeDetailOnly', '0.078925132751465', '2015-05-23 22:06:40'),
(7572, 2, 2, '::1', 'update', 'UPDATE `comp_sales_creditnote` SET `totalTaxAmount` = ''2306.88'', `totalAmount` = ''42417.509999999995'' WHERE `ID` =  ''1''', 'Artransaction/saveSaleCreditNoteChargeDetailOnly', '0.036533117294312', '2015-05-23 22:06:40'),
(7573, 2, 2, '::1', 'update', 'UPDATE `comp_sales_creditnote` SET `updateAble` = ''0'' WHERE `ID` =  ''1'' AND `updateAble` =  1', 'artransaction/creditNotePosting', '0.064213037490845', '2015-05-23 22:07:28'),
(7574, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 11 WHERE `ID` =  ''11''', 'artransaction/creditNotePosting', '0.056514978408813', '2015-05-23 22:07:28'),
(7575, 2, 2, '::1', 'update', 'UPDATE `comp_sales_creditnote` SET `journalNo` = ''AR20150100000011'' WHERE `ID` =  ''1''', 'artransaction/creditNotePosting', '0.099200963973999', '2015-05-23 22:07:28'),
(7576, 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'', ''AR20150100000011'', ''SCN20150523[00000001][00000001]'', ''Posting Sales Credit Note Confirm [ SCN20150523[00000001][00000001] ]'', ''2'', ''2015-04-30'', ''2015'', ''1'', 44724.39, 44724.39, ''2'')', 'artransaction/creditNotePosting', '0.04820704460144', '2015-05-23 22:07:28'),
(7577, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item` (`companyID`, `createdBy`, `supplierID`, `employeeID`, `exchangeRate`, `currencyID`, `memo`, `formNo`, `deliveryDate`, `shippingMethodID`, `supplierDoNo`, `purchaseOrderID`, `locationID`, `updateAble`, `journalNo`, `totalAmount`) VALUES (''2'', ''yaumanauto'', ''12'', ''0'', ''1'', ''1'', '''', ''SCN20150523[00000001]'', ''2015-05-23'', ''0'', ''YUA11850'', ''-1'', ''2'', 0, ''AR20150100000011'', 40754.88)', 'artransaction/creditNotePosting', '0.11067199707031', '2015-05-23 22:07:28'),
(7578, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `umID`, `standUM`, `unitPrice`, `amount`) VALUES (''160'', ''2'', ''11'', ''1'', ''-1'', ''PM2B2002003065820'', 0, ''1'', ''1'', ''16'', ''16'', 40754.88, 40754.88)', 'artransaction/creditNotePosting', '0.097360134124756', '2015-05-23 22:07:28'),
(7579, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `companyID` = ''2'', `itemID` = ''11'', `locationID` = ''2'', `onHandQty` = 1 WHERE `ID` IS NULL', 'artransaction/creditNotePosting', '0.0003199577331543', '2015-05-23 22:07:28'),
(7580, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 1, ''AR20150100000011'', ''[5820]'', ''59'', ''Hew Yong Hui'', 38448, 1, ''1'', ''38448'', ''1'', ''2015'', ''1'', ''SCN20150523[00000001]'', ''0'', ''2'')', 'artransaction/creditNotePosting', '0.23895597457886', '2015-05-23 22:07:28'),
(7581, 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'', ''AR20150100000011'', 2, ''[5820]'', ''294'', ''Hew Yong Hui'', 38448, 1, ''1'', ''38448'', ''1'', ''2015'', ''1'', ''SCN20150523[00000001]'', ''0'', ''2'')', 'artransaction/creditNotePosting', '0.065258026123047', '2015-05-23 22:07:28'),
(7582, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150100000011'', ''[5820]'', ''41'', ''Hew Yong Hui'', 2306.88, 1, ''1'', ''2306.88'', ''1'', ''2015'', ''1'', ''SCN20150523[00000001]'', ''0'', ''2'')', 'artransaction/creditNotePosting', '0.075894832611084', '2015-05-23 22:07:28'),
(7583, 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, ''AR20150100000011'', ''[5820]'', ''294'', ''Hew Yong Hui'', 2306.88, 1, ''1'', ''2306.88'', ''1'', ''2015'', ''1'', ''SCN20150523[00000001]'', ''0'', ''2'')', 'artransaction/creditNotePosting', '0.054887056350708', '2015-05-23 22:07:28'),
(7584, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AR20150100000011'', ''[5820]'', ''21'', ''Hew Yong Hui'', 36708, 1, ''1'', ''2306.88'', ''1'', ''2015'', ''1'', ''SCN20150523[00000001]'', ''0'', ''2'')', 'artransaction/creditNotePosting', '0.059353113174438', '2015-05-23 22:07:28'),
(7585, 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'', 6, ''AR20150100000011'', ''[5820]'', ''76'', ''Hew Yong Hui'', 36708, 1, ''1'', ''2306.88'', ''1'', ''2015'', ''1'', ''SCN20150523[00000001]'', ''0'', ''2'')', 'artransaction/creditNotePosting', '0.049302101135254', '2015-05-23 22:07:28'),
(7586, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 7, ''AR20150100000011'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''284'', ''Hew Yong Hui'', 1662.63, 1, ''1'', ''1662.63'', ''1'', ''2015'', ''1'', ''SCN20150523[00000001]'', ''0'', ''2'')', 'artransaction/creditNotePosting', '0.051557064056396', '2015-05-23 22:07:28'),
(7587, 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'', ''AR20150100000011'', 8, ''Road Tax,Registration,HP Claim,Ins Premium'', ''294'', ''Hew Yong Hui'', 1662.63, 1, ''1'', ''1662.63'', ''1'', ''2015'', ''1'', ''SCN20150523[00000001]'', ''0'', ''2'')', 'artransaction/creditNotePosting', '0.048673868179321', '2015-05-23 22:07:28'),
(7588, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 79125.51, `total_amount_cr` = 79125.51, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000011''', 'artransaction/creditNotePosting', '0.06044602394104', '2015-05-23 22:07:28'),
(7589, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''353''', 'Gltransaction/journalPosting', '0.079427003860474', '2015-05-23 22:08:23'),
(7590, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000011''', 'Gltransaction/journalPosting', '0.026737928390503', '2015-05-23 22:08:23'),
(7591, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''59'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.037532091140747', '2015-05-23 22:08:23'),
(7592, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''294'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.036442995071411', '2015-05-23 22:08:23'),
(7593, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''41'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.036674022674561', '2015-05-23 22:08:23'),
(7594, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''294'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.036543130874634', '2015-05-23 22:08:23'),
(7595, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.047740936279297', '2015-05-23 22:08:23'),
(7596, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''76'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.036501169204712', '2015-05-23 22:08:23'),
(7597, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''284'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.036681890487671', '2015-05-23 22:08:23'),
(7598, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''294'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.036527156829834', '2015-05-23 22:08:23'),
(7599, 2, 2, '::1', 'insert', 'INSERT INTO `comp_chart_of_acct` (`ID`, `companyID`, `acctGroupID`, `acctCode`, `acctName`, `createdBy`, `createdTS`) VALUES (0, ''2'', ''3'', ''2100N0004'', ''Nur Syamimi Kamaruzaman'', ''yaumanauto'', ''2015-05-23 16-30-49'')', 'glsetting/chartOfAcct', '0.0485680103302', '2015-05-23 22:31:55'),
(7600, 2, 2, '::1', 'insert', 'INSERT INTO `customer` (`ID`, `companyID`, `customerName`, `customerCompanyNo`, `accountCode`, `line1`, `line2`, `line3`, `city`, `customerPostCode`, `customerStateID`, `customerCountryID`, `attention`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `email`, `position`, `linkedAPAccountID`, `generalNote`, `gstRegNo`, `creditLimit`, `creditLimitAlert`, `createdDate`, `termsID`, `currencyID`) VALUES (0, ''2'', ''Nur Syamimi Kamaruzaman'', ''2724963'', ''N00-04'', '''', '''', '''', '''', '''', ''0'', ''458'', 0, 0, '''', '''', '''', '''', '''', ''295'', '''', '''', '''', 0, ''2015-04-30'', ''6'', ''1'')', 'customerSetup/CustomerNew', '0.050302028656006', '2015-05-23 22:34:16'),
(7601, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice` (`invoiceCodeID`, `customerID`, `currencyID`, `formNo`, `salesInvoiceDate`, `customerPoNo`, `projectID`, `agentID`, `termsID`, `shipToID`, `exchangeRate`, `locationID`, `totalTaxAmount`, `totalReceivable`, `totalamount`, `memo`, `employeeID`, `shippingMethodID`, `companyID`, `createdBy`, `showSaleAgent`) VALUES (2, ''13'', ''1'', ''INV20150523'', ''2015-04-30'', ''YUA11849'', '''', '''', ''6'', ''null'', ''1.00000'', ''2'', 0, ''31290.12'', ''31290.12'', '''', '''', '''', ''2'', ''2'', ''0'')', 'Artransaction/saveNewDirectSaleInvoice', '0.10673308372498', '2015-05-23 22:36:37'),
(7602, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_detail` (`invoiceID`, `lineNo`, `createdBy`, `itemID`, `quantity`, `umID`, `itemdescription`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (13, ''1'', ''2'', ''20'', ''1'', ''16'', ''PM2B200S003061468'', ''29518.98'', ''29518.98'', ''2'', ''6'', ''1771.14'', ''31290.12'')', 'Artransaction/saveNewDirectSaleInvoice', '0.037302017211914', '2015-05-23 22:36:37'),
(7603, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''1771.14'', `totalAmount` = ''31290.12'' WHERE `ID` =  13', 'Artransaction/saveNewDirectSaleInvoice', '0.024510145187378', '2015-05-23 22:36:37'),
(7604, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''13'', ''1'', ''2'', ''284'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''1429.71'', ''8'', ''0'', ''0'', ''1429.71'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.091278076171875', '2015-05-23 22:37:53'),
(7605, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''1771.14'', `totalAmount` = ''32719.829999999998'', `totalReceivable` = ''32719.829999999998'' WHERE `ID` =  ''13''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.056730031967163', '2015-05-23 22:37:53'),
(7606, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_order` (`companyID`, `customerID`, `deliveryOrderDate`, `locationID`, `toAddress`, `shippingMethodID`, `currencyID`, `exchangeRate`, `employeeID`, `totalAmount`, `memo`, `createdBy`, `formNo`) VALUES (''2'', ''13'', ''2015-04-30'', ''2'', '',\\r\\n,\\r\\n \\r\\n, '', ''0'', ''1'', ''1'', ''0'', 30948.69, '''', ''2'', ''SDN20150523'')', 'artransaction/directInvoicePosting', '0.053654909133911', '2015-05-23 22:38:29'),
(7607, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_detail` (`deliveryID`, `lineNo`, `itemID`, `invoiceID`, `amount`, `unitPrice`, `quantitySent`, `createdBy`) VALUES (13, ''1'', ''20'', ''13'', 29518.98, ''29518.98'', ''1'', ''2'')', 'artransaction/directInvoicePosting', '0.032731056213379', '2015-05-23 22:38:29'),
(7608, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice_detail` SET `doID` = 13 WHERE `ID` =  ''13''', 'artransaction/directInvoicePosting', '0.038029909133911', '2015-05-23 22:38:29'),
(7609, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 12 WHERE `ID` =  ''11''', 'artransaction/directInvoicePosting', '0.03552508354187', '2015-05-23 22:38:29'),
(7610, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `journalNo` = ''AR20150100000012'', `updateAble` = ''0'' WHERE `ID` =  ''13''', 'artransaction/directInvoicePosting', '0.038779020309448', '2015-05-23 22:38:30'),
(7611, 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'', ''AR20150100000012'', ''INV20150523[00000011]'', ''Posting Direct Sales Invoices [ INV20150523[00000011] ]'', ''2'', ''2015-04-30'', ''2015'', ''1'', 32719.83, 32719.83, ''2'')', 'artransaction/directInvoicePosting', '0.068557977676392', '2015-05-23 22:38:30'),
(7612, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 1, ''AR20150100000012'', ''[1468]PM2B200S003061468'', ''295'', ''Nur Syamimi Kamaruzaman'', 29518.98, ''1'', ''1'', ''29518.98'', ''1'', ''2015'', ''1'', ''INV20150523[00000011]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.072175979614258', '2015-05-23 22:38:30'),
(7613, 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'', ''AR20150100000012'', 2, ''[1468]PM2B200S003061468'', ''59'', ''Nur Syamimi Kamaruzaman'', 29518.98, ''1'', ''1'', ''29518.98'', ''1'', ''2015'', ''1'', ''INV20150523[00000011]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.038005113601685', '2015-05-23 22:38:30'),
(7614, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150100000012'', ''[1468]PM2B200S003061468'', ''295'', ''Nur Syamimi Kamaruzaman'', 1771.14, ''1'', ''1'', ''1771.14'', ''1'', ''2015'', ''1'', ''INV20150523[00000011]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.026429891586304', '2015-05-23 22:38:30'),
(7615, 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, ''AR20150100000012'', ''[1468]PM2B200S003061468'', ''41'', ''Nur Syamimi Kamaruzaman'', 1771.14, ''1'', ''1'', ''1771.14'', ''1'', ''2015'', ''1'', ''INV20150523[00000011]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.038143157958984', '2015-05-23 22:38:30'),
(7616, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AR20150100000012'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''295'', ''Nur Syamimi Kamaruzaman'', 1429.71, ''1'', ''1'', ''1429.71'', ''1'', ''2015'', ''1'', ''INV20150523[00000011]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.059561014175415', '2015-05-23 22:38:30'),
(7617, 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'', ''AR20150100000012'', 6, ''Road Tax,Registration,HP Claim,Ins Premium'', ''284'', ''Nur Syamimi Kamaruzaman'', 1429.71, ''1'', ''1'', ''1429.71'', ''1'', ''2015'', ''1'', ''INV20150523[00000011]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.038138151168823', '2015-05-23 22:38:30'),
(7618, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 32719.83, `total_amount_cr` = 32719.83, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000012''', 'artransaction/directInvoicePosting', '0.026765108108521', '2015-05-23 22:38:30'),
(7619, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''354''', 'Gltransaction/journalPosting', '0.32521104812622', '2015-05-23 22:40:51'),
(7620, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000012''', 'Gltransaction/journalPosting', '0.054342985153198', '2015-05-23 22:40:51'),
(7621, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''3'', ''295'', ''2015'', ''1'', ''29518.98'', ''0'', 29518.98, ''2'', ''2015-05-23: 16:05:51'')', 'Gltransaction/journalPosting', '0.056297063827515', '2015-05-23 22:40:51'),
(7622, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''59'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.058686971664429', '2015-05-23 22:40:51'),
(7623, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''295'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.047466039657593', '2015-05-23 22:40:51'),
(7624, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''41'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.036581039428711', '2015-05-23 22:40:51'),
(7625, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''295'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.036390066146851', '2015-05-23 22:40:51'),
(7626, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''284'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.047662019729614', '2015-05-23 22:40:51'),
(7627, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `updateAble` = ''0'' WHERE `ID` =  ''13''', 'sotransaction/doPosting', '0.056951999664307', '2015-05-23 22:41:30'),
(7628, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 11 WHERE `ID` =  ''12''', 'sotransaction/doPosting', '0.040059089660645', '2015-05-23 22:41:30'),
(7629, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `journalNo` = ''SO20150100000011'' WHERE `ID` =  ''13''', 'sotransaction/doPosting', '0.048901081085205', '2015-05-23 22:41:30'),
(7630, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''SO20150100000011'', ''SDN20150523[00000011]'', ''Delivery Order Confirm [ SDN20150523[00000011] ]'', ''5'', ''2015-04-30'', ''2015'', ''1'', ''2'')', 'sotransaction/doPosting', '0.048157215118408', '2015-05-23 22:41:30'),
(7631, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''20'' AND `companyID` =  ''2''', 'sotransaction/doPosting', '0.041889905929565', '2015-05-23 22:41:30'),
(7632, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''23''', 'sotransaction/doPosting', '0.038425922393799', '2015-05-23 22:41:30'),
(7633, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''23'', ''13'', ''1'', ''1'')', 'sotransaction/doPosting', '0.038294076919556', '2015-05-23 22:41:30'),
(7634, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''SO20150100000011'', 1, ''[1468]PM2B200S003061468'', ''76'', ''13'', 28104.98, 1, ''1'', 28104.98, ''1'', ''2015'', 1, ''SDN20150523[00000011][00000011]'', NULL, ''2'')', 'sotransaction/doPosting', '0.031310081481934', '2015-05-23 22:41:30'),
(7635, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''SO20150100000011'', ''[1468]PM2B200S003061468'', ''21'', ''13'', 28104.98, 1, ''1'', 28104.98, ''1'', ''2015'', ''SDN20150523[00000011][00000013]'', 1, NULL, ''2'')', 'sotransaction/doPosting', '0.031362056732178', '2015-05-23 22:41:30'),
(7636, 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` =  ''SO20150100000011''', 'sotransaction/doPosting', '0.12119603157043', '2015-05-23 22:41:30'),
(7637, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''355''', 'Gltransaction/journalPosting', '0.3084728717804', '2015-05-23 22:43:33'),
(7638, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''SO20150100000011''', 'Gltransaction/journalPosting', '0.027902841567993', '2015-05-23 22:43:33'),
(7639, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''76'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.027045011520386', '2015-05-23 22:43:33'),
(7640, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.047330856323242', '2015-05-23 22:43:33'),
(7641, 2, 2, '::1', 'insert', 'INSERT INTO `comp_chart_of_acct` (`ID`, `companyID`, `acctGroupID`, `acctCode`, `acctName`, `createdBy`, `createdTS`) VALUES (0, ''2'', ''3'', ''2100M0002'', ''Muhammad Bin Jamsuri'', ''yaumanauto'', ''2015-05-23 16-51-22'')', 'glsetting/chartOfAcct', '0.036370038986206', '2015-05-23 22:52:12'),
(7642, 2, 2, '::1', 'insert', 'INSERT INTO `customer` (`ID`, `companyID`, `customerName`, `customerCompanyNo`, `accountCode`, `line1`, `line2`, `line3`, `city`, `customerPostCode`, `customerStateID`, `customerCountryID`, `attention`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `email`, `position`, `linkedAPAccountID`, `generalNote`, `gstRegNo`, `creditLimit`, `creditLimitAlert`, `createdDate`, `termsID`, `currencyID`) VALUES (0, ''2'', ''Muhammad Bin Jamsuri'', ''2132605'', ''M00-02'', '''', '''', '''', '''', '''', ''0'', ''458'', 0, 0, '''', '''', '''', '''', '''', ''296'', '''', '''', '''', 0, ''2015-04-01'', ''6'', ''1'')', 'customerSetup/CustomerNew', '0.11609482765198', '2015-05-23 22:53:36'),
(7643, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice` (`invoiceCodeID`, `customerID`, `currencyID`, `formNo`, `salesInvoiceDate`, `customerPoNo`, `projectID`, `agentID`, `termsID`, `shipToID`, `exchangeRate`, `locationID`, `totalTaxAmount`, `totalReceivable`, `totalamount`, `memo`, `employeeID`, `shippingMethodID`, `companyID`, `createdBy`, `showSaleAgent`) VALUES (2, ''14'', ''1'', ''INV20150523'', ''2015-04-30'', ''YUA11848'', '''', '''', ''6'', ''null'', ''1.00000'', ''2'', 0, ''31662.56'', ''31662.56'', '''', '''', '''', ''2'', ''2'', ''0'')', 'Artransaction/saveNewDirectSaleInvoice', '0.069232940673828', '2015-05-23 22:55:06'),
(7644, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_detail` (`invoiceID`, `lineNo`, `createdBy`, `itemID`, `quantity`, `umID`, `itemdescription`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (14, ''1'', ''2'', ''10'', ''1'', ''16'', ''PM2B200S003064661'', ''29870.34'', ''29870.34'', ''2'', ''6'', ''1792.22'', ''31662.56'')', 'Artransaction/saveNewDirectSaleInvoice', '0.037359952926636', '2015-05-23 22:55:06'),
(7645, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''1792.22'', `totalAmount` = ''31662.56'' WHERE `ID` =  14', 'Artransaction/saveNewDirectSaleInvoice', '0.022078037261963', '2015-05-23 22:55:06'),
(7646, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''14'', ''1'', ''2'', ''284'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''1374.59'', ''8'', ''0'', ''0'', ''1374.59'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.10037207603455', '2015-05-23 22:56:18'),
(7647, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''1792.22'', `totalAmount` = ''33037.15'', `totalReceivable` = ''33037.15'' WHERE `ID` =  ''14''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.12295699119568', '2015-05-23 22:56:18'),
(7648, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_order` (`companyID`, `customerID`, `deliveryOrderDate`, `locationID`, `toAddress`, `shippingMethodID`, `currencyID`, `exchangeRate`, `employeeID`, `totalAmount`, `memo`, `createdBy`, `formNo`) VALUES (''2'', ''14'', ''2015-04-30'', ''2'', '',\\r\\n,\\r\\n \\r\\n, '', ''0'', ''1'', ''1'', ''0'', 31244.93, '''', ''2'', ''SDN20150523'')', 'artransaction/directInvoicePosting', '0.06518816947937', '2015-05-23 22:57:16'),
(7649, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_detail` (`deliveryID`, `lineNo`, `itemID`, `invoiceID`, `amount`, `unitPrice`, `quantitySent`, `createdBy`) VALUES (14, ''1'', ''10'', ''14'', 29870.34, ''29870.34'', ''1'', ''2'')', 'artransaction/directInvoicePosting', '0.04378604888916', '2015-05-23 22:57:16'),
(7650, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice_detail` SET `doID` = 14 WHERE `ID` =  ''14''', 'artransaction/directInvoicePosting', '0.037895917892456', '2015-05-23 22:57:16'),
(7651, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 13 WHERE `ID` =  ''11''', 'artransaction/directInvoicePosting', '0.02928900718689', '2015-05-23 22:57:16'),
(7652, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `journalNo` = ''AR20150100000013'', `updateAble` = ''0'' WHERE `ID` =  ''14''', 'artransaction/directInvoicePosting', '0.039008140563965', '2015-05-23 22:57:16'),
(7653, 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'', ''AR20150100000013'', ''INV20150523[00000012]'', ''Posting Direct Sales Invoices [ INV20150523[00000012] ]'', ''2'', ''2015-04-30'', ''2015'', ''1'', 33037.15, 33037.15, ''2'')', 'artransaction/directInvoicePosting', '0.030749082565308', '2015-05-23 22:57:16'),
(7654, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 1, ''AR20150100000013'', ''[4661]PM2B200S003064661'', ''296'', ''Muhammad Bin Jamsuri'', 29870.34, ''1'', ''1'', ''29870.34'', ''1'', ''2015'', ''1'', ''INV20150523[00000012]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.11362195014954', '2015-05-23 22:57:16'),
(7655, 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'', ''AR20150100000013'', 2, ''[4661]PM2B200S003064661'', ''59'', ''Muhammad Bin Jamsuri'', 29870.34, ''1'', ''1'', ''29870.34'', ''1'', ''2015'', ''1'', ''INV20150523[00000012]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.028242826461792', '2015-05-23 22:57:16'),
(7656, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150100000013'', ''[4661]PM2B200S003064661'', ''296'', ''Muhammad Bin Jamsuri'', 1792.22, ''1'', ''1'', ''1792.22'', ''1'', ''2015'', ''1'', ''INV20150523[00000012]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.054408073425293', '2015-05-23 22:57:16'),
(7657, 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, ''AR20150100000013'', ''[4661]PM2B200S003064661'', ''41'', ''Muhammad Bin Jamsuri'', 1792.22, ''1'', ''1'', ''1792.22'', ''1'', ''2015'', ''1'', ''INV20150523[00000012]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.032259225845337', '2015-05-23 22:57:16'),
(7658, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AR20150100000013'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''296'', ''Muhammad Bin Jamsuri'', 1374.59, ''1'', ''1'', ''1374.59'', ''1'', ''2015'', ''1'', ''INV20150523[00000012]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.037151098251343', '2015-05-23 22:57:17'),
(7659, 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'', ''AR20150100000013'', 6, ''Road Tax,Registration,HP Claim,Ins Premium'', ''284'', ''Muhammad Bin Jamsuri'', 1374.59, ''1'', ''1'', ''1374.59'', ''1'', ''2015'', ''1'', ''INV20150523[00000012]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.027272939682007', '2015-05-23 22:57:17'),
(7660, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 33037.15, `total_amount_cr` = 33037.15, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000013''', 'artransaction/directInvoicePosting', '0.03709888458252', '2015-05-23 22:57:17'),
(7661, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''356''', 'Gltransaction/journalPosting', '0.089787006378174', '2015-05-23 22:57:58'),
(7662, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000013''', 'Gltransaction/journalPosting', '0.094208955764771', '2015-05-23 22:57:58'),
(7663, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''3'', ''296'', ''2015'', ''1'', ''29870.34'', ''0'', 29870.34, ''2'', ''2015-05-23: 16:05:57'')', 'Gltransaction/journalPosting', '0.051394939422607', '2015-05-23 22:57:58'),
(7664, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''59'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.057475090026855', '2015-05-23 22:57:58'),
(7665, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''296'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.053555011749268', '2015-05-23 22:57:58'),
(7666, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''41'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.05260705947876', '2015-05-23 22:57:58'),
(7667, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''296'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.053576946258545', '2015-05-23 22:57:58');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(7668, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''284'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.052613973617554', '2015-05-23 22:57:58'),
(7669, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `updateAble` = ''0'' WHERE `ID` =  ''14''', 'sotransaction/doPosting', '0.086376905441284', '2015-05-23 22:58:28'),
(7670, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 12 WHERE `ID` =  ''12''', 'sotransaction/doPosting', '0.051077127456665', '2015-05-23 22:58:28'),
(7671, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `journalNo` = ''SO20150100000012'' WHERE `ID` =  ''14''', 'sotransaction/doPosting', '0.04434609413147', '2015-05-23 22:58:28'),
(7672, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''SO20150100000012'', ''SDN20150523[00000012]'', ''Delivery Order Confirm [ SDN20150523[00000012] ]'', ''5'', ''2015-04-30'', ''2015'', ''1'', ''2'')', 'sotransaction/doPosting', '0.04746413230896', '2015-05-23 22:58:28'),
(7673, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''10'' AND `companyID` =  ''2''', 'sotransaction/doPosting', '0.058443069458008', '2015-05-23 22:58:28'),
(7674, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''14''', 'sotransaction/doPosting', '0.027855157852173', '2015-05-23 22:58:28'),
(7675, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''14'', ''14'', ''1'', ''1'')', 'sotransaction/doPosting', '0.043869018554688', '2015-05-23 22:58:28'),
(7676, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''SO20150100000012'', 1, ''[4661]PM2B200S003064661'', ''76'', ''14'', 28430.34, 1, ''1'', 28430.34, ''1'', ''2015'', 1, ''SDN20150523[00000012][00000012]'', NULL, ''2'')', 'sotransaction/doPosting', '0.035808801651001', '2015-05-23 22:58:28'),
(7677, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''SO20150100000012'', ''[4661]PM2B200S003064661'', ''21'', ''14'', 28430.34, 1, ''1'', 28430.34, ''1'', ''2015'', ''SDN20150523[00000012][00000014]'', 1, NULL, ''2'')', 'sotransaction/doPosting', '0.026854991912842', '2015-05-23 22:58:28'),
(7678, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 28430.34, `total_amount_cr` = 28430.34, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''SO20150100000012''', 'sotransaction/doPosting', '0.065891981124878', '2015-05-23 22:58:28'),
(7679, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''357''', 'Gltransaction/journalPosting', '0.07408595085144', '2015-05-23 22:59:29'),
(7680, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''SO20150100000012''', 'Gltransaction/journalPosting', '0.039499998092651', '2015-05-23 22:59:29'),
(7681, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''76'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.065061807632446', '2015-05-23 22:59:29'),
(7682, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.060020923614502', '2015-05-23 22:59:29'),
(7683, 2, 2, '::1', 'insert', 'INSERT INTO `comp_chart_of_acct` (`ID`, `companyID`, `acctGroupID`, `acctCode`, `acctName`, `createdBy`, `createdTS`) VALUES (0, ''2'', ''3'', ''2100M0003'', ''Mohd Fauzi Bin Md Rafie'', ''yaumanauto'', ''2015-05-23 17-21-53'')', 'glsetting/chartOfAcct', '0.056034088134766', '2015-05-23 23:22:42'),
(7684, 2, 2, '::1', 'insert', 'INSERT INTO `customer` (`ID`, `companyID`, `customerName`, `customerCompanyNo`, `accountCode`, `line1`, `line2`, `line3`, `city`, `customerPostCode`, `customerStateID`, `customerCountryID`, `attention`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `email`, `position`, `linkedAPAccountID`, `generalNote`, `gstRegNo`, `creditLimit`, `creditLimitAlert`, `createdDate`, `termsID`, `currencyID`) VALUES (0, ''2'', ''Mohd Fauzi Bin Md Rafie'', ''2749838'', ''M00-03'', '''', '''', '''', '''', '''', ''0'', ''458'', 0, 0, '''', '''', '''', '''', '''', ''297'', '''', '''', '''', 0, ''2015-04-01'', ''6'', ''1'')', 'customerSetup/CustomerNew', '0.058755159378052', '2015-05-23 23:23:57'),
(7685, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice` (`invoiceCodeID`, `customerID`, `currencyID`, `formNo`, `salesInvoiceDate`, `customerPoNo`, `projectID`, `agentID`, `termsID`, `shipToID`, `exchangeRate`, `locationID`, `totalTaxAmount`, `totalReceivable`, `totalamount`, `memo`, `employeeID`, `shippingMethodID`, `companyID`, `createdBy`, `showSaleAgent`) VALUES (2, ''15'', ''1'', ''INV20150523'', ''2015-04-30'', ''YUA11847'', '''', '''', ''6'', ''null'', ''1.00000'', ''2'', 0, ''57637.25'', ''57637.25'', '''', '''', '''', ''2'', ''2'', ''0'')', 'Artransaction/saveNewDirectSaleInvoice', '0.12009501457214', '2015-05-23 23:39:13'),
(7686, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_detail` (`invoiceID`, `lineNo`, `createdBy`, `itemID`, `quantity`, `umID`, `itemdescription`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (15, ''1'', ''2'', ''7'', ''1'', ''16'', ''PM2M502G002238777'', ''54374.76'', ''54374.76'', ''2'', ''6'', ''3262.49'', ''57637.25'')', 'Artransaction/saveNewDirectSaleInvoice', '0.032321929931641', '2015-05-23 23:39:13'),
(7687, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''3262.49'', `totalAmount` = ''57637.25'' WHERE `ID` =  15', 'Artransaction/saveNewDirectSaleInvoice', '0.028305053710938', '2015-05-23 23:39:14'),
(7688, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''15'', ''1'', ''2'', ''284'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''2194.75'', ''8'', ''0'', ''0'', ''2194.75'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.082340955734253', '2015-05-23 23:40:35'),
(7689, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''3262.49'', `totalAmount` = ''59832'', `totalReceivable` = ''59832'' WHERE `ID` =  ''15''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.034674167633057', '2015-05-23 23:40:35'),
(7690, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_order` (`companyID`, `customerID`, `deliveryOrderDate`, `locationID`, `toAddress`, `shippingMethodID`, `currencyID`, `exchangeRate`, `employeeID`, `totalAmount`, `memo`, `createdBy`, `formNo`) VALUES (''2'', ''15'', ''2015-04-30'', ''2'', '',\\r\\n,\\r\\n \\r\\n, '', ''0'', ''1'', ''1'', ''0'', 56569.51, '''', ''2'', ''SDN20150523'')', 'artransaction/directInvoicePosting', '0.069751977920532', '2015-05-23 23:41:03'),
(7691, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_detail` (`deliveryID`, `lineNo`, `itemID`, `invoiceID`, `amount`, `unitPrice`, `quantitySent`, `createdBy`) VALUES (15, ''1'', ''7'', ''15'', 54374.76, ''54374.76'', ''1'', ''2'')', 'artransaction/directInvoicePosting', '0.11070084571838', '2015-05-23 23:41:03'),
(7692, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice_detail` SET `doID` = 15 WHERE `ID` =  ''15''', 'artransaction/directInvoicePosting', '0.077122211456299', '2015-05-23 23:41:03'),
(7693, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 14 WHERE `ID` =  ''11''', 'artransaction/directInvoicePosting', '0.028126955032349', '2015-05-23 23:41:03'),
(7694, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `journalNo` = ''AR20150100000014'', `updateAble` = ''0'' WHERE `ID` =  ''15''', 'artransaction/directInvoicePosting', '0.047887802124023', '2015-05-23 23:41:03'),
(7695, 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'', ''AR20150100000014'', ''INV20150523[00000013]'', ''Posting Direct Sales Invoices [ INV20150523[00000013] ]'', ''2'', ''2015-04-30'', ''2015'', ''1'', 59832, 59832, ''2'')', 'artransaction/directInvoicePosting', '0.03715705871582', '2015-05-23 23:41:03'),
(7696, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 1, ''AR20150100000014'', ''[8777]PM2M502G002238777'', ''297'', ''Mohd Fauzi Bin Md Rafie'', 54374.76, ''1'', ''1'', ''54374.76'', ''1'', ''2015'', ''1'', ''INV20150523[00000013]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.049950122833252', '2015-05-23 23:41:03'),
(7697, 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'', ''AR20150100000014'', 2, ''[8777]PM2M502G002238777'', ''59'', ''Mohd Fauzi Bin Md Rafie'', 54374.76, ''1'', ''1'', ''54374.76'', ''1'', ''2015'', ''1'', ''INV20150523[00000013]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.03224515914917', '2015-05-23 23:41:03'),
(7698, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150100000014'', ''[8777]PM2M502G002238777'', ''297'', ''Mohd Fauzi Bin Md Rafie'', 3262.49, ''1'', ''1'', ''3262.49'', ''1'', ''2015'', ''1'', ''INV20150523[00000013]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.036099910736084', '2015-05-23 23:41:03'),
(7699, 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, ''AR20150100000014'', ''[8777]PM2M502G002238777'', ''41'', ''Mohd Fauzi Bin Md Rafie'', 3262.49, ''1'', ''1'', ''3262.49'', ''1'', ''2015'', ''1'', ''INV20150523[00000013]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.028336048126221', '2015-05-23 23:41:03'),
(7700, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AR20150100000014'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''297'', ''Mohd Fauzi Bin Md Rafie'', 2194.75, ''1'', ''1'', ''2194.75'', ''1'', ''2015'', ''1'', ''INV20150523[00000013]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.036175966262817', '2015-05-23 23:41:03'),
(7701, 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'', ''AR20150100000014'', 6, ''Road Tax,Registration,HP Claim,Ins Premium'', ''284'', ''Mohd Fauzi Bin Md Rafie'', 2194.75, ''1'', ''1'', ''2194.75'', ''1'', ''2015'', ''1'', ''INV20150523[00000013]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.028324127197266', '2015-05-23 23:41:03'),
(7702, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 59832, `total_amount_cr` = 59832, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000014''', 'artransaction/directInvoicePosting', '0.036652803421021', '2015-05-23 23:41:03'),
(7703, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''358''', 'Gltransaction/journalPosting', '0.087881088256836', '2015-05-23 23:41:49'),
(7704, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000014''', 'Gltransaction/journalPosting', '0.028401851654053', '2015-05-23 23:41:49'),
(7705, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''3'', ''297'', ''2015'', ''1'', ''54374.76'', ''0'', 54374.76, ''2'', ''2015-05-23: 17:05:49'')', 'Gltransaction/journalPosting', '0.056259870529175', '2015-05-23 23:41:49'),
(7706, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''59'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.10852313041687', '2015-05-23 23:41:49'),
(7707, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''297'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.093089818954468', '2015-05-23 23:41:49'),
(7708, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''41'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.042059898376465', '2015-05-23 23:41:49'),
(7709, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''297'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.046245098114014', '2015-05-23 23:41:49'),
(7710, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''284'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.026777982711792', '2015-05-23 23:41:49'),
(7711, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `updateAble` = ''0'' WHERE `ID` =  ''15''', 'sotransaction/doPosting', '0.06502890586853', '2015-05-23 23:42:17'),
(7712, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 13 WHERE `ID` =  ''12''', 'sotransaction/doPosting', '0.051313161849976', '2015-05-23 23:42:17'),
(7713, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `journalNo` = ''SO20150100000013'' WHERE `ID` =  ''15''', 'sotransaction/doPosting', '0.054450035095215', '2015-05-23 23:42:17'),
(7714, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''SO20150100000013'', ''SDN20150523[00000013]'', ''Delivery Order Confirm [ SDN20150523[00000013] ]'', ''5'', ''2015-04-30'', ''2015'', ''1'', ''2'')', 'sotransaction/doPosting', '0.047995805740356', '2015-05-23 23:42:17'),
(7715, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''7'' AND `companyID` =  ''2''', 'sotransaction/doPosting', '0.080582857131958', '2015-05-23 23:42:17'),
(7716, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''11''', 'sotransaction/doPosting', '0.028871059417725', '2015-05-23 23:42:17'),
(7717, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''11'', ''15'', ''1'', ''1'')', 'sotransaction/doPosting', '0.080924034118652', '2015-05-23 23:42:17'),
(7718, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''SO20150100000013'', 1, ''[8777]PM2M502G002238777'', ''76'', ''15'', 52338.76, 1, ''1'', 52338.76, ''1'', ''2015'', 1, ''SDN20150523[00000013][00000013]'', NULL, ''2'')', 'sotransaction/doPosting', '0.049450159072876', '2015-05-23 23:42:17'),
(7719, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''SO20150100000013'', ''[8777]PM2M502G002238777'', ''21'', ''15'', 52338.76, 1, ''1'', 52338.76, ''1'', ''2015'', ''SDN20150523[00000013][00000015]'', 1, NULL, ''2'')', 'sotransaction/doPosting', '0.034924030303955', '2015-05-23 23:42:18'),
(7720, 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` =  ''SO20150100000013''', 'sotransaction/doPosting', '0.06187891960144', '2015-05-23 23:42:18'),
(7721, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''359''', 'Gltransaction/journalPosting', '0.32378888130188', '2015-05-23 23:45:02'),
(7722, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''SO20150100000013''', 'Gltransaction/journalPosting', '0.11001396179199', '2015-05-23 23:45:02'),
(7723, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''76'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.028207063674927', '2015-05-23 23:45:02'),
(7724, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.04572606086731', '2015-05-23 23:45:02'),
(7725, 2, 2, '::1', 'insert', 'INSERT INTO `comp_chart_of_acct` (`ID`, `companyID`, `acctGroupID`, `acctCode`, `acctName`, `createdBy`, `createdTS`) VALUES (0, ''2'', ''3'', ''2100M0004'', ''Muhammad Ashraf Bin Jasni'', ''yaumanauto'', ''2015-05-23 17-50-46'')', 'glsetting/chartOfAcct', '0.058394908905029', '2015-05-23 23:51:47'),
(7726, 2, 2, '::1', 'insert', 'INSERT INTO `customer` (`ID`, `companyID`, `customerName`, `customerCompanyNo`, `accountCode`, `line1`, `line2`, `line3`, `city`, `customerPostCode`, `customerStateID`, `customerCountryID`, `attention`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `email`, `position`, `linkedAPAccountID`, `generalNote`, `gstRegNo`, `creditLimit`, `creditLimitAlert`, `createdDate`, `termsID`, `currencyID`) VALUES (0, ''2'', ''Muhammad Ashraf Bin Jasni'', ''2749924'', ''M00-04'', '''', '''', '''', '''', '''', ''0'', ''458'', 0, 0, '''', '''', '''', '''', '''', ''298'', '''', '''', '''', 0, ''2015-04-30'', ''6'', ''1'')', 'customerSetup/CustomerNew', '0.12844800949097', '2015-05-23 23:53:23'),
(7727, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice` (`invoiceCodeID`, `customerID`, `currencyID`, `formNo`, `salesInvoiceDate`, `customerPoNo`, `projectID`, `agentID`, `termsID`, `shipToID`, `exchangeRate`, `locationID`, `totalTaxAmount`, `totalReceivable`, `totalamount`, `memo`, `employeeID`, `shippingMethodID`, `companyID`, `createdBy`, `showSaleAgent`) VALUES (2, ''16'', ''1'', ''INV20150523'', ''2015-04-30'', ''YUA11846'', '''', '''', ''6'', ''null'', ''1.00000'', ''2'', 0, ''45479.28'', ''45479.28'', '''', '''', '''', ''2'', ''2'', ''0'')', 'Artransaction/saveNewDirectSaleInvoice', '0.099561929702759', '2015-05-23 23:54:55'),
(7728, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_detail` (`invoiceID`, `lineNo`, `createdBy`, `itemID`, `quantity`, `umID`, `itemdescription`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (16, ''1'', ''2'', ''14'', ''1'', ''16'', ''PM2M602S002221793'', ''42904.98'', ''42904.98'', ''2'', ''6'', ''2574.3'', ''45479.28'')', 'Artransaction/saveNewDirectSaleInvoice', '0.036019086837769', '2015-05-23 23:54:55'),
(7729, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''2574.3'', `totalAmount` = ''45479.28'' WHERE `ID` =  16', 'Artransaction/saveNewDirectSaleInvoice', '0.062986135482788', '2015-05-23 23:54:55'),
(7730, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''16'', ''1'', ''2'', ''284'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''1782.87'', ''8'', ''0'', ''0'', ''1782.87'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.05774998664856', '2015-05-23 23:56:12'),
(7731, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''2574.3'', `totalAmount` = ''47262.15'', `totalReceivable` = ''47262.15'' WHERE `ID` =  ''16''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.034032821655273', '2015-05-23 23:56:12'),
(7732, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_order` (`companyID`, `customerID`, `deliveryOrderDate`, `locationID`, `toAddress`, `shippingMethodID`, `currencyID`, `exchangeRate`, `employeeID`, `totalAmount`, `memo`, `createdBy`, `formNo`) VALUES (''2'', ''16'', ''2015-04-30'', ''2'', '',\\r\\n,\\r\\n \\r\\n, '', ''0'', ''1'', ''1'', ''0'', 44687.85, '''', ''2'', ''SDN20150523'')', 'artransaction/directInvoicePosting', '0.069357872009277', '2015-05-23 23:56:37'),
(7733, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_detail` (`deliveryID`, `lineNo`, `itemID`, `invoiceID`, `amount`, `unitPrice`, `quantitySent`, `createdBy`) VALUES (16, ''1'', ''14'', ''16'', 42904.98, ''42904.98'', ''1'', ''2'')', 'artransaction/directInvoicePosting', '0.036626100540161', '2015-05-23 23:56:37'),
(7734, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice_detail` SET `doID` = 16 WHERE `ID` =  ''16''', 'artransaction/directInvoicePosting', '0.028833866119385', '2015-05-23 23:56:37'),
(7735, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 15 WHERE `ID` =  ''11''', 'artransaction/directInvoicePosting', '0.028908967971802', '2015-05-23 23:56:37'),
(7736, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `journalNo` = ''AR20150100000015'', `updateAble` = ''0'' WHERE `ID` =  ''16''', 'artransaction/directInvoicePosting', '0.034853935241699', '2015-05-23 23:56:37'),
(7737, 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'', ''AR20150100000015'', ''INV20150523[00000014]'', ''Posting Direct Sales Invoices [ INV20150523[00000014] ]'', ''2'', ''2015-04-30'', ''2015'', ''1'', 47262.15, 47262.15, ''2'')', 'artransaction/directInvoicePosting', '0.040349960327148', '2015-05-23 23:56:37'),
(7738, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 1, ''AR20150100000015'', ''[1793]PM2M602S002221793'', ''298'', ''Muhammad Ashraf Bin Jasni'', 42904.98, ''1'', ''1'', ''42904.98'', ''1'', ''2015'', ''1'', ''INV20150523[00000014]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.039294004440308', '2015-05-23 23:56:37'),
(7739, 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'', ''AR20150100000015'', 2, ''[1793]PM2M602S002221793'', ''59'', ''Muhammad Ashraf Bin Jasni'', 42904.98, ''1'', ''1'', ''42904.98'', ''1'', ''2015'', ''1'', ''INV20150523[00000014]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.03618311882019', '2015-05-23 23:56:37'),
(7740, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150100000015'', ''[1793]PM2M602S002221793'', ''298'', ''Muhammad Ashraf Bin Jasni'', 2574.3, ''1'', ''1'', ''2574.3'', ''1'', ''2015'', ''1'', ''INV20150523[00000014]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.039424180984497', '2015-05-23 23:56:37'),
(7741, 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, ''AR20150100000015'', ''[1793]PM2M602S002221793'', ''41'', ''Muhammad Ashraf Bin Jasni'', 2574.3, ''1'', ''1'', ''2574.3'', ''1'', ''2015'', ''1'', ''INV20150523[00000014]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.036088943481445', '2015-05-23 23:56:37'),
(7742, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AR20150100000015'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''298'', ''Muhammad Ashraf Bin Jasni'', 1782.87, ''1'', ''1'', ''1782.87'', ''1'', ''2015'', ''1'', ''INV20150523[00000014]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.028311014175415', '2015-05-23 23:56:37'),
(7743, 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'', ''AR20150100000015'', 6, ''Road Tax,Registration,HP Claim,Ins Premium'', ''284'', ''Muhammad Ashraf Bin Jasni'', 1782.87, ''1'', ''1'', ''1782.87'', ''1'', ''2015'', ''1'', ''INV20150523[00000014]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.036165952682495', '2015-05-23 23:56:37'),
(7744, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 47262.15, `total_amount_cr` = 47262.15, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000015''', 'artransaction/directInvoicePosting', '0.028753995895386', '2015-05-23 23:56:37'),
(7745, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''360''', 'Gltransaction/journalPosting', '0.064301013946533', '2015-05-23 23:57:16'),
(7746, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000015''', 'Gltransaction/journalPosting', '0.062036991119385', '2015-05-23 23:57:16'),
(7747, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''3'', ''298'', ''2015'', ''1'', ''42904.98'', ''0'', 42904.98, ''2'', ''2015-05-23: 17:05:15'')', 'Gltransaction/journalPosting', '0.067295074462891', '2015-05-23 23:57:16'),
(7748, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''59'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.063577890396118', '2015-05-23 23:57:16'),
(7749, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''298'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.042611837387085', '2015-05-23 23:57:16'),
(7750, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''41'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.052664995193481', '2015-05-23 23:57:16'),
(7751, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''298'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.027675151824951', '2015-05-23 23:57:16'),
(7752, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''284'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.034518957138062', '2015-05-23 23:57:16'),
(7753, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `updateAble` = ''0'' WHERE `ID` =  ''16''', 'sotransaction/doPosting', '0.043030023574829', '2015-05-23 23:57:50'),
(7754, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 14 WHERE `ID` =  ''12''', 'sotransaction/doPosting', '0.050902843475342', '2015-05-23 23:57:50'),
(7755, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `journalNo` = ''SO20150100000014'' WHERE `ID` =  ''16''', 'sotransaction/doPosting', '0.055404901504517', '2015-05-23 23:57:50'),
(7756, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''SO20150100000014'', ''SDN20150523[00000014]'', ''Delivery Order Confirm [ SDN20150523[00000014] ]'', ''5'', ''2015-04-30'', ''2015'', ''1'', ''2'')', 'sotransaction/doPosting', '0.047291994094849', '2015-05-23 23:57:50'),
(7757, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''14'' AND `companyID` =  ''2''', 'sotransaction/doPosting', '0.043411016464233', '2015-05-23 23:57:50'),
(7758, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''17''', 'sotransaction/doPosting', '0.047196865081787', '2015-05-23 23:57:50'),
(7759, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''17'', ''16'', ''1'', ''1'')', 'sotransaction/doPosting', '0.054301023483276', '2015-05-23 23:57:51'),
(7760, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''SO20150100000014'', 1, ''[1793]PM2M602S002221793'', ''76'', ''16'', 41366.98, 1, ''1'', 41366.98, ''1'', ''2015'', 1, ''SDN20150523[00000014][00000014]'', NULL, ''2'')', 'sotransaction/doPosting', '0.028657913208008', '2015-05-23 23:57:51'),
(7761, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''SO20150100000014'', ''[1793]PM2M602S002221793'', ''21'', ''16'', 41366.98, 1, ''1'', 41366.98, ''1'', ''2015'', ''SDN20150523[00000014][00000016]'', 1, NULL, ''2'')', 'sotransaction/doPosting', '0.035149097442627', '2015-05-23 23:57:51'),
(7762, 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` =  ''SO20150100000014''', 'sotransaction/doPosting', '0.065381050109863', '2015-05-23 23:57:51'),
(7763, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''361''', 'Gltransaction/journalPosting', '0.047926187515259', '2015-05-23 23:58:34'),
(7764, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''SO20150100000014''', 'Gltransaction/journalPosting', '0.054880142211914', '2015-05-23 23:58:34'),
(7765, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''76'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.042986154556274', '2015-05-23 23:58:34'),
(7766, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.064743041992188', '2015-05-23 23:58:34'),
(7767, 2, 2, '::1', 'insert', 'INSERT INTO `comp_chart_of_acct` (`ID`, `companyID`, `acctGroupID`, `acctCode`, `acctName`, `createdBy`, `createdTS`) VALUES (0, ''2'', ''3'', ''2100W0001'', ''Wong Yao Lam'', ''yaumanauto'', ''2015-05-23 18-01-56'')', 'glsetting/chartOfAcct', '0.052947998046875', '2015-05-24 00:02:38'),
(7768, 2, 2, '::1', 'insert', 'INSERT INTO `customer` (`ID`, `companyID`, `customerName`, `customerCompanyNo`, `accountCode`, `line1`, `line2`, `line3`, `city`, `customerPostCode`, `customerStateID`, `customerCountryID`, `attention`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `email`, `position`, `linkedAPAccountID`, `generalNote`, `gstRegNo`, `creditLimit`, `creditLimitAlert`, `createdDate`, `termsID`, `currencyID`) VALUES (0, ''2'', ''Wong Yao Lam'', ''2751638'', ''W00-01'', '''', '''', '''', '''', '''', ''0'', ''458'', 0, 0, '''', '''', '''', '''', '''', ''299'', '''', '''', '''', 0, ''2015-04-30'', ''6'', ''1'')', 'customerSetup/CustomerNew', '0.042380094528198', '2015-05-24 00:03:56'),
(7769, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice` (`invoiceCodeID`, `customerID`, `currencyID`, `formNo`, `salesInvoiceDate`, `customerPoNo`, `projectID`, `agentID`, `termsID`, `shipToID`, `exchangeRate`, `locationID`, `totalTaxAmount`, `totalReceivable`, `totalamount`, `memo`, `employeeID`, `shippingMethodID`, `companyID`, `createdBy`, `showSaleAgent`) VALUES (2, ''17'', ''1'', ''INV20150524'', ''2015-04-30'', ''YUA11845'', '''', '''', ''6'', ''null'', ''1.00000'', ''2'', 0, ''53747.49'', ''53747.49'', '''', '''', '''', ''2'', ''2'', ''0'')', 'Artransaction/saveNewDirectSaleInvoice', '0.13715600967407', '2015-05-24 00:05:47'),
(7770, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_detail` (`invoiceID`, `lineNo`, `createdBy`, `itemID`, `quantity`, `umID`, `itemdescription`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (17, ''1'', ''2'', ''17'', ''1'', ''16'', ''PM2M502G002233365'', ''50705.18'', ''50705.18'', ''2'', ''6'', ''3042.31'', ''53747.49'')', 'Artransaction/saveNewDirectSaleInvoice', '0.030109167098999', '2015-05-24 00:05:47'),
(7771, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''3042.31'', `totalAmount` = ''53747.49'' WHERE `ID` =  17', 'Artransaction/saveNewDirectSaleInvoice', '0.032160043716431', '2015-05-24 00:05:47'),
(7772, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''17'', ''1'', ''2'', ''284'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''2084.51'', ''8'', ''0'', ''0'', ''2084.51'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.32599997520447', '2015-05-24 00:07:15'),
(7773, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''3042.31'', `totalAmount` = ''55832'', `totalReceivable` = ''55832'' WHERE `ID` =  ''17''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.036900043487549', '2015-05-24 00:07:15'),
(7774, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_order` (`companyID`, `customerID`, `deliveryOrderDate`, `locationID`, `toAddress`, `shippingMethodID`, `currencyID`, `exchangeRate`, `employeeID`, `totalAmount`, `memo`, `createdBy`, `formNo`) VALUES (''2'', ''17'', ''2015-04-30'', ''2'', '',\\r\\n,\\r\\n \\r\\n, '', ''0'', ''1'', ''1'', ''0'', 52789.69, '''', ''2'', ''SDN20150524'')', 'artransaction/directInvoicePosting', '0.10364294052124', '2015-05-24 00:07:48'),
(7775, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_detail` (`deliveryID`, `lineNo`, `itemID`, `invoiceID`, `amount`, `unitPrice`, `quantitySent`, `createdBy`) VALUES (17, ''1'', ''17'', ''17'', 50705.18, ''50705.18'', ''1'', ''2'')', 'artransaction/directInvoicePosting', '0.040298938751221', '2015-05-24 00:07:48'),
(7776, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice_detail` SET `doID` = 17 WHERE `ID` =  ''17''', 'artransaction/directInvoicePosting', '0.0468909740448', '2015-05-24 00:07:48'),
(7777, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 16 WHERE `ID` =  ''11''', 'artransaction/directInvoicePosting', '0.054785013198853', '2015-05-24 00:07:48'),
(7778, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `journalNo` = ''AR20150100000016'', `updateAble` = ''0'' WHERE `ID` =  ''17''', 'artransaction/directInvoicePosting', '0.063025951385498', '2015-05-24 00:07:48'),
(7779, 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'', ''AR20150100000016'', ''INV20150524[00000015]'', ''Posting Direct Sales Invoices [ INV20150524[00000015] ]'', ''2'', ''2015-04-30'', ''2015'', ''1'', 55832, 55832, ''2'')', 'artransaction/directInvoicePosting', '0.039911031723022', '2015-05-24 00:07:48'),
(7780, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 1, ''AR20150100000016'', ''[3365]PM2M502G002233365'', ''299'', ''Wong Yao Lam'', 50705.18, ''1'', ''1'', ''50705.18'', ''1'', ''2015'', ''1'', ''INV20150524[00000015]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.042519092559814', '2015-05-24 00:07:48'),
(7781, 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'', ''AR20150100000016'', 2, ''[3365]PM2M502G002233365'', ''59'', ''Wong Yao Lam'', 50705.18, ''1'', ''1'', ''50705.18'', ''1'', ''2015'', ''1'', ''INV20150524[00000015]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.043812990188599', '2015-05-24 00:07:48'),
(7782, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150100000016'', ''[3365]PM2M502G002233365'', ''299'', ''Wong Yao Lam'', 3042.31, ''1'', ''1'', ''3042.31'', ''1'', ''2015'', ''1'', ''INV20150524[00000015]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.053745985031128', '2015-05-24 00:07:48'),
(7783, 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, ''AR20150100000016'', ''[3365]PM2M502G002233365'', ''41'', ''Wong Yao Lam'', 3042.31, ''1'', ''1'', ''3042.31'', ''1'', ''2015'', ''1'', ''INV20150524[00000015]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.043612003326416', '2015-05-24 00:07:48'),
(7784, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AR20150100000016'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''299'', ''Wong Yao Lam'', 2084.51, ''1'', ''1'', ''2084.51'', ''1'', ''2015'', ''1'', ''INV20150524[00000015]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.053566932678223', '2015-05-24 00:07:48'),
(7785, 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'', ''AR20150100000016'', 6, ''Road Tax,Registration,HP Claim,Ins Premium'', ''284'', ''Wong Yao Lam'', 2084.51, ''1'', ''1'', ''2084.51'', ''1'', ''2015'', ''1'', ''INV20150524[00000015]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.043702125549316', '2015-05-24 00:07:48'),
(7786, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 55832, `total_amount_cr` = 55832, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000016''', 'artransaction/directInvoicePosting', '0.05438494682312', '2015-05-24 00:07:48'),
(7787, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''362''', 'Gltransaction/journalPosting', '0.033203125', '2015-05-24 00:08:43'),
(7788, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000016''', 'Gltransaction/journalPosting', '0.14054703712463', '2015-05-24 00:08:43'),
(7789, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''3'', ''299'', ''2015'', ''1'', ''50705.18'', ''0'', 50705.18, ''2'', ''2015-05-23: 18:05:43'')', 'Gltransaction/journalPosting', '0.15611004829407', '2015-05-24 00:08:43'),
(7790, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''59'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.052524089813232', '2015-05-24 00:08:43');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(7791, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''299'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.086287975311279', '2015-05-24 00:08:43'),
(7792, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''41'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.042591094970703', '2015-05-24 00:08:43'),
(7793, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''299'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.041604995727539', '2015-05-24 00:08:43'),
(7794, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''284'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.0281081199646', '2015-05-24 00:08:43'),
(7795, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `updateAble` = ''0'' WHERE `ID` =  ''17''', 'sotransaction/doPosting', '0.028505802154541', '2015-05-24 00:09:15'),
(7796, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 15 WHERE `ID` =  ''12''', 'sotransaction/doPosting', '0.053876161575317', '2015-05-24 00:09:15'),
(7797, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `journalNo` = ''SO20150100000015'' WHERE `ID` =  ''17''', 'sotransaction/doPosting', '0.03069806098938', '2015-05-24 00:09:16'),
(7798, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''SO20150100000015'', ''SDN20150524[00000015]'', ''Delivery Order Confirm [ SDN20150524[00000015] ]'', ''5'', ''2015-04-30'', ''2015'', ''1'', ''2'')', 'sotransaction/doPosting', '0.036702871322632', '2015-05-24 00:09:16'),
(7799, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''17'' AND `companyID` =  ''2''', 'sotransaction/doPosting', '0.069597959518433', '2015-05-24 00:09:16'),
(7800, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''20''', 'sotransaction/doPosting', '0.02937912940979', '2015-05-24 00:09:16'),
(7801, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''20'', ''17'', ''1'', ''1'')', 'sotransaction/doPosting', '0.032863140106201', '2015-05-24 00:09:16'),
(7802, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''SO20150100000015'', 1, ''[3365]PM2M502G002233365'', ''76'', ''17'', 48843.18, 1, ''1'', 48843.18, ''1'', ''2015'', 1, ''SDN20150524[00000015][00000015]'', NULL, ''2'')', 'sotransaction/doPosting', '0.079029083251953', '2015-05-24 00:09:16'),
(7803, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''SO20150100000015'', ''[3365]PM2M502G002233365'', ''21'', ''17'', 48843.18, 1, ''1'', 48843.18, ''1'', ''2015'', ''SDN20150524[00000015][00000017]'', 1, NULL, ''2'')', 'sotransaction/doPosting', '0.064586162567139', '2015-05-24 00:09:16'),
(7804, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 48843.18, `total_amount_cr` = 48843.18, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''SO20150100000015''', 'sotransaction/doPosting', '0.029163837432861', '2015-05-24 00:09:16'),
(7805, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''363''', 'Gltransaction/journalPosting', '0.078512907028198', '2015-05-24 00:10:07'),
(7806, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''SO20150100000015''', 'Gltransaction/journalPosting', '0.0432448387146', '2015-05-24 00:10:07'),
(7807, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''76'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.063195943832397', '2015-05-24 00:10:07'),
(7808, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.052460908889771', '2015-05-24 00:10:07'),
(7809, 2, 2, '::1', 'insert', 'INSERT INTO `comp_chart_of_acct` (`ID`, `companyID`, `acctGroupID`, `acctCode`, `acctName`, `createdBy`, `createdTS`) VALUES (0, ''2'', ''3'', ''2100A0002'', ''Aw Hoay Hoay'', ''yaumanauto'', ''2015-05-23 18-20-14'')', 'glsetting/chartOfAcct', '0.054900169372559', '2015-05-24 00:21:05'),
(7810, 2, 2, '::1', 'insert', 'INSERT INTO `customer` (`ID`, `companyID`, `customerName`, `customerCompanyNo`, `accountCode`, `line1`, `line2`, `line3`, `city`, `customerPostCode`, `customerStateID`, `customerCountryID`, `attention`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `email`, `position`, `linkedAPAccountID`, `generalNote`, `gstRegNo`, `creditLimit`, `creditLimitAlert`, `createdDate`, `termsID`, `currencyID`) VALUES (0, ''2'', ''Aw Hoay Hoay'', ''2750307'', ''A00-02'', '''', '''', '''', '''', '''', ''0'', ''458'', 0, 0, '''', '''', '''', '''', '''', ''300'', '''', '''', '''', 0, ''2015-04-01'', ''6'', ''1'')', 'customerSetup/CustomerNew', '0.0609450340271', '2015-05-24 00:22:42'),
(7811, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice` (`invoiceCodeID`, `customerID`, `currencyID`, `formNo`, `salesInvoiceDate`, `customerPoNo`, `projectID`, `agentID`, `termsID`, `shipToID`, `exchangeRate`, `locationID`, `totalTaxAmount`, `totalReceivable`, `totalamount`, `memo`, `employeeID`, `shippingMethodID`, `companyID`, `createdBy`, `showSaleAgent`) VALUES (2, ''18'', ''1'', ''INV20150524'', ''2015-04-30'', ''YUA11844'', '''', '''', ''6'', ''null'', ''1.00000'', ''2'', 0, ''45479.28'', ''45479.28'', '''', '''', '''', ''2'', ''2'', ''0'')', 'Artransaction/saveNewDirectSaleInvoice', '0.099334955215454', '2015-05-24 00:24:27'),
(7812, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_detail` (`invoiceID`, `lineNo`, `createdBy`, `itemID`, `quantity`, `umID`, `itemdescription`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (18, ''1'', ''2'', ''19'', ''1'', ''16'', ''PM2M602S002226176'', ''42904.98'', ''42904.98'', ''2'', ''6'', ''2574.3'', ''45479.28'')', 'Artransaction/saveNewDirectSaleInvoice', '0.076479911804199', '2015-05-24 00:24:27'),
(7813, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''2574.3'', `totalAmount` = ''45479.28'' WHERE `ID` =  18', 'Artransaction/saveNewDirectSaleInvoice', '0.033306837081909', '2015-05-24 00:24:27'),
(7814, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''18'', ''1'', ''2'', ''284'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''1782.87'', ''8'', ''0'', ''0'', ''1782.87'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.086251974105835', '2015-05-24 00:25:46'),
(7815, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''2574.3'', `totalAmount` = ''47262.15'', `totalReceivable` = ''47262.15'' WHERE `ID` =  ''18''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.025758028030396', '2015-05-24 00:25:46'),
(7816, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_order` (`companyID`, `customerID`, `deliveryOrderDate`, `locationID`, `toAddress`, `shippingMethodID`, `currencyID`, `exchangeRate`, `employeeID`, `totalAmount`, `memo`, `createdBy`, `formNo`) VALUES (''2'', ''18'', ''2015-04-30'', ''2'', '',\\r\\n,\\r\\n \\r\\n, '', ''0'', ''1'', ''1'', ''0'', 44687.85, '''', ''2'', ''SDN20150524'')', 'artransaction/directInvoicePosting', '0.055867910385132', '2015-05-24 00:26:17'),
(7817, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_detail` (`deliveryID`, `lineNo`, `itemID`, `invoiceID`, `amount`, `unitPrice`, `quantitySent`, `createdBy`) VALUES (18, ''1'', ''19'', ''18'', 42904.98, ''42904.98'', ''1'', ''2'')', 'artransaction/directInvoicePosting', '0.090496063232422', '2015-05-24 00:26:17'),
(7818, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice_detail` SET `doID` = 18 WHERE `ID` =  ''18''', 'artransaction/directInvoicePosting', '0.044409036636353', '2015-05-24 00:26:17'),
(7819, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 17 WHERE `ID` =  ''11''', 'artransaction/directInvoicePosting', '0.043750047683716', '2015-05-24 00:26:17'),
(7820, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `journalNo` = ''AR20150100000017'', `updateAble` = ''0'' WHERE `ID` =  ''18''', 'artransaction/directInvoicePosting', '0.043252944946289', '2015-05-24 00:26:17'),
(7821, 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'', ''AR20150100000017'', ''INV20150524[00000016]'', ''Posting Direct Sales Invoices [ INV20150524[00000016] ]'', ''2'', ''2015-04-30'', ''2015'', ''1'', 47262.15, 47262.15, ''2'')', 'artransaction/directInvoicePosting', '0.036788940429688', '2015-05-24 00:26:17'),
(7822, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 1, ''AR20150100000017'', ''[6176]PM2M602S002226176'', ''300'', ''Aw Hoay Hoay'', 42904.98, ''1'', ''1'', ''42904.98'', ''1'', ''2015'', ''1'', ''INV20150524[00000016]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.042802095413208', '2015-05-24 00:26:17'),
(7823, 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'', ''AR20150100000017'', 2, ''[6176]PM2M602S002226176'', ''59'', ''Aw Hoay Hoay'', 42904.98, ''1'', ''1'', ''42904.98'', ''1'', ''2015'', ''1'', ''INV20150524[00000016]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.029752969741821', '2015-05-24 00:26:17'),
(7824, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150100000017'', ''[6176]PM2M602S002226176'', ''300'', ''Aw Hoay Hoay'', 2574.3, ''1'', ''1'', ''2574.3'', ''1'', ''2015'', ''1'', ''INV20150524[00000016]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.0346999168396', '2015-05-24 00:26:17'),
(7825, 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, ''AR20150100000017'', ''[6176]PM2M602S002226176'', ''41'', ''Aw Hoay Hoay'', 2574.3, ''1'', ''1'', ''2574.3'', ''1'', ''2015'', ''1'', ''INV20150524[00000016]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.029747009277344', '2015-05-24 00:26:17'),
(7826, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AR20150100000017'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''300'', ''Aw Hoay Hoay'', 1782.87, ''1'', ''1'', ''1782.87'', ''1'', ''2015'', ''1'', ''INV20150524[00000016]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.034718036651611', '2015-05-24 00:26:17'),
(7827, 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'', ''AR20150100000017'', 6, ''Road Tax,Registration,HP Claim,Ins Premium'', ''284'', ''Aw Hoay Hoay'', 1782.87, ''1'', ''1'', ''1782.87'', ''1'', ''2015'', ''1'', ''INV20150524[00000016]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.029797077178955', '2015-05-24 00:26:17'),
(7828, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 47262.15, `total_amount_cr` = 47262.15, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000017''', 'artransaction/directInvoicePosting', '0.046260833740234', '2015-05-24 00:26:17'),
(7829, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''364''', 'Gltransaction/journalPosting', '0.06789493560791', '2015-05-24 00:27:03'),
(7830, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000017''', 'Gltransaction/journalPosting', '0.1627368927002', '2015-05-24 00:27:03'),
(7831, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''3'', ''300'', ''2015'', ''1'', ''42904.98'', ''0'', 42904.98, ''2'', ''2015-05-23: 18:05:03'')', 'Gltransaction/journalPosting', '0.056321859359741', '2015-05-24 00:27:04'),
(7832, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''59'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.028327941894531', '2015-05-24 00:27:04'),
(7833, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''300'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.033771991729736', '2015-05-24 00:27:04'),
(7834, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''41'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.028295993804932', '2015-05-24 00:27:04'),
(7835, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''300'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.033806085586548', '2015-05-24 00:27:04'),
(7836, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''284'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.028286933898926', '2015-05-24 00:27:04'),
(7837, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `updateAble` = ''0'' WHERE `ID` =  ''18''', 'sotransaction/doPosting', '0.067065954208374', '2015-05-24 00:27:34'),
(7838, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 16 WHERE `ID` =  ''12''', 'sotransaction/doPosting', '0.030142068862915', '2015-05-24 00:27:34'),
(7839, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `journalNo` = ''SO20150100000016'' WHERE `ID` =  ''18''', 'sotransaction/doPosting', '0.034950971603394', '2015-05-24 00:27:34'),
(7840, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''SO20150100000016'', ''SDN20150524[00000016]'', ''Delivery Order Confirm [ SDN20150524[00000016] ]'', ''5'', ''2015-04-30'', ''2015'', ''1'', ''2'')', 'sotransaction/doPosting', '0.048163175582886', '2015-05-24 00:27:34'),
(7841, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''19'' AND `companyID` =  ''2''', 'sotransaction/doPosting', '0.033348083496094', '2015-05-24 00:27:34'),
(7842, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''22''', 'sotransaction/doPosting', '0.046681880950928', '2015-05-24 00:27:34'),
(7843, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''22'', ''18'', ''1'', ''1'')', 'sotransaction/doPosting', '0.030055999755859', '2015-05-24 00:27:34'),
(7844, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''SO20150100000016'', 1, ''[6176]PM2M602S002226176'', ''76'', ''18'', 41366.98, 1, ''1'', 41366.98, ''1'', ''2015'', 1, ''SDN20150524[00000016][00000016]'', NULL, ''2'')', 'sotransaction/doPosting', '0.045094966888428', '2015-05-24 00:27:34'),
(7845, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''SO20150100000016'', ''[6176]PM2M602S002226176'', ''21'', ''18'', 41366.98, 1, ''1'', 41366.98, ''1'', ''2015'', ''SDN20150524[00000016][00000018]'', 1, NULL, ''2'')', 'sotransaction/doPosting', '0.028637170791626', '2015-05-24 00:27:34'),
(7846, 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` =  ''SO20150100000016''', 'sotransaction/doPosting', '0.035370111465454', '2015-05-24 00:27:34'),
(7847, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''365''', 'Gltransaction/journalPosting', '0.32579588890076', '2015-05-24 00:30:11'),
(7848, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''SO20150100000016''', 'Gltransaction/journalPosting', '0.054372072219849', '2015-05-24 00:30:11'),
(7849, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''76'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.027323961257935', '2015-05-24 00:30:11'),
(7850, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.077424049377441', '2015-05-24 00:30:11'),
(7851, 2, 2, '::1', 'insert', 'INSERT INTO `comp_chart_of_acct` (`ID`, `companyID`, `acctGroupID`, `acctCode`, `acctName`, `createdBy`, `createdTS`) VALUES (0, ''2'', ''3'', ''2100N0005'', ''Nor Asiah Binti Aminuddin'', ''yaumanauto'', ''2015-05-23 18-38-30'')', 'glsetting/chartOfAcct', '0.04084587097168', '2015-05-24 00:39:19'),
(7852, 2, 2, '::1', 'insert', 'INSERT INTO `customer` (`ID`, `companyID`, `customerName`, `customerCompanyNo`, `accountCode`, `line1`, `line2`, `line3`, `city`, `customerPostCode`, `customerStateID`, `customerCountryID`, `attention`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `email`, `position`, `linkedAPAccountID`, `generalNote`, `gstRegNo`, `creditLimit`, `creditLimitAlert`, `createdDate`, `termsID`, `currencyID`) VALUES (0, ''2'', ''Nor Asiah Binti Aminuddin'', ''2748240'', ''N00-05'', '''', '''', '''', '''', '''', ''0'', ''458'', 0, 0, '''', '''', '''', '''', '''', ''301'', '''', '''', '''', 0, ''2015-04-01'', ''6'', ''1'')', 'customerSetup/CustomerNew', '0.060638189315796', '2015-05-24 00:40:33'),
(7853, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice` (`invoiceCodeID`, `customerID`, `currencyID`, `formNo`, `salesInvoiceDate`, `customerPoNo`, `projectID`, `agentID`, `termsID`, `shipToID`, `exchangeRate`, `locationID`, `totalTaxAmount`, `totalReceivable`, `totalamount`, `memo`, `employeeID`, `shippingMethodID`, `companyID`, `createdBy`, `showSaleAgent`) VALUES (2, ''19'', ''1'', ''INV20150524'', ''2015-04-30'', ''YUA11843'', '''', '''', ''6'', ''null'', ''1.00000'', ''2'', 0, ''57637.25'', ''57637.25'', '''', '''', '''', ''2'', ''2'', ''0'')', 'Artransaction/saveNewDirectSaleInvoice', '0.10521197319031', '2015-05-24 00:49:03'),
(7854, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_detail` (`invoiceID`, `lineNo`, `createdBy`, `itemID`, `quantity`, `umID`, `itemdescription`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (19, ''1'', ''2'', ''18'', ''1'', ''16'', ''PM2M502G002240733'', ''54374.76'', ''54374.76'', ''2'', ''6'', ''3262.49'', ''57637.25'')', 'Artransaction/saveNewDirectSaleInvoice', '0.029685020446777', '2015-05-24 00:49:03'),
(7855, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''3262.49'', `totalAmount` = ''57637.25'' WHERE `ID` =  19', 'Artransaction/saveNewDirectSaleInvoice', '0.030070066452026', '2015-05-24 00:49:03'),
(7856, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''19'', ''1'', ''2'', ''284'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''2304.99'', ''8'', ''0'', ''0'', ''2304.99'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.11092591285706', '2015-05-24 00:55:19'),
(7857, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''3262.49'', `totalAmount` = ''59942.24'', `totalReceivable` = ''59942.24'' WHERE `ID` =  ''19''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.050932884216309', '2015-05-24 00:55:19'),
(7858, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_order` (`companyID`, `customerID`, `deliveryOrderDate`, `locationID`, `toAddress`, `shippingMethodID`, `currencyID`, `exchangeRate`, `employeeID`, `totalAmount`, `memo`, `createdBy`, `formNo`) VALUES (''2'', ''19'', ''2015-04-30'', ''2'', '',\\r\\n,\\r\\n \\r\\n, '', ''0'', ''1'', ''1'', ''0'', 56679.75, '''', ''2'', ''SDN20150524'')', 'artransaction/directInvoicePosting', '0.073932886123657', '2015-05-24 00:55:43'),
(7859, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_detail` (`deliveryID`, `lineNo`, `itemID`, `invoiceID`, `amount`, `unitPrice`, `quantitySent`, `createdBy`) VALUES (19, ''1'', ''18'', ''19'', 54374.76, ''54374.76'', ''1'', ''2'')', 'artransaction/directInvoicePosting', '0.03021502494812', '2015-05-24 00:55:43'),
(7860, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice_detail` SET `doID` = 19 WHERE `ID` =  ''19''', 'artransaction/directInvoicePosting', '0.035403966903687', '2015-05-24 00:55:43'),
(7861, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 18 WHERE `ID` =  ''11''', 'artransaction/directInvoicePosting', '0.055303812026978', '2015-05-24 00:55:43'),
(7862, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `journalNo` = ''AR20150100000018'', `updateAble` = ''0'' WHERE `ID` =  ''19''', 'artransaction/directInvoicePosting', '0.030340909957886', '2015-05-24 00:55:43'),
(7863, 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'', ''AR20150100000018'', ''INV20150524[00000017]'', ''Posting Direct Sales Invoices [ INV20150524[00000017] ]'', ''2'', ''2015-04-30'', ''2015'', ''1'', 59942.24, 59942.24, ''2'')', 'artransaction/directInvoicePosting', '0.039093971252441', '2015-05-24 00:55:44'),
(7864, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 1, ''AR20150100000018'', ''[0733]PM2M502G002240733'', ''301'', ''Nor Asiah Binti Aminuddin'', 54374.76, ''1'', ''1'', ''54374.76'', ''1'', ''2015'', ''1'', ''INV20150524[00000017]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.05486798286438', '2015-05-24 00:55:44'),
(7865, 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'', ''AR20150100000018'', 2, ''[0733]PM2M502G002240733'', ''59'', ''Nor Asiah Binti Aminuddin'', 54374.76, ''1'', ''1'', ''54374.76'', ''1'', ''2015'', ''1'', ''INV20150524[00000017]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.029285907745361', '2015-05-24 00:55:44'),
(7866, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150100000018'', ''[0733]PM2M502G002240733'', ''301'', ''Nor Asiah Binti Aminuddin'', 3262.49, ''1'', ''1'', ''3262.49'', ''1'', ''2015'', ''1'', ''INV20150524[00000017]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.035202026367188', '2015-05-24 00:55:44'),
(7867, 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, ''AR20150100000018'', ''[0733]PM2M502G002240733'', ''41'', ''Nor Asiah Binti Aminuddin'', 3262.49, ''1'', ''1'', ''3262.49'', ''1'', ''2015'', ''1'', ''INV20150524[00000017]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.029347896575928', '2015-05-24 00:55:44'),
(7868, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AR20150100000018'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''301'', ''Nor Asiah Binti Aminuddin'', 2304.99, ''1'', ''1'', ''2304.99'', ''1'', ''2015'', ''1'', ''INV20150524[00000017]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.03521990776062', '2015-05-24 00:55:44'),
(7869, 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'', ''AR20150100000018'', 6, ''Road Tax,Registration,HP Claim,Ins Premium'', ''284'', ''Nor Asiah Binti Aminuddin'', 2304.99, ''1'', ''1'', ''2304.99'', ''1'', ''2015'', ''1'', ''INV20150524[00000017]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.029301166534424', '2015-05-24 00:55:44'),
(7870, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 59942.24, `total_amount_cr` = 59942.24, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000018''', 'artransaction/directInvoicePosting', '0.035604953765869', '2015-05-24 00:55:44'),
(7871, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''366''', 'Gltransaction/journalPosting', '0.070458889007568', '2015-05-24 00:57:20'),
(7872, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000018''', 'Gltransaction/journalPosting', '0.044280052185059', '2015-05-24 00:57:20'),
(7873, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''3'', ''301'', ''2015'', ''1'', ''54374.76'', ''0'', 54374.76, ''2'', ''2015-05-23: 18:05:20'')', 'Gltransaction/journalPosting', '0.055592060089111', '2015-05-24 00:57:20'),
(7874, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''59'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.029155015945435', '2015-05-24 00:57:20'),
(7875, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''301'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.032927989959717', '2015-05-24 00:57:20'),
(7876, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''41'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.040243148803711', '2015-05-24 00:57:20'),
(7877, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''301'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.032964944839478', '2015-05-24 00:57:20'),
(7878, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''284'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.02911114692688', '2015-05-24 00:57:20'),
(7879, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `updateAble` = ''0'' WHERE `ID` =  ''19''', 'sotransaction/doPosting', '0.052037954330444', '2015-05-24 00:57:48'),
(7880, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 17 WHERE `ID` =  ''12''', 'sotransaction/doPosting', '0.054623126983643', '2015-05-24 00:57:48'),
(7881, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `journalNo` = ''SO20150100000017'' WHERE `ID` =  ''19''', 'sotransaction/doPosting', '0.03330397605896', '2015-05-24 00:57:48'),
(7882, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''SO20150100000017'', ''SDN20150524[00000017]'', ''Delivery Order Confirm [ SDN20150524[00000017] ]'', ''5'', ''2015-04-30'', ''2015'', ''1'', ''2'')', 'sotransaction/doPosting', '0.036417007446289', '2015-05-24 00:57:48'),
(7883, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''18'' AND `companyID` =  ''2''', 'sotransaction/doPosting', '0.069448947906494', '2015-05-24 00:57:48'),
(7884, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''21''', 'sotransaction/doPosting', '0.030416011810303', '2015-05-24 00:57:48'),
(7885, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''21'', ''19'', ''1'', ''1'')', 'sotransaction/doPosting', '0.057348966598511', '2015-05-24 00:57:48'),
(7886, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''SO20150100000017'', 1, ''[0733]PM2M502G002240733'', ''76'', ''19'', 52338.76, 1, ''1'', 52338.76, ''1'', ''2015'', 1, ''SDN20150524[00000017][00000017]'', NULL, ''2'')', 'sotransaction/doPosting', '0.041862964630127', '2015-05-24 00:57:48'),
(7887, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''SO20150100000017'', ''[0733]PM2M502G002240733'', ''21'', ''19'', 52338.76, 1, ''1'', 52338.76, ''1'', ''2015'', ''SDN20150524[00000017][00000019]'', 1, NULL, ''2'')', 'sotransaction/doPosting', '0.029430150985718', '2015-05-24 00:57:48'),
(7888, 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` =  ''SO20150100000017''', 'sotransaction/doPosting', '0.13423204421997', '2015-05-24 00:57:48'),
(7889, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''367''', 'Gltransaction/journalPosting', '0.072303056716919', '2015-05-24 00:58:27'),
(7890, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''SO20150100000017''', 'Gltransaction/journalPosting', '0.099125862121582', '2015-05-24 00:58:27'),
(7891, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''76'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.052409887313843', '2015-05-24 00:58:27'),
(7892, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.051268100738525', '2015-05-24 00:58:27'),
(7893, 2, 2, '::1', 'insert', 'INSERT INTO `comp_chart_of_acct` (`ID`, `companyID`, `acctGroupID`, `acctCode`, `acctName`, `createdBy`, `createdTS`) VALUES (0, ''2'', ''3'', ''2100H0002'', ''Harun Bin Bakar'', ''yaumanauto'', ''2015-05-23 19-01-31'')', 'glsetting/chartOfAcct', '0.039671182632446', '2015-05-24 01:02:17'),
(7894, 2, 2, '::1', 'insert', 'INSERT INTO `customer` (`ID`, `companyID`, `customerName`, `customerCompanyNo`, `accountCode`, `line1`, `line2`, `line3`, `city`, `customerPostCode`, `customerStateID`, `customerCountryID`, `attention`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `email`, `position`, `linkedAPAccountID`, `generalNote`, `gstRegNo`, `creditLimit`, `creditLimitAlert`, `createdDate`, `termsID`, `currencyID`) VALUES (0, ''2'', ''Harun Bin Bakar'', ''2754449'', ''H00-02'', '''', '''', '''', '''', '''', ''0'', ''458'', 0, 0, '''', '''', '''', '''', '''', ''302'', '''', '''', '''', 0, ''2015-04-01'', ''6'', ''1'')', 'customerSetup/CustomerNew', '0.053859949111938', '2015-05-24 01:03:47'),
(7895, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice` (`invoiceCodeID`, `customerID`, `currencyID`, `formNo`, `salesInvoiceDate`, `customerPoNo`, `projectID`, `agentID`, `termsID`, `shipToID`, `exchangeRate`, `locationID`, `totalTaxAmount`, `totalReceivable`, `totalamount`, `memo`, `employeeID`, `shippingMethodID`, `companyID`, `createdBy`, `showSaleAgent`) VALUES (2, ''20'', ''1'', ''INV20150524'', ''2015-04-30'', ''YUA11842'', '''', '''', ''6'', ''null'', ''1.00000'', ''2'', 0, ''45479.28'', ''45479.28'', '''', '''', '''', ''2'', ''2'', ''0'')', 'Artransaction/saveNewDirectSaleInvoice', '0.0501389503479', '2015-05-24 01:05:55'),
(7896, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_detail` (`invoiceID`, `lineNo`, `createdBy`, `itemID`, `quantity`, `umID`, `itemdescription`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (20, ''1'', ''2'', ''15'', ''1'', ''16'', ''PM2M602S002224913'', ''42904.98'', ''42904.98'', ''2'', ''6'', ''2574.3'', ''45479.28'')', 'Artransaction/saveNewDirectSaleInvoice', '0.055414915084839', '2015-05-24 01:05:55'),
(7897, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''2574.3'', `totalAmount` = ''45479.28'' WHERE `ID` =  20', 'Artransaction/saveNewDirectSaleInvoice', '0.059667825698853', '2015-05-24 01:05:55'),
(7898, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''20'', ''1'', ''2'', ''284'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''1782.87'', ''8'', ''0'', ''0'', ''1782.87'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.10547995567322', '2015-05-24 01:07:10'),
(7899, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''2574.3'', `totalAmount` = ''47262.15'', `totalReceivable` = ''47262.15'' WHERE `ID` =  ''20''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.073183059692383', '2015-05-24 01:07:10'),
(7900, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_order` (`companyID`, `customerID`, `deliveryOrderDate`, `locationID`, `toAddress`, `shippingMethodID`, `currencyID`, `exchangeRate`, `employeeID`, `totalAmount`, `memo`, `createdBy`, `formNo`) VALUES (''2'', ''20'', ''2015-04-30'', ''2'', '',\\r\\n,\\r\\n \\r\\n, '', ''0'', ''1'', ''1'', ''0'', 44687.85, '''', ''2'', ''SDN20150524'')', 'artransaction/directInvoicePosting', '0.094781875610352', '2015-05-24 01:07:34'),
(7901, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_detail` (`deliveryID`, `lineNo`, `itemID`, `invoiceID`, `amount`, `unitPrice`, `quantitySent`, `createdBy`) VALUES (20, ''1'', ''15'', ''20'', 42904.98, ''42904.98'', ''1'', ''2'')', 'artransaction/directInvoicePosting', '0.02862811088562', '2015-05-24 01:07:34'),
(7902, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice_detail` SET `doID` = 20 WHERE `ID` =  ''20''', 'artransaction/directInvoicePosting', '0.056710958480835', '2015-05-24 01:07:34'),
(7903, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 19 WHERE `ID` =  ''11''', 'artransaction/directInvoicePosting', '0.04315185546875', '2015-05-24 01:07:34'),
(7904, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `journalNo` = ''AR20150100000019'', `updateAble` = ''0'' WHERE `ID` =  ''20''', 'artransaction/directInvoicePosting', '0.047773122787476', '2015-05-24 01:07:35'),
(7905, 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'', ''AR20150100000019'', ''INV20150524[00000018]'', ''Posting Direct Sales Invoices [ INV20150524[00000018] ]'', ''2'', ''2015-04-30'', ''2015'', ''1'', 47262.15, 47262.15, ''2'')', 'artransaction/directInvoicePosting', '0.031673908233643', '2015-05-24 01:07:35'),
(7906, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 1, ''AR20150100000019'', ''[4913]PM2M602S002224913'', ''302'', ''Harun Bin Bakar'', 42904.98, ''1'', ''1'', ''42904.98'', ''1'', ''2015'', ''1'', ''INV20150524[00000018]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.088774919509888', '2015-05-24 01:07:35'),
(7907, 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'', ''AR20150100000019'', 2, ''[4913]PM2M602S002224913'', ''59'', ''Harun Bin Bakar'', 42904.98, ''1'', ''1'', ''42904.98'', ''1'', ''2015'', ''1'', ''INV20150524[00000018]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.032711029052734', '2015-05-24 01:07:35'),
(7908, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150100000019'', ''[4913]PM2M602S002224913'', ''302'', ''Harun Bin Bakar'', 2574.3, ''1'', ''1'', ''2574.3'', ''1'', ''2015'', ''1'', ''INV20150524[00000018]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.030560970306396', '2015-05-24 01:07:35'),
(7909, 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, ''AR20150100000019'', ''[4913]PM2M602S002224913'', ''41'', ''Harun Bin Bakar'', 2574.3, ''1'', ''1'', ''2574.3'', ''1'', ''2015'', ''1'', ''INV20150524[00000018]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.03387188911438', '2015-05-24 01:07:35'),
(7910, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AR20150100000019'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''302'', ''Harun Bin Bakar'', 1782.87, ''1'', ''1'', ''1782.87'', ''1'', ''2015'', ''1'', ''INV20150524[00000018]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.030548095703125', '2015-05-24 01:07:35');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(7911, 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'', ''AR20150100000019'', 6, ''Road Tax,Registration,HP Claim,Ins Premium'', ''284'', ''Harun Bin Bakar'', 1782.87, ''1'', ''1'', ''1782.87'', ''1'', ''2015'', ''1'', ''INV20150524[00000018]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.033931016921997', '2015-05-24 01:07:35'),
(7912, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 47262.15, `total_amount_cr` = 47262.15, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000019''', 'artransaction/directInvoicePosting', '0.030996084213257', '2015-05-24 01:07:35'),
(7913, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''368''', 'Gltransaction/journalPosting', '0.069306135177612', '2015-05-24 01:08:15'),
(7914, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000019''', 'Gltransaction/journalPosting', '0.066415786743164', '2015-05-24 01:08:15'),
(7915, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''3'', ''302'', ''2015'', ''1'', ''42904.98'', ''0'', 42904.98, ''2'', ''2015-05-23: 19:05:15'')', 'Gltransaction/journalPosting', '0.061582088470459', '2015-05-24 01:08:15'),
(7916, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''59'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.029932022094727', '2015-05-24 01:08:16'),
(7917, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''302'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.043174028396606', '2015-05-24 01:08:16'),
(7918, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''41'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.042628049850464', '2015-05-24 01:08:16'),
(7919, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''302'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.052740097045898', '2015-05-24 01:08:16'),
(7920, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''284'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.064579010009766', '2015-05-24 01:08:16'),
(7921, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `updateAble` = ''0'' WHERE `ID` =  ''20''', 'sotransaction/doPosting', '0.043255805969238', '2015-05-24 01:08:40'),
(7922, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 18 WHERE `ID` =  ''12''', 'sotransaction/doPosting', '0.032264947891235', '2015-05-24 01:08:40'),
(7923, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `journalNo` = ''SO20150100000018'' WHERE `ID` =  ''20''', 'sotransaction/doPosting', '0.033274173736572', '2015-05-24 01:08:40'),
(7924, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''SO20150100000018'', ''SDN20150524[00000018]'', ''Delivery Order Confirm [ SDN20150524[00000018] ]'', ''5'', ''2015-04-30'', ''2015'', ''1'', ''2'')', 'sotransaction/doPosting', '0.047499895095825', '2015-05-24 01:08:40'),
(7925, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''15'' AND `companyID` =  ''2''', 'sotransaction/doPosting', '0.045747995376587', '2015-05-24 01:08:40'),
(7926, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''18''', 'sotransaction/doPosting', '0.03429388999939', '2015-05-24 01:08:40'),
(7927, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''18'', ''20'', ''1'', ''1'')', 'sotransaction/doPosting', '0.031348943710327', '2015-05-24 01:08:40'),
(7928, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''SO20150100000018'', 1, ''[4913]PM2M602S002224913'', ''76'', ''20'', 41366.98, 1, ''1'', 41366.98, ''1'', ''2015'', 1, ''SDN20150524[00000018][00000018]'', NULL, ''2'')', 'sotransaction/doPosting', '0.043843030929565', '2015-05-24 01:08:40'),
(7929, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''SO20150100000018'', ''[4913]PM2M602S002224913'', ''21'', ''20'', 41366.98, 1, ''1'', 41366.98, ''1'', ''2015'', ''SDN20150524[00000018][00000020]'', 1, NULL, ''2'')', 'sotransaction/doPosting', '0.029886960983276', '2015-05-24 01:08:40'),
(7930, 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` =  ''SO20150100000018''', 'sotransaction/doPosting', '0.03411078453064', '2015-05-24 01:08:40'),
(7931, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''369''', 'Gltransaction/journalPosting', '0.070919990539551', '2015-05-24 01:09:16'),
(7932, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''SO20150100000018''', 'Gltransaction/journalPosting', '0.077517032623291', '2015-05-24 01:09:16'),
(7933, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''76'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.042257785797119', '2015-05-24 01:09:16'),
(7934, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.075873136520386', '2015-05-24 01:09:16'),
(7935, 2, 2, '::1', 'insert', 'INSERT INTO `comp_chart_of_acct` (`ID`, `companyID`, `acctGroupID`, `acctCode`, `acctName`, `createdBy`, `createdTS`) VALUES (0, ''2'', ''3'', ''2100A0003'', ''Amanda How Chien Yinn'', ''yaumanauto'', ''2015-05-23 19-11-48'')', 'glsetting/chartOfAcct', '0.046342134475708', '2015-05-24 01:12:29'),
(7936, 2, 2, '::1', 'insert', 'INSERT INTO `customer` (`ID`, `companyID`, `customerName`, `customerCompanyNo`, `accountCode`, `line1`, `line2`, `line3`, `city`, `customerPostCode`, `customerStateID`, `customerCountryID`, `attention`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `email`, `position`, `linkedAPAccountID`, `generalNote`, `gstRegNo`, `creditLimit`, `creditLimitAlert`, `createdDate`, `termsID`, `currencyID`) VALUES (0, ''2'', ''Amanda How Chien Yinn'', ''2734411'', ''A00-03'', '''', '''', '''', '''', '''', ''0'', ''458'', 0, 0, '''', '''', '''', '''', '''', ''303'', '''', '''', '''', 0, ''2015-04-01'', ''6'', ''1'')', 'customerSetup/CustomerNew', '0.051467895507812', '2015-05-24 01:13:35'),
(7937, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice` (`invoiceCodeID`, `customerID`, `currencyID`, `formNo`, `salesInvoiceDate`, `customerPoNo`, `projectID`, `agentID`, `termsID`, `shipToID`, `exchangeRate`, `locationID`, `totalTaxAmount`, `totalReceivable`, `totalamount`, `memo`, `employeeID`, `shippingMethodID`, `companyID`, `createdBy`, `showSaleAgent`) VALUES (2, ''21'', ''1'', ''INV20150524'', ''2015-04-30'', ''YUA11841'', '''', '''', ''6'', ''null'', ''1.00000'', ''2'', 0, ''45479.28'', ''45479.28'', '''', '''', '''', ''2'', ''2'', ''0'')', 'Artransaction/saveNewDirectSaleInvoice', '0.10784196853638', '2015-05-24 01:14:52'),
(7938, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_detail` (`invoiceID`, `lineNo`, `createdBy`, `itemID`, `quantity`, `umID`, `itemdescription`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (21, ''1'', ''2'', ''16'', ''1'', ''16'', ''PM2M602S002227434'', ''42904.98'', ''42904.98'', ''2'', ''6'', ''2574.3'', ''45479.28'')', 'Artransaction/saveNewDirectSaleInvoice', '0.031399965286255', '2015-05-24 01:14:52'),
(7939, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''2574.3'', `totalAmount` = ''45479.28'' WHERE `ID` =  21', 'Artransaction/saveNewDirectSaleInvoice', '0.029688119888306', '2015-05-24 01:14:52'),
(7940, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''21'', ''1'', ''2'', ''284'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''1782.87'', ''8'', ''0'', ''0'', ''1782.87'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.084121942520142', '2015-05-24 01:16:00'),
(7941, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''2574.3'', `totalAmount` = ''47262.15'', `totalReceivable` = ''47262.15'' WHERE `ID` =  ''21''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.062870025634766', '2015-05-24 01:16:00'),
(7942, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_order` (`companyID`, `customerID`, `deliveryOrderDate`, `locationID`, `toAddress`, `shippingMethodID`, `currencyID`, `exchangeRate`, `employeeID`, `totalAmount`, `memo`, `createdBy`, `formNo`) VALUES (''2'', ''21'', ''2015-04-30'', ''2'', '',\\r\\n,\\r\\n \\r\\n, '', ''0'', ''1'', ''1'', ''0'', 44687.85, '''', ''2'', ''SDN20150524'')', 'artransaction/directInvoicePosting', '0.064141035079956', '2015-05-24 01:16:23'),
(7943, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_detail` (`deliveryID`, `lineNo`, `itemID`, `invoiceID`, `amount`, `unitPrice`, `quantitySent`, `createdBy`) VALUES (21, ''1'', ''16'', ''21'', 42904.98, ''42904.98'', ''1'', ''2'')', 'artransaction/directInvoicePosting', '0.027292966842651', '2015-05-24 01:16:23'),
(7944, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice_detail` SET `doID` = 21 WHERE `ID` =  ''21''', 'artransaction/directInvoicePosting', '0.055805921554565', '2015-05-24 01:16:23'),
(7945, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 20 WHERE `ID` =  ''11''', 'artransaction/directInvoicePosting', '0.053084135055542', '2015-05-24 01:16:23'),
(7946, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `journalNo` = ''AR20150100000020'', `updateAble` = ''0'' WHERE `ID` =  ''21''', 'artransaction/directInvoicePosting', '0.03400707244873', '2015-05-24 01:16:23'),
(7947, 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'', ''AR20150100000020'', ''INV20150524[00000019]'', ''Posting Direct Sales Invoices [ INV20150524[00000019] ]'', ''2'', ''2015-04-30'', ''2015'', ''1'', 47262.15, 47262.15, ''2'')', 'artransaction/directInvoicePosting', '0.036629915237427', '2015-05-24 01:16:23'),
(7948, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 1, ''AR20150100000020'', ''[7434]PM2M602S002227434'', ''303'', ''Amanda How Chien Yinn'', 42904.98, ''1'', ''1'', ''42904.98'', ''1'', ''2015'', ''1'', ''INV20150524[00000019]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.064883947372437', '2015-05-24 01:16:23'),
(7949, 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'', ''AR20150100000020'', 2, ''[7434]PM2M602S002227434'', ''59'', ''Amanda How Chien Yinn'', 42904.98, ''1'', ''1'', ''42904.98'', ''1'', ''2015'', ''1'', ''INV20150524[00000019]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.032685995101929', '2015-05-24 01:16:23'),
(7950, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150100000020'', ''[7434]PM2M602S002227434'', ''303'', ''Amanda How Chien Yinn'', 2574.3, ''1'', ''1'', ''2574.3'', ''1'', ''2015'', ''1'', ''INV20150524[00000019]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.041588068008423', '2015-05-24 01:16:23'),
(7951, 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, ''AR20150100000020'', ''[7434]PM2M602S002227434'', ''41'', ''Amanda How Chien Yinn'', 2574.3, ''1'', ''1'', ''2574.3'', ''1'', ''2015'', ''1'', ''INV20150524[00000019]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.033485174179077', '2015-05-24 01:16:23'),
(7952, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AR20150100000020'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''303'', ''Amanda How Chien Yinn'', 1782.87, ''1'', ''1'', ''1782.87'', ''1'', ''2015'', ''1'', ''INV20150524[00000019]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.03170108795166', '2015-05-24 01:16:23'),
(7953, 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'', ''AR20150100000020'', 6, ''Road Tax,Registration,HP Claim,Ins Premium'', ''284'', ''Amanda How Chien Yinn'', 1782.87, ''1'', ''1'', ''1782.87'', ''1'', ''2015'', ''1'', ''INV20150524[00000019]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.03281307220459', '2015-05-24 01:16:23'),
(7954, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 47262.15, `total_amount_cr` = 47262.15, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000020''', 'artransaction/directInvoicePosting', '0.032099962234497', '2015-05-24 01:16:23'),
(7955, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''370''', 'Gltransaction/journalPosting', '0.093089818954468', '2015-05-24 01:17:07'),
(7956, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000020''', 'Gltransaction/journalPosting', '0.10906195640564', '2015-05-24 01:17:07'),
(7957, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''3'', ''303'', ''2015'', ''1'', ''42904.98'', ''0'', 42904.98, ''2'', ''2015-05-23: 19:05:07'')', 'Gltransaction/journalPosting', '0.064666032791138', '2015-05-24 01:17:07'),
(7958, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''59'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.13116312026978', '2015-05-24 01:17:07'),
(7959, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''303'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.05268383026123', '2015-05-24 01:17:07'),
(7960, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''41'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.041359186172485', '2015-05-24 01:17:07'),
(7961, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''303'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.065013885498047', '2015-05-24 01:17:07'),
(7962, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''284'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.030373096466064', '2015-05-24 01:17:07'),
(7963, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `updateAble` = ''0'' WHERE `ID` =  ''21''', 'sotransaction/doPosting', '0.031810998916626', '2015-05-24 01:17:30'),
(7964, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 19 WHERE `ID` =  ''12''', 'sotransaction/doPosting', '0.032562017440796', '2015-05-24 01:17:30'),
(7965, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `journalNo` = ''SO20150100000019'' WHERE `ID` =  ''21''', 'sotransaction/doPosting', '0.032238006591797', '2015-05-24 01:17:30'),
(7966, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''SO20150100000019'', ''SDN20150524[00000019]'', ''Delivery Order Confirm [ SDN20150524[00000019] ]'', ''5'', ''2015-04-30'', ''2015'', ''1'', ''2'')', 'sotransaction/doPosting', '0.048439025878906', '2015-05-24 01:17:30'),
(7967, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''16'' AND `companyID` =  ''2''', 'sotransaction/doPosting', '0.046137094497681', '2015-05-24 01:17:30'),
(7968, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''19''', 'sotransaction/doPosting', '0.034188032150269', '2015-05-24 01:17:30'),
(7969, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''19'', ''21'', ''1'', ''1'')', 'sotransaction/doPosting', '0.031476020812988', '2015-05-24 01:17:30'),
(7970, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''SO20150100000019'', 1, ''[7434]PM2M602S002227434'', ''76'', ''21'', 41314.98, 1, ''1'', 41314.98, ''1'', ''2015'', 1, ''SDN20150524[00000019][00000019]'', NULL, ''2'')', 'sotransaction/doPosting', '0.054649114608765', '2015-05-24 01:17:30'),
(7971, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''SO20150100000019'', ''[7434]PM2M602S002227434'', ''21'', ''21'', 41314.98, 1, ''1'', 41314.98, ''1'', ''2015'', ''SDN20150524[00000019][00000021]'', 1, NULL, ''2'')', 'sotransaction/doPosting', '0.03001594543457', '2015-05-24 01:17:30'),
(7972, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 41314.98, `total_amount_cr` = 41314.98, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''SO20150100000019''', 'sotransaction/doPosting', '0.033976078033447', '2015-05-24 01:17:30'),
(7973, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''371''', 'Gltransaction/journalPosting', '0.093893051147461', '2015-05-24 01:18:37'),
(7974, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''SO20150100000019''', 'Gltransaction/journalPosting', '0.10006713867188', '2015-05-24 01:18:37'),
(7975, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''76'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.087392091751099', '2015-05-24 01:18:37'),
(7976, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.086295127868652', '2015-05-24 01:18:37'),
(7977, 2, 2, '::1', 'insert', 'INSERT INTO `comp_chart_of_acct` (`ID`, `companyID`, `acctGroupID`, `acctCode`, `acctName`, `createdBy`, `createdTS`) VALUES (0, ''2'', ''3'', ''2100S0004'', ''Syarifah Syahirah Syed Nazir'', ''yaumanauto'', ''2015-05-23 19-25-13'')', 'glsetting/chartOfAcct', '0.039283037185669', '2015-05-24 01:26:10'),
(7978, 2, 2, '::1', 'insert', 'INSERT INTO `customer` (`ID`, `companyID`, `customerName`, `customerCompanyNo`, `accountCode`, `line1`, `line2`, `line3`, `city`, `customerPostCode`, `customerStateID`, `customerCountryID`, `attention`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `email`, `position`, `linkedAPAccountID`, `generalNote`, `gstRegNo`, `creditLimit`, `creditLimitAlert`, `createdDate`, `termsID`, `currencyID`) VALUES (0, ''2'', ''Syarifah Syahirah Syed Nazir'', ''2715083'', ''S00-04'', '''', '''', '''', '''', '''', ''0'', ''458'', 0, 0, '''', '''', '''', '''', '''', ''304'', '''', '''', '''', 0, ''2015-04-01'', ''6'', ''1'')', 'customerSetup/CustomerNew', '0.063910961151123', '2015-05-24 01:27:23'),
(7979, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice` (`invoiceCodeID`, `customerID`, `currencyID`, `formNo`, `salesInvoiceDate`, `customerPoNo`, `projectID`, `agentID`, `termsID`, `shipToID`, `exchangeRate`, `locationID`, `totalTaxAmount`, `totalReceivable`, `totalamount`, `memo`, `employeeID`, `shippingMethodID`, `companyID`, `createdBy`, `showSaleAgent`) VALUES (2, ''22'', ''1'', ''INV20150524'', ''2015-04-30'', ''YUA11840'', '''', '''', ''6'', ''null'', ''1.00000'', ''2'', 0, ''42161.96'', ''42161.96'', '''', '''', '''', ''2'', ''2'', ''0'')', 'Artransaction/saveNewDirectSaleInvoice', '0.1189398765564', '2015-05-24 01:28:49'),
(7980, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_detail` (`invoiceID`, `lineNo`, `createdBy`, `itemID`, `quantity`, `umID`, `itemdescription`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (22, ''1'', ''2'', ''9'', ''1'', ''16'', ''PM2M602S002222680'', ''39775.43'', ''39775.43'', ''2'', ''6'', ''2386.53'', ''42161.96'')', 'Artransaction/saveNewDirectSaleInvoice', '0.043193101882935', '2015-05-24 01:28:49'),
(7981, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''2386.53'', `totalAmount` = ''42161.96'' WHERE `ID` =  22', 'Artransaction/saveNewDirectSaleInvoice', '0.040020942687988', '2015-05-24 01:28:49'),
(7982, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''22'', ''1'', ''2'', ''284'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''1765.91'', ''8'', ''0'', ''0'', ''1765.91'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.057029008865356', '2015-05-24 01:29:57'),
(7983, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''2386.53'', `totalAmount` = ''43927.87'', `totalReceivable` = ''43927.87'' WHERE `ID` =  ''22''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.026971101760864', '2015-05-24 01:29:57'),
(7984, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_order` (`companyID`, `customerID`, `deliveryOrderDate`, `locationID`, `toAddress`, `shippingMethodID`, `currencyID`, `exchangeRate`, `employeeID`, `totalAmount`, `memo`, `createdBy`, `formNo`) VALUES (''2'', ''22'', ''2015-04-30'', ''2'', '',\\r\\n,\\r\\n \\r\\n, '', ''0'', ''1'', ''1'', ''0'', 41541.34, '''', ''2'', ''SDN20150524'')', 'artransaction/directInvoicePosting', '0.079331874847412', '2015-05-24 01:30:19'),
(7985, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_detail` (`deliveryID`, `lineNo`, `itemID`, `invoiceID`, `amount`, `unitPrice`, `quantitySent`, `createdBy`) VALUES (22, ''1'', ''9'', ''22'', 39775.43, ''39775.43'', ''1'', ''2'')', 'artransaction/directInvoicePosting', '0.077735900878906', '2015-05-24 01:30:19'),
(7986, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice_detail` SET `doID` = 22 WHERE `ID` =  ''22''', 'artransaction/directInvoicePosting', '0.065991878509521', '2015-05-24 01:30:19'),
(7987, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 21 WHERE `ID` =  ''11''', 'artransaction/directInvoicePosting', '0.032022953033447', '2015-05-24 01:30:19'),
(7988, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `journalNo` = ''AR20150100000021'', `updateAble` = ''0'' WHERE `ID` =  ''22''', 'artransaction/directInvoicePosting', '0.031511068344116', '2015-05-24 01:30:19'),
(7989, 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'', ''AR20150100000021'', ''INV20150524[00000020]'', ''Posting Direct Sales Invoices [ INV20150524[00000020] ]'', ''2'', ''2015-04-30'', ''2015'', ''1'', 43927.87, 43927.87, ''2'')', 'artransaction/directInvoicePosting', '0.036958932876587', '2015-05-24 01:30:19'),
(7990, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 1, ''AR20150100000021'', ''[2680]PM2M602S002222680'', ''304'', ''Syarifah Syahirah Syed Nazir'', 39775.43, ''1'', ''1'', ''39775.43'', ''1'', ''2015'', ''1'', ''INV20150524[00000020]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.054814100265503', '2015-05-24 01:30:19'),
(7991, 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'', ''AR20150100000021'', 2, ''[2680]PM2M602S002222680'', ''59'', ''Syarifah Syahirah Syed Nazir'', 39775.43, ''1'', ''1'', ''39775.43'', ''1'', ''2015'', ''1'', ''INV20150524[00000020]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.031692028045654', '2015-05-24 01:30:19'),
(7992, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150100000021'', ''[2680]PM2M602S002222680'', ''304'', ''Syarifah Syahirah Syed Nazir'', 2386.53, ''1'', ''1'', ''2386.53'', ''1'', ''2015'', ''1'', ''INV20150524[00000020]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.032768964767456', '2015-05-24 01:30:19'),
(7993, 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, ''AR20150100000021'', ''[2680]PM2M602S002222680'', ''41'', ''Syarifah Syahirah Syed Nazir'', 2386.53, ''1'', ''1'', ''2386.53'', ''1'', ''2015'', ''1'', ''INV20150524[00000020]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.031729936599731', '2015-05-24 01:30:20'),
(7994, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AR20150100000021'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''304'', ''Syarifah Syahirah Syed Nazir'', 1765.91, ''1'', ''1'', ''1765.91'', ''1'', ''2015'', ''1'', ''INV20150524[00000020]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.043761014938354', '2015-05-24 01:30:20'),
(7995, 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'', ''AR20150100000021'', 6, ''Road Tax,Registration,HP Claim,Ins Premium'', ''284'', ''Syarifah Syahirah Syed Nazir'', 1765.91, ''1'', ''1'', ''1765.91'', ''1'', ''2015'', ''1'', ''INV20150524[00000020]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.031777858734131', '2015-05-24 01:30:20'),
(7996, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 43927.87, `total_amount_cr` = 43927.87, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000021''', 'artransaction/directInvoicePosting', '0.033123016357422', '2015-05-24 01:30:20'),
(7997, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''372''', 'Gltransaction/journalPosting', '0.086918115615845', '2015-05-24 01:31:03'),
(7998, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000021''', 'Gltransaction/journalPosting', '0.043268918991089', '2015-05-24 01:31:03'),
(7999, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''3'', ''304'', ''2015'', ''1'', ''39775.43'', ''0'', 39775.43, ''2'', ''2015-05-23: 19:05:03'')', 'Gltransaction/journalPosting', '0.077977895736694', '2015-05-24 01:31:03'),
(8000, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''59'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.053627967834473', '2015-05-24 01:31:03'),
(8001, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''304'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.030426979064941', '2015-05-24 01:31:03'),
(8002, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''41'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.041774034500122', '2015-05-24 01:31:03'),
(8003, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''304'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.042137145996094', '2015-05-24 01:31:03'),
(8004, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''284'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.030809164047241', '2015-05-24 01:31:03'),
(8005, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `updateAble` = ''0'' WHERE `ID` =  ''22''', 'sotransaction/doPosting', '0.053895950317383', '2015-05-24 01:31:26'),
(8006, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 20 WHERE `ID` =  ''12''', 'sotransaction/doPosting', '0.051957130432129', '2015-05-24 01:31:26'),
(8007, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `journalNo` = ''SO20150100000020'' WHERE `ID` =  ''22''', 'sotransaction/doPosting', '0.043362140655518', '2015-05-24 01:31:26'),
(8008, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''SO20150100000020'', ''SDN20150524[00000020]'', ''Delivery Order Confirm [ SDN20150524[00000020] ]'', ''5'', ''2015-04-30'', ''2015'', ''1'', ''2'')', 'sotransaction/doPosting', '0.048453092575073', '2015-05-24 01:31:27'),
(8009, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''9'' AND `companyID` =  ''2''', 'sotransaction/doPosting', '0.058091163635254', '2015-05-24 01:31:27'),
(8010, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''13''', 'sotransaction/doPosting', '0.055485963821411', '2015-05-24 01:31:27'),
(8011, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''13'', ''22'', ''1'', ''1'')', 'sotransaction/doPosting', '0.12052392959595', '2015-05-24 01:31:27'),
(8012, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''SO20150100000020'', 1, ''[2680]PM2M602S002222680'', ''76'', ''22'', 38337.43, 1, ''1'', 38337.43, ''1'', ''2015'', 1, ''SDN20150524[00000020][00000020]'', NULL, ''2'')', 'sotransaction/doPosting', '0.054139137268066', '2015-05-24 01:31:27'),
(8013, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''SO20150100000020'', ''[2680]PM2M602S002222680'', ''21'', ''22'', 38337.43, 1, ''1'', 38337.43, ''1'', ''2015'', ''SDN20150524[00000020][00000022]'', 1, NULL, ''2'')', 'sotransaction/doPosting', '0.086591958999634', '2015-05-24 01:31:27'),
(8014, 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` =  ''SO20150100000020''', 'sotransaction/doPosting', '0.1102089881897', '2015-05-24 01:31:27'),
(8015, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''373''', 'Gltransaction/journalPosting', '0.068084955215454', '2015-05-24 01:32:10'),
(8016, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''SO20150100000020''', 'Gltransaction/journalPosting', '0.076930046081543', '2015-05-24 01:32:10'),
(8017, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''76'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.031898021697998', '2015-05-24 01:32:10'),
(8018, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.053499937057495', '2015-05-24 01:32:10'),
(8019, 2, 2, '::1', 'insert', 'INSERT INTO `comp_chart_of_acct` (`ID`, `companyID`, `acctGroupID`, `acctCode`, `acctName`, `createdBy`, `createdTS`) VALUES (0, ''2'', ''3'', ''2100R0001'', ''Rawaida Binti Ab Razak'', ''yaumanauto'', ''2015-05-23 19-38-39'')', 'glsetting/chartOfAcct', '0.054069995880127', '2015-05-24 01:39:29'),
(8020, 2, 2, '::1', 'insert', 'INSERT INTO `customer` (`ID`, `companyID`, `customerName`, `customerCompanyNo`, `accountCode`, `line1`, `line2`, `line3`, `city`, `customerPostCode`, `customerStateID`, `customerCountryID`, `attention`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `email`, `position`, `linkedAPAccountID`, `generalNote`, `gstRegNo`, `creditLimit`, `creditLimitAlert`, `createdDate`, `termsID`, `currencyID`) VALUES (0, ''2'', ''Rawaida Binti Ab Razak'', ''2742897'', ''R00-01'', '''', '''', '''', '''', '''', ''0'', ''458'', 0, 0, '''', '''', '''', '''', '''', ''305'', '''', '''', '''', 0, ''2015-04-01'', ''6'', ''1'')', 'customerSetup/CustomerNew', '0.042129039764404', '2015-05-24 01:40:32'),
(8021, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice` (`invoiceCodeID`, `customerID`, `currencyID`, `formNo`, `salesInvoiceDate`, `customerPoNo`, `projectID`, `agentID`, `termsID`, `shipToID`, `exchangeRate`, `locationID`, `totalTaxAmount`, `totalReceivable`, `totalamount`, `memo`, `employeeID`, `shippingMethodID`, `companyID`, `createdBy`, `showSaleAgent`) VALUES (2, ''23'', ''1'', ''INV20150524'', ''2015-04-30'', ''YUA11839'', '''', '''', ''6'', ''null'', ''1.00000'', ''2'', 0, ''51366.67'', ''51366.67'', '''', '''', '''', ''2'', ''2'', ''0'')', 'Artransaction/saveNewDirectSaleInvoice', '0.11690807342529', '2015-05-24 01:41:52'),
(8022, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_detail` (`invoiceID`, `lineNo`, `createdBy`, `itemID`, `quantity`, `umID`, `itemdescription`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (23, ''1'', ''2'', ''12'', ''1'', ''16'', ''PM2M603S002123949'', ''48459.12'', ''48459.12'', ''2'', ''6'', ''2907.55'', ''51366.67'')', 'Artransaction/saveNewDirectSaleInvoice', '0.032708168029785', '2015-05-24 01:41:52'),
(8023, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''2907.55'', `totalAmount` = ''51366.67'' WHERE `ID` =  23', 'Artransaction/saveNewDirectSaleInvoice', '0.060971021652222', '2015-05-24 01:41:53'),
(8024, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''23'', ''1'', ''2'', ''284'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''2029.39'', ''8'', ''0'', ''0'', ''2029.39'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.094325065612793', '2015-05-24 01:43:01'),
(8025, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''2907.55'', `totalAmount` = ''53396.06'', `totalReceivable` = ''53396.06'' WHERE `ID` =  ''23''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.05134391784668', '2015-05-24 01:43:01'),
(8026, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_order` (`companyID`, `customerID`, `deliveryOrderDate`, `locationID`, `toAddress`, `shippingMethodID`, `currencyID`, `exchangeRate`, `employeeID`, `totalAmount`, `memo`, `createdBy`, `formNo`) VALUES (''2'', ''23'', ''2015-04-30'', ''2'', '',\\r\\n,\\r\\n \\r\\n, '', ''0'', ''1'', ''1'', ''0'', 50488.51, '''', ''2'', ''SDN20150524'')', 'artransaction/directInvoicePosting', '0.11457014083862', '2015-05-24 01:43:25'),
(8027, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_detail` (`deliveryID`, `lineNo`, `itemID`, `invoiceID`, `amount`, `unitPrice`, `quantitySent`, `createdBy`) VALUES (23, ''1'', ''12'', ''23'', 48459.12, ''48459.12'', ''1'', ''2'')', 'artransaction/directInvoicePosting', '0.043517112731934', '2015-05-24 01:43:25'),
(8028, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice_detail` SET `doID` = 23 WHERE `ID` =  ''23''', 'artransaction/directInvoicePosting', '0.032830953598022', '2015-05-24 01:43:25'),
(8029, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 22 WHERE `ID` =  ''11''', 'artransaction/directInvoicePosting', '0.045197010040283', '2015-05-24 01:43:25'),
(8030, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `journalNo` = ''AR20150100000022'', `updateAble` = ''0'' WHERE `ID` =  ''23''', 'artransaction/directInvoicePosting', '0.043028831481934', '2015-05-24 01:43:25'),
(8031, 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'', ''AR20150100000022'', ''INV20150524[00000021]'', ''Posting Direct Sales Invoices [ INV20150524[00000021] ]'', ''2'', ''2015-04-30'', ''2015'', ''1'', 53396.06, 53396.06, ''2'')', 'artransaction/directInvoicePosting', '0.036861896514893', '2015-05-24 01:43:25'),
(8032, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 1, ''AR20150100000022'', ''[3949]PM2M603S002123949'', ''305'', ''Rawaida Binti Ab Razak'', 48459.12, ''1'', ''1'', ''48459.12'', ''1'', ''2015'', ''1'', ''INV20150524[00000021]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.054029941558838', '2015-05-24 01:43:25');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(8033, 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'', ''AR20150100000022'', 2, ''[3949]PM2M603S002123949'', ''59'', ''Rawaida Binti Ab Razak'', 48459.12, ''1'', ''1'', ''48459.12'', ''1'', ''2015'', ''1'', ''INV20150524[00000021]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.032537937164307', '2015-05-24 01:43:25'),
(8034, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150100000022'', ''[3949]PM2M603S002123949'', ''305'', ''Rawaida Binti Ab Razak'', 2907.55, ''1'', ''1'', ''2907.55'', ''1'', ''2015'', ''1'', ''INV20150524[00000021]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.03196907043457', '2015-05-24 01:43:25'),
(8035, 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, ''AR20150100000022'', ''[3949]PM2M603S002123949'', ''41'', ''Rawaida Binti Ab Razak'', 2907.55, ''1'', ''1'', ''2907.55'', ''1'', ''2015'', ''1'', ''INV20150524[00000021]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.043617963790894', '2015-05-24 01:43:26'),
(8036, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AR20150100000022'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''305'', ''Rawaida Binti Ab Razak'', 2029.39, ''1'', ''1'', ''2029.39'', ''1'', ''2015'', ''1'', ''INV20150524[00000021]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.031975984573364', '2015-05-24 01:43:26'),
(8037, 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'', ''AR20150100000022'', 6, ''Road Tax,Registration,HP Claim,Ins Premium'', ''284'', ''Rawaida Binti Ab Razak'', 2029.39, ''1'', ''1'', ''2029.39'', ''1'', ''2015'', ''1'', ''INV20150524[00000021]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.032532930374146', '2015-05-24 01:43:26'),
(8038, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 53396.06, `total_amount_cr` = 53396.06, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000022''', 'artransaction/directInvoicePosting', '0.03248405456543', '2015-05-24 01:43:26'),
(8039, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''374''', 'Gltransaction/journalPosting', '0.073957920074463', '2015-05-24 01:44:17'),
(8040, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000022''', 'Gltransaction/journalPosting', '0.054654121398926', '2015-05-24 01:44:17'),
(8041, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''3'', ''305'', ''2015'', ''1'', ''48459.12'', ''0'', 48459.12, ''2'', ''2015-05-23: 19:05:17'')', 'Gltransaction/journalPosting', '0.045192003250122', '2015-05-24 01:44:17'),
(8042, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''59'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.075205087661743', '2015-05-24 01:44:17'),
(8043, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''305'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.041920900344849', '2015-05-24 01:44:17'),
(8044, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''41'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.064404010772705', '2015-05-24 01:44:17'),
(8045, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''305'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.053060054779053', '2015-05-24 01:44:17'),
(8046, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''284'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.031101942062378', '2015-05-24 01:44:17'),
(8047, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `updateAble` = ''0'' WHERE `ID` =  ''23''', 'sotransaction/doPosting', '0.051719903945923', '2015-05-24 01:44:41'),
(8048, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 21 WHERE `ID` =  ''12''', 'sotransaction/doPosting', '0.05131196975708', '2015-05-24 01:44:41'),
(8049, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `journalNo` = ''SO20150100000021'' WHERE `ID` =  ''23''', 'sotransaction/doPosting', '0.044293880462646', '2015-05-24 01:44:41'),
(8050, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''SO20150100000021'', ''SDN20150524[00000021]'', ''Delivery Order Confirm [ SDN20150524[00000021] ]'', ''5'', ''2015-04-30'', ''2015'', ''1'', ''2'')', 'sotransaction/doPosting', '0.047576189041138', '2015-05-24 01:44:41'),
(8051, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''12'' AND `companyID` =  ''2''', 'sotransaction/doPosting', '0.069758176803589', '2015-05-24 01:44:41'),
(8052, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''16''', 'sotransaction/doPosting', '0.032429933547974', '2015-05-24 01:44:41'),
(8053, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''16'', ''23'', ''1'', ''1'')', 'sotransaction/doPosting', '0.043869972229004', '2015-05-24 01:44:41'),
(8054, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''SO20150100000021'', 1, ''[3949]PM2M603S002123949'', ''76'', ''23'', 46571.12, 1, ''1'', 46571.12, ''1'', ''2015'', 1, ''SDN20150524[00000021][00000021]'', NULL, ''2'')', 'sotransaction/doPosting', '0.031296968460083', '2015-05-24 01:44:41'),
(8055, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''SO20150100000021'', ''[3949]PM2M603S002123949'', ''21'', ''23'', 46571.12, 1, ''1'', 46571.12, ''1'', ''2015'', ''SDN20150524[00000021][00000023]'', 1, NULL, ''2'')', 'sotransaction/doPosting', '0.031820058822632', '2015-05-24 01:44:41'),
(8056, 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` =  ''SO20150100000021''', 'sotransaction/doPosting', '0.054398059844971', '2015-05-24 01:44:41'),
(8057, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''375''', 'Gltransaction/journalPosting', '0.051941871643066', '2015-05-24 01:45:18'),
(8058, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''SO20150100000021''', 'Gltransaction/journalPosting', '0.054888010025024', '2015-05-24 01:45:18'),
(8059, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''76'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.063125133514404', '2015-05-24 01:45:18'),
(8060, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.20800304412842', '2015-05-24 01:45:18'),
(8061, 2, 2, '::1', 'insert', 'INSERT INTO `comp_chart_of_acct` (`ID`, `companyID`, `acctGroupID`, `acctCode`, `acctName`, `createdBy`, `createdTS`) VALUES (0, ''2'', ''3'', ''2100N0006'', ''Nur Farhah Binti Ismail'', ''yaumanauto'', ''2015-05-23 19-52-35'')', 'glsetting/chartOfAcct', '0.056664943695068', '2015-05-24 01:53:37'),
(8062, 2, 2, '::1', 'insert', 'INSERT INTO `customer` (`ID`, `companyID`, `customerName`, `customerCompanyNo`, `accountCode`, `line1`, `line2`, `line3`, `city`, `customerPostCode`, `customerStateID`, `customerCountryID`, `attention`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `email`, `position`, `linkedAPAccountID`, `generalNote`, `gstRegNo`, `creditLimit`, `creditLimitAlert`, `createdDate`, `termsID`, `currencyID`) VALUES (0, ''2'', ''Nur Farhah Binti Ismail'', ''2751637'', ''N00-06'', '''', '''', '''', '''', '''', ''0'', ''458'', 0, 0, '''', '''', '''', '''', '''', ''306'', '''', '''', '''', 0, ''2015-04-01'', ''6'', ''1'')', 'customerSetup/CustomerNew', '0.047815084457397', '2015-05-24 01:55:25'),
(8063, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice` (`invoiceCodeID`, `customerID`, `currencyID`, `formNo`, `salesInvoiceDate`, `customerPoNo`, `projectID`, `agentID`, `termsID`, `shipToID`, `exchangeRate`, `locationID`, `totalTaxAmount`, `totalReceivable`, `totalamount`, `memo`, `employeeID`, `shippingMethodID`, `companyID`, `createdBy`, `showSaleAgent`) VALUES (2, ''24'', ''1'', ''INV20150524'', ''2015-04-29'', ''YUA11835'', '''', '''', ''6'', ''null'', ''1.00000'', ''2'', 0, ''42534.4'', ''42534.4'', '''', '''', '''', ''2'', ''2'', ''0'')', 'Artransaction/saveNewDirectSaleInvoice', '0.15864205360413', '2015-05-24 01:56:46'),
(8064, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_detail` (`invoiceID`, `lineNo`, `createdBy`, `itemID`, `quantity`, `umID`, `itemdescription`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (24, ''1'', ''2'', ''89'', ''1'', ''16'', ''PM2M602S002224192'', ''40126.79'', ''40126.79'', ''2'', ''6'', ''2407.61'', ''42534.4'')', 'Artransaction/saveNewDirectSaleInvoice', '0.054242134094238', '2015-05-24 01:56:46'),
(8065, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''2407.61'', `totalAmount` = ''42534.4'' WHERE `ID` =  24', 'Artransaction/saveNewDirectSaleInvoice', '0.061213970184326', '2015-05-24 01:56:46'),
(8066, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''24'', ''1'', ''2'', ''284'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''1727.75'', ''8'', ''0'', ''0'', ''1727.75'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.099536895751953', '2015-05-24 01:57:50'),
(8067, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''2407.61'', `totalAmount` = ''44262.15'', `totalReceivable` = ''44262.15'' WHERE `ID` =  ''24''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.094391107559204', '2015-05-24 01:57:50'),
(8068, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_order` (`companyID`, `customerID`, `deliveryOrderDate`, `locationID`, `toAddress`, `shippingMethodID`, `currencyID`, `exchangeRate`, `employeeID`, `totalAmount`, `memo`, `createdBy`, `formNo`) VALUES (''2'', ''24'', ''2015-04-29'', ''2'', '',\\r\\n,\\r\\n \\r\\n, '', ''0'', ''1'', ''1'', ''0'', 41854.54, '''', ''2'', ''SDN20150524'')', 'artransaction/directInvoicePosting', '0.048877954483032', '2015-05-24 01:58:12'),
(8069, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_detail` (`deliveryID`, `lineNo`, `itemID`, `invoiceID`, `amount`, `unitPrice`, `quantitySent`, `createdBy`) VALUES (24, ''1'', ''89'', ''24'', 40126.79, ''40126.79'', ''1'', ''2'')', 'artransaction/directInvoicePosting', '0.044328927993774', '2015-05-24 01:58:12'),
(8070, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice_detail` SET `doID` = 24 WHERE `ID` =  ''24''', 'artransaction/directInvoicePosting', '0.055002927780151', '2015-05-24 01:58:12'),
(8071, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 23 WHERE `ID` =  ''11''', 'artransaction/directInvoicePosting', '0.032985925674438', '2015-05-24 01:58:12'),
(8072, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `journalNo` = ''AR20150100000023'', `updateAble` = ''0'' WHERE `ID` =  ''24''', 'artransaction/directInvoicePosting', '0.044053077697754', '2015-05-24 01:58:12'),
(8073, 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'', ''AR20150100000023'', ''INV20150524[00000022]'', ''Posting Direct Sales Invoices [ INV20150524[00000022] ]'', ''2'', ''2015-04-29'', ''2015'', ''1'', 44262.15, 44262.15, ''2'')', 'artransaction/directInvoicePosting', '0.058848857879639', '2015-05-24 01:58:12'),
(8074, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 1, ''AR20150100000023'', ''[4192]PM2M602S002224192'', ''306'', ''Nur Farhah Binti Ismail'', 40126.79, ''1'', ''1'', ''40126.79'', ''1'', ''2015'', ''1'', ''INV20150524[00000022]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.065205097198486', '2015-05-24 01:58:12'),
(8075, 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'', ''AR20150100000023'', 2, ''[4192]PM2M602S002224192'', ''59'', ''Nur Farhah Binti Ismail'', 40126.79, ''1'', ''1'', ''40126.79'', ''1'', ''2015'', ''1'', ''INV20150524[00000022]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.032202959060669', '2015-05-24 01:58:12'),
(8076, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150100000023'', ''[4192]PM2M602S002224192'', ''306'', ''Nur Farhah Binti Ismail'', 2407.61, ''1'', ''1'', ''2407.61'', ''1'', ''2015'', ''1'', ''INV20150524[00000022]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.032238960266113', '2015-05-24 01:58:12'),
(8077, 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, ''AR20150100000023'', ''[4192]PM2M602S002224192'', ''41'', ''Nur Farhah Binti Ismail'', 2407.61, ''1'', ''1'', ''2407.61'', ''1'', ''2015'', ''1'', ''INV20150524[00000022]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.032251834869385', '2015-05-24 01:58:12'),
(8078, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AR20150100000023'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''306'', ''Nur Farhah Binti Ismail'', 1727.75, ''1'', ''1'', ''1727.75'', ''1'', ''2015'', ''1'', ''INV20150524[00000022]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.043314933776855', '2015-05-24 01:58:12'),
(8079, 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'', ''AR20150100000023'', 6, ''Road Tax,Registration,HP Claim,Ins Premium'', ''284'', ''Nur Farhah Binti Ismail'', 1727.75, ''1'', ''1'', ''1727.75'', ''1'', ''2015'', ''1'', ''INV20150524[00000022]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.032205820083618', '2015-05-24 01:58:12'),
(8080, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 44262.15, `total_amount_cr` = 44262.15, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000023''', 'artransaction/directInvoicePosting', '0.054888963699341', '2015-05-24 01:58:12'),
(8081, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''376''', 'Gltransaction/journalPosting', '0.091719150543213', '2015-05-24 01:58:47'),
(8082, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000023''', 'Gltransaction/journalPosting', '0.045274972915649', '2015-05-24 01:58:47'),
(8083, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''3'', ''306'', ''2015'', ''1'', ''40126.79'', ''0'', 40126.79, ''2'', ''2015-05-23: 19:05:47'')', 'Gltransaction/journalPosting', '0.056155920028687', '2015-05-24 01:58:47'),
(8084, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''59'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.03022313117981', '2015-05-24 01:58:47'),
(8085, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''306'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.031702995300293', '2015-05-24 01:58:47'),
(8086, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''41'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.030216932296753', '2015-05-24 01:58:47'),
(8087, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''306'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.031696081161499', '2015-05-24 01:58:47'),
(8088, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''284'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.030218124389648', '2015-05-24 01:58:47'),
(8089, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `updateAble` = ''0'' WHERE `ID` =  ''24''', 'sotransaction/doPosting', '0.044380187988281', '2015-05-24 01:59:13'),
(8090, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 22 WHERE `ID` =  ''12''', 'sotransaction/doPosting', '0.06644606590271', '2015-05-24 01:59:13'),
(8091, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `journalNo` = ''SO20150100000022'' WHERE `ID` =  ''24''', 'sotransaction/doPosting', '0.032756090164185', '2015-05-24 01:59:13'),
(8092, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''SO20150100000022'', ''SDN20150524[00000022]'', ''Delivery Order Confirm [ SDN20150524[00000022] ]'', ''5'', ''2015-04-29'', ''2015'', ''1'', ''2'')', 'sotransaction/doPosting', '0.058783054351807', '2015-05-24 01:59:13'),
(8093, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''89'' AND `companyID` =  ''2''', 'sotransaction/doPosting', '0.068798065185547', '2015-05-24 01:59:13'),
(8094, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''92''', 'sotransaction/doPosting', '0.033751010894775', '2015-05-24 01:59:13'),
(8095, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''92'', ''24'', ''1'', ''1'')', 'sotransaction/doPosting', '0.077081918716431', '2015-05-24 01:59:13'),
(8096, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''SO20150100000022'', 1, ''[4192]PM2M602S002224192'', ''76'', ''24'', 38714.79, 1, ''1'', 38714.79, ''1'', ''2015'', 1, ''SDN20150524[00000022][00000022]'', NULL, ''2'')', 'sotransaction/doPosting', '0.053394079208374', '2015-05-24 01:59:13'),
(8097, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''SO20150100000022'', ''[4192]PM2M602S002224192'', ''21'', ''24'', 38714.79, 1, ''1'', 38714.79, ''1'', ''2015'', ''SDN20150524[00000022][00000024]'', 1, NULL, ''2'')', 'sotransaction/doPosting', '0.030447006225586', '2015-05-24 01:59:13'),
(8098, 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` =  ''SO20150100000022''', 'sotransaction/doPosting', '0.033555030822754', '2015-05-24 01:59:13'),
(8099, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''377''', 'Gltransaction/journalPosting', '0.085658073425293', '2015-05-24 01:59:56'),
(8100, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''SO20150100000022''', 'Gltransaction/journalPosting', '0.054872035980225', '2015-05-24 01:59:56'),
(8101, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''76'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.074023962020874', '2015-05-24 01:59:56'),
(8102, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.075291156768799', '2015-05-24 01:59:56'),
(8103, 2, 2, '::1', 'insert', 'INSERT INTO `comp_chart_of_acct` (`ID`, `companyID`, `acctGroupID`, `acctCode`, `acctName`, `createdBy`, `createdTS`) VALUES (0, ''2'', ''3'', ''2100T0001'', ''Tan Weng Teak'', ''yaumanauto'', ''2015-05-23 20-02-15'')', 'glsetting/chartOfAcct', '0.054500102996826', '2015-05-24 02:02:57'),
(8104, 2, 2, '::1', 'insert', 'INSERT INTO `customer` (`ID`, `companyID`, `customerName`, `customerCompanyNo`, `accountCode`, `line1`, `line2`, `line3`, `city`, `customerPostCode`, `customerStateID`, `customerCountryID`, `attention`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `email`, `position`, `linkedAPAccountID`, `generalNote`, `gstRegNo`, `creditLimit`, `creditLimitAlert`, `createdDate`, `termsID`, `currencyID`) VALUES (0, ''2'', ''Tan Weng Teak'', ''2749365'', ''T00-01'', '''', '''', '''', '''', '''', ''0'', ''458'', 0, 0, '''', '''', '''', '''', '''', ''307'', '''', '''', '''', 0, ''2015-04-01'', ''6'', ''1'')', 'customerSetup/CustomerNew', '0.04820704460144', '2015-05-24 02:03:59'),
(8105, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice` (`invoiceCodeID`, `customerID`, `currencyID`, `formNo`, `salesInvoiceDate`, `customerPoNo`, `projectID`, `agentID`, `termsID`, `shipToID`, `exchangeRate`, `locationID`, `totalTaxAmount`, `totalReceivable`, `totalamount`, `memo`, `employeeID`, `shippingMethodID`, `companyID`, `createdBy`, `showSaleAgent`) VALUES (2, ''25'', ''1'', ''INV20150524'', ''2015-04-29'', ''YUA11834'', '''', '''', ''6'', ''null'', ''1.00000'', ''2'', 0, ''42534.4'', ''42534.4'', '''', '''', '''', ''2'', ''2'', ''0'')', 'Artransaction/saveNewDirectSaleInvoice', '0.069005012512207', '2015-05-24 02:06:03'),
(8106, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_detail` (`invoiceID`, `lineNo`, `createdBy`, `itemID`, `quantity`, `umID`, `itemdescription`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (25, ''1'', ''2'', ''126'', ''1'', ''16'', ''PM2M602S002226704'', ''40126.79'', ''40126.79'', ''2'', ''6'', ''2407.61'', ''42534.4'')', 'Artransaction/saveNewDirectSaleInvoice', '0.032546997070312', '2015-05-24 02:06:03'),
(8107, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''2407.61'', `totalAmount` = ''42534.4'' WHERE `ID` =  25', 'Artransaction/saveNewDirectSaleInvoice', '0.027468919754028', '2015-05-24 02:06:03'),
(8108, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''25'', ''1'', ''2'', ''284'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''931.49'', ''8'', ''0'', ''0'', ''931.49'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.1033661365509', '2015-05-24 02:07:07'),
(8109, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''2407.61'', `totalAmount` = ''43465.89'', `totalReceivable` = ''43465.89'' WHERE `ID` =  ''25''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.061295986175537', '2015-05-24 02:07:07'),
(8110, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_order` (`companyID`, `customerID`, `deliveryOrderDate`, `locationID`, `toAddress`, `shippingMethodID`, `currencyID`, `exchangeRate`, `employeeID`, `totalAmount`, `memo`, `createdBy`, `formNo`) VALUES (''2'', ''25'', ''2015-04-29'', ''2'', '',\\r\\n,\\r\\n \\r\\n, '', ''0'', ''1'', ''1'', ''0'', 41058.28, '''', ''2'', ''SDN20150524'')', 'artransaction/directInvoicePosting', '0.071281909942627', '2015-05-24 02:07:31'),
(8111, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_detail` (`deliveryID`, `lineNo`, `itemID`, `invoiceID`, `amount`, `unitPrice`, `quantitySent`, `createdBy`) VALUES (25, ''1'', ''126'', ''25'', 40126.79, ''40126.79'', ''1'', ''2'')', 'artransaction/directInvoicePosting', '0.03269100189209', '2015-05-24 02:07:31'),
(8112, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice_detail` SET `doID` = 25 WHERE `ID` =  ''25''', 'artransaction/directInvoicePosting', '0.032832145690918', '2015-05-24 02:07:31'),
(8113, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 24 WHERE `ID` =  ''11''', 'artransaction/directInvoicePosting', '0.033488035202026', '2015-05-24 02:07:32'),
(8114, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `journalNo` = ''AR20150100000024'', `updateAble` = ''0'' WHERE `ID` =  ''25''', 'artransaction/directInvoicePosting', '0.044342041015625', '2015-05-24 02:07:32'),
(8115, 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'', ''AR20150100000024'', ''INV20150524[00000023]'', ''Posting Direct Sales Invoices [ INV20150524[00000023] ]'', ''2'', ''2015-04-29'', ''2015'', ''1'', 43465.89, 43465.89, ''2'')', 'artransaction/directInvoicePosting', '0.036457061767578', '2015-05-24 02:07:32'),
(8116, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 1, ''AR20150100000024'', ''[6704]PM2M602S002226704'', ''307'', ''Tan Weng Teak'', 40126.79, ''1'', ''1'', ''40126.79'', ''1'', ''2015'', ''1'', ''INV20150524[00000023]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.05434513092041', '2015-05-24 02:07:32'),
(8117, 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'', ''AR20150100000024'', 2, ''[6704]PM2M602S002226704'', ''59'', ''Tan Weng Teak'', 40126.79, ''1'', ''1'', ''40126.79'', ''1'', ''2015'', ''1'', ''INV20150524[00000023]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.03224515914917', '2015-05-24 02:07:32'),
(8118, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150100000024'', ''[6704]PM2M602S002226704'', ''307'', ''Tan Weng Teak'', 2407.61, ''1'', ''1'', ''2407.61'', ''1'', ''2015'', ''1'', ''INV20150524[00000023]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.032185077667236', '2015-05-24 02:07:32'),
(8119, 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, ''AR20150100000024'', ''[6704]PM2M602S002226704'', ''41'', ''Tan Weng Teak'', 2407.61, ''1'', ''1'', ''2407.61'', ''1'', ''2015'', ''1'', ''INV20150524[00000023]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.032232999801636', '2015-05-24 02:07:32'),
(8120, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AR20150100000024'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''307'', ''Tan Weng Teak'', 931.49, ''1'', ''1'', ''931.49'', ''1'', ''2015'', ''1'', ''INV20150524[00000023]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.032167911529541', '2015-05-24 02:07:32'),
(8121, 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'', ''AR20150100000024'', 6, ''Road Tax,Registration,HP Claim,Ins Premium'', ''284'', ''Tan Weng Teak'', 931.49, ''1'', ''1'', ''931.49'', ''1'', ''2015'', ''1'', ''INV20150524[00000023]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.054414987564087', '2015-05-24 02:07:32'),
(8122, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 43465.89, `total_amount_cr` = 43465.89, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000024''', 'artransaction/directInvoicePosting', '0.043735027313232', '2015-05-24 02:07:32'),
(8123, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''378''', 'Gltransaction/journalPosting', '0.084555864334106', '2015-05-24 02:08:06'),
(8124, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000024''', 'Gltransaction/journalPosting', '0.065922975540161', '2015-05-24 02:08:06'),
(8125, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''3'', ''307'', ''2015'', ''1'', ''40126.79'', ''0'', 40126.79, ''2'', ''2015-05-23: 20:05:05'')', 'Gltransaction/journalPosting', '0.043543100357056', '2015-05-24 02:08:06'),
(8126, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''59'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.075225830078125', '2015-05-24 02:08:06'),
(8127, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''307'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.097419023513794', '2015-05-24 02:08:06'),
(8128, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''41'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.051922082901001', '2015-05-24 02:08:06'),
(8129, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''307'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.087527990341187', '2015-05-24 02:08:06'),
(8130, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''284'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.064095020294189', '2015-05-24 02:08:06'),
(8131, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `updateAble` = ''0'' WHERE `ID` =  ''25''', 'sotransaction/doPosting', '0.04355001449585', '2015-05-24 02:08:35'),
(8132, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 23 WHERE `ID` =  ''12''', 'sotransaction/doPosting', '0.033743143081665', '2015-05-24 02:08:35'),
(8133, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `journalNo` = ''SO20150100000023'' WHERE `ID` =  ''25''', 'sotransaction/doPosting', '0.032776832580566', '2015-05-24 02:08:35'),
(8134, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''SO20150100000023'', ''SDN20150524[00000023]'', ''Delivery Order Confirm [ SDN20150524[00000023] ]'', ''5'', ''2015-04-29'', ''2015'', ''1'', ''2'')', 'sotransaction/doPosting', '0.047986030578613', '2015-05-24 02:08:35'),
(8135, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''126'' AND `companyID` =  ''2''', 'sotransaction/doPosting', '0.057049036026001', '2015-05-24 02:08:35'),
(8136, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''129''', 'sotransaction/doPosting', '0.034936904907227', '2015-05-24 02:08:35'),
(8137, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''129'', ''25'', ''1'', ''1'')', 'sotransaction/doPosting', '0.066006898880005', '2015-05-24 02:08:35'),
(8138, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''SO20150100000023'', 1, ''[6704]PM2M602S002226704'', ''76'', ''25'', 38714.79, 1, ''1'', 38714.79, ''1'', ''2015'', 1, ''SDN20150524[00000023][00000023]'', NULL, ''2'')', 'sotransaction/doPosting', '0.042355060577393', '2015-05-24 02:08:36'),
(8139, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''SO20150100000023'', ''[6704]PM2M602S002226704'', ''21'', ''25'', 38714.79, 1, ''1'', 38714.79, ''1'', ''2015'', ''SDN20150524[00000023][00000025]'', 1, NULL, ''2'')', 'sotransaction/doPosting', '0.029999971389771', '2015-05-24 02:08:36'),
(8140, 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` =  ''SO20150100000023''', 'sotransaction/doPosting', '0.034020900726318', '2015-05-24 02:08:36'),
(8141, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''379''', 'Gltransaction/journalPosting', '0.070361137390137', '2015-05-24 02:09:13'),
(8142, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''SO20150100000023''', 'Gltransaction/journalPosting', '0.066824913024902', '2015-05-24 02:09:13'),
(8143, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''76'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.055495023727417', '2015-05-24 02:09:13'),
(8144, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0640709400177', '2015-05-24 02:09:13'),
(8145, 2, 2, '::1', 'insert', 'INSERT INTO `comp_chart_of_acct` (`ID`, `companyID`, `acctGroupID`, `acctCode`, `acctName`, `createdBy`, `createdTS`) VALUES (0, ''2'', ''3'', ''2100N0007'', ''Noor Hazira Binti Mahussin'', ''yaumanauto'', ''2015-05-23 20-11-38'')', 'glsetting/chartOfAcct', '0.05060601234436', '2015-05-24 02:12:27'),
(8146, 2, 2, '::1', 'insert', 'INSERT INTO `customer` (`ID`, `companyID`, `customerName`, `customerCompanyNo`, `accountCode`, `line1`, `line2`, `line3`, `city`, `customerPostCode`, `customerStateID`, `customerCountryID`, `attention`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `email`, `position`, `linkedAPAccountID`, `generalNote`, `gstRegNo`, `creditLimit`, `creditLimitAlert`, `createdDate`, `termsID`, `currencyID`) VALUES (0, ''2'', ''Noor Hazira Binti Mahussin'', '''', ''N00-07'', '''', '''', '''', '''', '''', ''0'', ''458'', 0, 0, '''', '''', '''', '''', '''', ''308'', '''', '''', '''', 0, ''2015-04-01'', ''6'', ''1'')', 'customerSetup/CustomerNew', '0.064346790313721', '2015-05-24 02:13:38'),
(8147, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice` (`invoiceCodeID`, `customerID`, `currencyID`, `formNo`, `salesInvoiceDate`, `customerPoNo`, `projectID`, `agentID`, `termsID`, `shipToID`, `exchangeRate`, `locationID`, `totalTaxAmount`, `totalReceivable`, `totalamount`, `memo`, `employeeID`, `shippingMethodID`, `companyID`, `createdBy`, `showSaleAgent`) VALUES (2, ''26'', ''1'', ''INV20150524'', ''2015-04-29'', ''YUA11833'', '''', '''', ''6'', ''null'', ''1.00000'', ''2'', 0, ''42534.4'', ''42534.4'', '''', '''', '''', ''2'', ''2'', ''0'')', 'Artransaction/saveNewDirectSaleInvoice', '0.069736003875732', '2015-05-24 02:14:49'),
(8148, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_detail` (`invoiceID`, `lineNo`, `createdBy`, `itemID`, `quantity`, `umID`, `itemdescription`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (26, ''1'', ''2'', ''23'', ''1'', ''16'', ''PM2M602S002224741'', ''40126.79'', ''40126.79'', ''2'', ''6'', ''2407.61'', ''42534.4'')', 'Artransaction/saveNewDirectSaleInvoice', '0.077020883560181', '2015-05-24 02:14:49'),
(8149, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''2407.61'', `totalAmount` = ''42534.4'' WHERE `ID` =  26', 'Artransaction/saveNewDirectSaleInvoice', '0.027201890945435', '2015-05-24 02:14:49'),
(8150, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''26'', ''1'', ''2'', ''284'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''1920.67'', ''8'', ''0'', ''0'', ''1920.67'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.094208955764771', '2015-05-24 02:15:56'),
(8151, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''2407.61'', `totalAmount` = ''44455.07'', `totalReceivable` = ''44455.07'' WHERE `ID` =  ''26''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.051270961761475', '2015-05-24 02:15:56');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(8152, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_order` (`companyID`, `customerID`, `deliveryOrderDate`, `locationID`, `toAddress`, `shippingMethodID`, `currencyID`, `exchangeRate`, `employeeID`, `totalAmount`, `memo`, `createdBy`, `formNo`) VALUES (''2'', ''26'', ''2015-04-29'', ''2'', '',\\r\\n,\\r\\n \\r\\n, '', ''0'', ''1'', ''1'', ''0'', 42047.46, '''', ''2'', ''SDN20150524'')', 'artransaction/directInvoicePosting', '0.081345081329346', '2015-05-24 02:16:18'),
(8153, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_detail` (`deliveryID`, `lineNo`, `itemID`, `invoiceID`, `amount`, `unitPrice`, `quantitySent`, `createdBy`) VALUES (26, ''1'', ''23'', ''26'', 40126.79, ''40126.79'', ''1'', ''2'')', 'artransaction/directInvoicePosting', '0.11248898506165', '2015-05-24 02:16:18'),
(8154, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice_detail` SET `doID` = 26 WHERE `ID` =  ''26''', 'artransaction/directInvoicePosting', '0.06601095199585', '2015-05-24 02:16:18'),
(8155, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 25 WHERE `ID` =  ''11''', 'artransaction/directInvoicePosting', '0.03408408164978', '2015-05-24 02:16:18'),
(8156, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `journalNo` = ''AR20150100000025'', `updateAble` = ''0'' WHERE `ID` =  ''26''', 'artransaction/directInvoicePosting', '0.044226169586182', '2015-05-24 02:16:18'),
(8157, 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'', ''AR20150100000025'', ''INV20150524[00000024]'', ''Posting Direct Sales Invoices [ INV20150524[00000024] ]'', ''2'', ''2015-04-29'', ''2015'', ''1'', 44455.07, 44455.07, ''2'')', 'artransaction/directInvoicePosting', '0.036378860473633', '2015-05-24 02:16:18'),
(8158, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 1, ''AR20150100000025'', ''[4741]PM2M602S002224741'', ''308'', ''Noor Hazira Binti Mahussin'', 40126.79, ''1'', ''1'', ''40126.79'', ''1'', ''2015'', ''1'', ''INV20150524[00000024]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.054344892501831', '2015-05-24 02:16:19'),
(8159, 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'', ''AR20150100000025'', 2, ''[4741]PM2M602S002224741'', ''59'', ''Noor Hazira Binti Mahussin'', 40126.79, ''1'', ''1'', ''40126.79'', ''1'', ''2015'', ''1'', ''INV20150524[00000024]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.030519962310791', '2015-05-24 02:16:19'),
(8160, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150100000025'', ''[4741]PM2M602S002224741'', ''308'', ''Noor Hazira Binti Mahussin'', 2407.61, ''1'', ''1'', ''2407.61'', ''1'', ''2015'', ''1'', ''INV20150524[00000024]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.045027017593384', '2015-05-24 02:16:19'),
(8161, 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, ''AR20150100000025'', ''[4741]PM2M602S002224741'', ''41'', ''Noor Hazira Binti Mahussin'', 2407.61, ''1'', ''1'', ''2407.61'', ''1'', ''2015'', ''1'', ''INV20150524[00000024]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.030546903610229', '2015-05-24 02:16:19'),
(8162, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AR20150100000025'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''308'', ''Noor Hazira Binti Mahussin'', 1920.67, ''1'', ''1'', ''1920.67'', ''1'', ''2015'', ''1'', ''INV20150524[00000024]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.033921957015991', '2015-05-24 02:16:19'),
(8163, 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'', ''AR20150100000025'', 6, ''Road Tax,Registration,HP Claim,Ins Premium'', ''284'', ''Noor Hazira Binti Mahussin'', 1920.67, ''1'', ''1'', ''1920.67'', ''1'', ''2015'', ''1'', ''INV20150524[00000024]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.030542850494385', '2015-05-24 02:16:19'),
(8164, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 44455.07, `total_amount_cr` = 44455.07, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000025''', 'artransaction/directInvoicePosting', '0.034380912780762', '2015-05-24 02:16:19'),
(8165, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''380''', 'Gltransaction/journalPosting', '0.31578516960144', '2015-05-24 02:16:57'),
(8166, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000025''', 'Gltransaction/journalPosting', '0.06589412689209', '2015-05-24 02:16:57'),
(8167, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''3'', ''308'', ''2015'', ''1'', ''40126.79'', ''0'', 40126.79, ''2'', ''2015-05-23: 20:05:57'')', 'Gltransaction/journalPosting', '0.044155120849609', '2015-05-24 02:16:57'),
(8168, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''59'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.075338840484619', '2015-05-24 02:16:57'),
(8169, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''308'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.053019046783447', '2015-05-24 02:16:57'),
(8170, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''41'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.041990041732788', '2015-05-24 02:16:57'),
(8171, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''308'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.040701150894165', '2015-05-24 02:16:57'),
(8172, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''284'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.054414033889771', '2015-05-24 02:16:57'),
(8173, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `updateAble` = ''0'' WHERE `ID` =  ''26''', 'sotransaction/doPosting', '0.032392978668213', '2015-05-24 02:17:19'),
(8174, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 24 WHERE `ID` =  ''12''', 'sotransaction/doPosting', '0.066293001174927', '2015-05-24 02:17:19'),
(8175, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `journalNo` = ''SO20150100000024'' WHERE `ID` =  ''26''', 'sotransaction/doPosting', '0.033873081207275', '2015-05-24 02:17:19'),
(8176, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''SO20150100000024'', ''SDN20150524[00000024]'', ''Delivery Order Confirm [ SDN20150524[00000024] ]'', ''5'', ''2015-04-29'', ''2015'', ''1'', ''2'')', 'sotransaction/doPosting', '0.035483121871948', '2015-05-24 02:17:19'),
(8177, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''23'' AND `companyID` =  ''2''', 'sotransaction/doPosting', '0.070779800415039', '2015-05-24 02:17:19'),
(8178, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''26''', 'sotransaction/doPosting', '0.032891035079956', '2015-05-24 02:17:19'),
(8179, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''26'', ''26'', ''1'', ''1'')', 'sotransaction/doPosting', '0.054902076721191', '2015-05-24 02:17:19'),
(8180, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''SO20150100000024'', 1, ''[4741]PM2M602S002224741'', ''76'', ''26'', 38714.79, 1, ''1'', 38714.79, ''1'', ''2015'', 1, ''SDN20150524[00000024][00000024]'', NULL, ''2'')', 'sotransaction/doPosting', '0.042370080947876', '2015-05-24 02:17:19'),
(8181, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''SO20150100000024'', ''[4741]PM2M602S002224741'', ''21'', ''26'', 38714.79, 1, ''1'', 38714.79, ''1'', ''2015'', ''SDN20150524[00000024][00000026]'', 1, NULL, ''2'')', 'sotransaction/doPosting', '0.042382001876831', '2015-05-24 02:17:19'),
(8182, 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` =  ''SO20150100000024''', 'sotransaction/doPosting', '0.043632984161377', '2015-05-24 02:17:19'),
(8183, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''381''', 'Gltransaction/journalPosting', '0.063840866088867', '2015-05-24 02:17:52'),
(8184, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''SO20150100000024''', 'Gltransaction/journalPosting', '0.067867994308472', '2015-05-24 02:17:52'),
(8185, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''76'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.055949211120605', '2015-05-24 02:17:52'),
(8186, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.062692880630493', '2015-05-24 02:17:52'),
(8187, 2, 2, '::1', 'insert', 'INSERT INTO `comp_chart_of_acct` (`ID`, `companyID`, `acctGroupID`, `acctCode`, `acctName`, `createdBy`, `createdTS`) VALUES (0, ''2'', ''3'', ''2100C0002'', ''Control Technical'', ''yaumanauto'', ''2015-05-23 20-24-10'')', 'glsetting/chartOfAcct', '0.037589073181152', '2015-05-24 02:24:56'),
(8188, 2, 2, '::1', 'insert', 'INSERT INTO `customer` (`ID`, `companyID`, `customerName`, `customerCompanyNo`, `accountCode`, `line1`, `line2`, `line3`, `city`, `customerPostCode`, `customerStateID`, `customerCountryID`, `attention`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `email`, `position`, `linkedAPAccountID`, `generalNote`, `gstRegNo`, `creditLimit`, `creditLimitAlert`, `createdDate`, `termsID`, `currencyID`) VALUES (0, ''2'', ''Control Technical'', '''', ''C00-02'', '''', '''', '''', '''', '''', ''0'', ''458'', 0, 0, '''', '''', '''', '''', '''', ''309'', '''', '''', '''', 0, ''2015-04-01'', ''6'', ''1'')', 'customerSetup/CustomerNew', '0.040707111358643', '2015-05-24 02:25:53'),
(8189, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice` (`invoiceCodeID`, `customerID`, `currencyID`, `formNo`, `salesInvoiceDate`, `customerPoNo`, `projectID`, `agentID`, `termsID`, `shipToID`, `exchangeRate`, `locationID`, `totalTaxAmount`, `totalReceivable`, `totalamount`, `memo`, `employeeID`, `shippingMethodID`, `companyID`, `createdBy`, `showSaleAgent`) VALUES (2, ''27'', ''1'', ''INV20150524'', ''2015-04-29'', ''YUA11832'', '''', '''', ''6'', ''null'', ''1.00000'', ''2'', 0, ''51419.42'', ''51419.42'', '''', '''', '''', ''2'', ''2'', ''0'')', 'Artransaction/saveNewDirectSaleInvoice', '0.12257099151611', '2015-05-24 02:26:55'),
(8190, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_detail` (`invoiceID`, `lineNo`, `createdBy`, `itemID`, `quantity`, `umID`, `itemdescription`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (27, ''1'', ''2'', ''24'', ''1'', ''16'', ''PM2M603S002118902'', ''48508.89'', ''48508.89'', ''2'', ''6'', ''2910.53'', ''51419.42'')', 'Artransaction/saveNewDirectSaleInvoice', '0.030385971069336', '2015-05-24 02:26:55'),
(8191, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''2910.53'', `totalAmount` = ''51419.42'' WHERE `ID` =  27', 'Artransaction/saveNewDirectSaleInvoice', '0.029812097549438', '2015-05-24 02:26:55'),
(8192, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''27'', ''1'', ''2'', ''284'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''2494.83'', ''8'', ''0'', ''0'', ''2494.83'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.079796075820923', '2015-05-24 02:28:00'),
(8193, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''2910.53'', `totalAmount` = ''53914.25'', `totalReceivable` = ''53914.25'' WHERE `ID` =  ''27''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.026386022567749', '2015-05-24 02:28:00'),
(8194, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_order` (`companyID`, `customerID`, `deliveryOrderDate`, `locationID`, `toAddress`, `shippingMethodID`, `currencyID`, `exchangeRate`, `employeeID`, `totalAmount`, `memo`, `createdBy`, `formNo`) VALUES (''2'', ''27'', ''2015-04-29'', ''2'', '',\\r\\n,\\r\\n \\r\\n, '', ''0'', ''1'', ''1'', ''0'', 51003.72, '''', ''2'', ''SDN20150524'')', 'artransaction/directInvoicePosting', '0.060781955718994', '2015-05-24 02:28:23'),
(8195, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_detail` (`deliveryID`, `lineNo`, `itemID`, `invoiceID`, `amount`, `unitPrice`, `quantitySent`, `createdBy`) VALUES (27, ''1'', ''24'', ''27'', 48508.89, ''48508.89'', ''1'', ''2'')', 'artransaction/directInvoicePosting', '0.040022850036621', '2015-05-24 02:28:23'),
(8196, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice_detail` SET `doID` = 27 WHERE `ID` =  ''27''', 'artransaction/directInvoicePosting', '0.032817840576172', '2015-05-24 02:28:23'),
(8197, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 26 WHERE `ID` =  ''11''', 'artransaction/directInvoicePosting', '0.034461975097656', '2015-05-24 02:28:23'),
(8198, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `journalNo` = ''AR20150100000026'', `updateAble` = ''0'' WHERE `ID` =  ''27''', 'artransaction/directInvoicePosting', '0.030863046646118', '2015-05-24 02:28:23'),
(8199, 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'', ''AR20150100000026'', ''INV20150524[00000025]'', ''Posting Direct Sales Invoices [ INV20150524[00000025] ]'', ''2'', ''2015-04-29'', ''2015'', ''1'', 53914.25, 53914.25, ''2'')', 'artransaction/directInvoicePosting', '0.037715911865234', '2015-05-24 02:28:23'),
(8200, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 1, ''AR20150100000026'', ''[8902]PM2M603S002118902'', ''309'', ''Control Technical'', 48508.89, ''1'', ''1'', ''48508.89'', ''1'', ''2015'', ''1'', ''INV20150524[00000025]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.054383039474487', '2015-05-24 02:28:23'),
(8201, 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'', ''AR20150100000026'', 2, ''[8902]PM2M603S002118902'', ''59'', ''Control Technical'', 48508.89, ''1'', ''1'', ''48508.89'', ''1'', ''2015'', ''1'', ''INV20150524[00000025]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.043299913406372', '2015-05-24 02:28:23'),
(8202, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150100000026'', ''[8902]PM2M603S002118902'', ''309'', ''Control Technical'', 2910.53, ''1'', ''1'', ''2910.53'', ''1'', ''2015'', ''1'', ''INV20150524[00000025]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.032214879989624', '2015-05-24 02:28:23'),
(8203, 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, ''AR20150100000026'', ''[8902]PM2M603S002118902'', ''41'', ''Control Technical'', 2910.53, ''1'', ''1'', ''2910.53'', ''1'', ''2015'', ''1'', ''INV20150524[00000025]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.030426979064941', '2015-05-24 02:28:23'),
(8204, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AR20150100000026'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''309'', ''Control Technical'', 2494.83, ''1'', ''1'', ''2494.83'', ''1'', ''2015'', ''1'', ''INV20150524[00000025]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.034012079238892', '2015-05-24 02:28:23'),
(8205, 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'', ''AR20150100000026'', 6, ''Road Tax,Registration,HP Claim,Ins Premium'', ''284'', ''Control Technical'', 2494.83, ''1'', ''1'', ''2494.83'', ''1'', ''2015'', ''1'', ''INV20150524[00000025]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.030470848083496', '2015-05-24 02:28:23'),
(8206, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 53914.25, `total_amount_cr` = 53914.25, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000026''', 'artransaction/directInvoicePosting', '0.034418821334839', '2015-05-24 02:28:23'),
(8207, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''382''', 'Gltransaction/journalPosting', '0.072922945022583', '2015-05-24 02:28:57'),
(8208, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000026''', 'Gltransaction/journalPosting', '0.052903890609741', '2015-05-24 02:28:58'),
(8209, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''3'', ''309'', ''2015'', ''1'', ''48508.89'', ''0'', 48508.89, ''2'', ''2015-05-23: 20:05:57'')', 'Gltransaction/journalPosting', '0.057847023010254', '2015-05-24 02:28:58'),
(8210, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''59'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.042068958282471', '2015-05-24 02:28:58'),
(8211, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''309'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.042105913162231', '2015-05-24 02:28:58'),
(8212, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''41'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.086396932601929', '2015-05-24 02:28:58'),
(8213, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''309'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.086114883422852', '2015-05-24 02:28:58'),
(8214, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''284'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.029129981994629', '2015-05-24 02:28:58'),
(8215, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `updateAble` = ''0'' WHERE `ID` =  ''27''', 'sotransaction/doPosting', '0.056411981582642', '2015-05-24 02:29:18'),
(8216, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 25 WHERE `ID` =  ''12''', 'sotransaction/doPosting', '0.051071882247925', '2015-05-24 02:29:18'),
(8217, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `journalNo` = ''SO20150100000025'' WHERE `ID` =  ''27''', 'sotransaction/doPosting', '0.032721996307373', '2015-05-24 02:29:18'),
(8218, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''SO20150100000025'', ''SDN20150524[00000025]'', ''Delivery Order Confirm [ SDN20150524[00000025] ]'', ''5'', ''2015-04-29'', ''2015'', ''1'', ''2'')', 'sotransaction/doPosting', '0.036802053451538', '2015-05-24 02:29:18'),
(8219, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''24'' AND `companyID` =  ''2''', 'sotransaction/doPosting', '0.060127973556519', '2015-05-24 02:29:18'),
(8220, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''27''', 'sotransaction/doPosting', '0.043920993804932', '2015-05-24 02:29:18'),
(8221, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''27'', ''27'', ''1'', ''1'')', 'sotransaction/doPosting', '0.066001892089844', '2015-05-24 02:29:18'),
(8222, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''SO20150100000025'', 1, ''[8902]PM2M603S002118902'', ''76'', ''27'', 46519.12, 1, ''1'', 46519.12, ''1'', ''2015'', 1, ''SDN20150524[00000025][00000025]'', NULL, ''2'')', 'sotransaction/doPosting', '0.042339086532593', '2015-05-24 02:29:18'),
(8223, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''SO20150100000025'', ''[8902]PM2M603S002118902'', ''21'', ''27'', 46519.12, 1, ''1'', 46519.12, ''1'', ''2015'', ''SDN20150524[00000025][00000027]'', 1, NULL, ''2'')', 'sotransaction/doPosting', '0.075647830963135', '2015-05-24 02:29:18'),
(8224, 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` =  ''SO20150100000025''', 'sotransaction/doPosting', '0.11009502410889', '2015-05-24 02:29:18'),
(8225, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''383''', 'Gltransaction/journalPosting', '0.074811935424805', '2015-05-24 02:29:52'),
(8226, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''SO20150100000025''', 'Gltransaction/journalPosting', '0.076968908309937', '2015-05-24 02:29:52'),
(8227, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''76'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.0434250831604', '2015-05-24 02:29:52'),
(8228, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.043941974639893', '2015-05-24 02:29:52'),
(8229, 2, 2, '::1', 'insert', 'INSERT INTO `comp_chart_of_acct` (`ID`, `companyID`, `acctGroupID`, `acctCode`, `acctName`, `createdBy`, `createdTS`) VALUES (0, ''2'', ''3'', ''2100L0001'', ''Lim Soh Hwa'', ''yaumanauto'', ''2015-05-23 20-31-57'')', 'glsetting/chartOfAcct', '0.048895835876465', '2015-05-24 02:32:40'),
(8230, 2, 2, '::1', 'insert', 'INSERT INTO `customer` (`ID`, `companyID`, `customerName`, `customerCompanyNo`, `accountCode`, `line1`, `line2`, `line3`, `city`, `customerPostCode`, `customerStateID`, `customerCountryID`, `attention`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `email`, `position`, `linkedAPAccountID`, `generalNote`, `gstRegNo`, `creditLimit`, `creditLimitAlert`, `createdDate`, `termsID`, `currencyID`) VALUES (0, ''2'', ''Lim Soh Hwa'', '''', ''L00-01'', '''', '''', '''', '''', '''', ''0'', ''458'', 0, 0, '''', '''', '''', '''', '''', ''310'', '''', '''', '''', 0, ''2015-04-01'', ''6'', ''1'')', 'customerSetup/CustomerNew', '0.0517258644104', '2015-05-24 02:33:27'),
(8231, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice` (`invoiceCodeID`, `customerID`, `currencyID`, `formNo`, `salesInvoiceDate`, `customerPoNo`, `projectID`, `agentID`, `termsID`, `shipToID`, `exchangeRate`, `locationID`, `totalTaxAmount`, `totalReceivable`, `totalamount`, `memo`, `employeeID`, `shippingMethodID`, `companyID`, `createdBy`, `showSaleAgent`) VALUES (2, ''28'', ''1'', ''INV20150524'', ''2015-04-29'', ''YUA11831'', '''', '''', ''6'', ''null'', ''1.00000'', ''2'', 0, ''42534.4'', ''42534.4'', '''', '''', '''', ''2'', ''2'', ''0'')', 'Artransaction/saveNewDirectSaleInvoice', '0.1073591709137', '2015-05-24 02:34:39'),
(8232, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_detail` (`invoiceID`, `lineNo`, `createdBy`, `itemID`, `quantity`, `umID`, `itemdescription`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (28, ''1'', ''2'', ''71'', ''1'', ''16'', ''PM2M602S002224263'', ''40126.79'', ''40126.79'', ''2'', ''6'', ''2407.61'', ''42534.4'')', 'Artransaction/saveNewDirectSaleInvoice', '0.035011768341064', '2015-05-24 02:34:39'),
(8233, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''2407.61'', `totalAmount` = ''42534.4'' WHERE `ID` =  28', 'Artransaction/saveNewDirectSaleInvoice', '0.02546501159668', '2015-05-24 02:34:39'),
(8234, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''28'', ''1'', ''2'', ''284'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''1738.35'', ''8'', ''0'', ''0'', ''1738.35'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.06133508682251', '2015-05-24 02:35:40'),
(8235, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''2407.61'', `totalAmount` = ''44272.75'', `totalReceivable` = ''44272.75'' WHERE `ID` =  ''28''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.039325952529907', '2015-05-24 02:35:40'),
(8236, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_order` (`companyID`, `customerID`, `deliveryOrderDate`, `locationID`, `toAddress`, `shippingMethodID`, `currencyID`, `exchangeRate`, `employeeID`, `totalAmount`, `memo`, `createdBy`, `formNo`) VALUES (''2'', ''28'', ''2015-04-29'', ''2'', '',\\r\\n,\\r\\n \\r\\n, '', ''0'', ''1'', ''1'', ''0'', 41865.14, '''', ''2'', ''SDN20150524'')', 'artransaction/directInvoicePosting', '0.072468996047974', '2015-05-24 02:36:01'),
(8237, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_detail` (`deliveryID`, `lineNo`, `itemID`, `invoiceID`, `amount`, `unitPrice`, `quantitySent`, `createdBy`) VALUES (28, ''1'', ''71'', ''28'', 40126.79, ''40126.79'', ''1'', ''2'')', 'artransaction/directInvoicePosting', '0.054851055145264', '2015-05-24 02:36:01'),
(8238, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice_detail` SET `doID` = 28 WHERE `ID` =  ''28''', 'artransaction/directInvoicePosting', '0.030280828475952', '2015-05-24 02:36:01'),
(8239, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 27 WHERE `ID` =  ''11''', 'artransaction/directInvoicePosting', '0.03451681137085', '2015-05-24 02:36:01'),
(8240, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `journalNo` = ''AR20150100000027'', `updateAble` = ''0'' WHERE `ID` =  ''28''', 'artransaction/directInvoicePosting', '0.041081190109253', '2015-05-24 02:36:01'),
(8241, 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'', ''AR20150100000027'', ''INV20150524[00000026]'', ''Posting Direct Sales Invoices [ INV20150524[00000026] ]'', ''2'', ''2015-04-29'', ''2015'', ''1'', 44272.75, 44272.75, ''2'')', 'artransaction/directInvoicePosting', '0.039240837097168', '2015-05-24 02:36:01'),
(8242, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 1, ''AR20150100000027'', ''[4263]PM2M602S002224263'', ''310'', ''Lim Soh Hwa'', 40126.79, ''1'', ''1'', ''40126.79'', ''1'', ''2015'', ''1'', ''INV20150524[00000026]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.054378986358643', '2015-05-24 02:36:01'),
(8243, 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'', ''AR20150100000027'', 2, ''[4263]PM2M602S002224263'', ''59'', ''Lim Soh Hwa'', 40126.79, ''1'', ''1'', ''40126.79'', ''1'', ''2015'', ''1'', ''INV20150524[00000026]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.043298959732056', '2015-05-24 02:36:01'),
(8244, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150100000027'', ''[4263]PM2M602S002224263'', ''310'', ''Lim Soh Hwa'', 2407.61, ''1'', ''1'', ''2407.61'', ''1'', ''2015'', ''1'', ''INV20150524[00000026]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.054336071014404', '2015-05-24 02:36:01'),
(8245, 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, ''AR20150100000027'', ''[4263]PM2M602S002224263'', ''41'', ''Lim Soh Hwa'', 2407.61, ''1'', ''1'', ''2407.61'', ''1'', ''2015'', ''1'', ''INV20150524[00000026]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.043349027633667', '2015-05-24 02:36:01'),
(8246, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AR20150100000027'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''310'', ''Lim Soh Hwa'', 1738.35, ''1'', ''1'', ''1738.35'', ''1'', ''2015'', ''1'', ''INV20150524[00000026]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.029632806777954', '2015-05-24 02:36:01'),
(8247, 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'', ''AR20150100000027'', 6, ''Road Tax,Registration,HP Claim,Ins Premium'', ''284'', ''Lim Soh Hwa'', 1738.35, ''1'', ''1'', ''1738.35'', ''1'', ''2015'', ''1'', ''INV20150524[00000026]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.03484582901001', '2015-05-24 02:36:01'),
(8248, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 44272.75, `total_amount_cr` = 44272.75, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000027''', 'artransaction/directInvoicePosting', '0.030070781707764', '2015-05-24 02:36:01'),
(8249, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''384''', 'Gltransaction/journalPosting', '0.066298961639404', '2015-05-24 02:36:39'),
(8250, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000027''', 'Gltransaction/journalPosting', '0.068109035491943', '2015-05-24 02:36:39'),
(8251, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''3'', ''310'', ''2015'', ''1'', ''40126.79'', ''0'', 40126.79, ''2'', ''2015-05-23: 20:05:39'')', 'Gltransaction/journalPosting', '0.034207105636597', '2015-05-24 02:36:39'),
(8252, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''59'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.066473007202148', '2015-05-24 02:36:39'),
(8253, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''310'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.028685808181763', '2015-05-24 02:36:39'),
(8254, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''41'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.066565036773682', '2015-05-24 02:36:39'),
(8255, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''310'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.028295993804932', '2015-05-24 02:36:39'),
(8256, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''284'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.055938959121704', '2015-05-24 02:36:39'),
(8257, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `updateAble` = ''0'' WHERE `ID` =  ''28''', 'sotransaction/doPosting', '0.049384832382202', '2015-05-24 02:36:58'),
(8258, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 26 WHERE `ID` =  ''12''', 'sotransaction/doPosting', '0.039633989334106', '2015-05-24 02:36:58'),
(8259, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `journalNo` = ''SO20150100000026'' WHERE `ID` =  ''28''', 'sotransaction/doPosting', '0.035421848297119', '2015-05-24 02:36:58'),
(8260, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''SO20150100000026'', ''SDN20150524[00000026]'', ''Delivery Order Confirm [ SDN20150524[00000026] ]'', ''5'', ''2015-04-29'', ''2015'', ''1'', ''2'')', 'sotransaction/doPosting', '0.047759056091309', '2015-05-24 02:36:58'),
(8261, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''71'' AND `companyID` =  ''2''', 'sotransaction/doPosting', '0.049597978591919', '2015-05-24 02:36:59'),
(8262, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''74''', 'sotransaction/doPosting', '0.030182123184204', '2015-05-24 02:36:59'),
(8263, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''74'', ''28'', ''1'', ''1'')', 'sotransaction/doPosting', '0.035423994064331', '2015-05-24 02:36:59'),
(8264, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''SO20150100000026'', 1, ''[4263]PM2M602S002224263'', ''76'', ''28'', 38714.79, 1, ''1'', 38714.79, ''1'', ''2015'', 1, ''SDN20150524[00000026][00000026]'', NULL, ''2'')', 'sotransaction/doPosting', '0.028656005859375', '2015-05-24 02:36:59'),
(8265, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''SO20150100000026'', ''[4263]PM2M602S002224263'', ''21'', ''28'', 38714.79, 1, ''1'', 38714.79, ''1'', ''2015'', ''SDN20150524[00000026][00000028]'', 1, NULL, ''2'')', 'sotransaction/doPosting', '0.034005880355835', '2015-05-24 02:36:59'),
(8266, 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` =  ''SO20150100000026''', 'sotransaction/doPosting', '0.043734073638916', '2015-05-24 02:36:59'),
(8267, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''385''', 'Gltransaction/journalPosting', '0.2935209274292', '2015-05-24 02:39:11'),
(8268, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''SO20150100000026''', 'Gltransaction/journalPosting', '0.057692050933838', '2015-05-24 02:39:11'),
(8269, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''76'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.048811197280884', '2015-05-24 02:39:11'),
(8270, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.21100807189941', '2015-05-24 02:39:11'),
(8271, 2, 2, '::1', 'insert', 'INSERT INTO `comp_chart_of_acct` (`ID`, `companyID`, `acctGroupID`, `acctCode`, `acctName`, `createdBy`, `createdTS`) VALUES (0, ''2'', ''3'', ''2100L0002'', ''Low Yen Ling'', ''yaumanauto'', ''2015-05-23 20-39-24'')', 'glsetting/chartOfAcct', '0.042532205581665', '2015-05-24 02:40:02'),
(8272, 2, 2, '::1', 'insert', 'INSERT INTO `customer` (`ID`, `companyID`, `customerName`, `customerCompanyNo`, `accountCode`, `line1`, `line2`, `line3`, `city`, `customerPostCode`, `customerStateID`, `customerCountryID`, `attention`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `email`, `position`, `linkedAPAccountID`, `generalNote`, `gstRegNo`, `creditLimit`, `creditLimitAlert`, `createdDate`, `termsID`, `currencyID`) VALUES (0, ''2'', ''Low Yen Ling'', '''', ''L00-02'', '''', '''', '''', '''', '''', ''0'', ''458'', 0, 0, '''', '''', '''', '''', '''', ''311'', '''', '''', '''', 0, ''2015-04-01'', ''6'', ''1'')', 'customerSetup/CustomerNew', '0.041359901428223', '2015-05-24 02:40:56');
