-- MySQL dump 10.13  Distrib 5.6.16, for Win32 (x86)
--
-- Host: localhost    Database: spslitem_demodb
-- ------------------------------------------------------
-- Server version	5.6.16

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `_log_query`
--

DROP TABLE IF EXISTS `_log_query`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_log_query` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `userID` int(11) NOT NULL,
  `userIP` varchar(30) NOT NULL,
  `type` varchar(50) NOT NULL,
  `query` text NOT NULL,
  `url` varchar(255) NOT NULL,
  `executionTime` varchar(256) NOT NULL,
  `createdTS` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=2297 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_log_query`
--

LOCK TABLES `_log_query` WRITE;
/*!40000 ALTER TABLE `_log_query` DISABLE KEYS */;
INSERT INTO `_log_query` VALUES (1,2,4,'192.168.1.199','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 2, acctName, id from comp_chart_of_acct where companyid = 2 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 2)','bank/index','0.039496898651123','2016-06-28 14:41:59'),(2,2,4,'192.168.1.199','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 2, acctName, id from comp_chart_of_acct where companyid = 2 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 2)','bank/index','0.061766147613525','2016-06-28 15:13:30'),(3,0,0,'192.168.1.136','insert','INSERT INTO `tbl_usermaster` (`username`, `email`, `userid`, `password`, `phone_mobile`, `last_seen_ip`) VALUES (\'aizat\', \'ijat@gmail.com\', \'ijat@gmail.com\', \'827ccb0eea8a706c4c34a16891f84e7b\', \'+60361855444\', \'192.168.1.136\')','login/save_new','0.032654047012329','2016-06-28 15:27:07'),(4,0,0,'192.168.1.136','insert','INSERT INTO `company` (`companyName`, `businessIndustryID`) VALUES (\'Aizat Sdn Bhd\', 0)','login/save_new','0.0081579685211182','2016-06-28 15:27:07'),(5,0,0,'192.168.1.136','insert','INSERT INTO `user_expiry` (`userID`, `username`, `typeOfPackage`, `numberOfPeriod`, `startDate`, `endDate`) VALUES (5, 0, 1, 1, \'2016-06-28\', \'2016-07-28\')','login/save_new','0.016422033309937','2016-06-28 15:27:07'),(6,0,0,'192.168.1.136','insert','INSERT INTO `user_module_access` (`companyID`, `userID`, `moduleID`, `transaction`, `reports`, `setup`, `accessRight`) VALUES (3, 5, 0, 1, 1, 1, 1)','login/save_new','0.021760940551758','2016-06-28 15:27:07'),(7,3,5,'192.168.1.136','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'4\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'3\'','setup/updateCompany','0.028985977172852','2016-06-28 15:27:37'),(8,3,5,'192.168.1.136','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'4\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'3\'','setup/updateCompany','0.036460161209106','2016-06-28 15:27:37'),(9,3,5,'192.168.1.136','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 3, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 3)','setup/assetSetup','0.034888029098511','2016-06-28 15:27:49'),(10,3,5,'192.168.1.136','update','UPDATE `company` SET `companyName` = \'Aizat Sdn Bhd\', `line1` = \'\', `line2` = \'\', `line3` = \'\', `city` = \'\', `companyPostCode` = \'\', `companyStateID` = \'0\', `countryID` = \'0\', `parlimenID` = \'\', `phoneNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-01-01\', `businessTypeID` = \'4\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = \'ijat@gmail.com\' WHERE `ID` =  \'3\'','setup/companySetup','0.017153978347778','2016-06-28 15:28:38'),(11,3,5,'192.168.1.136','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Aizat Sdn Bhd\', `line1` = \'\', `line2` = \'\', `line3` = \'\', `city` = \'\', `companyPostCode` = \'\', `companyStateID` = \'0\', `countryID` = \'0\', `parlimenID` = \'\', `phoneNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-01-01\', `businessTypeID` = \'4\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = \'ijat@gmail.com\' WHERE `ID` =  \'3\'','setup/companySetup','0.019566059112549','2016-06-28 15:28:38'),(12,0,0,'192.168.1.197','insert','INSERT INTO `tbl_usermaster` (`username`, `email`, `userid`, `password`, `phone_mobile`, `last_seen_ip`) VALUES (\'En Salihin\', \'salihin@gmail.com\', \'salihin@gmail.com\', \'827ccb0eea8a706c4c34a16891f84e7b\', \'098888888\', \'192.168.1.197\')','login/save_new','0.12015390396118','2016-06-29 15:37:41'),(13,0,0,'192.168.1.197','insert','INSERT INTO `company` (`companyName`, `businessIndustryID`) VALUES (\'Salihin\', 0)','login/save_new','0.03312087059021','2016-06-29 15:37:41'),(14,0,0,'192.168.1.197','insert','INSERT INTO `user_expiry` (`userID`, `username`, `typeOfPackage`, `numberOfPeriod`, `startDate`, `endDate`) VALUES (6, 0, 1, 1, \'2016-06-29\', \'2016-07-29\')','login/save_new','0.033048868179321','2016-06-29 15:37:42'),(15,0,0,'192.168.1.197','insert','INSERT INTO `user_module_access` (`companyID`, `userID`, `moduleID`, `transaction`, `reports`, `setup`, `accessRight`) VALUES (4, 6, 0, 1, 1, 1, 1)','login/save_new','0.011456966400146','2016-06-29 15:37:42'),(16,4,6,'192.168.1.197','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 4, acctName, id from comp_chart_of_acct where companyid = 4 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 4)','bank/index','0.0011839866638184','2016-06-29 15:46:04'),(17,4,6,'192.168.1.197','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'4\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'4\'','setup/updateCompany','0.093204975128174','2016-06-29 15:46:15'),(18,4,6,'192.168.1.197','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'4\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'4\'','setup/updateCompany','0.00032901763916016','2016-06-29 15:46:15'),(19,4,6,'192.168.1.197','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 4, acctName, id from comp_chart_of_acct where companyid = 4 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 4)','bank/index','0.00072503089904785','2016-06-29 15:46:15'),(20,4,6,'192.168.1.197','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 4, acctName, id from comp_chart_of_acct where companyid = 4 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 4)','bank/index','0.00075483322143555','2016-06-29 15:46:26'),(21,4,6,'192.168.1.195','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'5\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'4\'','setup/updateCompany','0.015453100204468','2016-06-29 15:49:16'),(22,4,6,'192.168.1.195','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'5\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'4\'','setup/updateCompany','0.00032997131347656','2016-06-29 15:49:16'),(23,4,6,'192.168.1.195','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 4, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 4)','setup/assetSetup','0.14084410667419','2016-06-29 15:49:44'),(24,4,6,'192.168.1.195','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 4, acctName, id from comp_chart_of_acct where companyid = 4 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 4)','bank/index','0.079751968383789','2016-06-29 15:49:49'),(25,0,0,'192.168.1.196','insert','INSERT INTO `tbl_usermaster` (`username`, `email`, `userid`, `password`, `phone_mobile`, `last_seen_ip`) VALUES (\'farah\', \'farahzafirah@salihin.com.my\', \'farahzafirah@salihin.com.my\', \'827ccb0eea8a706c4c34a16891f84e7b\', \'0194484484\', \'192.168.1.196\')','login/save_new','0.067555904388428','2016-06-30 09:08:03'),(26,0,0,'192.168.1.196','insert','INSERT INTO `company` (`companyName`, `businessIndustryID`) VALUES (\'MegahJaya Sdn Bhd\', 0)','login/save_new','0.041795015335083','2016-06-30 09:08:03'),(27,0,0,'192.168.1.196','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 5, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 5)','login/save_new','0.074506998062134','2016-06-30 09:08:03'),(28,0,0,'192.168.1.196','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 5, acctName, id from comp_chart_of_acct where companyid = 5 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 5)','login/save_new','0.088692188262939','2016-06-30 09:08:03'),(29,0,0,'192.168.1.196','insert','INSERT INTO `user_expiry` (`userID`, `username`, `typeOfPackage`, `numberOfPeriod`, `startDate`, `endDate`) VALUES (7, 0, 1, 1, \'2016-06-30\', \'2016-07-30\')','login/save_new','0.036117076873779','2016-06-30 09:08:03'),(30,0,0,'192.168.1.196','insert','INSERT INTO `user_module_access` (`companyID`, `userID`, `moduleID`, `transaction`, `reports`, `setup`, `accessRight`) VALUES (5, 7, 0, 1, 1, 1, 1)','login/save_new','0.021836996078491','2016-06-30 09:08:03'),(31,5,7,'192.168.1.196','update','UPDATE `company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'16\', `incorporateDate` = \'2016-06-30\' WHERE `ID` =  \'5\'','setup/updateCompany','0.0098130702972412','2016-06-30 09:08:45'),(32,5,7,'192.168.1.196','update','UPDATE `company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'16\', `incorporateDate` = \'2016-06-30\' WHERE `ID` =  \'5\'','setup/updateCompany','0.021687984466553','2016-06-30 09:08:45'),(33,5,7,'192.168.1.196','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'16\', `incorporateDate` = \'2016-06-30\' WHERE `ID` =  \'5\'','setup/updateCompany','0.0003659725189209','2016-06-30 09:08:45'),(34,5,7,'192.168.1.196','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'16\', `incorporateDate` = \'2016-06-30\' WHERE `ID` =  \'5\'','setup/updateCompany','0.00028085708618164','2016-06-30 09:08:46'),(35,2,4,'192.168.1.199','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'3\', `incorporateDate` = \'2016-02-03\' WHERE `ID` =  \'2\'','setup/updateCompany','0.022771120071411','2016-06-30 09:11:52'),(36,2,4,'192.168.1.199','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'3\', `incorporateDate` = \'2016-02-03\' WHERE `ID` =  \'2\'','setup/updateCompany','0.013174057006836','2016-06-30 09:11:52'),(37,5,7,'192.168.1.196','update','UPDATE `tbl_usermaster` SET `userid` = \'farahzafirah@salihin.com.my\', `password` = \'827ccb0eea8a706c4c34a16891f84e7b\', `username` = \'farah\', `position` = 0, `email` = \'farahzafirah@salihin.com.my\', `phone_off` = 0, `Phone_mobile` = \'0194484484\', `department` = 0, `section` = 0, `language` = \'\', `imageFile` = \'7-1467249112-G0304345.JPG\', `modified_dt` = \'2016-06-30 03-12-36\', `modified_user` = \'farahzafirah@salihin.com.my\' WHERE `fldid` =  \'7\'','userProfile/userMaster','0.0086319446563721','2016-06-30 09:12:47'),(38,2,4,'192.168.1.199','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'6\', `incorporateDate` = \'2016-02-17\' WHERE `ID` =  \'2\'','setup/updateCompany','0.092777013778687','2016-06-30 11:42:07'),(39,2,4,'192.168.1.199','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'6\', `incorporateDate` = \'2016-02-17\' WHERE `ID` =  \'2\'','setup/updateCompany','0.008342981338501','2016-06-30 11:42:07'),(40,2,4,'192.168.1.199','update','UPDATE `company` SET `companyName` = \'fad and akmal sdn bhd\', `line1` = \'\', `line2` = \'\', `line3` = \'\', `city` = \'\', `companyPostCode` = \'\', `companyStateID` = \'0\', `countryID` = \'0\', `parlimenID` = \'\', `phoneNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-02-17\', `businessTypeID` = \'6\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = \'akmaluddin@salihin.com.my\' WHERE `ID` =  \'2\'','setup/companySetup','0.080254077911377','2016-06-30 11:42:38'),(41,2,4,'192.168.1.199','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'fad and akmal sdn bhd\', `line1` = \'\', `line2` = \'\', `line3` = \'\', `city` = \'\', `companyPostCode` = \'\', `companyStateID` = \'0\', `countryID` = \'0\', `parlimenID` = \'\', `phoneNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-02-17\', `businessTypeID` = \'6\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = \'akmaluddin@salihin.com.my\' WHERE `ID` =  \'2\'','setup/companySetup','0.040121078491211','2016-06-30 11:42:38'),(42,5,7,'192.168.1.196','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'8\', `incorporateDate` = \'2016-05-02\' WHERE `ID` =  \'5\'','setup/updateCompany','0.097791910171509','2016-07-11 10:19:39'),(43,5,7,'192.168.1.196','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'8\', `incorporateDate` = \'2016-05-02\' WHERE `ID` =  \'5\'','setup/updateCompany','0.020271062850952','2016-07-11 10:19:39'),(44,5,7,'192.168.1.196','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'5\', \'7\', 1, 1, \'68\', \'9.9\', \'OP-C\', \'2016-07-11\', \'144\', \'1\')','expenses/saveExpense','0.050158023834229','2016-07-11 10:25:23'),(45,5,7,'192.168.1.196','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1, \'7\', \'hoe\', 1, \'32956\', \'9.9\', \'9.9\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.016053199768066','2016-07-11 10:25:23'),(46,5,7,'192.168.1.196','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'5\', \'3\', \'16\', \'07\', \'AP\', 1)','expenses/saveExpense','0.026046991348267','2016-07-11 10:25:23'),(47,5,7,'192.168.1.196','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP160700000001\' WHERE `ID` =  1','expenses/saveExpense','0.12848591804504','2016-07-11 10:25:23'),(48,5,7,'192.168.1.196','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'5\', \'AP160700000001\', \'Cost of Goods Sold [OP-C[00000001]]\', \'Cost of Goods Sold [OP-C[00000001]]\', \'\', \'3\', \'2016-07-11\', \'16\', \'07\', 9.9, 9.9, \'7\')','expenses/saveExpense','0.02556300163269','2016-07-11 10:25:23'),(49,5,7,'192.168.1.196','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'5\', \'AP160700000001\', 1, \'hoe\', \'32947\', 9.9, 1, \'1\', \'9.9\', \'07\', \'16\', \'1\', \'OP-C[00000001]\', \'7\')','expenses/saveExpense','0.015892028808594','2016-07-11 10:25:23'),(50,5,7,'192.168.1.196','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'5\', \'AP160700000001\', 2, \'hoe\', \'32956\', 9.9, 1, \'1\', \'9.9\', \'07\', \'16\', \'1\', \'OP-C[00000001]\', \'7\')','expenses/saveExpense','0.016510009765625','2016-07-11 10:25:23'),(51,5,7,'192.168.1.196','update','UPDATE `comp_journal` SET `total_amount_dr` = 9.9, `total_amount_cr` = 9.9, `total_amount` = 0 WHERE `companyID` =  \'5\' AND `journalID` =  \'AP160700000001\'','expenses/saveExpense','0.016036987304688','2016-07-11 10:25:23'),(52,5,7,'192.168.1.196','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1','expenses/saveExpense','0.01679515838623','2016-07-11 10:25:23'),(53,5,7,'192.168.1.196','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  4','expenses/saveExpense','0.016103029251099','2016-07-11 10:25:23'),(54,5,7,'192.168.1.196','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'5\' AND `journalID` =  \'AP160700000001\'','expenses/saveExpense','0.01675009727478','2016-07-11 10:25:23'),(55,5,7,'192.168.1.196','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'5\', \'3\', \'32947\', \'2016\', \'7\', \'0\', \'9.9\', -9.9, \'7\', \'2016-07-11: 04:07:23\')','expenses/saveExpense','0.030462026596069','2016-07-11 10:25:23'),(56,5,7,'192.168.1.196','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'5\', \'8\', \'32956\', \'2016\', \'7\', \'9.9\', \'0\', 9.9, \'7\', \'2016-07-11: 04:07:23\')','expenses/saveExpense','0.047802209854126','2016-07-11 10:25:23'),(57,5,7,'192.168.1.196','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'5\', `createdBy` = \'7\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'9.9\', `formNo` = \'OP-C\', `paymentDate` = \'2016-07-11\', `bankId` = \'144\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'1\'','expenses/saveExpense','0.026029825210571','2016-07-11 10:26:23'),(58,5,7,'192.168.1.196','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'1\', `createdBy` = \'7\', `itemdescription` = \'hoe\', `lineNo` = 1, `accountID` = \'32956\', `amountIncludedTax` = \'9.9\', `amountExcludedTax` = \'9.9\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1\'','expenses/saveExpense','0.00035190582275391','2016-07-11 10:26:23'),(59,5,7,'192.168.1.196','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'286\'','expenses/saveExpense','0.018841028213501','2016-07-11 10:26:23'),(60,5,7,'192.168.1.196','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000002\' WHERE `ID` =  \'1\'','expenses/saveExpense','0.016749858856201','2016-07-11 10:26:24'),(61,5,7,'192.168.1.196','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'5\', \'AP20160700000002\', \'Cost of Goods Sold [OP-C[00000001]]\', \'Cost of Goods Sold [OP-C[00000001]]\', \'\', \'3\', \'2016-07-11\', \'16\', \'07\', 9.9, 9.9, \'7\')','expenses/saveExpense','0.023404836654663','2016-07-11 10:26:24'),(62,5,7,'192.168.1.196','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'5\', \'AP20160700000002\', 1, \'hoe\', \'32947\', 9.9, 1, \'1\', \'9.9\', \'07\', \'16\', \'1\', \'OP-C[00000001]\', \'7\')','expenses/saveExpense','0.057857036590576','2016-07-11 10:26:24'),(63,5,7,'192.168.1.196','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'5\', \'AP20160700000002\', 2, \'hoe\', \'32956\', 9.9, 1, \'1\', \'9.9\', \'07\', \'16\', \'1\', \'OP-C[00000001]\', \'7\')','expenses/saveExpense','0.032817125320435','2016-07-11 10:26:24'),(64,5,7,'192.168.1.196','update','UPDATE `comp_journal` SET `total_amount_dr` = 9.9, `total_amount_cr` = 9.9, `total_amount` = 0 WHERE `companyID` =  \'5\' AND `journalID` =  \'AP20160700000002\'','expenses/saveExpense','0.033015966415405','2016-07-11 10:26:24'),(65,5,7,'192.168.1.196','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1\'','expenses/saveExpense','0.049799203872681','2016-07-11 10:26:24'),(66,5,7,'192.168.1.196','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  5','expenses/saveExpense','0.041476011276245','2016-07-11 10:26:24'),(67,5,7,'192.168.1.196','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'5\' AND `journalID` =  \'AP20160700000002\'','expenses/saveExpense','0.041399002075195','2016-07-11 10:26:24'),(68,5,7,'192.168.1.196','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'7\' WHERE `a`.`companyID` =  \'5\' AND `a`.`acctID` =  \'32947\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','expenses/saveExpense','0.04491400718689','2016-07-11 10:26:24'),(69,5,7,'192.168.1.196','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'7\' WHERE `a`.`companyID` =  \'5\' AND `a`.`acctID` =  \'32956\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','expenses/saveExpense','0.031934022903442','2016-07-11 10:26:24'),(70,5,7,'192.168.1.196','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-06-02\', \'32950\', \'2500\', \'LR\', \'141\', \'5\', 3)','loanReceive/save_new_loan','0.1365327835083','2016-07-11 10:27:10'),(71,5,7,'192.168.1.196','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2, \'32944\', \'2500\', \'\')','loanReceive/save_new_loan','0.032971858978271','2016-07-11 10:27:10'),(72,5,7,'192.168.1.196','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'5\', \'3\', \'2016\', \'06\', \'AP\', 1)','loanReceive/save_new_loan','0.020792007446289','2016-07-11 10:27:10'),(73,5,7,'192.168.1.196','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000001\' WHERE `ID` =  2','loanReceive/save_new_loan','0.033079862594604','2016-07-11 10:27:10'),(74,5,7,'192.168.1.196','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'5\', \'AP20160600000001\', \' [LR[00000002]]]\', \'Loan Received [  [LR[00000002]]] ]\', \'\', \'3\', \'2016-06-02\', \'2016\', \'06\', 2500, 2500, \'7\')','loanReceive/save_new_loan','0.021295070648193','2016-07-11 10:27:10'),(75,5,7,'192.168.1.196','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'5\', \'AP20160600000001\', 1, \'\', \'32950\', 2500, 1, \'1\', \'2500\', \'06\', \'2016\', \'0\', \'LR[00000002]\', \'7\')','loanReceive/save_new_loan','0.041034936904907','2016-07-11 10:27:10'),(76,5,7,'192.168.1.196','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'5\', \'AP20160600000001\', 2, \'\', \'32944\', 2500, 1, \'1\', \'2500\', \'06\', \'2016\', \'0\', \'LR[00000002]\', \'7\')','loanReceive/save_new_loan','0.049406051635742','2016-07-11 10:27:10'),(77,5,7,'192.168.1.196','update','UPDATE `comp_journal` SET `total_amount_dr` = 2500, `total_amount_cr` = 2500, `total_amount` = 0 WHERE `companyID` =  \'5\' AND `journalID` =  \'AP20160600000001\'','loanReceive/save_new_loan','0.033183813095093','2016-07-11 10:27:10'),(78,5,7,'192.168.1.196','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2','loanReceive/save_new_loan','0.033151865005493','2016-07-11 10:27:10'),(79,5,7,'192.168.1.196','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  6','loanReceive/save_new_loan','0.016201019287109','2016-07-11 10:27:10'),(80,5,7,'192.168.1.196','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'5\' AND `journalID` =  \'AP20160600000001\'','loanReceive/save_new_loan','0.016658067703247','2016-07-11 10:27:10'),(81,5,7,'192.168.1.196','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'5\', \'4\', \'32950\', \'2016\', \'6\', \'0\', \'2500\', -2500, \'7\', \'2016-07-11: 04:07:10\')','loanReceive/save_new_loan','0.038571119308472','2016-07-11 10:27:10'),(82,5,7,'192.168.1.196','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'5\', \'3\', \'32944\', \'2016\', \'6\', \'2500\', \'0\', 2500, \'7\', \'2016-07-11: 04:07:10\')','loanReceive/save_new_loan','0.023154973983765','2016-07-11 10:27:10'),(83,5,7,'192.168.1.196','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'5\', \'7\', 1, 1, \'68\', \'850\', \'OP-L\', \'2016-07-11\', \'141\', \'1\')','expenses/saveExpense','0.058377027511597','2016-07-11 10:31:57'),(84,5,7,'192.168.1.196','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (3, \'7\', \'payment July 2016\', 1, \'32950\', \'850\', \'850\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.016871929168701','2016-07-11 10:31:57'),(85,5,7,'192.168.1.196','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'286\'','expenses/saveExpense','0.026467800140381','2016-07-11 10:31:57'),(86,5,7,'192.168.1.196','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000003\' WHERE `ID` =  3','expenses/saveExpense','0.016448020935059','2016-07-11 10:31:57'),(87,5,7,'192.168.1.196','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'5\', \'AP20160700000003\', \'Loan Repayment [OP-L[00000003]]\', \'Loan Repayment [OP-L[00000003]]\', \'\', \'3\', \'2016-07-11\', \'16\', \'07\', 850, 850, \'7\')','expenses/saveExpense','0.012182950973511','2016-07-11 10:31:57'),(88,5,7,'192.168.1.196','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'5\', \'AP20160700000003\', 1, \'payment July 2016\', \'32944\', 850, 1, \'1\', \'850\', \'07\', \'16\', \'1\', \'OP-L[00000003]\', \'7\')','expenses/saveExpense','0.016578197479248','2016-07-11 10:31:57'),(89,5,7,'192.168.1.196','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'5\', \'AP20160700000003\', 2, \'payment July 2016\', \'32950\', 850, 1, \'1\', \'850\', \'07\', \'16\', \'1\', \'OP-L[00000003]\', \'7\')','expenses/saveExpense','0.016239881515503','2016-07-11 10:31:57'),(90,5,7,'192.168.1.196','update','UPDATE `comp_journal` SET `total_amount_dr` = 850, `total_amount_cr` = 850, `total_amount` = 0 WHERE `companyID` =  \'5\' AND `journalID` =  \'AP20160700000003\'','expenses/saveExpense','0.016369104385376','2016-07-11 10:31:57'),(91,5,7,'192.168.1.196','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  3','expenses/saveExpense','0.016494989395142','2016-07-11 10:31:57'),(92,5,7,'192.168.1.196','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  9','expenses/saveExpense','0.024780988693237','2016-07-11 10:31:57'),(93,5,7,'192.168.1.196','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'5\' AND `journalID` =  \'AP20160700000003\'','expenses/saveExpense','0.033041954040527','2016-07-11 10:31:57'),(94,5,7,'192.168.1.196','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'7\' WHERE `a`.`companyID` =  \'5\' AND `a`.`acctID` =  \'32944\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','expenses/saveExpense','0.031075954437256','2016-07-11 10:31:57'),(95,5,7,'192.168.1.196','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'5\', \'4\', \'32950\', \'2016\', \'7\', \'850\', \'0\', 850, \'7\', \'2016-07-11: 04:07:57\')','expenses/saveExpense','0.031403064727783','2016-07-11 10:31:57'),(96,5,7,'192.168.1.196','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 5, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 5)','setup/assetSetup','0.0012550354003906','2016-07-11 10:36:45'),(97,5,7,'192.168.1.196','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 5, acctName, id from comp_chart_of_acct where companyid = 5 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 5)','bank/index','0.00201416015625','2016-07-11 10:36:48'),(98,5,7,'192.168.1.196','update','UPDATE `company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'17\', `incorporateDate` = \'2016-07-01\' WHERE `ID` =  \'5\'','setup/updateCompany','0.095844030380249','2016-07-11 14:31:57'),(99,5,7,'192.168.1.196','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'17\', `incorporateDate` = \'2016-07-01\' WHERE `ID` =  \'5\'','setup/updateCompany','0.0003502368927002','2016-07-11 14:31:57'),(100,5,7,'192.168.1.196','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'3\', `incorporateDate` = \'1970-01-01\' WHERE `ID` =  \'5\'','setup/updateCompany','0.090887069702148','2016-07-18 12:04:26'),(101,5,7,'192.168.1.196','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'3\', `incorporateDate` = \'1970-01-01\' WHERE `ID` =  \'5\'','setup/updateCompany','0.016648054122925','2016-07-18 12:04:26'),(102,5,7,'192.168.1.196','update','UPDATE `company` SET `businessIndustryID` = \'\', `businessTypeID` = \'\', `incorporateDate` = \'1970-01-01\' WHERE `ID` =  \'5\'','setup/updateCompany','0.4233820438385','2016-07-19 10:30:14'),(103,5,7,'192.168.1.196','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'\', `businessTypeID` = \'\', `incorporateDate` = \'1970-01-01\' WHERE `ID` =  \'5\'','setup/updateCompany','0.03857684135437','2016-07-19 10:30:14'),(104,5,7,'192.168.1.196','update','UPDATE `company` SET `businessIndustryID` = \'\', `businessTypeID` = \'\', `incorporateDate` = \'1970-01-01\' WHERE `ID` =  \'5\'','setup/updateCompany','0.00037598609924316','2016-07-19 10:30:14'),(105,5,7,'192.168.1.196','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'\', `businessTypeID` = \'\', `incorporateDate` = \'1970-01-01\' WHERE `ID` =  \'5\'','setup/updateCompany','0.00032711029052734','2016-07-19 10:30:14'),(106,2,4,'192.168.1.199','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'2\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'2\'','setup/updateCompany','0.047960042953491','2016-07-20 12:53:49'),(107,2,4,'192.168.1.199','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'2\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'2\'','setup/updateCompany','0.066113948822021','2016-07-20 12:53:49'),(108,2,4,'192.168.1.199','update','UPDATE `web` SET `menu1` = \'Mengapa SPS Lite?\', `menu1Link` = \'\', `menu2` = \'Ciri-ciri\', `menu2Link` = \'\', `menu3` = \'Mengapa SPS Lite?\', `menu3Link` = \'\', `menu4` = \'Ciri-ciri\', `menu4Link` = \'\', `menu5` = \'Ciri-ciri\', `menu5Link` = \'\' WHERE `userID` =  \'akmaluddin@salihin.com.my\'','web/save','0.017557144165039','2016-07-20 19:31:27'),(109,2,4,'192.168.1.199','insert','INSERT INTO `web` (`mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `userid`) VALUES (\'Mengapa SPS Lite?\', \'sebab sya suka sps lite\', \'Responsif\', \'\', \'Dwibahasa\', \'\', \'Mesra Pengguna\', \'\', \'akmaluddin@salihin.com.my\')','web/save','0.027334928512573','2016-07-20 19:36:48'),(110,2,4,'192.168.1.199','update','UPDATE `web` SET `selamatDatang` = \'selamat datang\', `moto` = \'terima kasih kerana sudi mampir\', `linkLabel` = \'yok jejel\', `link` = \'\' WHERE `userID` =  \'akmaluddin@salihin.com.my\'','web/save','0.097978830337524','2016-07-20 19:58:30'),(111,0,0,'192.168.1.199','update','UPDATE `company` SET `businessIndustryID` = \'3\', `businessTypeID` = 0, `incorporateDate` = \'2016-07-21\' WHERE `ID` =  0','setup/updateCompany','0.08345103263855','2016-07-21 11:11:15'),(112,0,0,'192.168.1.199','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'3\', `businessTypeID` = 0, `incorporateDate` = \'2016-07-21\' WHERE `ID` =  0','setup/updateCompany','0.028690099716187','2016-07-21 11:11:15'),(113,0,0,'192.168.1.199','update','UPDATE `company` SET `businessIndustryID` = \'3\', `businessTypeID` = 0, `incorporateDate` = \'2016-07-21\' WHERE `ID` =  0','setup/updateCompany','0.00041699409484863','2016-07-21 11:11:24'),(114,0,0,'192.168.1.199','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'3\', `businessTypeID` = 0, `incorporateDate` = \'2016-07-21\' WHERE `ID` =  0','setup/updateCompany','0.00032997131347656','2016-07-21 11:11:24'),(115,2,4,'192.168.1.199','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = 0, `incorporateDate` = \'2015-12-28\' WHERE `ID` =  \'2\'','setup/updateCompany','0.10241603851318','2016-07-21 13:46:43'),(116,2,4,'192.168.1.199','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = 0, `incorporateDate` = \'2015-12-28\' WHERE `ID` =  \'2\'','setup/updateCompany','0.041396141052246','2016-07-21 13:46:43'),(117,2,4,'192.168.1.199','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = 0, `incorporateDate` = \'2015-12-28\' WHERE `ID` =  \'2\'','setup/updateCompany','0.00043392181396484','2016-07-21 13:46:46'),(118,2,4,'192.168.1.199','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = 0, `incorporateDate` = \'2015-12-28\' WHERE `ID` =  \'2\'','setup/updateCompany','0.00034093856811523','2016-07-21 13:46:46'),(119,2,4,'192.168.1.199','update','UPDATE `company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'12\', `incorporateDate` = \'2016-02-03\' WHERE `ID` =  \'2\'','setup/updateCompany','0.091284036636353','2016-07-21 13:56:29'),(120,2,4,'192.168.1.199','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'12\', `incorporateDate` = \'2016-02-03\' WHERE `ID` =  \'2\'','setup/updateCompany','0.016381978988647','2016-07-21 13:56:29'),(121,2,4,'192.168.1.199','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'3\', `incorporateDate` = \'1970-01-01\' WHERE `ID` =  \'2\'','setup/updateCompany','0.043939113616943','2016-07-25 09:19:08'),(122,2,4,'192.168.1.199','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'3\', `incorporateDate` = \'1970-01-01\' WHERE `ID` =  \'2\'','setup/updateCompany','0.05836820602417','2016-07-25 09:19:08'),(123,2,4,'192.168.1.199','update','UPDATE `web` SET `namaSyarikat` = \'kedai-e.net\', `mukaDepan` = \'\' WHERE `userID` =  \'akmaluddin@salihin.com.my\'','web/save','0.021286964416504','2016-07-25 10:33:14'),(124,2,4,'192.168.1.199','update','UPDATE `web` SET `namaSyarikat` = \'kedai-e.net\', `mukaDepan` = \'\' WHERE `userID` =  \'akmaluddin@salihin.com.my\'','web/save','0.093502998352051','2016-07-25 10:35:11'),(125,2,4,'192.168.1.199','update','UPDATE `web` SET `namaSyarikat` = \'kedai-e.net\', `mukaDepan` = \'\' WHERE `userID` =  \'akmaluddin@salihin.com.my\'','web/save','0.093887090682983','2016-07-25 10:37:13'),(126,2,4,'192.168.1.199','update','UPDATE `web` SET `namaSyarikat` = \'kedai-e.net\', `mukaDepan` = \'\' WHERE `userID` =  \'akmaluddin@salihin.com.my\'','web/save','0.032937049865723','2016-07-25 11:18:29'),(127,2,4,'192.168.1.199','update','UPDATE `web` SET `namaSyarikat` = \'kedai-e.net\', `mukaDepan` = \'\' WHERE `userID` =  \'akmaluddin@salihin.com.my\'','web/save','0.046020984649658','2016-07-25 11:21:23'),(128,0,0,'192.168.1.199','insert','INSERT INTO `tbl_usermaster` (`username`, `email`, `userid`, `password`, `phone_mobile`, `last_seen_ip`) VALUES (\'khamisah mohamed jamil\', \'admin@spsexam.com.my\', \'admin@spsexam.com.my\', \'827ccb0eea8a706c4c34a16891f84e7b\', \'346\', \'192.168.1.199\')','login/save_new','0.13800501823425','2016-07-25 12:44:41'),(129,0,0,'192.168.1.199','insert','INSERT INTO `company` (`companyName`, `businessIndustryID`) VALUES (0, \'17\')','login/save_new','0.066538095474243','2016-07-25 12:44:41'),(130,0,0,'192.168.1.199','insert','INSERT INTO `user_expiry` (`userID`, `username`, `typeOfPackage`, `numberOfPeriod`, `startDate`, `endDate`) VALUES (8, 0, 1, 1, \'2016-07-25\', \'2016-08-24\')','login/save_new','0.057837009429932','2016-07-25 12:44:41'),(131,0,0,'192.168.1.199','insert','INSERT INTO `user_module_access` (`companyID`, `userID`, `moduleID`, `transaction`, `reports`, `setup`, `accessRight`) VALUES (6, 8, 0, 1, 1, 1, 1)','login/save_new','0.016535997390747','2016-07-25 12:44:41'),(132,0,0,'192.168.1.199','insert','INSERT INTO `tbl_usermaster` (`username`, `email`, `userid`, `password`, `phone_mobile`, `last_seen_ip`) VALUES (\'hijrah power\', \'hijrah@email.com\', \'hijrah@email.com\', \'827ccb0eea8a706c4c34a16891f84e7b\', \'012558\', \'192.168.1.199\')','login/save_new','0.087662935256958','2016-07-25 12:47:07'),(133,0,0,'192.168.1.199','insert','INSERT INTO `company` (`companyName`, `businessIndustryID`) VALUES (0, \'11\')','login/save_new','0.033090114593506','2016-07-25 12:47:07'),(134,0,0,'192.168.1.199','insert','INSERT INTO `user_expiry` (`userID`, `username`, `typeOfPackage`, `numberOfPeriod`, `startDate`, `endDate`) VALUES (9, 0, 1, 1, \'2016-07-25\', \'2016-08-24\')','login/save_new','0.074576139450073','2016-07-25 12:47:07'),(135,0,0,'192.168.1.199','insert','INSERT INTO `user_module_access` (`companyID`, `userID`, `moduleID`, `transaction`, `reports`, `setup`, `accessRight`) VALUES (7, 9, 0, 1, 1, 1, 1)','login/save_new','0.032998085021973','2016-07-25 12:47:07'),(136,7,9,'192.168.1.201','update','UPDATE `company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'11\', `incorporateDate` = \'2015-01-01\' WHERE `ID` =  \'7\'','setup/updateCompany','0.093713045120239','2016-07-25 12:58:04'),(137,7,9,'192.168.1.201','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'11\', `incorporateDate` = \'2015-01-01\' WHERE `ID` =  \'7\'','setup/updateCompany','0.070355892181396','2016-07-25 12:58:04'),(138,7,9,'192.168.1.201','update','UPDATE `company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'11\', `incorporateDate` = \'2015-01-01\' WHERE `ID` =  \'7\'','setup/updateCompany','0.001255989074707','2016-07-25 15:04:53'),(139,7,9,'192.168.1.201','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'11\', `incorporateDate` = \'2015-01-01\' WHERE `ID` =  \'7\'','setup/updateCompany','0.039941072463989','2016-07-25 15:04:53'),(140,7,9,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 7, acctName, id from comp_chart_of_acct where companyid = 7 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 7)','bank/index','0.016097068786621','2016-07-25 15:17:25'),(141,7,9,'192.168.1.201','update','UPDATE `company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'11\', `incorporateDate` = \'2015-01-01\' WHERE `ID` =  \'7\'','setup/updateCompany','0.10579085350037','2016-07-25 16:12:24'),(142,7,9,'192.168.1.201','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'11\', `incorporateDate` = \'2015-01-01\' WHERE `ID` =  \'7\'','setup/updateCompany','0.038240909576416','2016-07-25 16:12:24'),(143,7,9,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 7, acctName, id from comp_chart_of_acct where companyid = 7 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 7)','bank/index','0.025836944580078','2016-07-25 16:12:25'),(144,7,9,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 7, acctName, id from comp_chart_of_acct where companyid = 7 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 7)','bank/index','0.00092291831970215','2016-07-25 16:12:36'),(145,7,9,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 7, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 7)','setup/assetSetup','0.050343036651611','2016-07-25 16:12:45'),(146,7,9,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 7, acctName, id from comp_chart_of_acct where companyid = 7 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 7)','bank/index','0.17876291275024','2016-07-25 16:13:01'),(147,7,9,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'MAYBANK\', `currentBalance` = \'0.00\', `createdTS` = \'2016-07-25 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'146\'','bank/saveBank','0.10270190238953','2016-07-25 16:13:20'),(148,7,9,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'MAYBANK\', `openingBalanceCr` = 0, `openingBalanceDr` = 0, `createdTS` = \'2016-07-25 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33001\'','bank/saveBank','0.024600028991699','2016-07-25 16:13:20'),(149,7,9,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 7, acctName, id from comp_chart_of_acct where companyid = 7 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 7)','bank/index','0.016875028610229','2016-07-25 16:13:21'),(150,2,4,'192.168.1.199','update','UPDATE `company` SET `businessIndustryID` = \'\', `businessTypeID` = \'\', `incorporateDate` = \'1970-01-01\' WHERE `ID` =  \'2\'','setup/updateCompany','0.10415482521057','2016-07-25 19:08:13'),(151,2,4,'192.168.1.199','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'\', `businessTypeID` = \'\', `incorporateDate` = \'1970-01-01\' WHERE `ID` =  \'2\'','setup/updateCompany','0.074712038040161','2016-07-25 19:08:13'),(152,2,4,'192.168.1.199','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'3\', `incorporateDate` = \'2016-02-19\' WHERE `ID` =  \'2\'','setup/updateCompany','0.022111892700195','2016-07-25 19:11:21'),(153,2,4,'192.168.1.199','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'3\', `incorporateDate` = \'2016-02-19\' WHERE `ID` =  \'2\'','setup/updateCompany','0.010454893112183','2016-07-25 19:11:21'),(154,2,4,'192.168.1.199','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 2, acctName, id from comp_chart_of_acct where companyid = 2 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 2)','bank/index','0.065337896347046','2016-07-25 19:11:43'),(155,2,4,'192.168.1.199','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 2, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 2)','setup/assetSetup','0.032093048095703','2016-07-25 19:12:31'),(156,2,4,'192.168.1.199','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'5\', `incorporateDate` = \'1970-01-01\' WHERE `ID` =  \'2\'','setup/updateCompany','0.020116090774536','2016-07-25 19:12:40'),(157,2,4,'192.168.1.199','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'5\', `incorporateDate` = \'1970-01-01\' WHERE `ID` =  \'2\'','setup/updateCompany','0.038554906845093','2016-07-25 19:12:40'),(158,2,4,'192.168.1.199','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 2, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 2)','setup/assetSetup','0.0014698505401611','2016-07-25 19:12:41'),(159,2,4,'192.168.1.199','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 2, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 2)','setup/assetSetup','0.035849809646606','2016-07-25 19:18:39'),(160,2,4,'192.168.1.199','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'3\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'2\'','setup/updateCompany','0.022285938262939','2016-07-25 19:19:26'),(161,2,4,'192.168.1.199','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'3\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'2\'','setup/updateCompany','0.099693059921265','2016-07-25 19:19:26'),(162,2,4,'192.168.1.199','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'3\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'2\'','setup/updateCompany','0.00043106079101562','2016-07-25 19:19:56'),(163,2,4,'192.168.1.199','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'3\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'2\'','setup/updateCompany','0.00034689903259277','2016-07-25 19:19:56'),(164,2,4,'192.168.1.199','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'5\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'2\'','setup/updateCompany','0.021353960037231','2016-07-25 19:21:55'),(165,2,4,'192.168.1.199','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'5\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'2\'','setup/updateCompany','0.016402959823608','2016-07-25 19:21:55'),(166,7,9,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'7\', \'9\', 1, 1, \'68\', \'50\', \'OP-C\', \'2016-07-26\', \'146\', \'1\')','expenses/saveExpense','0.058172941207886','2016-07-26 09:07:46'),(167,7,9,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (4, \'9\', \'today\', 1, \'33013\', \'50\', \'50\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.01233696937561','2016-07-26 09:07:47'),(168,7,9,'192.168.1.201','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'7\', \'3\', \'16\', \'07\', \'AP\', 1)','expenses/saveExpense','0.014975070953369','2016-07-26 09:07:47'),(169,7,9,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP160700000001\' WHERE `ID` =  4','expenses/saveExpense','0.012460947036743','2016-07-26 09:07:47'),(170,7,9,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'7\', \'AP160700000001\', \'Cost of Goods Sold [OP-C[00000001]]\', \'Cost of Goods Sold [OP-C[00000001]]\', \'\', \'3\', \'2016-07-26\', \'16\', \'07\', 50, 50, \'9\')','expenses/saveExpense','0.028822898864746','2016-07-26 09:07:47'),(171,7,9,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'7\', \'AP160700000001\', 1, \'today\', \'33001\', 50, 1, \'1\', \'50\', \'07\', \'16\', \'1\', \'OP-C[00000001]\', \'9\')','expenses/saveExpense','0.041568040847778','2016-07-26 09:07:47'),(172,7,9,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'7\', \'AP160700000001\', 2, \'today\', \'33013\', 50, 1, \'1\', \'50\', \'07\', \'16\', \'1\', \'OP-C[00000001]\', \'9\')','expenses/saveExpense','0.019845962524414','2016-07-26 09:07:47'),(173,7,9,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 50, `total_amount_cr` = 50, `total_amount` = 0 WHERE `companyID` =  \'7\' AND `journalID` =  \'AP160700000001\'','expenses/saveExpense','0.02475380897522','2016-07-26 09:07:47'),(174,7,9,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  4','expenses/saveExpense','0.024775981903076','2016-07-26 09:07:47'),(175,7,9,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  15','expenses/saveExpense','0.024816036224365','2016-07-26 09:07:47'),(176,7,9,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'7\' AND `journalID` =  \'AP160700000001\'','expenses/saveExpense','0.020750999450684','2016-07-26 09:07:47'),(177,7,9,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'9\' WHERE `a`.`companyID` =  \'7\' AND `a`.`acctID` =  \'33001\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','expenses/saveExpense','0.034610986709595','2016-07-26 09:07:47'),(178,7,9,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'7\', \'8\', \'33013\', \'2016\', \'7\', \'50\', \'0\', 50, \'9\', \'2016-07-26: 03:07:46\')','expenses/saveExpense','0.014281034469604','2016-07-26 09:07:47'),(179,7,9,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'7\', \'9\', 1, 1, \'68\', \'20\', \'OP-C\', \'2016-07-26\', \'146\', \'1\')','expenses/saveExpense','0.083920001983643','2016-07-26 09:09:29'),(180,7,9,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (5, \'9\', \'todai\', 1, \'33013\', \'20\', \'20\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.037476062774658','2016-07-26 09:09:29'),(181,7,9,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'289\'','expenses/saveExpense','0.017802000045776','2016-07-26 09:09:29'),(182,7,9,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000002\' WHERE `ID` =  5','expenses/saveExpense','0.024726152420044','2016-07-26 09:09:29'),(183,7,9,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'7\', \'AP20160700000002\', \'Cost of Goods Sold [OP-C[00000002]]\', \'Cost of Goods Sold [OP-C[00000002]]\', \'\', \'3\', \'2016-07-26\', \'16\', \'07\', 20, 20, \'9\')','expenses/saveExpense','0.0079209804534912','2016-07-26 09:09:29'),(184,7,9,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'7\', \'AP20160700000002\', 1, \'todai\', \'33001\', 20, 1, \'1\', \'20\', \'07\', \'16\', \'1\', \'OP-C[00000002]\', \'9\')','expenses/saveExpense','0.020572900772095','2016-07-26 09:09:29'),(185,7,9,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'7\', \'AP20160700000002\', 2, \'todai\', \'33013\', 20, 1, \'1\', \'20\', \'07\', \'16\', \'1\', \'OP-C[00000002]\', \'9\')','expenses/saveExpense','0.024502992630005','2016-07-26 09:09:29'),(186,7,9,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 20, `total_amount_cr` = 20, `total_amount` = 0 WHERE `companyID` =  \'7\' AND `journalID` =  \'AP20160700000002\'','expenses/saveExpense','0.14967203140259','2016-07-26 09:09:29'),(187,7,9,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  5','expenses/saveExpense','0.024825096130371','2016-07-26 09:09:29'),(188,7,9,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  16','expenses/saveExpense','0.024749994277954','2016-07-26 09:09:29'),(189,7,9,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'7\' AND `journalID` =  \'AP20160700000002\'','expenses/saveExpense','0.012082099914551','2016-07-26 09:09:29'),(190,7,9,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'9\' WHERE `a`.`companyID` =  \'7\' AND `a`.`acctID` =  \'33001\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','expenses/saveExpense','0.010338068008423','2016-07-26 09:09:29'),(191,7,9,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'9\' WHERE `a`.`companyID` =  \'7\' AND `a`.`acctID` =  \'33013\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','expenses/saveExpense','0.011070966720581','2016-07-26 09:09:29'),(192,7,9,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'5\'','expenses/removePayment','0.084616899490356','2016-07-26 09:10:00'),(193,2,4,'192.168.1.199','update','UPDATE `web` SET `namaSyarikat` = \'kedai-e.net\', `mukaDepan` = \'\' WHERE `userID` =  \'akmaluddin@salihin.com.my\'','web/save','0.025408029556274','2016-07-26 09:10:05'),(194,2,4,'192.168.1.199','update','UPDATE `web` SET `namaSyarikat` = \'kedai-e.net\', `mukaDepan` = \'\' WHERE `userID` =  \'akmaluddin@salihin.com.my\'','web/save','0.10729002952576','2016-07-26 09:16:05'),(195,2,4,'192.168.1.199','update','UPDATE `web` SET `namaSyarikat` = \'kedai-e.net\', `mukaDepan` = \'\' WHERE `userID` =  \'akmaluddin@salihin.com.my\'','web/save','0.046886920928955','2016-07-26 09:17:32'),(196,7,9,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'BIL\', \'7\', \'9\', 1, 1, \'68\', \'25.9\', \'OP-E\', \'2016-07-26\', \'146\', \'1\')','expenses/saveExpense','0.074958086013794','2016-07-26 09:32:01'),(197,7,9,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (6, \'9\', \'TNB\', 1, \'33019\', \'25.9\', \'25.9\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.012601852416992','2016-07-26 09:32:01'),(198,7,9,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'289\'','expenses/saveExpense','0.025885105133057','2016-07-26 09:32:01'),(199,7,9,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000003\' WHERE `ID` =  6','expenses/saveExpense','0.012549877166748','2016-07-26 09:32:01'),(200,7,9,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'7\', \'AP20160700000003\', \'Operating Expenses [OP-E[00000003]]\', \'Operating Expenses [OP-E[00000003]]\', \'\', \'3\', \'2016-07-26\', \'16\', \'07\', 25.9, 25.9, \'9\')','expenses/saveExpense','0.02065110206604','2016-07-26 09:32:01'),(201,7,9,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'7\', \'AP20160700000003\', 1, \'TNB\', \'33001\', 25.9, 1, \'1\', \'25.9\', \'07\', \'16\', \'1\', \'OP-E[00000003]\', \'9\')','expenses/saveExpense','0.061480045318604','2016-07-26 09:32:01'),(202,7,9,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'7\', \'AP20160700000003\', 2, \'TNB\', \'33019\', 25.9, 1, \'1\', \'25.9\', \'07\', \'16\', \'1\', \'OP-E[00000003]\', \'9\')','expenses/saveExpense','0.016475915908813','2016-07-26 09:32:01'),(203,7,9,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 25.9, `total_amount_cr` = 25.9, `total_amount` = 0 WHERE `companyID` =  \'7\' AND `journalID` =  \'AP20160700000003\'','expenses/saveExpense','0.016057968139648','2016-07-26 09:32:01'),(204,7,9,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  6','expenses/saveExpense','0.012866020202637','2016-07-26 09:32:01'),(205,7,9,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  17','expenses/saveExpense','0.011751890182495','2016-07-26 09:32:01'),(206,7,9,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'7\' AND `journalID` =  \'AP20160700000003\'','expenses/saveExpense','0.012760877609253','2016-07-26 09:32:01'),(207,7,9,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'9\' WHERE `a`.`companyID` =  \'7\' AND `a`.`acctID` =  \'33001\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','expenses/saveExpense','0.01625394821167','2016-07-26 09:32:01'),(208,7,9,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'7\', \'10\', \'33019\', \'2016\', \'7\', \'25.9\', \'0\', 25.9, \'9\', \'2016-07-26: 03:07:01\')','expenses/saveExpense','0.016921043395996','2016-07-26 09:32:01'),(209,7,9,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'bil\', \'7\', \'9\', 1, 1, \'68\', \'21.2\', \'OP-E\', \'2016-07-29\', \'146\', \'1\')','expenses/saveExpense','0.096575021743774','2016-07-26 09:33:08'),(210,7,9,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (7, \'9\', \'AIR\', 1, \'33019\', \'21.2\', \'21.2\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.016088008880615','2016-07-26 09:33:08'),(211,7,9,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  \'289\'','expenses/saveExpense','0.023757219314575','2016-07-26 09:33:08'),(212,7,9,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000004\' WHERE `ID` =  7','expenses/saveExpense','0.020047903060913','2016-07-26 09:33:08'),(213,7,9,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'7\', \'AP20160700000004\', \'Operating Expenses [OP-E[00000004]]\', \'Operating Expenses [OP-E[00000004]]\', \'\', \'3\', \'2016-07-29\', \'16\', \'07\', 21.2, 21.2, \'9\')','expenses/saveExpense','0.037834167480469','2016-07-26 09:33:08'),(214,7,9,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'7\', \'AP20160700000004\', 1, \'AIR\', \'33001\', 21.2, 1, \'1\', \'21.2\', \'07\', \'16\', \'1\', \'OP-E[00000004]\', \'9\')','expenses/saveExpense','0.049188137054443','2016-07-26 09:33:08'),(215,7,9,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'7\', \'AP20160700000004\', 2, \'AIR\', \'33019\', 21.2, 1, \'1\', \'21.2\', \'07\', \'16\', \'1\', \'OP-E[00000004]\', \'9\')','expenses/saveExpense','0.020889043807983','2016-07-26 09:33:08'),(216,7,9,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 21.2, `total_amount_cr` = 21.2, `total_amount` = 0 WHERE `companyID` =  \'7\' AND `journalID` =  \'AP20160700000004\'','expenses/saveExpense','0.024654150009155','2016-07-26 09:33:08'),(217,7,9,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  7','expenses/saveExpense','0.016505002975464','2016-07-26 09:33:08'),(218,7,9,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  18','expenses/saveExpense','0.011754989624023','2016-07-26 09:33:08'),(219,7,9,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'7\' AND `journalID` =  \'AP20160700000004\'','expenses/saveExpense','0.016646146774292','2016-07-26 09:33:08'),(220,7,9,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'9\' WHERE `a`.`companyID` =  \'7\' AND `a`.`acctID` =  \'33001\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','expenses/saveExpense','0.022686004638672','2016-07-26 09:33:09'),(221,7,9,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'9\' WHERE `a`.`companyID` =  \'7\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','expenses/saveExpense','0.043985843658447','2016-07-26 09:33:09'),(222,7,9,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'7\'','expenses/removePayment','0.11201810836792','2016-07-26 09:34:36'),(223,7,9,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'loan\', \'7\', \'9\', 1, 1, \'68\', \'953\', \'OP-A\', \'2016-07-26\', \'146\', \'1\')','expenses/saveExpense','0.042307138442993','2016-07-26 09:36:08'),(224,7,9,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (8, \'9\', \'HONDA CIVIC\', 1, \'32993\', \'953\', \'953\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.015530824661255','2016-07-26 09:36:08'),(225,7,9,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  \'289\'','expenses/saveExpense','0.022327899932861','2016-07-26 09:36:08'),(226,7,9,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000005\' WHERE `ID` =  8','expenses/saveExpense','0.019812822341919','2016-07-26 09:36:08'),(227,7,9,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'7\', \'AP20160700000005\', \'Purchase of Fixed Asset [OP-A[00000005]]\', \'Purchase of Fixed Asset [OP-A[00000005]]\', \'\', \'3\', \'2016-07-26\', \'16\', \'07\', 953, 953, \'9\')','expenses/saveExpense','0.0089499950408936','2016-07-26 09:36:08'),(228,7,9,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'7\', \'AP20160700000005\', 1, \'HONDA CIVIC\', \'33001\', 953, 1, \'1\', \'953\', \'07\', \'16\', \'1\', \'OP-A[00000005]\', \'9\')','expenses/saveExpense','0.027930974960327','2016-07-26 09:36:08'),(229,7,9,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'7\', \'AP20160700000005\', 2, \'HONDA CIVIC\', \'32993\', 953, 1, \'1\', \'953\', \'07\', \'16\', \'1\', \'OP-A[00000005]\', \'9\')','expenses/saveExpense','0.012760162353516','2016-07-26 09:36:08'),(230,7,9,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 953, `total_amount_cr` = 953, `total_amount` = 0 WHERE `companyID` =  \'7\' AND `journalID` =  \'AP20160700000005\'','expenses/saveExpense','0.024724960327148','2016-07-26 09:36:08'),(231,7,9,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  8','expenses/saveExpense','0.028239965438843','2016-07-26 09:36:08'),(232,7,9,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  19','expenses/saveExpense','0.01298999786377','2016-07-26 09:36:08'),(233,7,9,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'7\' AND `journalID` =  \'AP20160700000005\'','expenses/saveExpense','0.033009052276611','2016-07-26 09:36:08'),(234,7,9,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'9\' WHERE `a`.`companyID` =  \'7\' AND `a`.`acctID` =  \'33001\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','expenses/saveExpense','0.039643049240112','2016-07-26 09:36:08'),(235,7,9,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'7\', \'2\', \'32993\', \'2016\', \'7\', \'953\', \'0\', 953, \'9\', \'2016-07-26: 03:07:08\')','expenses/saveExpense','0.014708995819092','2016-07-26 09:36:08'),(236,7,9,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'KERETA\', \'7\', \'9\', 1, 1, \'68\', \'795\', \'OP-A\', \'2016-07-27\', \'146\', \'1\')','expenses/saveExpense','0.058123826980591','2016-07-26 09:37:14'),(237,7,9,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (9, \'9\', \'TOYOTA ESTIMA\', 1, \'32993\', \'795\', \'795\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.024726152420044','2016-07-26 09:37:14'),(238,7,9,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  \'289\'','expenses/saveExpense','0.033095121383667','2016-07-26 09:37:14'),(239,7,9,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000006\' WHERE `ID` =  9','expenses/saveExpense','0.011638879776001','2016-07-26 09:37:14'),(240,7,9,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'7\', \'AP20160700000006\', \'Purchase of Fixed Asset [OP-A[00000006]]\', \'Purchase of Fixed Asset [OP-A[00000006]]\', \'\', \'3\', \'2016-07-27\', \'16\', \'07\', 795, 795, \'9\')','expenses/saveExpense','0.037142038345337','2016-07-26 09:37:14'),(241,7,9,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'7\', \'AP20160700000006\', 1, \'TOYOTA ESTIMA\', \'33001\', 795, 1, \'1\', \'795\', \'07\', \'16\', \'1\', \'OP-A[00000006]\', \'9\')','expenses/saveExpense','0.041471004486084','2016-07-26 09:37:14'),(242,7,9,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'7\', \'AP20160700000006\', 2, \'TOYOTA ESTIMA\', \'32993\', 795, 1, \'1\', \'795\', \'07\', \'16\', \'1\', \'OP-A[00000006]\', \'9\')','expenses/saveExpense','0.012639045715332','2016-07-26 09:37:14'),(243,7,9,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 795, `total_amount_cr` = 795, `total_amount` = 0 WHERE `companyID` =  \'7\' AND `journalID` =  \'AP20160700000006\'','expenses/saveExpense','0.019634962081909','2016-07-26 09:37:14'),(244,7,9,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  9','expenses/saveExpense','0.016472101211548','2016-07-26 09:37:14'),(245,7,9,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  20','expenses/saveExpense','0.016455888748169','2016-07-26 09:37:14'),(246,7,9,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'7\' AND `journalID` =  \'AP20160700000006\'','expenses/saveExpense','0.016357183456421','2016-07-26 09:37:14'),(247,7,9,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'9\' WHERE `a`.`companyID` =  \'7\' AND `a`.`acctID` =  \'33001\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','expenses/saveExpense','0.0096280574798584','2016-07-26 09:37:14'),(248,7,9,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'9\' WHERE `a`.`companyID` =  \'7\' AND `a`.`acctID` =  \'32993\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','expenses/saveExpense','0.018625020980835','2016-07-26 09:37:14'),(249,0,0,'192.168.1.201','insert','INSERT INTO `tbl_usermaster` (`username`, `email`, `userid`, `password`, `phone_mobile`, `last_seen_ip`) VALUES (\'MOHD NORHIJRAH BIN RAHMAT\', \'hijrahrahmat@gmail.com\', \'hijrahrahmat@gmail.com\', \'827ccb0eea8a706c4c34a16891f84e7b\', \'0129020146\', \'192.168.1.201\')','login/save_new','0.095943927764893','2016-07-29 10:36:00'),(250,0,0,'192.168.1.201','insert','INSERT INTO `company` (`companyName`, `businessIndustryID`) VALUES (\'Syarikat Kemajuan\', \'13\')','login/save_new','0.016371011734009','2016-07-29 10:36:00'),(251,0,0,'192.168.1.201','insert','INSERT INTO `user_expiry` (`userID`, `username`, `typeOfPackage`, `numberOfPeriod`, `startDate`, `endDate`) VALUES (10, 0, 1, 1, \'2016-07-29\', \'2016-08-28\')','login/save_new','0.01633095741272','2016-07-29 10:36:00'),(252,0,0,'192.168.1.201','insert','INSERT INTO `user_module_access` (`companyID`, `userID`, `moduleID`, `transaction`, `reports`, `setup`, `accessRight`) VALUES (8, 10, 0, 1, 1, 1, 1)','login/save_new','0.016388893127441','2016-07-29 10:36:00'),(253,8,10,'192.168.1.199','update','UPDATE `company` SET `companyName` = \'Syarikat Kemajuan\', `line1` = \'\', `line2` = \'\', `line3` = \'\', `city` = \'\', `companyPostCode` = \'\', `companyStateID` = \'0\', `countryID` = \'0\', `parlimenID` = \'\', `phoneNo` = \'\', `email` = \'\', `incorporateDate` = \'1970-01-01\', `businessTypeID` = \'2\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = \'hijrahrahmat@gmail.com\' WHERE `ID` =  \'8\'','setup/companySetup','0.029758930206299','2016-07-29 11:12:27'),(254,8,10,'192.168.1.199','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Syarikat Kemajuan\', `line1` = \'\', `line2` = \'\', `line3` = \'\', `city` = \'\', `companyPostCode` = \'\', `companyStateID` = \'0\', `countryID` = \'0\', `parlimenID` = \'\', `phoneNo` = \'\', `email` = \'\', `incorporateDate` = \'1970-01-01\', `businessTypeID` = \'2\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = \'hijrahrahmat@gmail.com\' WHERE `ID` =  \'8\'','setup/companySetup','0.035935878753662','2016-07-29 11:12:27'),(255,8,10,'192.168.1.199','update','UPDATE `company` SET `companyName` = \'Syarikat Kemajuan\', `line1` = \'\', `line2` = \'\', `line3` = \'\', `city` = \'\', `companyPostCode` = \'\', `companyStateID` = \'0\', `countryID` = \'0\', `parlimenID` = \'\', `phoneNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-05-11\', `businessTypeID` = \'2\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = \'hijrahrahmat@gmail.com\' WHERE `ID` =  \'8\'','setup/companySetup','0.094911098480225','2016-07-29 11:12:46'),(256,8,10,'192.168.1.199','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Syarikat Kemajuan\', `line1` = \'\', `line2` = \'\', `line3` = \'\', `city` = \'\', `companyPostCode` = \'\', `companyStateID` = \'0\', `countryID` = \'0\', `parlimenID` = \'\', `phoneNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-05-11\', `businessTypeID` = \'2\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = \'hijrahrahmat@gmail.com\' WHERE `ID` =  \'8\'','setup/companySetup','0.00038409233093262','2016-07-29 11:12:46'),(257,8,10,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 8, acctName, id from comp_chart_of_acct where companyid = 8 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 8)','bank/index','0.00097012519836426','2016-07-29 15:05:24'),(258,8,10,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 8, acctName, id from comp_chart_of_acct where companyid = 8 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 8)','bank/index','0.0009920597076416','2016-07-29 15:05:31'),(259,8,10,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 8, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 8)','setup/assetSetup','0.034160137176514','2016-07-29 15:05:35'),(260,8,10,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 8, acctName, id from comp_chart_of_acct where companyid = 8 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 8)','bank/index','0.025876998901367','2016-07-29 15:05:41'),(261,8,10,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 8, acctName, id from comp_chart_of_acct where companyid = 8 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 8)','bank/index','0.0015490055084229','2016-07-29 15:05:46'),(262,8,10,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 8, acctName, id from comp_chart_of_acct where companyid = 8 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 8)','bank/index','0.0013799667358398','2016-07-29 15:05:53'),(263,8,10,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 8, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 8)','setup/assetSetup','0.0013818740844727','2016-07-29 15:05:59'),(264,8,10,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 8, acctName, id from comp_chart_of_acct where companyid = 8 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 8)','bank/index','0.0013768672943115','2016-07-29 15:06:01'),(265,8,10,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'MAYBANK\', `currentBalance` = \'0.00\', `createdTS` = \'2016-07-29 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'153\'','bank/saveBank','0.26917290687561','2016-07-29 15:06:15'),(266,8,10,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'MAYBANK\', `openingBalanceCr` = 0, `openingBalanceDr` = 0, `createdTS` = \'2016-07-29 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33064\'','bank/saveBank','0.024559020996094','2016-07-29 15:06:15'),(267,8,10,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 8, acctName, id from comp_chart_of_acct where companyid = 8 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 8)','bank/index','0.0014159679412842','2016-07-29 15:06:17'),(268,8,10,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-07-29\', \'153\', \'10000\', \'TT\', \'154\', \'8\', 3)','transfer/newTransfer','0.11989903450012','2016-07-29 15:07:09'),(269,8,10,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (10, \'33065\', \'10000\', \'Transfer\')','transfer/newTransfer','0.017868041992188','2016-07-29 15:07:09'),(270,8,10,'192.168.1.201','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'8\', \'3\', \'2016\', \'07\', \'AP\', 1)','transfer/newTransfer','0.017699003219604','2016-07-29 15:07:09'),(271,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000001\' WHERE `ID` =  10','transfer/newTransfer','0.016144990921021','2016-07-29 15:07:09'),(272,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'8\', \'AP20160700000001\', \' [TT[00000001]]]\', \'Bank Transfer [  [TT[00000001]]] ]\', \'\', \'3\', \'2016-07-29\', \'2016\', \'07\', 10000, 10000, \'10\')','transfer/newTransfer','0.021178960800171','2016-07-29 15:07:09'),(273,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'8\', \'AP20160700000001\', 1, \'Transfer\', \'33064\', 10000, 1, \'1\', \'10000\', \'07\', \'2016\', \'0\', \'TT[00000001]\', \'10\')','transfer/newTransfer','0.017452001571655','2016-07-29 15:07:09'),(274,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'8\', \'AP20160700000001\', 2, \'Transfer\', \'33065\', 10000, 1, \'1\', \'10000\', \'07\', \'2016\', \'0\', \'TT[00000001]\', \'10\')','transfer/newTransfer','0.016229152679443','2016-07-29 15:07:09'),(275,8,10,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 10000, `total_amount_cr` = 10000, `total_amount` = 0 WHERE `companyID` =  \'8\' AND `journalID` =  \'AP20160700000001\'','transfer/newTransfer','0.01637601852417','2016-07-29 15:07:09'),(276,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  10','transfer/newTransfer','0.02475118637085','2016-07-29 15:07:09'),(277,8,10,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  21','transfer/newTransfer','0.016413927078247','2016-07-29 15:07:09'),(278,8,10,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'8\' AND `journalID` =  \'AP20160700000001\'','transfer/newTransfer','0.01633620262146','2016-07-29 15:07:09'),(279,8,10,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'8\', \'3\', \'33064\', \'2016\', \'7\', \'0\', \'10000\', -10000, \'10\', \'2016-07-29: 09:07:08\')','transfer/newTransfer','0.047180891036987','2016-07-29 15:07:09'),(280,8,10,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'8\', \'3\', \'33065\', \'2016\', \'7\', \'10000\', \'0\', 10000, \'10\', \'2016-07-29: 09:07:08\')','transfer/newTransfer','0.031731128692627','2016-07-29 15:07:09'),(281,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-07-29\', `bankID` = \'154\', `payTo` = \'153\', `amountPaid` = \'10000.00\', `companyID` = \'8\', `updateAble` = 1 WHERE `ID` =  \'10\'','transfer/saveTransfer','0.33775806427002','2016-07-29 15:07:31'),(282,8,10,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33064\', `amountExcludedTax` = \'10000.00\', `itemdescription` = \'Transfer\' WHERE `ID` =  \'10\'','transfer/saveTransfer','0.018126010894775','2016-07-29 15:07:31'),(283,8,10,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'290\'','transfer/saveTransfer','0.043309926986694','2016-07-29 15:07:31'),(284,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000002\' WHERE `ID` =  \'10\'','transfer/saveTransfer','0.032968044281006','2016-07-29 15:07:31'),(285,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'8\', \'AP20160700000002\', \' [TT[00000001]]]\', \'Bank Transfer [  [TT[00000001]]] ]\', \'\', \'3\', \'2016-07-29\', \'2016\', \'07\', 10000, 10000, \'10\')','transfer/saveTransfer','0.028898954391479','2016-07-29 15:07:31'),(286,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'8\', \'AP20160700000002\', 1, \'Transfer\', \'33065\', 10000, 1, \'1\', \'10000\', \'07\', \'2016\', \'0\', \'TT[00000001]\', \'10\')','transfer/saveTransfer','0.032908916473389','2016-07-29 15:07:31'),(287,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'8\', \'AP20160700000002\', 2, \'Transfer\', \'33064\', 10000, 1, \'1\', \'10000\', \'07\', \'2016\', \'0\', \'TT[00000001]\', \'10\')','transfer/saveTransfer','0.03282618522644','2016-07-29 15:07:31'),(288,8,10,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 10000, `total_amount_cr` = 10000, `total_amount` = 0 WHERE `companyID` =  \'8\' AND `journalID` =  \'AP20160700000002\'','transfer/saveTransfer','0.033055067062378','2016-07-29 15:07:32'),(289,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'10\'','transfer/saveTransfer','0.03316593170166','2016-07-29 15:07:32'),(290,8,10,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  22','transfer/saveTransfer','0.033099889755249','2016-07-29 15:07:32'),(291,8,10,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'8\' AND `journalID` =  \'AP20160700000002\'','transfer/saveTransfer','0.033056974411011','2016-07-29 15:07:32'),(292,8,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'10\' WHERE `a`.`companyID` =  \'8\' AND `a`.`acctID` =  \'33065\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','transfer/saveTransfer','0.031009912490845','2016-07-29 15:07:32'),(293,8,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'10\' WHERE `a`.`companyID` =  \'8\' AND `a`.`acctID` =  \'33064\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','transfer/saveTransfer','0.015308856964111','2016-07-29 15:07:32'),(294,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-07-29\', `bankID` = \'153\', `payTo` = \'154\', `amountPaid` = \'10000.00\', `companyID` = \'8\', `updateAble` = 1 WHERE `ID` =  \'10\'','transfer/saveTransfer','0.021815061569214','2016-07-29 15:08:02'),(295,8,10,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33065\', `amountExcludedTax` = \'10000.00\', `itemdescription` = \'Transfer\' WHERE `ID` =  \'10\'','transfer/saveTransfer','0.016390085220337','2016-07-29 15:08:02'),(296,8,10,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'290\'','transfer/saveTransfer','0.052620887756348','2016-07-29 15:08:02'),(297,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000003\' WHERE `ID` =  \'10\'','transfer/saveTransfer','0.0329749584198','2016-07-29 15:08:02'),(298,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'8\', \'AP20160700000003\', \' [TT[00000001]]]\', \'Bank Transfer [  [TT[00000001]]] ]\', \'\', \'3\', \'2016-07-29\', \'2016\', \'07\', 10000, 10000, \'10\')','transfer/saveTransfer','0.037239074707031','2016-07-29 15:08:02'),(299,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'8\', \'AP20160700000003\', 1, \'Transfer\', \'33064\', 10000, 1, \'1\', \'10000\', \'07\', \'2016\', \'0\', \'TT[00000001]\', \'10\')','transfer/saveTransfer','0.032846927642822','2016-07-29 15:08:02'),(300,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'8\', \'AP20160700000003\', 2, \'Transfer\', \'33065\', 10000, 1, \'1\', \'10000\', \'07\', \'2016\', \'0\', \'TT[00000001]\', \'10\')','transfer/saveTransfer','0.04951000213623','2016-07-29 15:08:02'),(301,8,10,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 10000, `total_amount_cr` = 10000, `total_amount` = 0 WHERE `companyID` =  \'8\' AND `journalID` =  \'AP20160700000003\'','transfer/saveTransfer','0.049652099609375','2016-07-29 15:08:02'),(302,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'10\'','transfer/saveTransfer','0.033171892166138','2016-07-29 15:08:02'),(303,8,10,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  23','transfer/saveTransfer','0.04982590675354','2016-07-29 15:08:02'),(304,8,10,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'8\' AND `journalID` =  \'AP20160700000003\'','transfer/saveTransfer','0.016319036483765','2016-07-29 15:08:02'),(305,8,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'10\' WHERE `a`.`companyID` =  \'8\' AND `a`.`acctID` =  \'33064\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','transfer/saveTransfer','0.012605905532837','2016-07-29 15:08:02'),(306,8,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'10\' WHERE `a`.`companyID` =  \'8\' AND `a`.`acctID` =  \'33065\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','transfer/saveTransfer','0.017225027084351','2016-07-29 15:08:02'),(307,8,10,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-07-29\', \'153\', \'10000\', \'TT\', \'154\', \'8\', 3)','transfer/newTransfer','0.17756700515747','2016-07-29 15:12:12'),(308,8,10,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (11, \'33065\', \'10000\', \'Transfer\')','transfer/newTransfer','0.018585920333862','2016-07-29 15:12:13'),(309,8,10,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  \'290\'','transfer/newTransfer','0.017522811889648','2016-07-29 15:12:13'),(310,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000004\' WHERE `ID` =  11','transfer/newTransfer','0.088560104370117','2016-07-29 15:12:13'),(311,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'8\', \'AP20160700000004\', \' [TT[00000001]]]\', \'Bank Transfer [  [TT[00000001]]] ]\', \'\', \'3\', \'2016-07-29\', \'2016\', \'07\', 10000, 10000, \'10\')','transfer/newTransfer','0.031917095184326','2016-07-29 15:12:13'),(312,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'8\', \'AP20160700000004\', 1, \'Transfer\', \'33064\', 10000, 1, \'1\', \'10000\', \'07\', \'2016\', \'0\', \'TT[00000001]\', \'10\')','transfer/newTransfer','0.026349067687988','2016-07-29 15:12:13'),(313,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'8\', \'AP20160700000004\', 2, \'Transfer\', \'33065\', 10000, 1, \'1\', \'10000\', \'07\', \'2016\', \'0\', \'TT[00000001]\', \'10\')','transfer/newTransfer','0.016217947006226','2016-07-29 15:12:13'),(314,8,10,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 10000, `total_amount_cr` = 10000, `total_amount` = 0 WHERE `companyID` =  \'8\' AND `journalID` =  \'AP20160700000004\'','transfer/newTransfer','0.033050060272217','2016-07-29 15:12:13'),(315,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  11','transfer/newTransfer','0.016417980194092','2016-07-29 15:12:13'),(316,8,10,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  24','transfer/newTransfer','0.033159971237183','2016-07-29 15:12:13'),(317,8,10,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'8\' AND `journalID` =  \'AP20160700000004\'','transfer/newTransfer','0.049718141555786','2016-07-29 15:12:13'),(318,8,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'10\' WHERE `a`.`companyID` =  \'8\' AND `a`.`acctID` =  \'33064\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','transfer/newTransfer','0.031816005706787','2016-07-29 15:12:13'),(319,8,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'10\' WHERE `a`.`companyID` =  \'8\' AND `a`.`acctID` =  \'33065\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','transfer/newTransfer','0.032018184661865','2016-07-29 15:12:13'),(320,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-07-29\', `bankID` = \'153\', `payTo` = \'154\', `amountPaid` = \'10000.00\', `companyID` = \'8\', `updateAble` = 1 WHERE `ID` =  \'11\'','transfer/saveTransfer','0.1027410030365','2016-07-29 15:12:23'),(321,8,10,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33065\', `amountExcludedTax` = \'10000.00\', `itemdescription` = \'Transfer\' WHERE `ID` =  \'11\'','transfer/saveTransfer','0.00034093856811523','2016-07-29 15:12:23'),(322,8,10,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  \'290\'','transfer/saveTransfer','0.019920110702515','2016-07-29 15:12:23'),(323,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000005\' WHERE `ID` =  \'11\'','transfer/saveTransfer','0.026875019073486','2016-07-29 15:12:23'),(324,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'8\', \'AP20160700000005\', \' [TT[00000001]]]\', \'Bank Transfer [  [TT[00000001]]] ]\', \'\', \'3\', \'2016-07-29\', \'2016\', \'07\', 10000, 10000, \'10\')','transfer/saveTransfer','0.029207944869995','2016-07-29 15:12:23'),(325,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'8\', \'AP20160700000005\', 1, \'Transfer\', \'33064\', 10000, 1, \'1\', \'10000\', \'07\', \'2016\', \'0\', \'TT[00000001]\', \'10\')','transfer/saveTransfer','0.032869100570679','2016-07-29 15:12:23'),(326,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'8\', \'AP20160700000005\', 2, \'Transfer\', \'33065\', 10000, 1, \'1\', \'10000\', \'07\', \'2016\', \'0\', \'TT[00000001]\', \'10\')','transfer/saveTransfer','0.066188812255859','2016-07-29 15:12:23'),(327,8,10,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 10000, `total_amount_cr` = 10000, `total_amount` = 0 WHERE `companyID` =  \'8\' AND `journalID` =  \'AP20160700000005\'','transfer/saveTransfer','0.032998085021973','2016-07-29 15:12:23'),(328,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'11\'','transfer/saveTransfer','0.033128976821899','2016-07-29 15:12:23'),(329,8,10,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  25','transfer/saveTransfer','0.0331711769104','2016-07-29 15:12:23'),(330,8,10,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'8\' AND `journalID` =  \'AP20160700000005\'','transfer/saveTransfer','0.049700021743774','2016-07-29 15:12:23'),(331,8,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'10\' WHERE `a`.`companyID` =  \'8\' AND `a`.`acctID` =  \'33064\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','transfer/saveTransfer','0.031080007553101','2016-07-29 15:12:23'),(332,8,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'10\' WHERE `a`.`companyID` =  \'8\' AND `a`.`acctID` =  \'33065\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','transfer/saveTransfer','0.032037019729614','2016-07-29 15:12:23'),(333,8,10,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-07-29\', \'153\', \'10000\', \'TT\', \'154\', \'8\', 3)','transfer/newTransfer','0.075279951095581','2016-07-29 15:14:09'),(334,8,10,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (12, \'33065\', \'10000\', \'Transfer\')','transfer/newTransfer','0.016481876373291','2016-07-29 15:14:09'),(335,8,10,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  \'290\'','transfer/newTransfer','0.028259992599487','2016-07-29 15:14:09'),(336,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000006\' WHERE `ID` =  12','transfer/newTransfer','0.016449213027954','2016-07-29 15:14:09'),(337,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'8\', \'AP20160700000006\', \' [TT[00000001]]]\', \'Bank Transfer [  [TT[00000001]]] ]\', \'\', \'3\', \'2016-07-29\', \'2016\', \'07\', 10000, 10000, \'10\')','transfer/newTransfer','0.010319948196411','2016-07-29 15:14:09'),(338,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'8\', \'AP20160700000006\', 1, \'Transfer\', \'33064\', 10000, 1, \'1\', \'10000\', \'07\', \'2016\', \'0\', \'TT[00000001]\', \'10\')','transfer/newTransfer','0.018495082855225','2016-07-29 15:14:09'),(339,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'8\', \'AP20160700000006\', 2, \'Transfer\', \'33065\', 10000, 1, \'1\', \'10000\', \'07\', \'2016\', \'0\', \'TT[00000001]\', \'10\')','transfer/newTransfer','0.016124963760376','2016-07-29 15:14:09'),(340,8,10,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 10000, `total_amount_cr` = 10000, `total_amount` = 0 WHERE `companyID` =  \'8\' AND `journalID` =  \'AP20160700000006\'','transfer/newTransfer','0.016388893127441','2016-07-29 15:14:09'),(341,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  12','transfer/newTransfer','0.016475915908813','2016-07-29 15:14:09'),(342,8,10,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  26','transfer/newTransfer','0.033224105834961','2016-07-29 15:14:09'),(343,8,10,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'8\' AND `journalID` =  \'AP20160700000006\'','transfer/newTransfer','0.032925128936768','2016-07-29 15:14:09'),(344,8,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'10\' WHERE `a`.`companyID` =  \'8\' AND `a`.`acctID` =  \'33064\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','transfer/newTransfer','0.034807205200195','2016-07-29 15:14:09'),(345,8,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'10\' WHERE `a`.`companyID` =  \'8\' AND `a`.`acctID` =  \'33065\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','transfer/newTransfer','0.032026052474976','2016-07-29 15:14:09'),(346,8,10,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-07-29\', \'153\', \'10000\', \'TT\', \'154\', \'8\', 3)','transfer/newTransfer','0.079945802688599','2016-07-29 15:14:32'),(347,8,10,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (13, \'33065\', \'10000\', \'Transfer\')','transfer/newTransfer','0.010572910308838','2016-07-29 15:14:32'),(348,8,10,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 7 WHERE `ID` =  \'290\'','transfer/newTransfer','0.013662099838257','2016-07-29 15:14:32'),(349,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000007\' WHERE `ID` =  13','transfer/newTransfer','0.018759965896606','2016-07-29 15:14:32'),(350,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'8\', \'AP20160700000007\', \' [TT[00000001]]]\', \'Bank Transfer [  [TT[00000001]]] ]\', \'\', \'3\', \'2016-07-29\', \'2016\', \'07\', 10000, 10000, \'10\')','transfer/newTransfer','0.010231018066406','2016-07-29 15:14:32'),(351,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'8\', \'AP20160700000007\', 1, \'Transfer\', \'33064\', 10000, 1, \'1\', \'10000\', \'07\', \'2016\', \'0\', \'TT[00000001]\', \'10\')','transfer/newTransfer','0.018534898757935','2016-07-29 15:14:32'),(352,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'8\', \'AP20160700000007\', 2, \'Transfer\', \'33065\', 10000, 1, \'1\', \'10000\', \'07\', \'2016\', \'0\', \'TT[00000001]\', \'10\')','transfer/newTransfer','0.016206026077271','2016-07-29 15:14:32'),(353,8,10,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 10000, `total_amount_cr` = 10000, `total_amount` = 0 WHERE `companyID` =  \'8\' AND `journalID` =  \'AP20160700000007\'','transfer/newTransfer','0.016393184661865','2016-07-29 15:14:32'),(354,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  13','transfer/newTransfer','0.016479969024658','2016-07-29 15:14:32'),(355,8,10,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  27','transfer/newTransfer','0.016461133956909','2016-07-29 15:14:32'),(356,8,10,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'8\' AND `journalID` =  \'AP20160700000007\'','transfer/newTransfer','0.016414880752563','2016-07-29 15:14:32'),(357,8,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'10\' WHERE `a`.`companyID` =  \'8\' AND `a`.`acctID` =  \'33064\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','transfer/newTransfer','0.011816024780273','2016-07-29 15:14:32'),(358,8,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'10\' WHERE `a`.`companyID` =  \'8\' AND `a`.`acctID` =  \'33065\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','transfer/newTransfer','0.015609979629517','2016-07-29 15:14:32'),(359,8,10,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-07-29\', \'154\', \'20000\', \'TT\', \'153\', \'8\', 3)','transfer/newTransfer','0.11602997779846','2016-07-29 15:14:52'),(360,8,10,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (14, \'33064\', \'20000\', \'pindahan\')','transfer/newTransfer','0.016409873962402','2016-07-29 15:14:52'),(361,8,10,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 8 WHERE `ID` =  \'290\'','transfer/newTransfer','0.027661800384521','2016-07-29 15:14:52'),(362,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000008\' WHERE `ID` =  14','transfer/newTransfer','0.019225835800171','2016-07-29 15:14:52'),(363,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'8\', \'AP20160700000008\', \' [TT[00000002]]]\', \'Bank Transfer [  [TT[00000002]]] ]\', \'\', \'3\', \'2016-07-29\', \'2016\', \'07\', 20000, 20000, \'10\')','transfer/newTransfer','0.020877122879028','2016-07-29 15:14:52'),(364,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'8\', \'AP20160700000008\', 1, \'pindahan\', \'33065\', 20000, 1, \'1\', \'20000\', \'07\', \'2016\', \'0\', \'TT[00000002]\', \'10\')','transfer/newTransfer','0.016189098358154','2016-07-29 15:14:52'),(365,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'8\', \'AP20160700000008\', 2, \'pindahan\', \'33064\', 20000, 1, \'1\', \'20000\', \'07\', \'2016\', \'0\', \'TT[00000002]\', \'10\')','transfer/newTransfer','0.0078790187835693','2016-07-29 15:14:52'),(366,8,10,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 20000, `total_amount_cr` = 20000, `total_amount` = 0 WHERE `companyID` =  \'8\' AND `journalID` =  \'AP20160700000008\'','transfer/newTransfer','0.016372919082642','2016-07-29 15:14:52'),(367,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  14','transfer/newTransfer','0.0081639289855957','2016-07-29 15:14:52'),(368,8,10,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  28','transfer/newTransfer','0.041485071182251','2016-07-29 15:14:52'),(369,8,10,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'8\' AND `journalID` =  \'AP20160700000008\'','transfer/newTransfer','0.021959066390991','2016-07-29 15:14:52'),(370,8,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'10\' WHERE `a`.`companyID` =  \'8\' AND `a`.`acctID` =  \'33065\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','transfer/newTransfer','0.031909942626953','2016-07-29 15:14:52'),(371,8,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'10\' WHERE `a`.`companyID` =  \'8\' AND `a`.`acctID` =  \'33064\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','transfer/newTransfer','0.023678064346313','2016-07-29 15:14:52'),(372,8,10,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'dede\', \'8\', \'10\', 1, 1, \'68\', \'10000\', \'OP-L\', \'2016-07-29\', \'153\', \'1\')','expenses/saveExpense','0.058274030685425','2016-07-29 15:21:43'),(373,8,10,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (15, \'10\', \'Loan\', 1, \'33070\', \'10000\', \'10000\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.019164085388184','2016-07-29 15:21:43'),(374,8,10,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 9 WHERE `ID` =  \'290\'','expenses/saveExpense','0.020406007766724','2016-07-29 15:21:43'),(375,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000009\' WHERE `ID` =  15','expenses/saveExpense','0.0081150531768799','2016-07-29 15:21:43'),(376,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'8\', \'AP20160700000009\', \'Loan Repayment [OP-L[00000003]]\', \'Loan Repayment [OP-L[00000003]]\', \'\', \'3\', \'2016-07-29\', \'16\', \'07\', 10000, 10000, \'10\')','expenses/saveExpense','0.018206119537354','2016-07-29 15:21:43'),(377,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'8\', \'AP20160700000009\', 1, \'Loan\', \'33064\', 10000, 1, \'1\', \'10000\', \'07\', \'16\', \'1\', \'OP-L[00000003]\', \'10\')','expenses/saveExpense','0.093875885009766','2016-07-29 15:21:43'),(378,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'8\', \'AP20160700000009\', 2, \'Loan\', \'33070\', 10000, 1, \'1\', \'10000\', \'07\', \'16\', \'1\', \'OP-L[00000003]\', \'10\')','expenses/saveExpense','0.01610279083252','2016-07-29 15:21:43'),(379,8,10,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 10000, `total_amount_cr` = 10000, `total_amount` = 0 WHERE `companyID` =  \'8\' AND `journalID` =  \'AP20160700000009\'','expenses/saveExpense','0.049693822860718','2016-07-29 15:21:43'),(380,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  15','expenses/saveExpense','0.021807193756104','2016-07-29 15:21:43'),(381,8,10,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  29','expenses/saveExpense','0.019426822662354','2016-07-29 15:21:43'),(382,8,10,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'8\' AND `journalID` =  \'AP20160700000009\'','expenses/saveExpense','0.02465295791626','2016-07-29 15:21:43'),(383,8,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'10\' WHERE `a`.`companyID` =  \'8\' AND `a`.`acctID` =  \'33064\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','expenses/saveExpense','0.020923137664795','2016-07-29 15:21:43'),(384,8,10,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'8\', \'4\', \'33070\', \'2016\', \'7\', \'10000\', \'0\', 10000, \'10\', \'2016-07-29: 09:07:43\')','expenses/saveExpense','0.017414093017578','2016-07-29 15:21:43'),(385,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = \'dede\', `companyID` = \'8\', `createdBy` = \'10\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'10000\', `formNo` = \'OP-L\', `paymentDate` = \'2016-07-29\', `bankId` = \'153\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'15\'','expenses/saveExpense','0.020921945571899','2016-07-29 15:22:23'),(386,8,10,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'15\', `createdBy` = \'10\', `itemdescription` = \'Loan\', `lineNo` = 1, `accountID` = \'33071\', `amountIncludedTax` = \'10000\', `amountExcludedTax` = \'10000\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'15\'','expenses/saveExpense','0.016180992126465','2016-07-29 15:22:23'),(387,8,10,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 10 WHERE `ID` =  \'290\'','expenses/saveExpense','0.023866891860962','2016-07-29 15:22:23'),(388,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000010\' WHERE `ID` =  \'15\'','expenses/saveExpense','0.016416072845459','2016-07-29 15:22:23'),(389,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'8\', \'AP20160700000010\', \'Loan Repayment [OP-L[00000003]]\', \'Loan Repayment [OP-L[00000003]]\', \'\', \'3\', \'2016-07-29\', \'16\', \'07\', 10000, 10000, \'10\')','expenses/saveExpense','0.01531720161438','2016-07-29 15:22:23'),(390,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'8\', \'AP20160700000010\', 1, \'Loan\', \'33064\', 10000, 1, \'1\', \'10000\', \'07\', \'16\', \'1\', \'OP-L[00000003]\', \'10\')','expenses/saveExpense','0.013047933578491','2016-07-29 15:22:23'),(391,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'8\', \'AP20160700000010\', 2, \'Loan\', \'33071\', 10000, 1, \'1\', \'10000\', \'07\', \'16\', \'1\', \'OP-L[00000003]\', \'10\')','expenses/saveExpense','0.011039972305298','2016-07-29 15:22:23'),(392,8,10,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 10000, `total_amount_cr` = 10000, `total_amount` = 0 WHERE `companyID` =  \'8\' AND `journalID` =  \'AP20160700000010\'','expenses/saveExpense','0.021891117095947','2016-07-29 15:22:23'),(393,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'15\'','expenses/saveExpense','0.019282817840576','2016-07-29 15:22:23'),(394,8,10,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  30','expenses/saveExpense','0.024816989898682','2016-07-29 15:22:23'),(395,8,10,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'8\' AND `journalID` =  \'AP20160700000010\'','expenses/saveExpense','0.016341924667358','2016-07-29 15:22:23'),(396,8,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'10\' WHERE `a`.`companyID` =  \'8\' AND `a`.`acctID` =  \'33064\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','expenses/saveExpense','0.020302057266235','2016-07-29 15:22:23'),(397,8,10,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'8\', \'4\', \'33071\', \'2016\', \'7\', \'10000\', \'0\', 10000, \'10\', \'2016-07-29: 09:07:23\')','expenses/saveExpense','0.015604019165039','2016-07-29 15:22:23'),(398,8,10,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'didi\', \'8\', \'10\', 1, 1, \'68\', \'20000\', \'OP-L\', \'2016-07-29\', \'153\', \'1\')','expenses/saveExpense','0.28572583198547','2016-07-29 15:23:32'),(399,8,10,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (16, \'10\', \'qdqd\', 1, \'33071\', \'20000\', \'20000\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.011017799377441','2016-07-29 15:23:32'),(400,8,10,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 11 WHERE `ID` =  \'290\'','expenses/saveExpense','0.016009092330933','2016-07-29 15:23:32'),(401,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000011\' WHERE `ID` =  16','expenses/saveExpense','0.01319408416748','2016-07-29 15:23:33'),(402,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'8\', \'AP20160700000011\', \'Loan Repayment [OP-L[00000004]]\', \'Loan Repayment [OP-L[00000004]]\', \'\', \'3\', \'2016-07-29\', \'16\', \'07\', 20000, 20000, \'10\')','expenses/saveExpense','0.0075030326843262','2016-07-29 15:23:33'),(403,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'8\', \'AP20160700000011\', 1, \'qdqd\', \'33064\', 20000, 1, \'1\', \'20000\', \'07\', \'16\', \'1\', \'OP-L[00000004]\', \'10\')','expenses/saveExpense','0.012917041778564','2016-07-29 15:23:33'),(404,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'8\', \'AP20160700000011\', 2, \'qdqd\', \'33071\', 20000, 1, \'1\', \'20000\', \'07\', \'16\', \'1\', \'OP-L[00000004]\', \'10\')','expenses/saveExpense','0.027828931808472','2016-07-29 15:23:33'),(405,8,10,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 20000, `total_amount_cr` = 20000, `total_amount` = 0 WHERE `companyID` =  \'8\' AND `journalID` =  \'AP20160700000011\'','expenses/saveExpense','0.024652004241943','2016-07-29 15:23:33'),(406,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  16','expenses/saveExpense','0.030182123184204','2016-07-29 15:23:33'),(407,8,10,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  31','expenses/saveExpense','0.027792930603027','2016-07-29 15:23:33'),(408,8,10,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'8\' AND `journalID` =  \'AP20160700000011\'','expenses/saveExpense','0.021353006362915','2016-07-29 15:23:33'),(409,8,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'10\' WHERE `a`.`companyID` =  \'8\' AND `a`.`acctID` =  \'33064\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','expenses/saveExpense','0.017673015594482','2016-07-29 15:23:33'),(410,8,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'10\' WHERE `a`.`companyID` =  \'8\' AND `a`.`acctID` =  \'33071\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','expenses/saveExpense','0.015360116958618','2016-07-29 15:23:33'),(411,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = \'didi\', `companyID` = \'8\', `createdBy` = \'10\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'20000\', `formNo` = \'OP-L\', `paymentDate` = \'2016-07-29\', `bankId` = \'153\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'16\'','expenses/saveExpense','0.010753154754639','2016-07-29 15:23:58'),(412,8,10,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'16\', `createdBy` = \'10\', `itemdescription` = \'lele\', `lineNo` = 1, `accountID` = \'33071\', `amountIncludedTax` = \'20000\', `amountExcludedTax` = \'20000\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'16\'','expenses/saveExpense','0.016201019287109','2016-07-29 15:23:58'),(413,8,10,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 12 WHERE `ID` =  \'290\'','expenses/saveExpense','0.015542984008789','2016-07-29 15:23:58'),(414,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000012\' WHERE `ID` =  \'16\'','expenses/saveExpense','0.019240856170654','2016-07-29 15:23:58'),(415,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'8\', \'AP20160700000012\', \'Loan Repayment [OP-L[00000004]]\', \'Loan Repayment [OP-L[00000004]]\', \'\', \'3\', \'2016-07-29\', \'16\', \'07\', 20000, 20000, \'10\')','expenses/saveExpense','0.015357971191406','2016-07-29 15:23:58'),(416,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'8\', \'AP20160700000012\', 1, \'lele\', \'33064\', 20000, 1, \'1\', \'20000\', \'07\', \'16\', \'1\', \'OP-L[00000004]\', \'10\')','expenses/saveExpense','0.021653890609741','2016-07-29 15:23:59'),(417,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'8\', \'AP20160700000012\', 2, \'lele\', \'33071\', 20000, 1, \'1\', \'20000\', \'07\', \'16\', \'1\', \'OP-L[00000004]\', \'10\')','expenses/saveExpense','0.019007921218872','2016-07-29 15:23:59'),(418,8,10,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 20000, `total_amount_cr` = 20000, `total_amount` = 0 WHERE `companyID` =  \'8\' AND `journalID` =  \'AP20160700000012\'','expenses/saveExpense','0.016350030899048','2016-07-29 15:23:59'),(419,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'16\'','expenses/saveExpense','0.038658857345581','2016-07-29 15:23:59'),(420,8,10,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  32','expenses/saveExpense','0.027853012084961','2016-07-29 15:23:59'),(421,8,10,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'8\' AND `journalID` =  \'AP20160700000012\'','expenses/saveExpense','0.01638388633728','2016-07-29 15:23:59'),(422,8,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'10\' WHERE `a`.`companyID` =  \'8\' AND `a`.`acctID` =  \'33064\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','expenses/saveExpense','0.024000883102417','2016-07-29 15:23:59'),(423,8,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'10\' WHERE `a`.`companyID` =  \'8\' AND `a`.`acctID` =  \'33071\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','expenses/saveExpense','0.020557165145874','2016-07-29 15:23:59'),(424,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = \'lele\', `companyID` = \'8\', `createdBy` = \'10\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'20000\', `formNo` = \'OP-L\', `paymentDate` = \'2016-07-29\', `bankId` = \'153\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'16\'','expenses/saveExpense','0.015232801437378','2016-07-29 15:24:13'),(425,8,10,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'16\', `createdBy` = \'10\', `itemdescription` = \'lele\', `lineNo` = 1, `accountID` = \'33071\', `amountIncludedTax` = \'20000\', `amountExcludedTax` = \'20000\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'16\'','expenses/saveExpense','0.00035381317138672','2016-07-29 15:24:13'),(426,8,10,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 13 WHERE `ID` =  \'290\'','expenses/saveExpense','0.01727294921875','2016-07-29 15:24:13'),(427,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000013\' WHERE `ID` =  \'16\'','expenses/saveExpense','0.010962009429932','2016-07-29 15:24:13'),(428,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'8\', \'AP20160700000013\', \'Loan Repayment [OP-L[00000004]]\', \'Loan Repayment [OP-L[00000004]]\', \'\', \'3\', \'2016-07-29\', \'16\', \'07\', 20000, 20000, \'10\')','expenses/saveExpense','0.012468814849854','2016-07-29 15:24:13'),(429,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'8\', \'AP20160700000013\', 1, \'lele\', \'33064\', 20000, 1, \'1\', \'20000\', \'07\', \'16\', \'1\', \'OP-L[00000004]\', \'10\')','expenses/saveExpense','0.0245361328125','2016-07-29 15:24:13'),(430,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'8\', \'AP20160700000013\', 2, \'lele\', \'33071\', 20000, 1, \'1\', \'20000\', \'07\', \'16\', \'1\', \'OP-L[00000004]\', \'10\')','expenses/saveExpense','0.024513006210327','2016-07-29 15:24:13'),(431,8,10,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 20000, `total_amount_cr` = 20000, `total_amount` = 0 WHERE `companyID` =  \'8\' AND `journalID` =  \'AP20160700000013\'','expenses/saveExpense','0.019221067428589','2016-07-29 15:24:13'),(432,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'16\'','expenses/saveExpense','0.03282904624939','2016-07-29 15:24:13'),(433,8,10,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  33','expenses/saveExpense','0.01673412322998','2016-07-29 15:24:13'),(434,8,10,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'8\' AND `journalID` =  \'AP20160700000013\'','expenses/saveExpense','0.041390180587769','2016-07-29 15:24:13'),(435,8,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'10\' WHERE `a`.`companyID` =  \'8\' AND `a`.`acctID` =  \'33064\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','expenses/saveExpense','0.022717952728271','2016-07-29 15:24:13'),(436,8,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'10\' WHERE `a`.`companyID` =  \'8\' AND `a`.`acctID` =  \'33071\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','expenses/saveExpense','0.023634910583496','2016-07-29 15:24:13'),(437,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'16\'','expenses/removePayment','0.02131199836731','2016-07-29 15:24:25'),(438,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'16\'','expenses/removePayment','0.00042390823364258','2016-07-29 15:24:36'),(439,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'16\'','expenses/removePayment','0.00043106079101562','2016-07-29 15:25:40'),(440,8,10,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-07-29\', \'33070\', \'100000\', \'LR\', \'153\', \'8\', 3)','loanReceive/save_new_loan','0.093580007553101','2016-07-29 15:28:36'),(441,8,10,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (17, \'33064\', \'100000\', \'pemindahan\')','loanReceive/save_new_loan','0.035479068756104','2016-07-29 15:28:36'),(442,8,10,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 14 WHERE `ID` =  \'290\'','loanReceive/save_new_loan','0.046715974807739','2016-07-29 15:28:36'),(443,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000014\' WHERE `ID` =  17','loanReceive/save_new_loan','0.020724058151245','2016-07-29 15:28:36'),(444,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'8\', \'AP20160700000014\', \' [LR[00000005]]]\', \'Loan Received [  [LR[00000005]]] ]\', \'\', \'3\', \'2016-07-29\', \'2016\', \'07\', 100000, 100000, \'10\')','loanReceive/save_new_loan','0.0096828937530518','2016-07-29 15:28:36'),(445,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'8\', \'AP20160700000014\', 1, \'pemindahan\', \'33070\', 100000, 1, \'1\', \'100000\', \'07\', \'2016\', \'0\', \'LR[00000005]\', \'10\')','loanReceive/save_new_loan','0.035297155380249','2016-07-29 15:28:36'),(446,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'8\', \'AP20160700000014\', 2, \'pemindahan\', \'33064\', 100000, 1, \'1\', \'100000\', \'07\', \'2016\', \'0\', \'LR[00000005]\', \'10\')','loanReceive/save_new_loan','0.024500131607056','2016-07-29 15:28:36'),(447,8,10,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100000, `total_amount_cr` = 100000, `total_amount` = 0 WHERE `companyID` =  \'8\' AND `journalID` =  \'AP20160700000014\'','loanReceive/save_new_loan','0.033354043960571','2016-07-29 15:28:36'),(448,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  17','loanReceive/save_new_loan','0.033143997192383','2016-07-29 15:28:36'),(449,8,10,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  34','loanReceive/save_new_loan','0.03308892250061','2016-07-29 15:28:36'),(450,8,10,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'8\' AND `journalID` =  \'AP20160700000014\'','loanReceive/save_new_loan','0.049399137496948','2016-07-29 15:28:36'),(451,8,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'10\' WHERE `a`.`companyID` =  \'8\' AND `a`.`acctID` =  \'33070\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','loanReceive/save_new_loan','0.06128716468811','2016-07-29 15:28:36'),(452,8,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'10\' WHERE `a`.`companyID` =  \'8\' AND `a`.`acctID` =  \'33064\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','loanReceive/save_new_loan','0.040300130844116','2016-07-29 15:28:36'),(453,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-07-29\', `bankID` = \'33071\', `payTo` = \'153\', `amountPaid` = \'100000.00\', `companyID` = \'8\', `updateAble` = 1 WHERE `ID` =  \'17\'','loanReceive/update_loan','0.016413927078247','2016-07-29 15:29:05'),(454,8,10,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33064\', `amountExcludedTax` = \'100000.00\', `itemdescription` = \'pemindahan\' WHERE `ID` =  \'17\'','loanReceive/update_loan','0.00031805038452148','2016-07-29 15:29:05'),(455,8,10,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 15 WHERE `ID` =  \'290\'','loanReceive/update_loan','0.051002979278564','2016-07-29 15:29:05'),(456,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000015\' WHERE `ID` =  \'17\'','loanReceive/update_loan','0.033061981201172','2016-07-29 15:29:05'),(457,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'8\', \'AP20160700000015\', \' [LR[00000005]]]\', \'Loan Received [  [LR[00000005]]] ]\', \'\', \'3\', \'2016-07-29\', \'2016\', \'07\', 100000, 100000, \'10\')','loanReceive/update_loan','0.054412126541138','2016-07-29 15:29:05'),(458,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'8\', \'AP20160700000015\', 1, \'pemindahan\', \'33071\', 100000, 1, \'1\', \'100000\', \'07\', \'2016\', \'0\', \'LR[00000005]\', \'10\')','loanReceive/update_loan','0.04921293258667','2016-07-29 15:29:05'),(459,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'8\', \'AP20160700000015\', 2, \'pemindahan\', \'33064\', 100000, 1, \'1\', \'100000\', \'07\', \'2016\', \'0\', \'LR[00000005]\', \'10\')','loanReceive/update_loan','0.032751083374023','2016-07-29 15:29:05'),(460,8,10,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100000, `total_amount_cr` = 100000, `total_amount` = 0 WHERE `companyID` =  \'8\' AND `journalID` =  \'AP20160700000015\'','loanReceive/update_loan','0.033011913299561','2016-07-29 15:29:05'),(461,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'17\'','loanReceive/update_loan','0.032320022583008','2016-07-29 15:29:05'),(462,8,10,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  35','loanReceive/update_loan','0.050374984741211','2016-07-29 15:29:05'),(463,8,10,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'8\' AND `journalID` =  \'AP20160700000015\'','loanReceive/update_loan','0.049605131149292','2016-07-29 15:29:05'),(464,8,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'10\' WHERE `a`.`companyID` =  \'8\' AND `a`.`acctID` =  \'33071\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','loanReceive/update_loan','0.030318021774292','2016-07-29 15:29:05'),(465,8,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'10\' WHERE `a`.`companyID` =  \'8\' AND `a`.`acctID` =  \'33064\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','loanReceive/update_loan','0.032001972198486','2016-07-29 15:29:05'),(466,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-07-29\', `bankID` = \'33070\', `payTo` = \'153\', `amountPaid` = \'100000.00\', `companyID` = \'8\', `updateAble` = 1 WHERE `ID` =  \'17\'','loanReceive/update_loan','0.24266195297241','2016-07-29 15:29:14'),(467,8,10,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33064\', `amountExcludedTax` = \'100000.00\', `itemdescription` = \'pemindahan\' WHERE `ID` =  \'17\'','loanReceive/update_loan','0.00038909912109375','2016-07-29 15:29:14'),(468,8,10,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 16 WHERE `ID` =  \'290\'','loanReceive/update_loan','0.04507303237915','2016-07-29 15:29:14'),(469,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000016\' WHERE `ID` =  \'17\'','loanReceive/update_loan','0.022382974624634','2016-07-29 15:29:14'),(470,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'8\', \'AP20160700000016\', \' [LR[00000005]]]\', \'Loan Received [  [LR[00000005]]] ]\', \'\', \'3\', \'2016-07-29\', \'2016\', \'07\', 100000, 100000, \'10\')','loanReceive/update_loan','0.011380910873413','2016-07-29 15:29:14'),(471,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'8\', \'AP20160700000016\', 1, \'pemindahan\', \'33070\', 100000, 1, \'1\', \'100000\', \'07\', \'2016\', \'0\', \'LR[00000005]\', \'10\')','loanReceive/update_loan','0.02448582649231','2016-07-29 15:29:14'),(472,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'8\', \'AP20160700000016\', 2, \'pemindahan\', \'33064\', 100000, 1, \'1\', \'100000\', \'07\', \'2016\', \'0\', \'LR[00000005]\', \'10\')','loanReceive/update_loan','0.016901016235352','2016-07-29 15:29:14'),(473,8,10,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100000, `total_amount_cr` = 100000, `total_amount` = 0 WHERE `companyID` =  \'8\' AND `journalID` =  \'AP20160700000016\'','loanReceive/update_loan','0.024986028671265','2016-07-29 15:29:14'),(474,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'17\'','loanReceive/update_loan','0.016193866729736','2016-07-29 15:29:14'),(475,8,10,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  36','loanReceive/update_loan','0.016762018203735','2016-07-29 15:29:14'),(476,8,10,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'8\' AND `journalID` =  \'AP20160700000016\'','loanReceive/update_loan','0.016084909439087','2016-07-29 15:29:14'),(477,8,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'10\' WHERE `a`.`companyID` =  \'8\' AND `a`.`acctID` =  \'33070\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','loanReceive/update_loan','0.014683961868286','2016-07-29 15:29:14'),(478,8,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'10\' WHERE `a`.`companyID` =  \'8\' AND `a`.`acctID` =  \'33064\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','loanReceive/update_loan','0.01510214805603','2016-07-29 15:29:14'),(479,8,10,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-07-29\', \'33070\', \'150000\', \'LR\', \'153\', \'8\', 3)','loanReceive/save_new_loan','0.084092140197754','2016-07-29 15:29:58'),(480,8,10,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (18, \'33064\', \'150000\', \'transferization\')','loanReceive/save_new_loan','0.18347907066345','2016-07-29 15:29:58'),(481,8,10,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 17 WHERE `ID` =  \'290\'','loanReceive/save_new_loan','0.025352954864502','2016-07-29 15:29:58'),(482,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000017\' WHERE `ID` =  18','loanReceive/save_new_loan','0.017107963562012','2016-07-29 15:29:58'),(483,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'8\', \'AP20160700000017\', \' [LR[00000006]]]\', \'Loan Received [  [LR[00000006]]] ]\', \'\', \'3\', \'2016-07-29\', \'2016\', \'07\', 150000, 150000, \'10\')','loanReceive/save_new_loan','0.037230014801025','2016-07-29 15:29:58'),(484,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'8\', \'AP20160700000017\', 1, \'transferization\', \'33070\', 150000, 1, \'1\', \'150000\', \'07\', \'2016\', \'0\', \'LR[00000006]\', \'10\')','loanReceive/save_new_loan','0.066400051116943','2016-07-29 15:29:58'),(485,8,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'8\', \'AP20160700000017\', 2, \'transferization\', \'33064\', 150000, 1, \'1\', \'150000\', \'07\', \'2016\', \'0\', \'LR[00000006]\', \'10\')','loanReceive/save_new_loan','0.032583951950073','2016-07-29 15:29:58'),(486,8,10,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 150000, `total_amount_cr` = 150000, `total_amount` = 0 WHERE `companyID` =  \'8\' AND `journalID` =  \'AP20160700000017\'','loanReceive/save_new_loan','0.016724824905396','2016-07-29 15:29:59'),(487,8,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  18','loanReceive/save_new_loan','0.016187191009521','2016-07-29 15:29:59'),(488,8,10,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  37','loanReceive/save_new_loan','0.016707181930542','2016-07-29 15:29:59'),(489,8,10,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'8\' AND `journalID` =  \'AP20160700000017\'','loanReceive/save_new_loan','0.016184091567993','2016-07-29 15:29:59'),(490,8,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'10\' WHERE `a`.`companyID` =  \'8\' AND `a`.`acctID` =  \'33070\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','loanReceive/save_new_loan','0.031832933425903','2016-07-29 15:29:59'),(491,8,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'10\' WHERE `a`.`companyID` =  \'8\' AND `a`.`acctID` =  \'33064\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','loanReceive/save_new_loan','0.032020092010498','2016-07-29 15:29:59'),(492,0,0,'192.168.1.201','insert','INSERT INTO `tbl_usermaster` (`username`, `email`, `userid`, `password`, `phone_mobile`, `last_seen_ip`) VALUES (\'hijeghah\', \'jeghah@gmail.com\', \'jeghah@gmail.com\', \'827ccb0eea8a706c4c34a16891f84e7b\', \'0129020146\', \'192.168.1.201\')','login/save_new','0.13452291488647','2016-08-01 15:53:00'),(493,0,0,'192.168.1.201','insert','INSERT INTO `company` (`companyName`, `businessIndustryID`) VALUES (\'Achimet Sdn. bhd.\', \'1\')','login/save_new','0.041378021240234','2016-08-01 15:53:00'),(494,0,0,'192.168.1.201','insert','INSERT INTO `user_expiry` (`userID`, `username`, `typeOfPackage`, `numberOfPeriod`, `startDate`, `endDate`) VALUES (11, 0, 1, 1, \'2016-08-01\', \'2016-08-31\')','login/save_new','0.041281938552856','2016-08-01 15:53:00'),(495,0,0,'192.168.1.201','insert','INSERT INTO `user_module_access` (`companyID`, `userID`, `moduleID`, `transaction`, `reports`, `setup`, `accessRight`) VALUES (9, 11, 0, 1, 1, 1, 1)','login/save_new','0.016394138336182','2016-08-01 15:53:00'),(496,9,11,'192.168.1.201','update','UPDATE `company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'11\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'9\'','setup/updateCompany','0.11979699134827','2016-08-01 15:53:59'),(497,9,11,'192.168.1.201','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'11\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'9\'','setup/updateCompany','0.027770042419434','2016-08-01 15:53:59'),(498,9,11,'192.168.1.201','update','UPDATE `company` SET `companyName` = \'Achimet Sdn. bhd.\', `line1` = \'\', `line2` = \'\', `line3` = \'\', `city` = \'\', `companyPostCode` = \'\', `companyStateID` = \'1933\', `countryID` = \'0\', `parlimenID` = \'124\', `phoneNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-01-01\', `businessTypeID` = \'11\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = \'jeghah@gmail.com\' WHERE `ID` =  \'9\'','setup/companySetup','0.031714916229248','2016-08-01 15:54:34'),(499,9,11,'192.168.1.201','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Achimet Sdn. bhd.\', `line1` = \'\', `line2` = \'\', `line3` = \'\', `city` = \'\', `companyPostCode` = \'\', `companyStateID` = \'1933\', `countryID` = \'0\', `parlimenID` = \'124\', `phoneNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-01-01\', `businessTypeID` = \'11\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = \'jeghah@gmail.com\' WHERE `ID` =  \'9\'','setup/companySetup','0.00037789344787598','2016-08-01 15:54:34'),(500,9,11,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 9, acctName, id from comp_chart_of_acct where companyid = 9 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 9)','bank/index','0.0011389255523682','2016-08-01 15:56:21'),(501,9,11,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 9, acctName, id from comp_chart_of_acct where companyid = 9 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 9)','bank/index','0.0010960102081299','2016-08-01 15:56:26'),(502,9,11,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 9, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 9)','setup/assetSetup','0.017611026763916','2016-08-01 15:56:40'),(503,9,11,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 9, acctName, id from comp_chart_of_acct where companyid = 9 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 9)','bank/index','0.29152584075928','2016-08-01 15:56:44'),(504,9,11,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 9, acctName, id from comp_chart_of_acct where companyid = 9 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 9)','bank/index','0.03826117515564','2016-08-01 15:57:49'),(505,9,11,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 9, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 9)','setup/assetSetup','0.0023150444030762','2016-08-01 15:57:57'),(506,9,11,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 9, acctName, id from comp_chart_of_acct where companyid = 9 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 9)','bank/index','0.0014889240264893','2016-08-01 15:58:01'),(507,0,0,'192.168.1.226','insert','INSERT INTO `tbl_usermaster` (`username`, `email`, `userid`, `password`, `phone_mobile`, `last_seen_ip`) VALUES (\'daus 7\', \'daus@gmail.com\', \'daus@gmail.com\', \'827ccb0eea8a706c4c34a16891f84e7b\', \'011-23908765\', \'192.168.1.226\')','login/save_new','0.13611102104187','2016-08-02 09:33:14'),(508,0,0,'192.168.1.226','insert','INSERT INTO `company` (`companyName`, `businessIndustryID`) VALUES (\'TE Sdn. Bhd.\', \'1\')','login/save_new','0.051949977874756','2016-08-02 09:33:14'),(509,0,0,'192.168.1.226','insert','INSERT INTO `user_expiry` (`userID`, `username`, `typeOfPackage`, `numberOfPeriod`, `startDate`, `endDate`) VALUES (12, 0, 1, 1, \'2016-08-02\', \'2016-09-01\')','login/save_new','0.04125714302063','2016-08-02 09:33:14'),(510,0,0,'192.168.1.226','insert','INSERT INTO `user_module_access` (`companyID`, `userID`, `moduleID`, `transaction`, `reports`, `setup`, `accessRight`) VALUES (10, 12, 0, 1, 1, 1, 1)','login/save_new','0.016407012939453','2016-08-02 09:33:14'),(511,10,12,'192.168.1.226','update','UPDATE `company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'11\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'10\'','setup/updateCompany','0.092957973480225','2016-08-02 09:35:42'),(512,10,12,'192.168.1.226','update','UPDATE `company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'11\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'10\'','setup/updateCompany','0.13150596618652','2016-08-02 09:35:42'),(513,10,12,'192.168.1.226','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'11\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'10\'','setup/updateCompany','0.043512105941772','2016-08-02 09:35:42'),(514,10,12,'192.168.1.226','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'11\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'10\'','setup/updateCompany','0.020365953445435','2016-08-02 09:35:42'),(515,10,12,'192.168.1.226','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 10, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 10)','setup/assetSetup','0.097973108291626','2016-08-02 09:36:11'),(516,10,12,'192.168.1.226','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 10, acctName, id from comp_chart_of_acct where companyid = 10 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 10)','bank/index','0.21540999412537','2016-08-02 09:36:15'),(517,2,4,'192.168.1.197','update','UPDATE `web` SET `namaSyarikat` = \'kedai-e.net jual tudung hoho\', `mukaDepan` = \'????\\0JFIF\\0\\0\\0\\0\\0\\0??\\0;CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), quality = 85\\n??\\0C\\0	\\Z!\\Z\\\"$\\\"$??\\0C??\\0?\\\"\\0??\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0	\\n??\\0?\\0\\0\\0}\\0!1AQa\\\"q2???#B??R??$3br?	\\n\\Z%&\\\'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz???????????????????????????????????????????????????????????????????????????\\0\\0\\0\\0\\0\\0\\0\\0	\\n??\\0?\\0\\0w\\0!1AQaq\\\"2?B????	#3R?br?\\n$4?%?\\Z&\\\'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz??????????????????????????????????????????????????????????????????????????\\0\\0\\0?\\0???/???W?1u??\\0?V??;m\\n?Uv?;???k?]??\\r:??\\\\n??ub?8#???????\\\'y?N@??6S?????????1r?>ec?:?L???5\\0???!??p??????\\0?TsC?*????F?????rN??J??=??G???0??h%?s!???!w?\\\\??;xl??\\0???\\\"?s?\\\\?\\\\???<S?qH)?(Q?D???+???($GV???c???:?X?d????\\\\?2y?7r1??z??c*ª?Z?S\\\\?Z???r ?D.??????N???s\\\\???B?S??o?I&I??x????q???3?m?l??\\0J???	??9?u????x?C???9??8??4IT?(\\\';???z??3?.?\\0??k?XZCd?iyR;??lbJ?\\0?J???)?V?#nI#??V????????2w%?;?#ORI??r???\\Z^¾?J??<s??5??xJ??Q??\\r?m?.?$?(??:??&??xGA?K?\\0H\\r-?N?#Q??c??m/?~?aW??t?9?U???8?s?@?:~U???I?!W ????????p?????6??b?G?^?I\\ZbYT\\r?????r\\r\\\",j??P~????h??\\\"?m??J\\rd?\\0??F)	?A?4????d_3\\0=)v??~??|?\\\'?õf?z?iR????=?*???08??WV???Prs\\ZLWV~Q???*?@?????D.? ]??]??H???$2?G&??a^]?+??T?A<??F???,G8?P??z??n?t??T??P?|??bqU?Tq?H??rjr?`????D?5+?????O?^A??y?{?????a]y?x9???]\\\\Zh??n???8S??6?q????cL?????????-:???^?*?R??????l yLsJ[ ?=??iF??o$?8?^q?j?\\\'?/ ??k?V?$?)?,K??\\0c=}+??F$?5??+X?4\\\'E?C??&J|??4?R9?^j???nW?`6??j?6cN;s^\\\\???#\\\'?*?[\\\'?C??#?#)(px????????r?W???Q(b/??\\0a??DR??\\Z?yc??Cr?B??? ny?~?????&??????Qk?,??\\r???#??H?????]??l????.s?+?m?U?o??)o^?\\\"i?u?[?:\\r?Fr??+?|)?/\\r?Ze????I?????]???????9?\\n???-???ik\\0u?\\\"PC,W?Mx?????-?[d? ?Y?rF?~?]>8???bq?*3??¾r??|Ua??\\rG{k??????? %f+?s???z\\\\?????m:?uYX?_?:?z?l?7F?????!d??}k?;#?M????5??-?t?[???A=??U?Jgx??>&?????<?x?F;U????	??;V.??G?;3?)%????[q?D2?b\\r?q???.????8?d??0???8??s?:KB=#P?Q??.>|?? pH???&?#??66???U??@p?B?\\\'8??V?bf??6\\\"[?H??sS.1Lc??&}???V?%?????3??N?R????;????????hh???8??0?#2?v?q??5??J=F?????.??M\\0?3?~Rz??t?a??V??f???[?P	?#?@?F??h<???\\Z????{?.?s=???I??!?\\\'?a?t??\\\'?49?DapTy?I??=?,f?(??C)?H??\\\'-?  ?-?1?;@$?NA?B??k?Q??!$??)E%????8?4???[DN\\\"??qN	64<?i?Z?+\\n~?1??\\\\??q??{\\Z??M?6]z\\r\\\"V[?<?e??,x^?\\0t??????P\\\\?e?dd9?*F?-*???#????,??i??1??9]???j?G^MF%??e?|?6??lg?????hG????jj????>?r??????Gj??|??????MRO?I#??D \\r?#_s^???OQLRcs?L?<g?u???|??????\\\'??????Q?&?????,e??i???????L????*???6??TF??~4????? ;W?6?e&?^?4?b????z?????`yl?????.??? ^??G5%????)\\\"???{?eHJ?#G\\Z?A?3q?J???@LL???O??;?2????!#=ig?B??\\Zvj1N?P?J?K?JH????Lv??Z?~h?74f????Za4????SM4??I??\\\\{1s?`})@8&??=8?B? ?j?o???\\n??\\n?x&??G??+\\\'*??U*rZ? ?f?[?nQ??y????j}???NuIiE?G#56??????P?5??-\\Zi??1L5?f?D?R?R84\\nl?W??P?lqcCs?q*&?=v{???i(?\\\\$??Jc/!*GS$wr??G?P?13????VM)?#\\\'5?85u?q????|9s???-?y??8??O????s?I\\r??t??X%?]?s?~???\\\\ K??Pq\\\"????-??´?o??\\Z???P K[,d???V^H8?+??????????>?e:?$???=\\n\\n????^???x?F?O??????Y?t?N;H?ym?c??X?o\\\\%???????)b?[?[?/?,R#?wVe?\\0??\\\\???|0-?0Gio;\\nF2NH\\0`w5?a?a0?oaBW??\\\\?n?O??y??n??8??K?\\r?r6%??|G	????)????X??#m???J?*??1?<U?????????`?Wns4?k???c??????????v?<??]W?\\\'?\\n??O$:,?Oh?;K?W?G???pko?R???L??Ce???\\\'?lW~\\\'?A?x?b?:HY????jt8q??g???h?????D??0>??EZ??T????61?hc\\n????I??!W8?*,??3?\\r)U?A4;?@?R??}?Qn??\\\\iz\\n?.????,? i?&??j.?&!?)???????w??(?-;????\\\"??|q?1?dd??&?Xx$(?S??1L??8?\\0O?I?????M?2RW\\0w???p??::sS???!?J?9?1Z????E??C?? ???????MFn???.?????J??cD?w????????+y?0=[?XcH?.:\\0?:%pw??Ih????w??T?;?W6?F3???2Mfx?.?f??#U@0?s???x?C3;?2;S?c??;??LV??-?(???4?R??O??A:???>c??}zV??Wk?2??\\nw???L?T?]??W?????2?4?)?*?b?f?u{?sT5??????Uedb??A 8??B??vB??-?+C??#?Mr?#??N?Q?B?k?|??9?\\Z?!?0???a]?Vë?????Y!(?;\\r?LU?\\n??????8????7?fa?S??q?Rwl???\\0~X?U=I?\\08?????X??j?b??guGB??if?(M?A?AZ?>mG\\ZD?#L?p?8??h?y??PmF?~O;??\\\'?*[{???`???H#????No}?y$K??bA??T?&???j???mn?u?K?c?`??????(rw???&??S??	??4??$x?n)??5 ?\\r0???4?A??&q???s???_????f??X??{#?H?0p?+?WM???S?\\\'L????yP?9?????\\0x????=?????q?I?U?n?????)????c3?P\\n?I?[b??[z?Yv?(b3X??r}??c?;J??RM?\\\\?r^>??????-??IfX???NN2r?????9$?Td?h_???3_???D}?	????z????\\0????\\r???????{W??7?|jE???Y?hR??W6?(?\\n??\\0gn???O?z??k??Y??h?`H????U\\0g?<W??`?S??????=?6?.#.?w?9??y????x?.l?`7,??9<???zF7??/?{Rn?am??y???q^NW?Ì?q??e????&????I?C?7px??u?<???@*@ct\\\'q???<Go-?-?o?H.@\\0`???j????)???9???A??b?V?U?<_?#?$?`x?1?????_1????SQ??z??c?i?|?????iO??x?OQ???B@.???4?g*?c??\\r:5]?s??????i??uh?J????0???O?\\\'^??<?Ku?j?e?/+??i\\n?g(?? ????m??DS?W?e?I,2??`????^%??{)?oY?o\\0?D?\\\"?z?~?\\Z?]N?\\06??#?a???0??I?x ?5\\\"???qR?7\\n1Q?m?$d?fS??,??\\\"???m\\Z??N?????Vcx??%N????.?cE?Z???????6Q?$wu?\\\\?;?X??}?????g(?`?G?l2????????Y??u?\\n?].?????_?d?????n??+?F?D????%dtvz?39RV?s\\0OC?Zy?s\\r???|??w????M??S\\Z???9???t??\\\'??>?V?RS?$g-??jL?Um:?D]?????<	O=?????=??????????q?f??z3??5?xs???X?o??[?h?&???*??PH?E{+6@????_4V?}?????@? ??_G??????7?4?6y4Z/?<ov?:????\\\"??????U?n%??G????4?{k8??f0??$g??M\\\'P??nEl??^???????W??F&r?T#r??N??]Z???d?\\ZJ-??\\nb*??I??\\0z3?G??f,~A???Wz?jv?\\\\?q??|?\\\'={?|???K???s??\\n??t??w%????\\0\\n??????`?V5(??\\\'???I?\\\"?9?\\0*?R\\Z?R??1H??$b?I???n?L?,??>??f?S``???H??hn???_?Z????O?e??X???a?`p?<?z?;??#r??q?N-	>L.Z6??9???zyn*xY\\\\??y??b?h??^H?egx?!??\\\\??3??W??8?????? ??c??D??	@????D2\\\\??G??nx?C3?#Z???m?z\\Z:???$?˜?aY???.6??\\0{??K?Y<!|?$?XD<???????xRMd\\\\?B??V^\\\\W?Wc??<T??J???f?<AA?ks?2`G?*elW?x?W?E?&?q\\Z???)8??J??s????N?{??4?4?W?????2?P?U???d??`?T.p?????r??B?aR,??2?0??r}?|_??j1?O-???\\\"&)z1=???]????Gs?H???!)?e??????m????w7?uy}??N?X?U???WC?ES?E?P??p\\n???)?7??\\Z??R???Q??N???R$??a\\Z?CZ?9???:zW]?|????k;\\n???6??yr???\\\"???\\\'?\\\"???X}?f??F?\\r	!?\\ZR@?M?\\0S?*óI?l?#?\\\"?2?V?bX???iN??\\0?48?s?v????\\0??_]!R?i4?pH?{Wv??T?5??gS???x?	?A?3??W?&6??B]s???\\0?y??^O?2_???3f/?eYW???]????wDde????a_$??g??i??7?VQ????kM????9cO??????,?o^??tI?\\\\??nq?????T??9sCb?a4??Hk??%?sKp??t?2?	?Hx????{5??<1*4mlK???_a]ynb*??S??k??\\0h?6M??}????(?Ic(#>??~??ij04?-?s??hb????&??x?[o]?N!7r?[???8?*?qYO+j=?b?zB???1DxB??piO5????y??C3HA<b???iB?v?9??Jhm?UN<????40d/??QJ?d?C???????bX??d?r?4????1HFh85ZG	 ??Jc;j+?y???s?????9?f?E!j???8\\\"|l$q?R2?rr?7?b?(?L???4*?a~lt\\\'?WM&????=???VU?&W??\\0k? ?8???%??\\0?`1U????_?`????WC??????w?+?5f?NsTc???W??OfS\\n?8??/?3D:1???>},?_3z??? W7?o??#??C?>Z)???·u&???u???????_???ec??e>8??9??{?&\\\\?2rkD???t????x??P`?.2X??t?k??V?k!?8<??????E??n3???\\\\?5Y?Mn?=???+??^?>??L???8??S??2?????JZ?iW}??p,??\\0??#?S?n??H?*???	??^D?MK???}?\\Zd???f???G???O_?????;X`???:K??dL.)\\r?B@?AN??\\0\\\\R\\ZZ1?hd*rqYZ??-????.1?+???p^0?M??\\ZT?dG?3?`?(t$?{\\Z?08????????T?:tz?/??&?\\\\????\\0?o????@?.??O?&D??>]?\\\'?????5??y5T?$#?`?00z??????N?c?Xuc???Mr??y?0pPj???????E?G??\\\\!?k?|?&?,?)?]CJ??x????!?!T??M#Hu?f?^?Q?[?:K+?v0?O_j??K??7?O??\\0?+>??W?????Y?^???!?Fq????????{??\\\"U?!9?\\0$???T?#n-??z??3y?I$?}k??\\rCL??{?Ld}??@?=?B?{?:???-$1?$??|??(??H$jM?|??j[??w??V5#<g??n??<W-?=s???\\Zf@na?~????S??+:*?uFqF???k?!????N??_?rr\\n(?~?5?L?y??`rx?h?\\n??????Iy??&?:?un?	b?H?F???W??Q?hee??2??$c#??<???y??[?fX??\\\\?Ef?>?q?B??	j???{N?e1???`?????[<5n?3??fi?\\rk{???\\0V7??0?OcV??\\0????? ???àM,???N?i????YzW?WS?Bf????y#?5?`?\\Z??Co4l?9p?c??r+q9\\\"<?????s^+?????y?Komw#??%f ?\\\\c#?^??p????p?*(x???N?./e???x??(? ?8??UwQ????r?G=??v???X?0r9\\\'\\\'????7?=KR?_?Yj:`R??(?0J??/F ??\\n?-?m?-m??=???)?J?\\0??:?????h??W???9??n?????Y???????g??I?? u?]G??+?M\\Zh5	.ZV?fz?m?W???kzH?]D??O????(?p??^~/Jqp?mqsrC?	?\\Zs??h??J?6????\\Z?,??^<???8???M0??????}???uMH0&????:?GQ?!???}??}???9?w\\\\?8?h/s:.????N%?~?q??8s??H?H?+??]??M?-F?.Ý?;P???i???IFOqDf5??R???DjxS??k?b~\\\"\\\"?\\\"???gq?[??$???<k???}p~??,P???BJ??MJF????p=??%%?X?Cmg?D[?H??(c???x??*?`?A?GU???h?u?\\n?d????7	?&$D?0:f???????2?k?:???????)YC`?O??\\0Z????????&?d???	/????J???FW???D??%?J?JB?ac?\\\\????H???{m??o?h?\\\'???P?,!?B}???]??$??????~??/?W6w?!I?(Y??3?d*?cp??{?j8g?U??lh?wfb??i?>???[??y??U????T??@?W???d!79&LR?H?W?*6FWB?R?Ms??\\n?\\0????d??Z]???\\\" 8?,???;?2X?O?L?Z]?G?A?$858\\Z`?D???1?_W??O???m?T`n?W??I??\\r??&?O+??\\r???!??)? ??j??O}[F??(VM?H0=G=??>?Z???VL?#hFra??;3??g9??{-?BT?;???h?Q?6N?(?6J?}?pH???!P????\\\"??N???`?`?\\\'??z???w\\r?f??\\\\!?\\Z??s?X???N???z`???pk??R\\\'??˜???W??????x?	#=A?Zvc???J??yT*O8??#%M?$y???mf?U?m3U??W???03?????|9?[?:??mZ+?.B?\\0j?Q?? ]??>???-?\\0?y\\\'????S???$?A\\\'??d?3ui?????I??+??z?q?R???Y!??umg_??e|??]4O=??:H???v?1?H??5?g\\r?,???&s??????T_\\r|9??l/c?5????Y_{?9??rOJ?%G?????Y??P???l?*???n<????p:??\\\\K????R??S?q??:?>????l?M??Z??v????*t~?.T??Q?a?5??#?bs??^?t?\\0A?^E?Y?u???Y-?<I?n ??\\\\~???{?.g??	k?s????z???yj??X{6??GP:W9?]i?x 1+b?d??.????@?1?\\n{\\Z??q?\\rWD? ?;iDL?@V+???\\n??i??Q???\\\'c?D???????t?eB?,??????O???ah??M?W?c9??\\\\W?|d??????-P?Z?w;oT?c??O??c?x?PM;G????hF???Y????_[?Jw???w:?????s??L?S?*y??sW%*P4xO!z?=?)e????\\r?y?l?RPq???o`?0??????S?Q?\\\'4??Gx?2\\r??0r:?c???~??%????<?$??B???3??g???F?Ê|?^?/??\\0O??V???vR???{???k???$??h?-??NF?s?:t5?Q?R#+1b	??M$o?Y?s\\n??)T?w???i??0??(?Wi2TG?A??P?O? A????v0\\\"?!?\\Z=??R???7?yK89?f???!?s??\\0.Tc\\\"???N ?5O??k?¸#\\\"?\\Z?s??z\\\"*???;?+&?Cv\\0isM?I~j??? ??[6j?h??U{c?}khE_P\\r?M?\\n;?sS??V??`???=??????iP? 8????e??????~????))??\\0MEkN??x?\\\\??~ap?\\Z?????CN??,tpI???9\\\\?#???m@?W?_\\\"?b=B??T???u????rC????c\\\\??cq??i?L????s????J?T?????R??????pI`?9??????U??????]j?O??~??[?C???s???bpI?\\r{??X??I?O???x??~5?4?V?L???r?0GF???????6?&?I$??\\\"?&?????18*9?#V??_[?\\0??????}?}WK???????5?!??$?cfe\\\\?g?q^=???[?P???,??\\rR?????? ??GJ???K?F???,??)_,??~p6F:??v?o?\\\'?4?\\r?P[Z?G?#?????K???~???\\Z9e?I???S?}?i?b???~yZw???9????Hu?.km?:??<??p??En??>?? ???????&???V?2??????_?-??Q?s??@\\0?x?WA?	_=???U??I??h????0\\0?c??zt5?R?dnr??#D>??z??Us?R???????P?q?0??z??$?M6B???f?OC?##?YU\\\",?=N*9??>0?\\0???\\\\E}$j?<|?t??n????i??2JcVA?c?u6\\\'?v??X??c?rd?x?????E(??5i??\\\"n???j???pA??S?????X\\rE(??H???W?R0%Q???`0?????a???N??xVg? ???E>h? \\\'?J?iZ???@??R???tR?$?Q?????_\\rO?CA??????f?{1sr??4p?g???4{??V?9v?\\0z?\\Z???mX?n???W}|M	???UT:7by???8????#8n???1S?^I=??4?4?$??9?%Ssz)!?\\\"????\\\"???/??[}n?^??&?t???\\r?F3?!?A?=+?$????(fl?f?y????????<????G?[?c?+v[?H??n?`8????\\\\^?^4?U??i???_??*?@z?\\0\\0Z???xj?A,?h|.??????I???:}??h_?h??zu&??gXH??,?\\0?3jR?]??94?wga????V.??x?9?%\\\'3(8??NX?B69 ??Dbp?_%^??W?\\\'????is???\\\\o???????[v??cT??? ??=)???=d?8?^??sj??E {S)?\\Zi?c0??jP)?S?\\nM?3?N\\rN?9Yv\\n????????>???ksG!????? ?Q?x?k(?a?A????*?????k?ZT?]9rsc???k??????h?k B?9??<zw?v???Q???$?	???uwR?.T0???????o??\\0<?t?\\\\UEno???e???6p?p[???P?9??\\\\HK?5?K7$?H?3???*u%\\\'?|`_???y????84%??6??=?k?>???N?y?F??B???s?J?C?W?A}o????5??\\\'???,\\0;?2q??n???U?Uy~??ws?uKE?R?XR??+1?????2G?w??>??%???e??2m??[????(nFp=???????%<???,???AI??J?????+nf4:g??W?Eg??*	?????(,??V??x???????N????)o7,?(\\\'g\\0v????32 ??\\0S??]?????<fe,T9f?????a?S;rv??????Zm??$r??T?6I????????x???\\0?[^???<.D???\\ZEcj??A????W?õ(?r?7k??u-h?W??Yb? ?S??M\\r??0e???^1??Z??g??xJ???8?i?oY??b\\Z>???Z\\Z???????~?(l?*?\\0sc?\\\"<t????!??V?????!?????/t??R?h!?8???|??G???W[?R??i??@,?????^}}??|-?/x?????[Z?? ???o,??#2?\\\\?????Q_E?	???1??[[?*?\\n???q??*??`.?w?i?$??v7??Q??	\\r????s?????\\0?M?>P?3?N6?j??n?????Y?L?l R?p?y??N??xjn??#?5?????;??9????8?3?????5	o.???,????8?0:U|A?x??w??[??R??`?HC?9?????Q7sK?zY?T?0?c>???!?????W?RN????Ri????7?\\\'5?L?&?	?=Z??(?Q??Pisibd8?N?D??b?\\r<c<?w??+?|?N??????-?(6>nz????2? g5,??ad??0?kOK&h?{J?????r?p?:{?F?F?-S?????K?t?h?g?D???z?[;????5?.?>d??E??c????b?\\r??C??????C??L`Z?????|??Oz??-u9/d?ke?_X0??v???P??L#??z?++[?-?#???p???\\n?g8????		??r?.\\\\H?b$?<\\n@?????s?l??d???X?6?(???lE.???????????Nki?O?A+?c?2?iQy]??H?[???Z?}\\Z{?=NF\\r*??@A?y??j??B??p@zV\\\\?^??3??k???=??^??c}\\n?1??}ic$??%?Q?A?0}GZ??J???\\\"??\\\"@?H?0\\0\\0?L??1???zW????f?NW\\Z?Rg?*.s^}??1??8?0?)??y?\\0>????Kj?#\\n?\\\'?V??z\\\"???2?????<.Y\\0=??xk?!&?U?????v?Ri?\\r<g???t<,???eb????!p8b~?ÿ5Z????? 1????Z`03?+\\Z?Qvh???????d?p????\\n{?f???n\\\"??>???Eª?{????*L???G?O?=X?J?\\\"?@9#??2?X??EH?-??}??`??s???????Q-???D?2??zd~???????p\\0S\\\\????4h??kq3}?Fa?moA?5?&??j??Zu??wm??^???L2pp?d???W???(s_?E4w?yYb?A?w?bq /?a????`?i??4???%Vg???`??s???? M??k?YI2??M{????&r?5??=iv??Z??Pi?!b?\\0??t??W???|I?????+?G1,?$j??	 nA??????8Z??f?t?Fo?gM??l????q??ZF??ˆ1????OJ?e?M?W?A??5????????A?5?\\\\t?9`?d???AR	?\\0\\Z???h?F?1ow???\\\"}??Rec?Fs?}i?U?\\\'?p???[V}?,??m??k??=???|^?&??{?ucr?C dc?\\0Rp3???8?O??\\0?Y??Z?C??M\\\"?+Y???\\n??@X???>??~??u??<Ho$?na?j???X??\\\\?$???t?yD2?n?%?K????c\\Z???????F???\\r]??}4SE,l?P=??w???zm??c???>?*OS?²<5we\\Z?????B?gV?-???9??\\\\5?????,???N??????+&??;?O??Q??:??vu?N?S??????\\n??d??ER?<K??op?z?	#h?dr:c?z??5-+K??Z??????uG??N????z??tk?l??o4]CT???-a?]?H nT?~B:w?l>S??E???{5??o$?? 3??]?c?\\0?WX??I?>f??3??5?_?vz?6???????????????~?_OH???)0? n?Z?1?o??T?9?\\rGM?S?^@n?;??g?[X???b3?????+T?!\\\" tv?#?9\\r??=?rGV\\Z!?M5??,?n?+h?\\\\??0??N;??t?+?[??5??l?9?#???Z??6(^?nv?????wY?Q??U????W??*??Z?S?Z??	&?u 9?=G??\\\"?L!????I???\\\'9?IB?Ti??)p????_\\0?????[????M:k?C??So#?.??w?4.|??y?zG*?b??????5??y+m?Q?VE?&?&?x?????_7w????8???w?z???J????[<???*??y?\\\'?c^?/x?s#z)3????9+?????V8?O????h??Q?u??BF?\\0???3w-???<bM?#q?#??Yb??Q?3Z\\n?+??i?N\\r??3\\0P+?1???M??C<??????C???U??,??????[??2B?????+W4??f???1???74???9?!#i?V??al6:g??I?*?\\\\3??R?N??\\Z1s????oM?yM?LT2??g??kL1?k?zu??+B???j?eB\\\\\\rçZ?0x?s?_B?C???????	\\Z?G?@\\\'#?????]g?d??3???>??j?R??D?Ce2l??????\\n=z?w#lx?\\0Wf9r????x??!?u?;?Ws???bz?t????2??v?!??O??u??W?h??x?Z???[?8?hLV?6?-?????]?mcA?????7c??9M:1?z?\\Z:???ª??OÇ\\0W	?x?y2?w???\\ny?0k???\\\\.H?:?FT??%?2?,X??ie?3???M???u???1p?5?????????\\0??r??kw<?e???#<60 ???x????d>S@v7%?A^;?2+???E?d???K???H????#a???	????a?^????\\0?8j;\\\\?\\n??R????AYS???Z???\\0?j	?[?e=F;Wk???h?????I?\\n:?T+?G?v?R?\\0f??F<??\\\'???~:?4?Iht*?^?[???\\0????T????{?Gc????J?8%t?˜)<?)???w\\Z??5??V???$i?!;???O?k?9\\\\??uZ3?73?\\\"?x4?JE|??#?2K?G9??>O?+?\\n??`Y[??P9????ZR?R??E??kd??q??@UNrqY?:?wC?+1?2rkD? 3?Z????t??A???)	P?)?a?&????(\\r?9??r??Wf?u??H??yM:0??p?Q?Qi????QF?T???\\\\??8?,?}V??L??h?c?g???\\0w?G????\\Z|?z??$?*??,??!?8\\n3?~U?8|???$uS????? ?Sky?wa??\\\\??-?	^p+\\\'???.?o??????9??Z??m??<l?j8v2??????>A??????i?fS?\\0???R?Um??W%??Vm:keY??$bA!]?tn????F\\n??K?=????p\\\\?F?U?;???Ep~??????{?b?2??+????jE??:?\\Zu???U.??????????|??%??t3H? ?jx??,???ZbH?\\n????)@(0	#?y3?B~?&????&?IJi??@??)??\\0f?R&1W??\\ZbF/sOs?Za??U;?D?!E\\\'??%?1???+?B?????[?;?? ?#?Q??????????A?Oyco,? ?.%E????z?\\Z??8???0??s??z?}L\\rX?CI$?c??/?>-Y????,lM?Y8??i????????)#^@?3?9\\r};??&-?CpI?9?S?}@??)?9d?r!?-???N}|8?UZ??/??	???????m?c _H??I!=1?a?J?R?????sLk~5??Ys>drHv?h?`O5?Yah?y531\\\"?,¤(??y?NS????q9W??5K?%??%????i?yc???Ai???6????V9??o??A??+??+;1\\\'9?:Iw? !??O??zt??j?/;??3?Hmm~???jFNH?<?51gu?l???3??L,V@{???*W?R_?eX?6X?V?O?a????????r??w.Y?`\\0??ahNv?\\\'???]x)?xU}\\Zbg?xs?_?,<;??e??sgir<q????b>q?G?[?L2???7^&fV?/-??????$R?Km?G?#?~??????y?[??7??}:V?1\\n?3?y??X?????????$?#?Zd?0>;)?T??????k????l??B}?\\0?;?l)?+\\\'??HE+R?4)?\\n??\\0?????v?B?e?*?g???\\\\?q??d?9?}+U?Q%????Hc?*?R??^??m?*? ?O?X?v?k:???l?P??s?0\\r?b??????6?=gyE)???Oj?S????\\nTNI4#G???X??2i?????;W???0???:?/?=i?I?$PA\\0???NNJ??????OPU?w??-?Q?$?vN???r?\\\\p?r??gD^??O???mn\\rBY?E?g??w.?$?X?Q^???l?{k[?$6?S?U@>?,6???m??????m-???J?0?B?9a7??x?^:&?\\r??????c??Y?l? [V{??ep?@8??\\0dQ?w??:?????\\\'??œ?U?#????#??|a%??A???9N@e?$???@??W???Q?\\Z????2????G?]??l?????q.20yN?m????yf??????u[???W\\\\\\\\!?YO??&:\\0\\\\?\\\'?5?d?F?bpA???5?8???????I?a[?M?)m?(?+??FJ:?#??%???-.?gt??cP8F=G=??d5??\\0,?</?K/Z?\\Z?O??L??3????C??????????e???:?%z????b?8?jk;f????pj??|_??iV?G????!i?HdUYz\\r?? ??Z????\\n?n5;?oH#\\r?;|???O`kye??W??????.4?z>???{6???H<M???5?6?y?PI?d?[?p+??%?&iZ??*????j?nB??aÒs????t??KE\\\'lq?|?????Z%?Z???q?<??????TUD\\\'ocM ?\\0W??iX.^??0S?Rn\\\'*{?J?G?~???q??e!??`?D?&D`??\\\'?i???m??He?5?Gr??6p	?Q??C?BR?<???????S\\Z???N[?\\\"F-?jA?rpMD)w?]IjM?$?m1_q?r?:??.u1??(J?@??h?,???J??c2d?\\0Mv?8O?F????x??S ?tc???\\\\?u?]RO ?z?]?Q??:???????xz?%w?*<?v?????u(<????w8#???>???_?K1r2E???0:8?+?=i???6s???&??g\\\'s??>?gF?d?t??X???e`20~???ZZ??fu????@Hff??0z????????y??1????\\r??h??%?\\n?2;ma??8??XZ?\\0? ?P?P????0??+?rs?#????24?&?a?c???x??z=?#_?<?-??M?-???C?WR????z???YZ8V?\\0\\Z|y????NI???n??K?J?%x^Pb???Jh??hV?2??>R????&?V??4M???I.??P1???G?H???????+C??X4???B=>??????\\n?????rd?Ye#?698????????b\\rH??I|?23?{}+???nFLj?	S?z???pR?S???????P???\\0??:}Jr?y????:???c!?? ????c???:?	?38FvUF\\0\\0????L5>h?eH???ÁU?\\\"S???T??0B?q?j?]??B??y?>]?2P???^n?p??*??+???GS??y?T??1???EH?w??\\\'L??w?8???6????p{??6A??Xx?9?<gv?~???DA??#??	?????? \\ZVW???WV6??O-????WU???&????e:<j???????B????6??m??!?%W$?\\\'\\\'??Rj\\\\sNZ??1x??Q\\Z1^H?Fv??%!p+??d:UG????v???i???\\ZR???I??Xv?3L?4U?SD??4?q@?z??M4?v????%????????n1?????0H?:{V??,??\\\"?I??:nD1?#??;\\Z?NE?t?5A^5???JA(??s?H?L?V}?????w\\0?H????7	R??1??s???mN???	\\n0s?i[?4-kF??^@??Ze?^?]????[?i?-~bw+ ??y???_|5???a?m?\\\"???6???????P??2Cz?F\\0|?\\0?{????K??{???????3lx?s???8c?????vk?s?U???????????i?\\n?W +)P?s?=???~? S?????????Q?f???kpI=??ZJ?H??x?cO?)?$g9\\\\r.r??9??^??%cfa?zV?9*+3_?Q?s&w??X????a`?Ox??(??#?%??h<??:v?;?_?????<o\\Z??$	??q?}???4?	,z?W-??#?b??????cX??4$?j???<=U:r????n|O?|/??-??\\ZTj ?h?FVp??Pq???Z?-?>?2[7-?k?M?????Z?mu{U?Y&8????{?/?O]]???\\0W?v?,~?\\0????i???:???]??T?5???&?t??~{?A+In???>fy?9????36??Z?j	n?)RI#v???#????xo?\\Zv?Y,?|??????z?F???q^nk??t??_?????????|l?\\0y+?U??6???????????2?%~?3????^m??_?E5??K??x4Ye@??`r????(?))R?????3??lc?????B??4?N?{?U?!?.?/?<?#g??GF?????Q?\\ZU?\\0?4???\\r?I?F?i??O8??+??u???M&y??\\\"#?????]??>N?jO???[]??\\0?+???H?=?T,K?9_????-2+???V??]?S??Vt?W?C????v?????Y?????Z????m??????S\\\\????z?7Vzg???F9 ???]b??f#??x???wd\\0?V???9???{{?DB\\\"\\0?K?U???3??.}k\\Z$?\\\"?????$t????M)?[?o??G\\\"??&5???(??)??????uM$????h%6??@F*0x??sW-??0?%?$????´???1?&?W?s??JXJ?V5?S?????O\\r?G?x?/.??X?F?	f?$?????m?B<W??:???DX\\Z\\\"\\\'ES??7???k??\\r6??1?J????q???J?mt??&b??A?1?W?,????*^????N??,Y?4?dnY\\\"POl?T??@?ZU>s?z?*y !?O=?|?Is+???~??\\\\???+!??|?L?0?\\Zr???`? 8???P?~>??#?????>2????4?????rF?889?{???^\\\'??1;??????k:??tRkvv??\\r?+\\\'??p>??]|ku |?,pHsS??:q???J?c??N\\r5v?J?%z?+3C?(Bz???+M?@??|???x??\\Z&0??`?V??R?dJ+?85??G??V#??j??,+8\\\',q??x?Z??L??F\\0?H???N\\\\?e??,???8???w??XM??,??u#?S??(#Q3???r8?????.V?}?g?0[??q?n?q\\\\0M??]??:m??n?@?I??zw<&Nx?^%????nl-#?]???0\\\'??+|<}???T?Y,??\\0$n?L????g???????p??-????iw?\\\\?q??r*??)=A?}?k]???????MoxY???T??a?_B??U4??????^?<???0?1H?=>?sb3`g????V????H?+x?s?bA??C4h?g?J?3:Q?W?.?wb;??4?0p???fA@?r9????????\\\\g?Jn3?{?>L?I?????z?\\\"9?I\\nj??(?n?SS?p???7#4???\\ns???A?^P:3I?v?{%`?oZ1NQCRÞ??T/\\\'????ljK????49I?CY??????l?k_???be0?P?OC?\\Z?}t?ãu????Y?\\\'?:???-?kt???&?q?p???O<??e?????\\0?????4aP??F??????]??\\n?oq???F????W+?[??u9?/???6\\\\&??_]^K?s.m??#*??=?z??O?}??zH?T??H`????{???V?SQ?\\ZL?\\0?z?Z??G?\\\\?%B?[?+@?1\\nz??T?[?I???????Oj????????p????\\0J~????L????IB?s?????i?T??m????/#q?????s??\\Z???\\0tv??2???<_???D?n???E???@?W?<????W?A?Tp|??n??R?`?????$??Bc?.??`}i\\0DB?0E7ws??t?o!??~b?GZ=3IC?.?b?	??????j??rf?3?????rA??\\0\\\"??????&t?IyB{??1?Q?????#?8?!?|??ZiX?+?	>??<??\\\"??n(sHN:Ru??eKA3X?%?u?2m:?-?f\\n	??|????XScdJVS?I?+?	?t%??O??C???\\ZF??h^-? K???+i#?(?\\\'l?qUa?_?mT???Y?b???V?:??I??k?>?t&q?m?z?x?5?so$?Yy$???}=>+????\\0??\\0#9R????\\Zw?l???Vf??Y?ca??s??u?8T!Az)d?>h8?i?R?2\\\\db?{??????Q?#(????el?H???V%???d?N1?????mE5+fl>w???\\0=????vW)m?0G#?w\\r??	d?{S?ff??b\\\\GP\\r\\Z?N?,.}?4??j?IXv???N???$???<s??V?o??l?$?I07??????Q?<?_?c??g?c[cn???Si$???W?_\\0??jQ??{;=FDp?<?B???09V#?z??4??b???!???[??J7?F??s?#9??4h?$??%??\\0??UkhI???????-??????&??BNa??q?wN??c?q???t???8\\r????X?vV?\\0`t?v?^6y??Q?C??R????b\\r=zTSu??????s???L?P?H??$???HM42??c????3H7?????_O???>G\\n??6?n?4??%???[^?Y???o9`H?\\0l?)?\\\"????+??k? \\r???&X???p?]????J????=?0???zT4_	?cK??Xi?	d)??F8?=???t??Y?:???????????901?9?(\\\\?A???S&J?^2i?o!????u\\Zv&L???5?$}??C????æ}???????.E?,^?	?i???_-b01?Lu?z?F??@??\\\\??<-??e\\n?vrT/??^???;??`3*Q??uu?z2???h0hZ???{??W6?EP^?}?HUP2I$?T?\\n???Y???>?D?&B6.:?u??????o[?_\\r?U?2.?????v+??????-?!1??X?g$?\\\'??C?a>?????_?v?Y?F?qu\\\\v<R???U@??\\\"?],?(T`?i[????Q_!???g?o?\\\'?LO????\\\"?wb?+??<???$?^?yf??X??????k???^??Y???\\Z?\\0?|??t?^?5HM?(Wcy9??o?}5|??P?R??&bYK}m;??\\\\L7\\0???=????a(??#<?I ????0??U<?????\\\"???????N?6\\0?s\\Z????p?{?I?l????j5&?_;YZM!?y?L?\\\\????	?\\ZB(????Lp?TR??qC?i$;?`{????????i??\\r??a????TRM>F??+?????pi\\\"V??#??}+7?Z??6?I??Q??;???y???cx?LmoH??6|??>r@?0???K???: ?:?Ukw?\\\']~??p-?x6J?X?x?>?\\0L:?\\rR???|??30???yG??C?[c?x?\\\\]	?k?-Yv?\\nX??R??Y?o?rhwV:}??\\r????B?eU?p??s?-?k??y_?+?T????qF???C-?o?????B\\\',???A?}?^????k??> ?????H?RC?J??\\0?W?!?|?B?&??|??(??456?mF??4?? d?w?1?\\\'????r?`F*Et?9?i9r??a?o8??j\\\\\\\"?.}????c??nj?:j*?ZNs?k?\\r????\\0Y??m?}?8\\0????9{?E?iHT?(?H????M2?n#.Cp?r=??(???M?qF??,??3?n??1%?\\\'??????a????	?|V?!R??G????B2{S?N2?s?w???a/???^?\\0?m?0?A?\\\'??k<=????oP*????p}i?????KQI?Z???:???\\n???u>?t??Y?e?}?y?????iO???m??\\r?C???l?fTe?8??E??8#???t\\rp?x;{??Q??9?2|l(?9??v!?!?_?t???A??/C*?\\0A5q??)?gfW?Q??B;B\\\\A?R?*K??z+Wc/???-GI|???e?#?9?*???h?PF?CE?\\n??$w?W?,?J?usW?[?J??dh2H?b?Z??L??i??K!&P0???,?{?y?r?+?F:?in?????\\nwu????i?B??(?S??%??ZD????H?a\\0?O??\\0?Ur}m??^??H??p\\\")?m??zW9w?x??E?,?lq??]???s?C?/~?????????^Z?0?I?)??%???zz??????/??N?M?V=^6H?spwu?`T??[?U??@?\\0JA???V	?????&??Jc??ep?(?\\\\?s??h\\\'ZP%_??7}H??A414??5 4?????5?M \\\"V,zS??.???? ?]?3?r??^??~?,~<?????j?m~?G??|??????c?r?.s?c????y???s??.??5????????#??He`0Â	?1_U?W???7nn?????E?Z????3??P????\\\\jx?)?Oi?XD?E4e??\\\\??c?????6?7?)???I?H??????A?]w??k?H????-?r1G?W8R??s?z?=-9:?I????m)]?????d?$?0*?X??D?$8R7????X?^k????v1r\\Z?Ru2m??????}oo?\\\\I?D??;?{??6????W??j??????K??A????W+?F?&0f?Xsj?u??Nn^?M?k?F\\Z?? ?s©?q[??5k?V?Q??\\0??????????\\nx\\\'I??#c??ZG$?1??iL??tZ?1aoi?X?wp??\\0??{9??P~?1???t??S:??2G<A??\\0??]V.x??+??\\\'?V???.g|????????<-t.?K{??K??\\0??v?#??*J??)S???K??\\0)K?????;?-??)P#\\0????I??NQ?]F\\0??)?G?.K??T:HA,?u????G???I??F/?4o??G\\Z??\\0???>????>?IM??#2??+?$?=+?S?\\n??3yc\\0?8?R?\\\"?}??v?$4\\n?z???\\r\\\";??\\\\p???????l?x?E??3?Q???z??\\\\]CBT????F??z?-JU&??f?`?\\0\\\\~?????Q?L@\\0??\\0k?8?(???4??4???z?R??d??????\\\'?x?w???8???\\\'??ei??2?*6?4\\\'?}+Z?$v???????iY???cpE5E:2K`H#?(?-?\\Zi?HhZ<?8??K??sO$?4???????2???F?wW?i??0?s?D-t?f?Fg?k??]?L\\0?8?{w5?o??UV????2/,?????lA???????x6?????cZ?/?x??^\\\"?=I???5@??`?²?2????7A??W???|#c???K?2????????V???<G%??c?dR?t9?iF	@????;??U\\nkE????(u??L?????\\\\&	???R???EE8h?p$?	???~??_P?;????co?z??\\0?????Aq?[?QX?X???Oo\\n???L?i???L???W?w???3?M}WM??4??S??????2y?\\Z??????@=k?;?? ??	?FV\\0?0A????_N\\ndc??^V7*??3b2?;[?y???????l/?jywX?,??z?x\\\'?5[??z??pqr2:?????z?????????R??H??X?v;?h zW<???D?z?0?R3?RHI??%??L??P?#?*RI?M*?(?W???:\\nP???#?MZK???*??8?i???TW9?=i?=?lG?p??(????qLXy?8????9<??=????(-}k???Q?p%?c????V??????C?I??z?;?Z?r0>??\\0?U?p?z?6v??>d,D?nO??.?lP)_w??A\\0?qLut????W?w%???R?Jy????4)?i???CJ?b?)?V\\Z\\0??y????H?B??4?bN*=?u??@????\\0?N?Z?zTJM?????GPis?G?a?F?????L????Mq???9??4??\\\'R?a:?????mo? Q?=MNX?i??[??=???k???Bi*8??<?}i??(?u???X??(*?\\r2T,x&??sW?d???L??\\0???$r?~T???r?-??\\\'?*?rT???K?4??bx??v??\\r???(I?????w?f|2??}E???U3???C?1??H?`/n??}?(f???Asckqn??nG\\0????=9??????b??k?SG???<msa5?i:/??2H?7???\\0????~?uo???Z?ki/l?6?^U?@,G	??????Y<9?6??u?C?s??????b[;x?A??P2s?\\n??GO?IY?E?r??l??9?n?Tm?H?R?Ldm?B???|(?W?TZ?\\r???\\Zx??????g#???l$#???)?3??????????\\n70?\\Z????????<??\\r<j??­v?8?I???K??Z???v7z?O,?0X?\\\\1?c?\\rex??:??lR?K????%2?nve\\nATe?~??Tr?UI?Fkhz?e%`???)drHQ?8?,Q?B??w?U??????????L??Y?\\n\\\\??w	??r??+?Z??????uyhd@? ??P?,<?=?WN<D?\\n??3?? ?r*??????f^????W?_x?V???c????{??5??::??	?\\0???k??K???? ???$?}????	M)??t?N?j????_?????P???;\\Z?????_CV??????}H?&xh^?P:?ee?Ni?c?u??d??z??h?$??CX??d??N??D?Z???$???2?X??k-Z&K?gP@_?:????\\0i7~|W7?????H?9???F?\\Z???r?]?s*?\\\\??v?UV(?q?z?[?????d?\\\"?????$|???U?D??????2??W??z?q?YG??o-T?\\nI??\\\\???`?\\\\/oi???E?q\\\\??q?\\0??c?O\\n?wQ?m^??$?x?[Y??????O?I?:?C(??????cI#????~?:??7?U?k?7\\\'l???\\\'?+???+??j?	$c*?y?????du1J\\ZBP?*?!+?J??xbW?&\\0?2??P???rO\\r??f3??;???}j?X??NYI??\\n?98???0Fx?^yqYZkTLF??yJTg$??R?!????o??Tu????.8?95b??????(?v\\\"???Gz|?sdK?????????^?73s?{?-?????\\\\\\\\Ap\\\"?Q\\\"?!?2????q??=?????x?????\\\\?NSi??h?0??W\\0??W\\\'?????B?C?@?F\\\'$F{}k\\Z??/?,?t??????/???(??cu?<?i???O?z??gw6?D7p9\\n?QG?????{P?S??V???\\Z???zJq?+???r????6?vn?=?????Bn#7*>????h?&??tbH?H?@?-\\r\\Z??I??\\\\Fn?=i????????7q??u??OaR?,?z?3?i.?????UMr?BV????-?7?-??2FA?` 3???f??\\r?f?????=?[?G??????FI?X??{F?O??|???t89?rA?^???(?(v??c?59bU??	j?!??SF_y?)db\\0v??7*	6??^|???3???gv>a?UMF:???Ub????~uy?.2?x?Mx????\\\"[?*?9?m?C$?;?c?(????x???????~??jmF\\\"????????FqX?W???4?Ve\\\"???m??q?A?O?iT??`?9?}1?A??-}?av????t?X?;y????\\0?;n%????$??M#4???U^??3?jN)	??I???;\\\"??O4f???2???bNEq?tG?<={???\\\\l\\n?%8?~??\\0\\\"?A ?5????u?A???G.??]L??????2???x?h?a???@R\\\'y7???,???HO?#W?[(Z??????6#??=?q.?%??p??t?X?#????.0H ??*?5???-?*_??# ?h?`y?O2????c??????FV??^%?????Kk7?hlub??FC??P	???;W?h6Ikc??0?	???????È?????yq#C)y,¾?$??I?\\\'?zk?????;?{???\\n?t??-\\n????F_q???\\0?s?~?.\\\\K4?+	???ry??z????(3z?*????3E?#????OZ??ru!??5W?M???,???\\0???yoel?\\\"H\\\\`??t\\\'???y21A0#r?8????v???]7O?e?e??p??~????+?\\r??J?\\013??Vib?m????Tg?i??k???;??ð${?W?}cK??d?G?:????##1???????[\\r????F??i??0:?r:{c?^//?4F???????4?>?L7??X?\\0????t#?2?N???i??q???8??u5qi???4?/?1?\\nD0?{R?\\\"?h??}+???|?HFJ????H??J?MBK?\\ZD?Fw??)o????2?q1??B?W?5Mhge???rl)?-E\\\'?:?Ú?????/$??8?Ry?3[6?Z ??3?\\\\V????$o[??}?8??v???{??	7?x?G??????8??)S????c????@=A=??K?\\Z{??V?l?$\\\\p3?j???\\\\??Ze????[??h?ST??hJ?P?Q?\\\\|?????????????U,J???&S0??q???????4????b??7<?\\\\????Yy?ZL`E?	\\0???s?R????????2?+?ue_???\\0xOM?\\\\???j?Ñ(??????L?o*?mB\\\"?~?X?G????J?j???????v?????g?`?[x???y\\\\????a ?M>?-7J???Y?;H2X?Pq?x?d??G???????\\0???sO?\\r?$Gu\\\"?2?@????x?,I?$??G??yTy?#?Tc?l>???:???c#?}+*6??4-???????????c?\\\\??????NS?R?8??E9?-$,X??bx?[???D)\\\"?????,\\0\\0q?k?\\rBU*\\nQ?5?g??z?TQ]??a?+?????I??$?I!:pH??W,?Z;??PJ??H?5?S?M???^??:??\\Z??rC??jB<???bd???A W?:?W{s~??9?O8?????[Fg?,???????^kq?<~5????%?D?!??<|???+n?/fa?EQ?:f??7\\r?H?I$???q?H{qQ?Z8??0?zb?&?j,??:0?Az?M?????&?Y???h@)i?(&?\\0??\\\\?H?ds,`??j?n49M8?f?7\\0z?k?Z??C??!2N\\\"???9{c?????I(??.?Z?\\Z{?e????@=???w??E????\\0??5????_???:?J????6???\\01?Z?*?>???Q%??\\\\?8???Z???\\n:CSG??`O??5OD?I??d?U?????\\0x?j?q_=^<????????????c`??LTOt???X!??)m??P?n#??>???%?\\Z%?5??K?d;v?3?DG?T?????V(?^y2???8????W????X???}???v8?(????Z?)\\r4?(a@?&??d?\\r7*???Ji???o4	0?va`?d?y?(?@?X7???1??c1?-?G???R????oa??2x??N:X^???8[Ki???????Ta?9R	#??+???????i??N:??F??h?B?I$?????????\\r????7Sx4?????{f`??n%??0???\\\\?Ý^?Yu?\\nE??x????3??\\0mW\\\'NM??\\Z?(?8??41??m#?W???7b??)??*?ld?J?????{????a?=R2???8?n??D????R?n?=*V??*i??6????6H?}r=??*M %??E?Q???*???;Kn??(?<??\\\'?G?\\0???i????br?$????????;6?V??U???Z?$6&?0\\r#??C?P?&???1?Y???1????n??W?????E??K+?????t????|????_???3??g?|??G??o?yw?q??#f?~???_?p?\\rQ?T?Z?Z?P?#??|??B?V?I\\\"??X??r??y?5??y??`995?????$6{U3\\Z?e????v???nL??FTP?}H?)L{?gkG??L??3??????n???????ZJ??*?????????GA?X?<W????i\\\"Y>??$nÔf??p????W????-?? /??????y;?U?h???=??m\\\\??Q???8??\\\\n??\\\'?J?R?c?|?Jv??~B2??PpA?\\n;?c?)?&???_?!\\\'?FQ?Uu)Z$??q?g??~P?c???xt?`yU)??v>~???z??V?SW?C??`(?p~?={??U??!?$+?Wq8?=?\\0\\Z??Z???\\Zf?????????Vub@^z7N??6?z???dVT?,\\0???T?y?????9?F??OM?2T?d}?2>U?4?O/?>???Q??HK??G?S?\\\"?4??????)%??*?I???S\\Z?*$??#\\\\??.oiq?i???c?#F????????ou??%???z???_4x?R>2?????l??$s#?(?????Oj?f;Ia??By?$W???????/?k???.b??6??h2?+wn}???????n??nd?;?>??\\\\J?????`???S?ZN?{$???)l??t\\0wZ??%JR?g??$]??????f%???????-?p{\\n???B3?\\\\?jFm?C^~*Q??63????;?`Ut\\\"1???AH??!?6\\0~??f??b?,{\\\"??\\r??D\\\"??.?????:+?f?9?0z?8??W\\\\?3p?e?H(#?Rb??-L???g?{?!??>???Ta???%V???????z?oj\\0?W??YyS?e?/ R?Ö44?DlG?#?x????w?>???q>6?f???[i0??+F??*?\\\'v;?aUt?KS????x#??d\\n?7?:?3^?r?{y2????jYcS?{Rd?F}+???	?o?H? ??z??]x??Fz?9?q**?|?N6??if??My?c?f}F??????????	?,+?????L?Ws???G$???.?5M3?>7???&?-?N?????|??d?????q?/???t?VhA?;\\\\N??j\\0?n????^/5?ce???z?g?Z???o?\\\'????{7??ON???b5??ak8?????(???\\n???????\\Zn)??L|??{?W.??\\0??;???;??.??????YLJ?B???d;n;\\0?Z?Sq?l%?????V??}Fk?SH?J??????D\\0s?p,?\\nq???J+?.?.O? ?b\\\"F?&;v?.;?(??J??I?hO?????LnT????? b??^??++In?m?\\\\m\\\' ???j??<c??j2+??fAX??????T\\\\?hT)?????r=??$????ojd3?W?lpq?=AT??d?<?J2R?kA0??lrx??,RDfu\\\'i?_??Li?y?=?$D?v?[<\\Z??-??v?M?A???Ng??V????SbIHf?\\0A? ??)??\\\'q????7S9J?[-BK?f?\\0Ap?9\\\'??R??+!q?_L???2G6?	?;U??n-??]\\\"?ls????{VM?j???-g?<J??dln(?=???:)?lSfw?Q????#2{|B\\\\o?p?+????{???9?;?*Gx`\\r,j8\\r?@9#?sZ?>?g???C?s?D???O$??=???_1?M:??O??to-??sj:???:?\\\"{}?FN??x?+??b?[Dc9?~?=?%_??7???%+????N2?%??$U?O??)?=?[??SNm?~T2?j?OYx\\r?¢????Mp???Kc??A??????{v??????|?????w?2GZk?\\0?H5??6?\\nC???sE8\\n?D?*?L?F?\\\'?8P???OF\\\"?F\\\\??3?X~+??P???<?D?po?\\\'\\00?]?pD?x?????H@?k?\\rW???G?I>??[?????W??^,NX????n??w?????W\\r????0?;????5a\\Zy?y;??T?m?*???c?vc?q?X?!?D??	?\\0Zqw4??he8C?w?l?+?-D??R??A8_??1?S?mX????V4Dx?Nl?X?U?wvA?\\ZB	?-J?Yw?#2z?~???9???)/??1[E?t3??fUO\\\'??92?H?S?GAI??*D?W??R?4#???sY?y?q?B[??i??o?3JpN?9?!X?m8??+??n@W??))?m??z?Vrz???!?-FsM?&\\\"-?f???^z?|f[?ek?Z???9???\\0??????d?w??+?Vf?`5+P??+Gq???@??9?^?U??\\Z?s?t???,??[?e?´s_8???$?J?q????mt??2y???=??5E?W?\\rr??J???U??(PJ?YC????*??+OS??tCg$:}?????9?3?5??#x?_????z?V???9?W????{yB4Z?I?,|?? }\\r{?+?Ol???z???|???L??w???6?43?o?C}\\0bQ?^Fs?	?	#??:-?1?\\nG\\0??,??,-????\\0??EFm??x??<? QY?Z?q4?[[??)*?7????8?\\0?V??%???8?+?-u???	?,??wx??`PJ(v?l?????X??\\\'ukVQ?j???g?(\\\'???kCx??+?\\\'?,?O+xH??	??\\\\1?U	?ns??k??Q?e??S[????jL?CJH?0??^,avd?h?4pi???E!??\\nX3cp??HFjH?]?p*?1?P?`d?*???ë?????|?gt??V?,l??\\0?9???B??]Tq\\r0G?i?????X?5?Z6&R???z7?\\Z????5=wT:??\\\'??[i????Y??B?cTJ???2?-?????????D(???E{?s?hY-{??e?1??%Y#????4??0\\\"B?Z{?W??|??s??!8??!???Y?Y????{t?z???M ;c?\\\\1P	??G~6?o??\\Z\\\\6??W&iB?E0\\n??95k]???|??}?8?q??8\\n2I?n???;?????r?B??:J?\\0#????\\\\??~U??^???SGCh?7RH????*G?*A?7?0????#?x??=b? g?-?B????sr14????)\\0?iE1????zF?c?X??;sT?\\r?R+??s??K??}?w?\\0?UkkgII??|á?o?	?[QB#???P?ea??Z?<O??{ˆ??u?49]?YE?ZF\\\'+???H9?>???,????x?M???O${W???a??]????g?????\\\'n??W??\\\\$???p?q??G?-l,^???`?o?P????iq?2NT?\\0?@g,\\Z3??????&?m9~	~H?N??C\\n\\r?B?(YU??7?<?\\Z?M?wX,??#???T4?}R9??0?R\\0Q?s????R?9?es`?(9?B??hW?N_gll?{b???e??;?|??\\\'????zb??i?????i?G?{1??h?H?r????z??h?\\\\???h??&o??>+?G???Z;???|??8??\\0?_9?$??\\r?L????Y???\\\"J?d?N?9???~????6???y????Z-??V?Ev???4???????yq?xz?KB????R??/l.mn?X?Y??U??\\\\gkc???\\Z?,?r????p?8+??x????[???V??B\\\\?[?&???\\0.??oN??ga?E+(?&?st2$x???NI?l??\\\'SS??M?_?2??f??V?q?9O???\\0??J???q=?e??R\\\\,FB???=?:f?\\\'????4m?y??Q?2????^¼??]???}Q-??xgC1?!4)?3`??Oa?+???(>lCJ+??a\\Z????#??w???????!?g?E?\\Z? ????_OxÐ?{I???K??+\\0?????\\0?\\\\G??\\0?v?\\r?W??ZI|?I??q)??v?^?????W7?t\\Z????dtA_V,??o?,?\\0???:?2[??+??:&??,?<???A<?{?j?hP?V?$\\ryMP?H\\\\?j???>^??q:-?}	?{?*?P?@=????5??x-J^V?c9??_Q;u	PkSrD*??,s?SaC?;??zT?Y?~S????????M?v??k?g?;?Qk?\\\\??n?Ok?-?wv+?S?*:z?x[????S??Q??u[h?1%??o\\n#9Y7?*????_HH?R?^?=Ep_>?z??<V1?\\ZI$???6?\\0???}?I?S??X?x???+???@[\\\':^??)c??M?29&{????\\\'?g?.?f?????L?1??yD?\\\\*?*?9?Cg?;R?V??Jx0C/?&???W??#?f????60}?<??3y?	??????p??n?\\0?3?1m??????X?G?k???m,O\\r?O?0Ic??;t5?f5?\\0?7?U[hq?8??k$/?????mS6?????d??v?J???l?\\0^?\\Z?l7<W?s??X??(\\0?JXv?4?y?A?`???=)?&uI\\\\r{S?Z??h??$q&?\\n?????Z?)IEnE?).??\\n>q?O&:???????bK???8|2??????}?F??b@$?=klF?5vh?jd??G??:W+1?6=?#c??R???i\\Z???oc??O\\0z\\Z????v??i]?/a?1y?|R?yQ???E#?|9}5??M#N?IX$&;?,?G??y???\\\\f%?!%B?>o@?*???????o?!*??X???2???!?????Qk????\\\\3ZC#?8$???0??)¥-???T??e?b??9E???????????;??.\\\"iL?\\\\m??H??z??B}=ZS*9?M|??jCZ????=???e\\\"P L{f??yl+£??M?_?\\\'?Q?$?d8??\\n19=??^?tmV???VbC4?n???	<?w?[?Zc@?9?gKUT#?;??U?d??	<?????^up?_?fq???&?|5?h????Y}?1d?+UG\\\\?????[?%??3??d+??Z>r)?????W6g?fS?j1?W~??VdLw?WP????cR?u???i?E??í????0}+??;B?#vy5?_l?~?Bn55?t?`?UcRv??2?$q????	T_1?h??We? wu??I$???t	??0g??????V\\r?m`???]??????G<????5???!	??W6:?&????g???7TR\\\'?yp0#8??x???RN@??8?L,*???mTkC?D??e?d?z??????{{!?\\\'?????pGs???}v??D?r?????n> i??u??g?z??-?Y#O,?@P?x???zt?_O??jWH????s???	L????V\\0RX?g??????A??k??8????;??Z?r??\\r?=+???F?3??C?Z-??uje	?????v?R3^6?.??M?Ny?\\\'?oX?s?:??S?k?w??x%y???DaX?]??k??T)??FH??@??v???{p8?V?r?H???$???H?\\nDV?\\nBNYI????M??9????????????I]-?GN?&?<y?h??F???a?,:G?=??\\0Z????HfM???v???\\0J??6??Yk????v?w[ay%??(??ee???x????????5?J??)1????>T?k?g???éE????;?\\\'yaGVb????\\\"?`?t\\0188?P?Cm?P!?8???,?1???Ta???r??N??p?f?????????Rm???s??????K`?9?J?r???2\\\\¬?8?¤??M?OP?\\\"1?????.	?F.kPh?4)??~t?)+?M??T?)R?h?R?p?z\\Z{?UDRN?b??0????B????A<??W?I1h??zB???L?B?du,?\\r*\\r?$s?;\\Z??D?!)?Hp2l?Q??7Jv??NL#??T?{R.?y@??=????u*rip?0?;R?@O?\\\\??i??+?(??\\ZpX?\\Z??_?FO????%!4????N?Y?J??v0y~WlUk?????????4??\\\'\\0I?Z?K	?%Rr3?U=n??zF?n?l2[?Q??GL??)??\\\\??Mv???? ??????30? ?s?wa?4?t?^G??>T2LK\\Z?v?Ns??\\rq?:????WLOj\\Z??q?r?v@?Ì??t<?q??5?w.?v??G???h,I?r_E???	I??y?\\0Zob?:????GR=?\\0J$?&??bc?q?\\n?r??r?\\0?7hI?0T???UZ?w?!?[?4?$(2\\\\??JcöP?o???q(b???w??U\\\"???&?7?OaDVq?\\n??\\\"\\\'???????(?c@??X?\\\"??IT???<y=??l?++Ov\\n?p??\\0???IM??!???hcgk?W+?[5?	?,?B???\\0???G?v?|U[???V`?	v:VD??nBG,]???te?w5Q:$)<Fx?eS????\\0?T??+?Y?`????M??p?Gwq\\Z6I\\nN3?L?T?V??=?P??Q??$e?8?z?\\Z??jRW@?\\r.????y$x?HR?y9?q?[b|???\\nB	?\\n?ey???Tr??@???5?p???5??;B%??P?????Qo???oyu\\\"?\\n???m?\\\'????D??????\\Z?TW??s?????K??g???WS??U???????7$?O?F?\\00E}vJ?G?4?=V/??2????(e??`~#?Z??mW??\\0I?(????R?X??s??J???\\\"???v??i??|?w???#?Ns?={?_*?%)S??????@????\\08?YI?Òc?3#oM????\\0????K?6??R?Y\\\\aHB???-\\0??3?`1?9?K???\\0\\n?)?H<Ð:z?&)E.??IG?b\\\"??\\\'>??R?b?3?\\\\?Ljk????J?S?P????VX?O ??+??V9??IH?R)?f?6KQ\\\'?D????i???I?)>q?h?BqQ\\\'?\\n>???????p?#Ba?I?R???????4:?@iil0?4?b?k]D???????)(??)dM??+eRj?t1?C??=r&[?.\\\"UW??FCu?A?????_??m?~r>????t?O?-?????0?F??I?\\0??5?Z??o.Z+qlr\\\\C>?~??G^??Y^3???6I=?KG?%?kI?T???8\\r4X?c?y??\\Z??n!?y?B\\\"?V?F@*?????1D??=\\rN%o9?!d?????????lO???	??$s?B??s??>=?]??u??j?s???? ??X?9?F???{U?-???`??a??[?@???4?????;W^??%%??O3???4?*???}?zu???P???@????0????\\\\x?????i?Z]??o$!h?@U?9??@x?z??????}2Y0o?F8?{??Y?t?2?\\nX??vE?0©?3?:s?????h?w?????_D??S???;??8a?)?	????!??p???|?\\\"JR2lY?UP8?:???X?l?\\r??;??W?w?9???c?k????ch8?*?Th?&?o5???6?????iU?;???dpUv??\\nk?????g p?yv?=??}?P?U?!?R=*[??H??N})bGD?;k\\\'\\\'a1?\\0?I?????<???8????N:SA;?\\Z??<s???;0?\\\\??????[?M??\\n?QC\\Z?1???q^??Z?}ooyl?w?q]G&2??ppr8#?Fk?????q??	????i?Z\\\\\\\'???n?)Q?y\\r?=)?0???l???C?J#W ?X?8??5????mo?.?__??M+?m??tT\\\\?S?q???TO??Ql??*?-??\\\\?$??8????3???Y????????l?hw??\\\'??	??c?+?:*???4b??z?*??a??Ik\\n????@???>?j<?	=k?13???Z????=)?c??.?H?m?1?????Q?]?8?ws?M???{??`w?????(?????\\0qB})?3??s???#?^??\\Z-?p?)?	?L????A?^	w??[???tH?-??gW????H?8WS?n?}2????F???2??????????^???wOgd?gr*????G??\\0????\\r??\\\"\\\"PQ?n??6?????\\r5M/Z??5?I?L3J>[??v??????k?N??)?c???n??????U?\\n?W?C?q^?/?\\\'Z??\\\"??K?\\0??]?8?j?1?\\\'????k?z.????N?????????X? ???k??????}?c??.???;v?W???*?z?U9???Q.????UB0G??j???c?X?US???\\\\???????\\n?)wp?1G?1?j??}?x??J?W?DK\\\"???~?????F_8Snz$tr?Q;??O?8^?W????>?v?Ks~?\\n?i\\\"*??r?y=????,2??6???:????U?0?n?^F1?m???????yV???m\\\'???c????c;?<?\\0?zWY?H???8?6??(?>bI????])A&?5D?zn\\0V>??}?v{k?#$|??A?v\\\"???O?fm,C??KI?\\0?~?:RB???V\\\'???	?????????:T??1\\r??zk\\n??\\0?i3C\\n\\0??.Wr??B??W??rC?;?H?*??_?p?rz[*????I=???V8??I?v?z?)JV?A1\\r5??z?Z??l1e?v???g?1??J?\\\\???U?\\r?.c=w????yO?i??pA?g-?M?r?v??)??9?m???z\\0ML?\\Z-????w?O?\\07??Vu????õ?dr\\rM:|??????\\\"??ksYp4???E???j?Idek?nH??G=?v=?g???R???@?_9?SR?$` ?$n??%;\\\\?????2??S??P*#N??Ô??I?V?y?>o??????d?F0?bo???|??\\0\\n?o?E=?????,~Y???=+?X????r?\\\"=yZ???<Swk,P??B8f?vf????åz?M??X?X???]???+??1?Z?\\\'g?O/??dX????\\\\1?????Wu?I?t??M?>??3???\\Z??HY??A?Y?j\\ni?Q??)?wm\\\'??????_?U??Z:;m.|Is??)?\\\"r?/????U???\\0H+?Ey???Y????g?V???bI?,?5??K?z?W?6?R?r??OZ?0?B?Q??\\0?sI??C????\\\\???$?\\\'???Kl??]? s?C?c?P???E???	mp??v????S?S???4?.?H?\\0????,Oj????????z?8?????f?DyI??=+Z[??????t?v	?@C\\\'???T?m???I?|?E\\n?\\\'sf1??,:?xl?,?4zzI?:?r{?4+?\\\'??????W???+fG?9?$b?????U?8Uq??R%^i?4???????lm????5?R6?+-???>s?o?zihO??nM6B$??N1O\\n?	Q?[?SL??,?q?Q??<H?7?*:?B???\\0????p\\0??b$?k?L??p?@???SY?S???k6?8?sS??BLc???b.???4?c]Y??9??O??ZW\\0ZRh??z?Fh<SM\\\'z?????C?s??=\\r&???+????W+Lh??nM??/	??*?gh?;v????\\0?O?L?p1????]\\\\?<?\\Z??|7c?1ie??o??t?+??bi?Zh?v??N????E}c?N??nn\\\"C\\0r???U??<???|\\r?Kac-??G%??r?K8y%?\\0d?8?tm.=\\\"?3!;?|???r\\r?????^g\\n????\\0??}u?l~@ 5??y??=??j?gp??I?\\nF??l?-\\\"M{?w?Z????F!~Y??=?y??<q?.??o?B;y?O[8???+IBG??9<????u>T??????K?_?,R?e\\n???\\r}~S??:.?2???jG	??]???\\\"KM;X?B?b????!??|$???w_???S??t?x????`m?T???w??I???U???~b????[Qc????????T?*T?}????????????F@?\\0?+???i@*Y?a?)?H]?\\0?8\\0?+?g+?JBR????\\n?i??@?nFj^???[?\\n???O\\\"??????8S@G?p8???r^W$?*?????W???a?(??c\\0L?{??v÷?? Q??f???q??s?q??UCq??\\rr]?#&?{=)?i$?n)???D `qR????E\\\"?(R<???i???Zgzp????A8?3??\\n???k?h?w?y{?>??yNy?????RV???cou??;W??KeteV?Q?\\0???h?T~??x???U5iN??[? \\nk?S\\Z?o???$s?\\\\^?s?????Ç??5?J???W?<c?????XG??K?Q?9????<zUx?C?????+\\r??I?%?T|o\\0??;}+??Qsk?A.?? \\Z?RWV\\\'??6??0????6d?S???-t?i???JKD0??SoP7<???R????5??f?|a???V???d?\\0E??K{??!h??1?`?[??????C?[»??;6bO\\\\???8???dO9??????UZFQ?92?uZ?????2?=[?t?Kp???f???b?\\n??,V+E???Zv:?_\\\\h??^[I??q??T1?}?????v???=?]??{H?\\\'\\0rP?Z?]WS?O?o?Ck???????n???{?\\0????j?m???4?<?$????AU?zv?L?	GE%nm???IYDa??JU ???0?????AH??0c?|-?s6??V??A???>????rrj?????\\\\[J?/?_q?@?G????P[?36??]}k????ug??????Z?;Ÿc4??#??~?pt??B??s???U??%?$`????\\n7/?H9??o4??!??g-B§???`8?\\n????Þ8??;p9??????hr??`)??Ay8??B?piP?!??\\\\q????L????\\n?s?n7r?\\\'<?<???N????=??f4?[?1????px?9s?JV9?q\\\\?@<??j?I\\0??2 ???J???1?y	??r	???7???)?zR???f9?CL?m?nP#9\\0???L+?J?X?\\0??`?$???K?A??g?????(??§???5??Wv?7??}??#}?h-?????:?\\\\u??\\n{???#B?1q?Dw5??5>?\\ra????=)??#\\0?P???=??Z??\\\\?\\\"R?0nO??\\0\\Z?????,\\r????????z??.C+X??l&?T PH8???c?j??R&TTr?g??y?\\\"B?Z???\\\"?2m?E$,G?N\\\'&?????hX?o?K9??R&B?????????????.g{	*??O???{\\nB?A??>? \\\\|???)???ej?Y?+?\\\\8?kEim?q???ZVv??yP?j?_??c??x?W???/??|???f,a?k3A?d\\Z???X??-????s???x???$??7\\\\?\\Z$`?9??Z??O3)f???H Y]@$????ec????1\\n????Oj??U??m>??h?c\\n?T???n-?rN?:?(?ABx????c??? U?S???WUj??f??yPy??i5a?\\rD?W?0??d?_FRd-L\\\'%???r\\r?\\\\g?????\\\"+?u???V??0?F=???S??*J15????JyB?I?g????ze?K?p@?^g??V??-?J?H|????h???d??]~??\\\\i?/?& 8??S?J??X,5??W?????ao\\\"Il?<?~?&r*??#?yw\\0 \\nO??8?x.???8?)_@4??1Mnj[??S?P?A???)3Fk6?9?^\\n?O?Tm???9?4MF0?.?L?Z@,:h?21H?????Jt?`N:?y?He????2q\\\'??k??5????\\Z?V?Y????p????n?F?h^???@?+?V?%y???????|?G?Z????g?????s?º-C?????\\0????YS????I?S???U?w??g?C2???8??F>6j??!?6??O.W??H?A\\0?z????\\\'\\\"?Q?_????#????c?v?|??}???H?c?s?\\\\t?2??1??|\\r??K?cw??1?d?@??v?X???<??j????$????i6?H????0???gc??????U??5k94??<?Y?]7??p?z?\\\\??|???A>c6A?\\\\?s??}<3,??S?u????o?K?????C??Ae????\\\"??9UE*\\0g$??k?p+;E?4???????U??NO?\\\'?h?q^ns???P?d??!?R?J?+?eX?? H]??s?Q?????\\0I??|??h?\\\'?2:?*?<?2??^9???>???\\\"??}??WE\\n?????\\\"?????Amc?j8????T???[v??zS???SzlY#?9?<L??6??x?????Z]? j?\\\"?[>_?W?zv??^??Z+????????=?y?y?9???K??+X????O??ey??.6??`pT?p:W???~ ??4??@Q???\\\'wR??k?i??????_?IN??\\Z??e%??sm`??O?$X?	?[?+????C??+??t-P=???\\\\???2???CNi???C??2?k?}??\\0??	#X??~?pc?*z????????t?m?m?V????n?_N??)ew?????>??s92mf?<??G7???d??n?A9?}+:?O??I??r)??^\\0??&???2-R?\\\"?E?! uR?`?Go??q?7?}G?^!?,o4??x*?WQO\\r??+??R?!:???????GA?o??????^,YeS?\\n???3?<?2 ?<????YXAmh?8??P.I?T`?j?x\\r?\\\\??u?xX?Z???Ly`%#;Uy? ????,?C???cIyr,?k?????<?Z?4?.??Ni$F??0x ??V?|??:??U|?om?Fi?:???.?n?/Ek??j?c???Fe$?a?s?+??????#?2?%#????\\\'.p?d)N???(\\0y@?4G?c?9 Se@?*i?BH~}????ZoZu\\\"???????J\\0n(#?1M\\\'5??A??i?-???T???(:?????@F0????g?B???)4?*8?>?7b??u`?.XP?\\0*?3?E\\n\\\\}???;ha?:sC??j????h4?\\\'?4?K??!?R5iN???????Y?????t???p??bJX???????j?ze???n??l???y??i&???>????E?;, r$Q???!??m6N??4\\\"v?qn?g?????i???9]W?	???4K(VsK?9?5?l?I?y??^7????>\\\"?~?-?b???#?FN~~????v?=??3ê4?9-Z??g??[SM:{um????d???p:??{t????o*?*?1o?^????j??4v?{y?\\0w??Y?b?m<x?\\n?H???5?n?JK(c?\\\\?1???^D^??nZ??8??F3F?????ZnO?)????d?^??9?H?,?V?9	??J?!v?	?}j??@???Cs??j?]???????T??DJ?.?9?Xb?wl)<q??Yw??Z???[Ì?Y?N??MB?S?%??R???1;?q^????k*???;Uq???Q????6?L??x?S??????7????i??u\\n??w ?-????ry?xt???*B?ws???R?-?u5P.?{9`G????lC(?*:???U??rI?+Z?e?BW?8.?2E??JW$??Z?c?[??S??%\\\"(????????W=JR????QQ\\r?G?^?O?SL??ey`Y?}??7a???[iIuiisun?4?????qb@$?????	-bDQM??q?$?2????]????_?WN?<r,??0}???C3 ?pOu>???????????Q?##??KH???UyQ6??gx?cZ?d?.\\ZVU\\r>??Pr8k???????o$(?VX1s?p{?|???????\\\"`?\\r??t\\0c??z)`?L5J????BR?=??1???s\\\\_???t???w5??F6??B???A#*?J?????????`??)??|?_???=3?8\\r#E?uO?k:???\\n?5???,?+a?H[?????b??;V0?\\0??y	?a?BEH\\n?A??S?sU??:????J??I?O?f1?(9?\\ry??1???A??z?D?.?!???N????|?`???6????=Nj?%4;??3? ;??gj\\Z.?x?K?6??&?W?g?kA?b>94?-??x?K_?3mt?6???t?M1??kx=??Q?_?|?e??????????????1??FC\\r?{f??*?\\\'?a?N0????8??m??sB??!x?T]???\\\\?\\\\?\\n?W? ?J\\\"?;??4?m???2?Dn	?57??cu<?Q3m?zd??H?.?????a&?d??,????\\\\???EtS??i\\Z?\\\\?????,\\n????Ys???????Z?f;??W?`{Q:M+??????C???F?????????8?A\\0??$4??`4?\\0S????b???s?`???f?v&*?iM ??I??^?o???z{?Z?upcS??P?[?d??e?S?=sQMv?E\\\"????{V???5\\\"??????H??$5??d p1??E0]1??T?7{V?JY??9?*?GX???w?vWEZ?????J\\\"S???A?T?\\\"G?\\n,zl?<???{?TV@??EZ?\\0?HLb?x????? <????`?hR?`?q?4??\\nNjr?T?R$(???j985$g??*U?\\n?O`??A?M(????????l???-6?}?BC( ??p????&?2-???t??%Ctz\\n??K??-:+??s?$???j?\\\'B\\nm??h`?L???f??)nv??D???????N??Ay?<?M?????¥!??(??7?t??}y?[P?DX?Nq?@,?D??,?????k??f??.J????u?Eqo?C\\r???2?????????R???)@?\\Z?X??9?.y;	?a??+\\\\?????#uT.?;SV?8;3[???6?4F??????/5???7-???ZC0UVP,??^K??\\0H???7Y?????v?6??<W?0^F>c?O???Vb??e?N????=M{?>d?SRf???\\0ßxX?????Z]???G?q?YB????-???$????T?>bs???_???K;U?y[\\r????x???#?G6???F5;????yW?<?\\r?~????\\0??$?:?????v?N??P?XnH.WxR??\\\'?+???p?\\Z?|?7-?????FRI\\\"?Ny?\\0t?w???\\\\????[?w4???Q????O??6b?0?J{SMq!*???A ??ylV???i?x??\\0_???)$???%Y?8?0=jF???W???D#8??p}*?]?+???t/??%?:???\\0?Ie{\\r?On??l?)z???zVN??O?]-?\\Z???lS???!??*???????Ln??$)?&3?y9?k???????$?:?zB*l%??M\\0?P?#?=?\\0?H?.!1m\\r??t?\\08?2??F|?yBAf!W???R??|???k?\\Z????\\\"$WsH$BP???I$???Z???)?????	H? ???zw?B|??;????2?????~??????`?g?????s!U????\\0@?>??o??8??\\\\????Y????O?z?f?\\r?H??,N?J???c?X^\\\\??;?eW\\0&q???-O??bh`?@??|?L?????H?#?Ky2??v??s?G?]x*/.Q????t??9??\\r?n+???\\0??L?<?+??4?$$????N>????J???z?????9/?j??#????BYl}?k?9?e???FH?y0w??s?\\0?\\0?P?????;q?|????HrK?U?:?n?´???d?T??R?i9?@?u?/???sDX??? ???VJ???+/9^h,?r\\\"?t?S??????	7??@??n??\\0?W??\\Z????u<?r??+?CX??$?5??G$?C?\\r?_?m-?????Fe=\\0???12??b?Ga??^?5?.???*X???;½u?B?^?4}???]??l{?D?5y?&??+?!???????B3^?z???SM?K?|????^9W???qN?+:?@???RQHm?]?z??^?sP??S?!??~]????<?2?*X???k\\Z2????y????\\r?u8?$B?:(>??d?\\nx????99Z????x???\\0?:?;??=?!??[?K@n1M??r?=>^?>???)3?/j??w?RX??S??????1?\\0Z?\\0?d%?N????c?1?n_Jy\\0 ?Z/ 2|K?Y??E???8e?? 0???2q?^W??$?????A??I?ŸFIu???+????q?e??q????}_???Ö$JW9O????k67?H??d\\\\:????G=+?`	?v?9.?????i?????A???5??????s??#tH???xjb?&d?t\\r:<?????????P???Sp?\\r?S??#??B???,?HJyeêc???H?~c??;?&R???-?@l?(?=??u9m????$%??p$bF?z??4?Y#? ???q????X??Lk!c?3?T6wh?V?Td88??t?et?E? ??\\\\?i???V.r9?t?s?n?i?#r?J???Y?????? :?Mr?Xh\\\"?.?G1D{}+????\\n?NG??|??A????????K@( ?%}W??k5???41???.$]??3?+?s???\\Z??_?#:uZv)?d\\\\?C???\\0>???X??X?A5?%???n@??Oi&|?,A?k?X???UWS2??\\\'?L?3?\\rhc;Hp\\\"_?????0?\\\"yl>e?k???xcX?I?GS?a?\\\\?????~???Q??N?{U???t?\\0???????*?#???J??5??Èn|O?R?????\\r? ;LK????H?????J?z????b?!4?\\Z#?q_??\\Z\\\\??????t?`?R&???x ?#??/?x?N??{????}??????8???9^?5?????@?I??????{-??`???dH?K/?z??;M?{	??.O??a?8??q?&??Ú-???]!?r|?\\\'?=@???\\0??D????L??????F?<??\\\\???wy	=r1N?o<r)8??dv??????MIj?$ Lz???JW5???LQ?=i??????????#?9???????\\\"?????\\0???(PiA?N?q??O?)??T{PV?an4.i?\\\'??A?N}?	?`??,?G.Fv3????R???@(???F?-?8??T\\\\??+\\\';A?G?N??????p??[?\\\'r?\\\\??`???K?m???qt?F#U(??A?u?d?]z??m??????????Q]@?B???F?V@?F0r=\\rw?k??eSw3???mZ?IV?3?feH?\\0c??UY?i??\\0????v?h??]xF9?2????c???(?#?a??[?M??l9u???dvO?u??Q??????R?Ñ????s?w?\\0?I;K???L?F? `??c?Ir?d??>?4)???`W??I?1?2????7??F4?	??})??~I}\\r);??l???1??I&????hR>???[?????!?C????N%???.???b??o\\0d?UZrZ-?#m?Ni???U??m???k???3m??????U=HIn?w??t<;?W*15????????\\0???5?o?\\\'n>??:w?W????@????_==???8??r??????fJRpz??d?8????f9@*	?Q?.?????GjQ????[{?p?G??=?\\\"YO?v??GAH?FC?y>??x?\\0?o?c?L???f?bhZ?ce????÷z?2?Ld? ?????<??8&?6J9?A?_7??<[??6?N?m?T????3?z???x?{????`??7Sf<???3?=z?????hY??\\ZS??u!?Jr??\\\'?-?????H??p????J?e>f?\\0j?r\\\\??)?5iz??gu4sy??[?\\0? ?U?{??1d?\\\'?z?S???o?h??RR\\\\?????2??:T??d????9~A?i???d*zS?4??N?\\Zi\\n??\\\\qDSJcp?3?9??}????lg?PG?v?Ur?U???T??<S?qST?q??\\niZ|?\\\\???*j?L??)<????!??\\ZM????JO/?????NM7)???(????????m??K?U5!?F??#<\\n`?b	?V?\\n??x?%C??EiNv??)????\\\'t??qL?a=OJZB????\\r??WF<?Q{?????Z/????bgY0\\Z??t{?;??_??????!??@??????<O?\\\\k?5??/???e?d?????;???)#??????	?????????Kg?}?????>_\\n*U[???s??`?????I?,l????U?M( t??o(+???Janv?Mf?iB??q?????D???c?WM??R<????<],\\Z?o<?_??a????????s??[?>?\\\\c\\nOZ?<w?????yn????$??T??p????Gz????b???;H???-?9???}u5B?(?v???JvD?	o??/????-?I??-?????;???e%?^N}+??????t?>k?VY??`[$(?\\0???;b??\\\\7?x??Zu?~?hgg?|??Î8??94C?T:?????Mx?]\\0?Hr???y??[F?w?l\\\'???\\\"\\0????? ??^?qM=k?-?,5^f??aw???f?K{=;Z???1????????=????.??Q?u?Rhg??h??UI?w?\\0\\0?\\n?#???CN\\0f????\\n;?W?b??=J4???\\0??1?d?Q?^?\\\\R?5??i@???B????.?T?\\\"?Xw???4?p???w\\Z?(lTY?????zC???ni??n2??`?????C???s|,?q??@?N??[??g?\\0w?q7?ze??w.?r?5?4\\r\\Z????pA??O?Y??7??cy?D???a?r\\n8#?à?^?2?????z?????^?/??,??@?d;~4????8??H???r?t?*NP~?l?]3Kr?v?U?6??fO8??;V?i??a??Ni???L?U???b??h??S?\\nU??/???????S??OCJ?ON%??B?	??(Fm?3?Q???J?\\0?????4?z?Y?w??.!?ø3??8>????\\Z?+?7?m	???8 ??\\n??v?4j???I??YIVeB@8??w??{?v??_y!?????*?8RK#?_g??????7?%??_x???\\\"?j*???B?y?\\0d?\\Z?D1y?m??I??\\0\\rO???P???\\0F1V?\\\"i?P??2A??Ee:?????Q{J??u}K??A??<w?r7?{???Y^?%???\\n??)?????|g>????7X[kh??????J?????????H=WO??9*5{?;i???Il??<?l??\\Z6?U?A?T??eX?^|;???1WzRc?qD?#??y?/.?H?!?[???6?\\\'??=}+%E?CE??sB?????SZ??u?? ??F?u\\\"?????o?~.??%?ow\\\'??<~B?cf	???o????)y~?\\0???a????9??&?z???8?t?y?P+o%?@?py???0t?}?U??~a6R????u??B?{k?X???0?)?????z^?$??w?)???j?a?O????A???9?Z?e??OS?FcZ?I(?K??6|?Fu?????\\\\?w\\\\y	?\\\\??^???_?k?~7ZL??z??T??}?8#km??0?G?:c?u_	???????5i??????Oj1?W.8???\\0??\\0??4nt\\Z??\\\\?d?\\\"6???p?????{$?i?@^\\0???j?uf>Q??i/l??\\Zb61?????uT??h?C? ??????NCq???n?l?Q?*A<W-?{r~;????F?@??dg?TrT$|g?R??~?r??H????[s4???#?rGj?	pJ?O?Jtp???/!?	???P?AAFP?????w	???3????3?d.? ????/?{??*???Z?j6??J?oS?>;xR\\\'\\r??u??hO???????????4???#}??f????Lq\\\'??D:???g???j??[??O?`?????x????8k8o$?X???\\\"?b??8>????N>?/\\r?+??F??)]R?????\\\'\\\\d\\\'8#4????M?@$?????O+i?V???n? ????\\\"??????[??M??!XSN???NH6???\\0?????R\\\\?j??9?Y??}-??oi4??`Ol??Z?????C??h??l??76Wb?$ fTH?q??<Er?(???~\\\"???n?X?@[?!2uw#5?????	??V?[?\\\\[l?????9\\\'w?{|??Su&?M?	??????K????????????|?B\\0?\\Z?QEV?$FbO?=?|q??2??}??[\\\"@qH?]???;W??}E???N??u?B0%A=i??3<*Q?)?6?L???D?\\\'?\\n#?2?????4?SkaA?\\\"2?E ??i:???{SH?\\\'9KsF0Q???9??a??h&???)JqJ??1J??\\ZyP*?\\\\lls???a$y????r	<??x????#h?$Cp??+??b)\\n?0?????H?Y6#?K?R1S[?}(?\\\\?sN&?q?a?8?Q???Q?\\ZG?c?????O???_VX???0??????I;??????j?^????I?>??[?\\nP??]?V????????%?`?\\0??V??H??????_)\\nv???u	???%j??m+Hw??8?R???_???b.?7?h??1?#.VBvT[????R:S?YY9~?t?7\\Zq?T?i?f?#\\\\3?|?v??(;??<O9???a?????J???f2??Z??GsHH??R?V ??XO?O??Ku??\\0?u^1?I??J|??,W????$R2:??Z.??I?1I??bV??b:????3??)?w?K?sNe\\n#.H??}?ZW?(??Y?Cj?v>???SmB5??x??=???0@.??g???N=??o?\\Z??~????I/RES??:?????????&?r?k7????D?x?hwn?P~W?GN??g<4qx{5?G~????Y??m#??\\n?5??????c???se4??!(;?*???m:?\\Z?F?w??3?????????q?????&?$H~r?0??h#~??z??,??C??\\0v^?p????`?FX???01???:???	??`d??*?A??y?S ?\\\"????W8??Oz?g??????h?$?N?b??|???7??3???\\\\?[Z?r??1??!?\\\'?<9?W?E??$?O?x??	??W?/|q?k}}?4v?Gs2Db5??9?z??????\\\'??J????Z?;??\\n??Gc?x>?G??Gb??WbI??AX?\\\\i?1?G?	^v?\\0???f???#?S??\\rAN\\\"?-?*??y<??????_?J?^?x?]???/?T???2b?E;?w$?????{????+G??	?:??~^???L?.??,?hf??????y???Y???N?b????pH\\\'?\\\'???h?0B?u??s>Ib?(mw??KY???,?????\\0???|???ikx?V??`???U??\\r\\\\??%??`?9?w?[Q?F?T??e?]?=h??b???>?\\\\???K?I @???9b?^?{w????5IE?:=?y??2?;???????	?y?M\\\'??\\0T)#?@@?Z??????px????5??c????n?B???S?y???8???j.?s??h?d\\\'\\\'?43?@W??a{?#\\\"?y8?N\\\'4R?*G\\\\PEIH???-J.?9??!Q??C??m??:$l9;????n?R?)NE????^?5(?X??=??kx?/??Ag\\nI/?	R@\\0`???^S?X?6?Z?w#E;F>u???g?????8?.?S|??7=X42C??7(n~?^?1<???2KT?DR?e???;??pO?u?|Ë????+???|??J??*0???EcI|?T#?????=???k?2{}P??????y\\\"A,2H`???z?~S,S?v?G???M? ??m\\n1?_??y??<S??W???|?l??g%???x?k?-gK??[????? ???8??U?eB?N??????&?????????? *??p???8#?7?\\rZ???/..?????)\\\'???$????6????I\\\'???\\rzts??\\n?H?/???6,??i?y?$?F???x?S?l??q????C?7oZz??4???W???}?]Z6g1?S??>6\\r?\\\\??p}??!?Iw?$.?C??????????!?gX?#????r1??+??C:?	?8?p?C}?i?????p6?]??cS*?\\\"V ??]?9/?PRC#??F\\0=)?n??\\nQ\\\\r?n???1N?(?%a?????qNg%A?y???8?$??X??O?:g?I??q\\n???c??\\\\????6??A?:u?w??B?-@?C.??\\0Ky?:??x?I??ki????J\\\"??v???\\\"?v????-H6?\\r????\\\\r????N\\\'a/\\n\\n???$?b????????n?S/?o\\0u\\r_??02y??J\\Z2?qJ)M&k??a????q??G?tr0???,NG?ie????^?t???K¤?|*??^???ml?-??i?Z???D9??I	????t?!????~?U.[?????Aqj?,N$ln???T?b\\\"G?I^C \\\'?t??\\\\?m????a8?\\\\?zEl?s????.u?BH???i??????w~????1??|??Ic{b????i%?`??A+??~??\\Z?;???<?7)??P?8?]K??t?A???%??=????^??????p?r+U????0???? ?m?*#Z?y???j}?~=}???ou??G}?<??%0???3[??Y5?	j??b????#?3?\\0?\\0v?????????\\\\Ooom&?4 3J98=??xjq??IR????_h?=?Z:?p^?????d<??????(C???v?u5??(V????\\Z??F??C?J???i>;?????==J??????????#x?K?&??Z?r??X??X?}?ak??z??_X?z??6?-??_?;m??c?^?pz???p?XJR?W????q????????qm2?N?wg$??jI$???]_?2G??e?i?w4x-??HU$?????mWN?l??\\0A?p\\\"?$U\\nO=+X?55Y?Ooe}.?YIl?d`?U{v???<=|L?CZv44=G?B#t????w?kJq??%9?k#?Zd?V?$???/??H?\\n;??Z?\\Z???????Dc5???HL?lE?;R\\ZU?JR??d???#W?-??R1?=?J?V?N??F??9??=?bDlc?O^???\\r|sq???~???m ??++k???\\Z??2]p\\0I\\0???{>???^7s?q^0???H]m\\\"?Z?\\n???\\0??????9FcC?=U???X??kS??????????3??L?q?	??Yx\\\"??????2?<u??t????u??2??h???????^??????\\0	??Rn??%/??A????\\\"??UH?????k?#o???]???h?5??q8???+K????????@???V?s?|*????xx&???g????L?????G??$?|R,/?)%??	??Q?l?f ?S??A^?g\\nZ????????$???\\0B?\\ra)kg???ft???????{??????i??\\\'!???????#`??~\\\\????????c/G-p?a4i??~q??Z??.rze]??iH lnX??i:??`??4PY?n??{?X-e??????6?9?}????v^?*}+??O]?1???b??ec???????h????d?sJ???|???k!%?L?????9A?|V???j??D?\\\"???\\n??%\\re?9?Bv?8?UK?h?]E?7G O<dz????+?V?????K9#?s??\\\'A?	?{f??#?iG@I????=Z2<?d??l?F$??1X??tar?#X9+?6????W??6w6QJ?rG$?T?7??????T?P>f=?\\08?nY?\\\"?ya#9????xsK???]*K???e??]A\\0`g???{??]:\\0\\Zxb?$E?gh??~?u???H?(??_?????X????-?????qx?[???\\Zz^?kw?%?$?$W?g???q???????U?\\Z??fh~????0N?r?x?=??d2??1tl???6+?n_?u???j????6???:9???*o?\\\"???Yc,O#5``\\\"???x[T??]??i???*E\\\'?????#?i??N??sB?C?u)??i?s?iF?+Ai@???VI9=\\nl3H?????R?????9?e?OU???&9??b?O4???m?!??#S?|?\\Z?.???*??6?8???OosV?p*???[??,l??\\0(?zS?6@????iq?`?f?iW?,?)?pG????????D|?T????1??A????j??<O?\\\'?Nq?{V???+c:?E??4wX??????ZE?0N??Do???5\\0ZN???>bA!.??Y???\\\'qU??G?3?Ri?/??X%??z???i7?\\r??v???????F+,[?g9_?Z??g(E\\nj????++????R??&>?jybLV\\\'???FGaF?y??P?G????:??\\\")??O??SU?j?-???#<?M?<zZ?\\Zz?9@y;?#o????M??p??^?vp>?????~?K?\\Z?h????????2???pZ\\\'?u?z???n????[?T??9,A?g{??k???j?u??q=F??R#????VE`?{q?=*?O?????F????>??D?N?dvb?3?;[???-S?Mr\\rY???i?K\\0Si?????v,f	?O?kK_-?????Z\\\'??_?_?hO?|??EUa7S?J?p`?1?\\\\????MW?\\\'??;MX?Ea8?)???n?{?s?^?x_C?b???????????iRt?<?H?A&Wa????1?????e?????????4C??ð?sA??4l?r?B#<???>?k????EgHe??H??9?Y??N0?`s_??R?GQ?^~???????O1?&?A?|??n)?	fT`#??=??I??R???`dq????Kx%????N?\\\'PB?\\\\??L????\\\'????4????q?ZQ??+??H???G???H?\\Z???????+O?>K=:??N?<?1???W?nc?\\r29ZGc!?#<q????j?????e\\\"?+\\\"m?d2?~2E\\\"?<??H??@???HC?\\0^T?????W?(? M\\n>??z?????:4?aF????r0q??;f?}???T??[??)?H?\\0=k??JJj?CW=??g?????%??v????!???????^????Qa	Q?\\r??PN????I???V\\ZF??M??$??DW,Z6E???w\\\"?d\\n???G?j?o?m-??!?\\\"?B??y?~??F?z???F?C???\\\'?4x??\\\\f?Wz????z??|?_?????-?D7M?_?J?O?~2???????k??vdR?LLpI??;z??\\r???|/sk??k???????????G?W?{~????H|??	;y?DAbO?zKa?`y??q)_A_??d?sH?E;?M?~k?r?JGf???!?\\Z??i?.N??????#?2???n|C??&hn??*????59	?^e???U??q?\\0?=??wk?2?\\\"x???????##??^)?A?j?R]??N?@????????xZN???????{V}{??^D?W??~????x=+?u?	k?^?\\Z&??Cj?qg?{?A$+c8???Z?&???DL??#???xcY??????\\ZJb\\\"e\\0?\\0{?\\\"??\\Z?	??z){s_?)6?n??n$??Q??s4YXn\\\'$?I%?>??\\\\.??I???Q??????????U????3?????kUu*2%W???(Gv??Z????[ ??\\0Z??9???>?:^?&????owdb,&?d?Hw?9?[+?|?\\\\?	???n?\\\'$??\\0???_?|M??N?U?~?e??w4???\\0x??e?t`??1????	?t/i=???T*??\\Z??B8?????\\0????|??.?\\r?M%?R???LYAN??\\\\??? ^?mb?Y?%??????u?<#y??&?T??k??fW???q?9?uW?B?)N??o??????R*???	?\\\"? Q??=W?:?e?	iyS?????` ?????S?=??4?\\nL??\\07|?4[N?nW$t?J?iQ?E*8?h???t?????T???Q?? ?l7?3ry??g?P\\\\J???b\\\"??.?\\n?9??W?x???Y?4?)?hc?VKi?+??6???(e???m\\Zgp??2eP??H?._???s??,?TF}B????1T?d???????^[[^?h?E??p?#??sYV?T????[P?fbO?G???\\08?,?q??@Q?????Gz???1V???q4????B??8??????dE}u??O?o????g?[`VU1z\\n?8~[\\\\C_?l4=?R??????62?G\\n3???5=W????n??Ki??>X~S,L???=OA???{?os????G?id??-???L?R??Q????_oj??45??80?UU?XW?Q?<?\\0i?GLcb???????Z?E?.????ýj?ZB?Dm??s???g??\\0\\n?{V??H????}???m?T???(???6U?r????m#???o?<H	?{???????????\\Z$???dg??`????9?>???$@???z????????????/1cp%??\\\\s???W??Px??Z5?GE??	f2???0O????#??;??5?x{?S|??????????5??|?aF4f?F??^??E`?v>???j>??R,o#8D?nS?????~??H[T-??=7??u2?G)\\r??`>l??S?o???\\rV??j[??÷2?f?p??#9=9?~??or%@l?{??\\\\w?q??LO:???Yntir??O???n??z???!??V=??	\\\'?en2?@???O???M\\\\?\\rs???.c?\\\\?	?x&????#P???Vu??n?[Y?:{?q?	\\0g8 zc???V?F????z?jPpd?U;D\\0r????i??+?y?Ny???.).???-(e??5??F??pW?>??B??{T??*v??ZF~??K+?F??6???=???I?)??T????a?N?????H?;??U9?????A????x???????I????uK??Y?7$K\\Z?p?Q???<z{32???}?,???fB>[???\\r?~????9????>P????	|??]5d?fv??\\r?? ??;???=?-^?ME2PF?	.1???:?????xN?8??-?=9??????2?G??6A[(?R??5??????4???9?	\\\\???\\n?C?{??G?Mgo4D????2??@?,q?*???Z?{;?H?C)30\\\'$?8?\\r???????h?@?K?gn?\\\'|??f?ES?-?m\\nV?m?r?,??BFbpGjF?N?8??v??	#Y<????k??5?n?a??v:?iw??HU;y?7????s?\\r\\\\%??H?=**)E?0o???V ??1?wG?4cp???CA!????K??????V??S?n?\\\'???J?P]FYS????Ha????)~?q?J?y\\\'?5B<2????~aWM??]??g?Z?]5?????????Z ?}6k?V??v???\\0\\n?+??1????TS??Q?v??J??Vu^??H???m*<?????B1??\\\'????T??,e,????qE??2?%G$,?????5?[??G???|-?A|??K?0	8?;?\\n??m????8\\\'??\\n??????9?]?lO?w??s???<K?-r?U????$*a??W???ns??G??z??S?Em\\0?\\n1??p	???Ll?]?i\\0?hR????dv????S??$?5N\\\'h???>??)??a?\\n?v?j???G???=?\\0?u???c??>?p}qU??n??(?q?=:????B??U{?9.y??????8\\\"???Pe?dD???;|???R19?r?( |?wg??r{t\\\"*???6?m?i1^<??????9{}+??Q??H.-t?F\\0,\\0?\\0?????N????f?GI????a?#??????B?h?4?@??#l?0?|pH#?\\r}NYIJ??W}no?jh~)????a????8????8a?????26|?p?g??+?|?????k??-u1??]?a\\\"???\\\"?I?8??Fq???YV??????Z???KMO?2r\\\'^??f?????w(??#&Ozq\\n?|s????\\nc???{?O9?QJ??5?-E?$????;R???b\\n<??s?y?*???J??q?7Khu+?<??Y-?\\\\(T1?8?y??5_x????????g??<?Sl,]??Q???\\r}???:J?ou]7i\\\\?uZ79f!?O?E)??>{}?3\\\\\\r???w:x???\\\\??JwI????N?;WO??I\\\"??7V@??nX???*?\\Z?GH?*??Ct??J3????!`PI?n{f?&I?eNq??.tV?1p??nP4??J?????=?FKc?PJ?e&4f???i*NI???e??=??kI ??k&?A?@QO????????v???P????%?t???????e?H??2\\\\??7??i?\\\'k?I}?P	???oP>??:??\\0w?V~??????n?#?J!??M\\\'?Tb????#???fa?_??{V??v?T??BCT{?%?/?^9?i?Uc(?\\\\???????????s?Q?Yt?J?W2<\\Z??%H?_?.??<5?k????+$N?p?a?9<J?dFA???<A??7[??????f?kef|m\\\'???}_^?/-M?z?\\r??C???\\0?]??A?a?g??Rz??4-e?Q??5??-??tn?P?.?-??	?\\n??_????7????B?#?S????7?š??AuD?d?Fd*????Os]x?X\\ZQ|????????y??????1Ty?w?????z?7?@p???\\\'????q?02c1??r}k\\\'?Jy??#?@?g? ?>?g???b`?C????????K????????D(F???s????ah???##?W?????2????>??;?\\\\i????????r-?y\\\'??Xb?+GT90??????i???Ij??%??G?W	?x?????K?\\r??9?\\0L???S?? v??I?i?Y`?3????\\0Z??c?a?h?Td?{?^??[?^??\\\"GR0[=????0?w??H???b??I?!??b+Eib?4?	+???q???}???OG?Z?+?j??y???\\\"6??a??????~????G??\\0?3????E?p??AS?A??\\\"???r?$??????+y.?\\0?????ol??R?O?r@?W\\rk??xm\\r??\\0??MQ???n?I?9?????????u?^??G?\\r>?\\\\??eub9??`??ml??c???\\n????g?v??S????D.\\\"?}{???V?(;2X??.i?.+???Io!\\r?mS+0\\\'?f?????R?#?j??k??;1???eI?=??;/6?\\\"?U???s??jj?I???T%?q?OF=q?^u?MR??R??n??)Y???:d??k???t??s??4?hz?Ry???yn7FGp??\\\"?p??k???so???\\\\????XbLp?3?Á?+??ei\\nI\\0An??\\\\^????p?g/?O??.????f???U@-?G??T???j?\\0,??cj???7??Pgnx?tW?????DX????7|W??q./O????a?????1???}?Y?Uf????\\\"9`{\\\'?z??OC????i??*A??*u\\0zWg???I:???x?@??u???9MxU\\\"??????I=?6????idU?????>?51WcC??\\r)???f?w?-n?,aSvK????z????q??S?J?M<\\Z)O?I?????;f???}S??`??yb??z????W?=k?mm/?M;Q??I??&C??pFGZg???u?~{?an??]?@p	?{??Ox?N???I?W?5;R?C???@N?P?@\\\\p\\0\\0ak??.:?c?Jr?kO_?t??E??yi??.;??LJ?YK?c?F???????^y???????o**??_?>5?E???x??[??V+?y?Eq??g??k?O????-??0a?2b(Dc$(?>??cS	J??NWo??V????3????{??vv5?x???K?	??8?b??D?I?$?t?~?u???\\0E??3??pHlc??5?3??{T??N?????5R?,?GZ?*G*???Zq????)V?jY~?s??a?V???7?Q4d?????u)\\\\???c;`q?Q?<g???wr??5F?xpx?4)?6??\\\\A???J(o???h?s??????????I?\\0:b??>Q^?9?\\n?[mK]?3??\\Z`?:??y???r??j}??E?M?y??N÷j??A?6???i?l??@60C)^???????!n?W???g{gV7????{g/?:t???2?N?GQE??????7~.?e??+yav??L????Oc????????\\\"?5???\\0??g~>????k?z????x???i?????;i?1???1c??????oY?????B?I?`|~?i??????|??????R`6??M&???#???\\0?&C????W?B?????x\\\'4\\r?f??ya??]5??,?ž?????	?|?d?????j??\\n\\\\Y????o??4a????#?>??kI???nU$???s?\\Z?o|6?M?\\\\hvS]?8?.\\\"?W?k?(??J2|????r???Ri\\r??????5?q??D{?k???????????W?^t\\\'?{KY???mq\\r??cO??)??????}<????~??g<??k??O?z??? ????n\\\"?-$?4e?D\\0?q?S??<W?h?F??3?www???$?y?O????v?Z?<?Z???R??R?b?nae???q???\\0?^??iP?Vq?Y4?G!L????s]u1?<??-?????9?Z??m??mwc9?????r?????l?x\\n:c???=<+?c??d??????y?GS???\\\\W??OE(??????q`#??a?!?\\n0?N+????M?C?f?``q?F?b#q??Za+K	.f?LM?%??<M?,M?B?R\\\\)\\\"\\\"S??\\0Y?Qz??\\0???6h?ivm?r??q???I=X?V?	??h???V???U^?.?`F>???I?C?kS?rbsA?A\\0`\\0:??.???;???#?+?9??+?????.i???\\\\W?A???A4?@z\\r???????=?\\nc\\ZE??z??????#d^PO(?j?tCW<???f???\\\"X?K?M?????@FOp?b?L?U\\\\O?**.Za?? ?Zh?PGcK?]Y?f%?S???b?v???~?\\0?D[?6x?fI??jqi??6?%?c(?????&[??d??th?\\09?Y???wu??c???^h??\\0?Cd?	Q?}kx??Q?>???????????t????	??R?wWz?^?V?d?????(Oo?oo???W\\\'??E?t?2O???I??`?R?????? y??:j??#N2?A\\00?j<7??=?]???n(F#??&#CpC???R?[????H\\0<????C?9?#)e????U????0????}?]Oe??a\\\\?3???u??????????0?`/?tF?R??<??S??/?]??u??+?r{???_?K?e?9\\Z+N\\\"?Q?\\r???^????O??P?W$?N????C1F)F??p?7b? ?V?rl??.???z?B?u69??T	C?K0?\\r$?!La?M9\\n\\0<Q4j?\\n?[9q?i?W??\\\'??F?t\\\'???=???l#$P?,a?S?M?\\\"ncm?<\\\"?-??3J??\\\\I	74?X??R??????e?s<?Q?]??gM?m(}?\\r(m??}?\\\'?j?????&????L?f??{jt?N????\\\"9???D?<?N?=?+G???jN?P??0=?rkV????2??u(?:L??4bx???k???p?\\Z?????1\\Z??\\\"?A\\\'V??S|*$???8?iCS?%o??g-???z,??K?V?Few?h??T?}?>??h???;??(e?*????????I??H?PR????n?XL??{?????R?!3%??[?E<7?z???5???7?xb?w?Dkm\\0$?\\0?????iS???w_??????\\n?????G?Im<r]Gz;#?G.xP}??????X?j??m?T????9?jo?7VZ???-??2Ki??$????G?t??????????w\\n???\\02?\\Z?z/?:)VIV??Mkr????F?+#7\\0?1????<F??K???m@?#*+\\0?`??2????%M????\\\'??{????:?????cjXt?t?p????????3???\\\\n????U??~?i?????*?k?\\0Y?jO??>??\\0\\\\??LU?m?{v6L???????Rh??ca?e??k1?I<??{Qa`????????X?(b&????\\\\???|???f??#?{U?#?!8?Q?E*??+????v	#?)??K????)?????&?Q?B??????c???d?:d.o?c??X??;U?;8,?\\\"?<??pI<???G????|?:\\n?w1?????o??t}fV?.?K|?@??O?G44`_*?8S?v??T??H?1??1?m???E?V???M=?? T???Mh???????C\\0\\\'?##m0?6?$????\\0?r[?=?!`v????????(??<?[H9?\\n|?[?d???G?|???j~?\\n??GT$???j]X?A?!?9?M??\\0sH???E??56???<.??>??\\\"24E$8By#?+?&>S?*??\\\'???}????????}?K}@?lU??\\\"?X????n??}Z?S??Y??d*\\0F??O/e??h??Q???U\\n??}??j?Z#?????X?/??:V?q*?L[y@	???N;?5?x?????[?.???\\0?A?\\\'???/??6???~?\\0???<v?C??????_iP?i?qM???\\n??????\\0w?.?\\n?w?k?\\0?\\Z.S?P??K?~????P?0e?pA?T?l?%?O_??8?q?c^\\rf?Q????$9BI???{R??? ß?{??sQ?+?4?+Y-%t?W1?c??;?\\0?:??-????H?c1?j???Z?N(v????-9?C?D?L?K?5-W^jU??&??l?H\\r;u0=8sY??=_??n$??????|??@???\\r?Q?)S?S?6??`?,?|?D?3:?s?U?\\Zg?u?@?_??>?s+}?^?$(???9???5??L????h??>??Yve,eo??8??g??8?5MOZ?5?B?	???;?E??\\Z33`??g{????ku w?????z{????\\0v?;1?UK?[??h ]??~I?\\r2???*??v?fff???SUG?!\\\'??{W4)TkaF#?<?????T?X#?n5$??e???0?cNO-??Ux(E7??N)I?&>b}?Kq\\\\Z??=wl(H94?.?Q?\\\\m?????8???)?$?1WR+?eim1?(??~????U?Q???(?4???w??V?Z???fK?Z[?YI???????E??CL?????????:?j?4?q]15i?E??>,????~????Cd\\r????5H?\\r?????*^??w&/[?s{g?x?X??K?E.??N?TH?r?????uA???mg?h?I??R6????????\\\']???TV?K+???9#???r?%??\\0??T1<??61?\\\":En{???a??Vd?Cp??\\n?{?k??.?A?I.??l??Ss??????	 ???\\\\YfY<}{??]??O??{????|??=?:)??s???^???=Z]B??E?\\ZP?Uq???5?Iy&?n?2?Yg|?0,????????,(?????????V;9S?Q,?Ni?C6??NY&?]N1?FG??21b????????I}*9????x??uS?;??66\\\'???Y????5J?cNdH	9??z-?rq?7<??OOz??L??-???N??FN?0x8???????\\0zR?m?????3??~??N?&?t?`?E???N?????m???)????*?h??>????????e&??HC?]?\\\\6?N??|??(?LT?? ?W;?????VN????\\\'?8?>??Oj??c*qLfb~c??eJ+??eC??}*???\\r?(m??sL )??]<K[??k(d??9?@i-t?hxV ????/????9??N?U,l?1?C??Z9??/????????T?w???B????zvea?6\\n??=1X??;?+v)k???T??|?-?+?????~??i?V??jcPmOP6?2?$;????q????W??T??O6?e?\\\\??9?\\\\l??	?\\r+\\\\????YF???<;????2?ESi4???1????e??Wr?G???T?B??????P???xn?5??/?my?KI??v???UJ?W?t\\Z??K??j??*?aG4?4H??Gw?????$Q?6a?>??h?????????Q?\\\\?s???$uF??w?d??`??i??????I?L9??*?K?LARb?O?+?Z#??01??FsK?@<S3?@???7??\\Z??i??X???0Wg?FIo???)A)?g?jQ?n??d?|Ð???F?f?WFF?:???V?4???0r?_?=\\rt?A????6?c?????O??R?-?c?c?{g???· qRb&o&E%W?=?\\0?\\Z?????0)x?C8??????^B?dw???\\0<?2??hRyHN?8l??jI?wd\\nd???$s??????*C???????\\Zf?*??)q??A,o??h5)Y???.n\\ZP#?bM?%X?95???b?P?f8V??M?$}??Zw??Yc??V?b???fEiQT\\0??O????i^????`e??S<?????W?]??[?GDIax?????????x?Pm?8?8?????$?Db?x\\\'4?{X??j\\0\\\'?5?kVt?~?????7?k\\Z??2?u???2?id|F??7\\\\???i:???\\0f???\\0?hfS,k?ÂO#????&1?~c\\\\/?+G????&?V?Q??Kyf?}??\\\'[*9?y<}k,i?q??9jTH?2?\\n???:?`????Me<C??u???)?)????$????????]	4?y? ??f?8#???r??\\08??+?Zf???m?-?????g?H\\ZHm\\\\????~C#??g?QX?????]??j?B?I?E????n??{yq??k\\\'????p??m???:?V???]?it?b??@?%O^??^?(?hf????L???~????W??8?8?\\\'??B??0z?J??\\\')\\\\????=??F3???d%x??5??6O?`???????c?u?[??m??????}?)?????WW?!???????tn??x?A???\\rKY?m?[L???ojQ?9????t????u?0??\\Z>??\\nd ??\\0^???,??1??j?????????hm?<???????^?.z??sb??\\\'?$??c& ?*=q?z???Vw???	%???\\\"????oc[??8FV\\\\r???1\\\\?)J?=?}\\r9i?\\0??Y2?q?\\\\??E???h??&?H???? ~??????*i???X?gu??s]?v-???S?????g?G?o]????P;,??<P?? ?V?^?u?@X?HU??m+?SPFFs?.?/\\\\????D?????2???q???{W!w?s????}?û?8.?\\0m?\\0??G??}??L??k?????:0?h???X?O?m$?<9?MgI?B?	?.??c#o\\\'	\\Z??\\0???|?x????????1??Jn,???36Y?b???pr+????<5????C?E??3`?J?q]???{b?dU?%	???\\\\?0???????w}????|?UO,+?S?[?x?	%,??)?Ik?q\\\\??V?Bd?x????\\nqx?\\r?????? o\\0Ra?q???=i?YX,?}(?\\0guya?)?i$?#?!??\\\"?m????7]A??O??F??????,??\\\\????;\\03?8>???g?z]?Z?????gp?h??@?1?2>V??Uo\\n????{\\rW@??,!G?H??9?c??[?2??x???_E?????cT?FU??>a#?j2A0?(??uW???H?iH?$`W?????????1N,pA8??r~Q??U?$???d??????G#??????d????Z????p<???WLp?J?\\Z????-S??{?P;????.Ar?iE+\\nJ?=?a?f??4Z\\\"?c??\\n?S??C?\\Z\\r??>y??U????k71????03????\\0\\0??k?eD?a?q???b??z??Y?HP	Y??27????c?z?J?i\\\'?.,-O?[?h?n?\\r?c?@?q?q?iZ[YZ?Zi????1F?^A???~?h??[?????x\\\'=??N	?g;jR	f?????.??\\0?????/???d???M????r??\\Zgb???C\\nL$}???$2???5\\\\??X??ac??^?????\\\\?\\0@!,;?m=??+??T?\\Z?9=?-?Y???Fhx4??*5	?ÊP??M.1C???K????74i*|?HI??y\\\\d??(?;;7S?\\Z???????3?X?W????zz??|q???k{	?YD?`# ?u&??? ??G?d?v>?K??z?y????\\0U9wD?t?q??W?6_?yrqk?2.2??????a?g?=CWeMJ?I?3???^:c?o???F?K??\\0\\\"#K?3?+d????y?M?0W???v??z???	T?4??g?R\\\\????pyj???????J???M?Ou?j?$u\\\"C \\0g%y>??]-?????s?Ceo??|? ??????\\\'?c?r?KmFH?\\0Âz??????5L?.?k?\\\\KJ%?!???ix?+????w??wt?i?	??\\n???\\\'\\0q?w=EvQ\\r?~??ch8?&?L?$F??!??1x$S??&??%??????2??ZDb#%?y?FP\\r?\\\'???c?CP?t?G??????zV?t??*	u8?H+j??%a??:3L4?q\\\\?,????j5?G2LRiU]cU???K?Lk???H???V7qX>0???;?xZ5.|??Ã?V?Jp?Y)mr??,???+MR?\\\\A??HYCu?E??,?q~???W??cROw???HU?N8??}BV??J	?1?ae?{???N????????H5\\rp?n?j>','web/saveMukaDepan','0.12169480323792','2016-08-03 10:37:29'),(518,2,4,'192.168.1.197','update','UPDATE `web` SET `namaSyarikat` = \'kedai-e.net jual tudung hoho\', `mukaDepan` = NULL WHERE `userID` =  \'akmaluddin@salihin.com.my\'','web/saveMukaDepan','0.12885093688965','2016-08-03 11:27:30'),(519,2,4,'192.168.1.197','update','UPDATE `web` SET `namaSyarikat` = \'kedai-e.net jual tudung hoho\', `mukaDepan` = \'????\\0JFIF\\0,,\\0\\0??\\0C\\0??\\0C??\\0@\\n\\0\\\"\\0??\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0	\\n\\0??\\0Q\\0\\0\\0\\0!1	\\\"AQ2a#Bq???$3R???\\n??Cb?%4rS&D?\\\'5?EcT?\\Z(6d??\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0	\\n??\\0Q\\0\\0\\0\\0!1\\\"AQa2q?#B????R????	$3brC?%?4S?cs???&???5D???\\0\\0\\0?\\0??l????(?iY?????????x\\Z\\n??x\\r$??}$7?????)JO?4?|????<?V=$j???\\0kAZQ)+\\Z~A??4?? ??|\\\'?????	?\\\'GC?z?k????CIPI???hp\\\'o??{???;?tN??@>??-i???????????\\0???>?????\\r?)V????]?}8E?q?? ??:\\Z????)\\0)[T}??\\0?<?H??\\0??????s?w??)\\\'?(????cVo??@:????n??}?\\\'c@????w????????;???3???B{A$???J?N?\\n????{?\\r?\\0??N??OhV????\\0G?y6»?w????????)\\Z???lo_A?~{?JPB?@?????\\0???ZB	?z\\0???????c?B?	 ??????	??B??(?{?=?_??t?/?D4IW??????z?A????V??1#g???^??<??8??<i]???+??\\0??????hw????|???ho??(*?o?BVG?~|???}|s8??w????u?(?v5?????\\nH* ???J???v8?$O??????6H?<????????\\Z??A??dk?H<??:?H l~?\\0??{u????\\\'????\\\'?e`\\r???B>??3B??@?>????}??O???????~|\\0??????|???G?}?m?\\\'?j?^Z?????d????h\\n%!.\\\'~tt???7?w???_2???}???<?v??:?4\\r?(?O?\\r?P^6N?}???@?5?????EM??-!@?????g??oi?#?E?1_????\\\\,?k?]?%?????????\\0?????^T??;#_??QHOi\\Z\\0ww????????I;???U?? ????^4|?k??\\0??\\\\P=?	Wj?????8bT??`~?????????y?@>U?\\0????\\Z??1?HPIY?????5????\\\'?P>e?o^????+?*V?\\0B?=?>?:?????????????e??@??@ ???c??k????I$?):??)???????P??????????)	@H?X?¶??7?I??0??|?Kdv??p??JW??I???????(?D???A?s!?2?I?\\0 ?85???v??? ;???`88???\\0??\\\'?w????????$)I?(??R??>9?P?(??V{R???????^\\Z??@???$?\\r??X?<co?\\\'R?;P???o????B;T??,$?T<?\\0??%?	!:?Owq??\\0M?w??????w?~?}>??\\r?\\n?<??-cc?%-?Oy????y?WxQ?R??XRW??>??\\0?-???wk{?C??(i$??Z??J?~j???o?kV??????V?<h?c~x4?\\nRv??d%*?\\\'~??C??>5?????\\0?F??Q???????w???)i@?[1eZ????U???)\\n%J>???\\0^H??=??_???????)???^ar;??]?=H:?JG?Q=???k`?|?*????x??????????v)D??$??????A?\\0?????`??Dk?\\r?}????I?!*V?6??????-????????p???N?w??<??rG????\\\'~??=?}?b;???y\\0?\\r%#????? kI\\ZJ????9???@??=??x???>PR??B6????}??8rA??^?%@?<+???V???$?(?????|??R???	R???\\\'????m?|????????\\0^z????{?`yQ????8z?Q????k?Z??l?$h?<???^}???U????????n!)?:)WwiR??vu????N??~?~?????%=???????s-??\\Z$v?@Kj\\ZZ?=?pI	#??????#?)???y;)????????\\n$??@??????vu??\\n=??)B?O??????p?%)? \\\'~?	?\\0??	+*W??/p?v????|m?v?%__?1??q?V?#%K?(BF??\\nH??|1?;?4?(??^?Q??7?????5?G?\\\'?B???PRv???\\0?????\\0?$?$i??????^???-??R??????????U?>}??~?????T???(\\\'A	???Cn???\\0R???p????h??k?p????y($y????????}>?]?7?n\\r???\\0???\\0???Z?\\0??Y\\r???\\0?Ai>?? ??4I?:?x?????\\0@\\\'?????\\0n|??*	*T>d\\0>???X?(SG??$??????????x4)\\r?>?????md????\\r?k?(?????~?r?H)CI?A ???|?\\\"?]??X9	??????????????T?N?R???????h?Gg?d??\\\'???2??\\0??G??`??m?0\\0Ë89)?RU??w\\0A??G\\\\?I[G?	?{?F????\\0J?:Wh5???????*w?}????e?W??<?k??On?>J???U?(mD\\04=?|x?1?I?Rv\\0????jO?)Q? ?$?8??V??\\n?tH?F??????]??V??+{ }pEKy??IX??)=?h)?+G??mX??-L?????G?Q?_?G=QB}?^?7???????d{??????J?RR\\n?J5?7?O?????>?	a\\\\w?_?u??? ?»?I$k?IJ??????	??\\0???y\\Z??Or??;$??d??\\rT?N1?X?=???@e~??A%;>S?\\\'??\\09????tR??????O?p?M%????????\\0??=??%X??R?$o{?O?û???J?QR???<5H?R@*^? ??O???HRT??\\\'E]??}????|?\\n0;??\\0K??I ??m ????R?6?$\\0A?\\nG???9B4rAO?k?}y?6;????vG??=??y??;q?M????JB???4??o?%???#?[?\\0???B?v[??R??\\\'?\\0??\\0Nd???\\0B????O??!Z\\0I{Rp^?R?m;H\\0|?????R?=???JO???????:\\ne@?\\0???R??#?:?Q>?nl2?]?\\0??y?\\0?<???????zQ*?Oo??v~???	P?F?????U???)~\\n?|<k????\\0???uw?`?<?O??\\08\\0;??j??r????iq\\\'`\\\'JHJ?r?q??{t}?=??<	\\0\\rv??^l?k?$?(?p{K?=?%{~U???g?	Y)@w?|????	\\0??????\\0n?L?(xH$?????@?\\0???	W8?/\\\'??$#[?	?$????-?7?@I??8JG?A?????????H\\0???????????????iI?]???>???i#??\\0????I?>v?HC?[?(PR@?@?F?y\\\'??[i:J?Zt;F??p??C??q???\\\\\\0H??c?\\rw???G??R?\\r(?A=?¸.?u?????x0F?Y>G??????&?I\\0}.?$V\\0Q?m $\\0w?:???G?>Ac????JR	>PH???>?rAI?B????G???)a??h\\r^X)J)???=?p????+a\\Z\\Z??}???8?t?:?????7?*_?(|?\\\'?8z)??{?????7????\\0n?J?????;?:?\\0?@????y???%-?A$??Oc??pj?\\\'??pS3?ld??????I?h?? H?/r¾O??#???C?R;????\\\'E_O<Q* ????o?????&?`;?Y??\\Z=????g\\\\?I?I??????@|??hwk??}??	Wo?i???\\\\R?d\\rD???\\0??y???J\\0H#??C/??x??(???\\0????$m??|?J?>B????\\0/??/_???]B??????????	ó?`??A??????v?!]????\\n?P6?keC???\\0^	?BU??o??^<???.Y?~#??}q?9G\\r??ob??Ov??A\\0~??M8A?<h????C??x???\\0jS?,??Z ?????T?,???\\n?B????6(\\0?X?6?c?,v??]??C]???>?%l? ????/????<?z?(\\0?>??????????(R?R{N??O??~??%P8?O?o??+?	Hc????!D???~9???<?	F????????I????N?I?u???y???H%HO?m?C?I$!9??\\\\l?Un????\\r?????=	??N?=?N?????EZF??? ??9????+gg?HRO???DT?5?????P (??O??y?v6v??*???1ROb????$??\\0n????|?????\\0N?*i?O???`>Y?	B?O????N?~?!K?4??V;Oo?h?|?\\\\\\\'}??~S_????\\0c?xRI???v?G?????7???|??pJ??????_??\\0nK?\\\'Gi??#?;?R?p?T??A??G?????II??????????O??`???NIs???????????%?0A\\Z\\0?????B???????=?\\0\\r???|???W?\\rU?g???;w\\0????x% ?\\\'??\\0????w???)c_]?b(=?iPW?????& P?!>v??7Q??j?c$?~????IOrw?@??~	A?	N??vU? sdb???@???????M6A_gq???{?e???6?????O????\\Z?tI;)|??P??A;??????+??:??????Q?JT????c???\\n?\\Z?????5?i#??????:?s???_????~~??\\0^??%?v??`?w\\\'?{k????S???w?\\\'G?C??@?]?8?\\Z?????I\\n??J???\\0<?-?h$?A*\\\'`?x\\\'????#????Z?????@H?????}??pI????0R???>F?o?\\\'??I\\n:??$? ????????!@m*????-K@?}\\r?;*???\\0\\0~c\\Zr?p$??B@W??>???!):?))\\\'?h???$?tS??}????KE?\\n?|?|??\\0??p?.??/\\Z\\\"??!@?lmZOo??d????Gd$?Gv????Z;S??????=???????w+?O????\\0???$?????\\0k?	#e\\n$???????@\\0?!G{????p??R??o???~?????l?H?\\Z?IQ???8?}??l??\\n?BR?t??TI???k?????yQN}?o??D?????\\r??\\0???B?S???{y?pf?\\n9?\\0?09 ?	)*X;\\0y?<???{A>N???5?C???\\0???B{TB??V???bx???,??c???k??????\\\\\\Z?z}C????O?(????Ä?N?6S?BpP????\\n$|??_????????~BBO?x????ERlI???\\0??r?;?? F??<%CD??????,?5?o???^?x	RJ????k??p`($?Z?|?????\\n???$?l??x??U?A!\\\'c????M?d-*I??\\Zu????x55???><??B???????O?d?????p??>???ppj?\\\"??1???»??P?????P???6B???????c??\\r?w??\\0???v4r? >?5??lk?????\\0,`t\\rCSiBA$???@p?~?\\\\	m?x???]?Q?,6?~?t<?(?y??[?V???	??@X?$Q???^????[???????yW????l????$#????S?q?|T?o`m?F???y?\\\'h$v??cbCW??\\0h(??R6u????h@?cC??G~?_?>?JJ?????????^?Z??k????????E?\\0L$???\\02@??<(?xga%\\\'??*Z	?q???v??{;W????? \\\'Dlk??V?c???{???0GiHs?}??6??o?v{?}?W?d???=S?A ??6??\\\\?IV?N??R5??_N?Ci??c<???RQ?U?\\r??<??\\\'c@?I?u??s??	Oq???+?c?>?-r????{?????G	1\\\"?n?cbU^p0???????S???@??x	-N)+V??\\n?R????`?????1?P??K?????iO???F????|?IH?:e^???4??R	 ???8R?T?w???tH?????/(|??o`??O???\\\\PN???\\0M?????Q*#I?N???\\\\)\\Z?$0#??Y?u?zk????\\084???\\0??\\n!(QI?#?j??>y??I?>??????|pj?6??E??????t?{???n?\\r?g?\\0??\\0{???\\0?7P????7? ?Cc?????<?+??}O???o?%\\\'??1N?Q??I\\n^?Rt?yN???a????\\0l??\\0???½H ?B{?>??s?{?W?????h??\\0??\\nBRB>jT?\\\'~	??)?I??`~???o[R?????\\0????4A??` ??l??_Nz?%]??G??c??\\n?r???\\\'?????)?V???????<%??\\\\?<\\\\?T??/KV???py?@$??T??H???W?J?????9?????Z?W?\\0S??lE9??okI\\0?l??>??w?A?JR5??t??<? ?? ?>?p????]?~??T?]?\\0?\\n5x?}??v??\\0/?~o?`?H?????Z??\\nP??b7??<]?\\0l??$hi??/?{????i!$}????p? m>;???l?<??iGg??r???n	\\\'z??????Qe\\n=??U???????????9?x;N??O???????Z????????R@ v???????p1?c(Oq?Q\\\'?$????t?????????<?`????R6A?????G[????5?p.8???Sj?;\\\'d\\rv??~S?D??{N?7?????l?\\n??	-?$????_(Q?p*?E)???^0(?Q?*\\0??#~??p	?JA\\nHN?N?7?s????\\0???\\00???;Ju??}??\\0O??aA!?a?~x>?vIQ`?k???>\\\'?xJ??????]??h?+Z?O????\\nJ?V?????	?\\\\g?S???;F??H??]?[???{>=?b??\\n??7??????;???@{??;??R=?OrG????\\0?<;??g?P:\\n???\\0???mh??G???</???y[=?>?y?\\0,?`?;??v???y??E::I???|dh??$?`??\\0?????\\n??}???\\n???3\\0 o?????\\nPPQ??(??S???!]?E@?)\\\'?#??x???????????=???|{????%;I????gcC?o?4?????Bw??W??w?K???mh??c8?.??????*???4?s?xaG?T????N?<?\\0?xZ??4???F??y#???x??-Ed?\\\'?????Bv6??????i?#Cd???????a?x????X?*??????_O<\\0;@\\\'cI:????|?(?GZW??m??iN?q\\n\\\'G??o???cDSV1???\\\'eD\\rl~????P7??5?J???(|??)??c??!KV?>?V???oR*?1???6~Q???p??????)?;N?w??I\\0\\n??{7?|?????JJ??\\Z?2?V0?????ew$?$?????x\\Z^U??????\\Z)\\ZW??????1A?w?\\0)????svO?`{????(?????(xH??>>??xa??\\0??\\\'g????\\0<??G???????\\r??n?|?<?S??[??\\0??	\\\'A*?????\\\\1@????\\\'?n{??I??cZ??e?2????t|?<????\\\\,x*\\0}???;?\\0H?A:??????$\\0@???e?@??\\r??J\\0,??????J?:R=??$}????<??6?R????-a>RJv=???s???x?v??D????W???\\0??TAA?\\\'@??v??^?p}????v??\\Z???6=?BOa??H???s/???8?^??|??\\0????;???W? ?\\0A??Ô???J??	??}??????J?	???:??8??pR?;??|?????2???N?Q?Wp??9?BT\\0$$xN???????J????????y?4p$#?1J6IP?\\0)\\Z>~????hv??`????V??/??vu???J?{?J\\nT?=???????`gu}0????|y??(?k????^d???j???od??G?\\0?\\n????t,?l?~`??o???$????#?R|?#???O<>;?S??????\\0???????{????a??(??u??\\0?<PC`?{h????V?@\\\'G??h???O??}I?wn?n?q?U?+a@kz?>?\\\\?S??N????^?l?????N?????)X?S?B?????y?6?9<?D?%???@???\\0???%j????{o?S!D?xW?%[?????t??^???b?`d????>@???O?RAv<4<7????;	?w?@ ?X?R????HR?o???s,`C??+????{\\r?????<????o?|0??+?) {????}9?J?@?A????????,x???H?5???C}??q?>???($??|kC????Dh?J~????7?lo??A}?kP$,????????l?5??\\0??????F??)K\\n????G??\\Z?	?q?|??HQ#????N?#?;?\\Z???I?#{????????$?w5???1?5x$?b@:HI???JP??mx????lx??;??\\0????????s;??>>\\0??????/?%^?:w???>????Z??T?~?I;?}}??? Y????y????R<JF??G???O?6??????\\0F??????m?9?;cUb?V?rR????)#??????T\\0??????????\\0?y\\\'????	) ??????0???%IR?????I	?y???4?O?:?????n?}??? ??ZBw???O3>????lh?m??8?I?{???????J?R???I??~[IJ?n???N???X??I???~?Nx???*$l???\\0<?@?g?G?}O?s?%%@$? wx??\\\\VT?????`N? ?\\0o??\\0S???(?????og?}82???\\\'i;???/C?%e:>??q?????4???$?H?6t?? ?????? ?)????O??|\\n????h??o|?c???l??E[?lQH\\0?x?F?:#a?Oq??EM?U?|?B??6;S??!\\\'j x??2??H???????^?A7???}?@?V<x\\Z>???P????\\\'?k????,(??mk?[?O??\\0?6\\Z?	n??	*m ??;J?????!K\\n?>??@?\\0??? \\r????O?????jOr????\\\'??80??\\0?LOj?\\n??AW??)????xN??????KW?{?k???E)YOr?N?wo?!A\\\'?D???v?N????7????rR??$?	?A??????h?7???\\0?~d(,??\\0:?\\\'_C?\\0?TT@R??7?>??S?5\\\\?8?o?#E>??M??,6?@\\07?vw???|?;??N??~??A$#AE;??#?\\\\?\\\"?w??,?l\\n?????{N??\\\'???????RA?????v????j>?\\0???U????1??4v?h?>v7?\\0??????j@????%]??n????G??H??????<?7v{`?i\\Z:??:??????TVQ???S???Q??????J?????9?V?hh??y???\\\\?o??\\nJ??g???=?\\0??\\0?|?\\r?\\\'??????\\0>???[:??????>?!	????a7??	\\\'}??????<^??;B?PW??[????5??{??R????N???(:?N???????????4??\\ryQ????	#?j?p?v?????j<?~ ?;;?z????W???+??x c{?\\n!D%@w\\0?G?\\0?}???|??????\\0??G?_O_?????\\Z?V?@??\\0??c;w??ED?\\r????G???h????%*??@$?\\n?r???#??J+G`?\\07?e?c;?1??S?}A?*?B???:>?(??/[???5???>??^??Q?d????cu???t??v	??\\0??($??:??O??S??????@???\\0?=!\\\'????\\Z??U??8???$??????O\\rN????C?,??p$???{? ??????????*?%:??Y?{aQ$?8?}??	???w????!\\\'a?>a??y?R????{??H?s?vO?? ?? p$???J??:??P<????????/??}???T	H\\Z???????\\0?????N???????\\\"	V???4S???<1;?R	:?>P5???\\0???@?????(??\\r???7??c[?V>	\\0?k[ 5??|H l??O`?\\0?>??$eo_T????A%D$?\\0???<?n???tRRT?H?\\\'C??4??6??~a??}?}8?{v?\\\'zHP\\Z?????Z)??x=???|Ì??\\Z%+$w\\\'g?????$h?A~<?\\0??E]???;???\\0^?0?4a*??????8	{`@wv????I:?Q??}?,???o?@??Ww?4U??\\r????;?????\\0?3?qx?]??D????\\0>\\Z?e? 6??????wy????????%#?i??\\0??????\\Z??`D\\0???)??$;w??:???	Wv???????`?R;?5??\\0~oq?????AQ????@??+???7?\\0t=?b}?d\\r?_ ???=	???A???S?><sE???????k???i??O\\0????? ?HnzR?P\\nP?\\\'????<}?)\\\'JQWr?R??l}??O???<\\r?$???????\\n?(?|?	?????+i?!I\\n\\\'?~??U???C???>??y???\\n![{H???n\\nB??I;)I?#j?q6??N?\\0s?H%_7???\\ryh?7?????)?I?\\Z;?W??B@???O*}?\\0??}???W?,???>??w??J?EsW|`w???????7???\\0????\\0J<?u?${??\\\'J?\\r?)_??!J;B??u?N?????;O8??1\\\\+?O??J\\0?<7?\\\'E`V??????G?`??l??}?????W?>m?%eZH???_???# ?/ik?;?J?IV?}????(?JTv???????(?F????>=?=\\0-\\n?/?#??O?????~??{I:??H?????Gi?\\n?}?>?????w??y?@^???	) ???\\0???p%??q???[k?JJ? ?6TT?n\\r??\\0????\\0?????z??iG?I*?)O????;?J?;=?>w??ov??O??J\\0???^;u?????\\0?=?????%*V??s??b??:V????)R{BT?B?w?7??\\0<?s??V6?? ??4<?_?????@??? }w?~???S?@?P???!?>b??)|??\\r???H??$???~????}y??w?D???y?{??=?I\\Z+\\n? o??3?H????J$?0????\\0.?P?`%@??:Tr????????{?u?T@I|????N?P?????j\\Z?J\\nQ)\\0?+???\\0Nkr????R???~}?\\\'??????\\0+?????n	)G??{?H?|????\\\'@?????[Q?\\0??X???d5??;B=?????6?R??\\\'????\\0?#??????`o?pi??$?j???i??	bMl??!\\0%]?v??i??>???JH?#??>*.????c??\\0C???????>?>Ú$????GiSdlJ??mp??;????O??????\\0 Y=?:???2B*Z??)\\Z>? ?\\\"?\\0???\\r??!z$???????H??R??????????8???I>Gn???84????oj!\\\'c????C?h?y??;?A+\\Z?U?I??????v??4??#?? ?JA\\n\\Z:$}A?????az^??jW?_ms?v?H*E???)+%`|???Z??=?R?~c???????-???%??l??!\\\'???\\\'I\\0?;Ad??}?>u?\\n;]??????\\0O?%}?D|??7?????\\0?I??\\r???}A??5*?jJ?IV?	:Q?pJA8,??j\\0\\nF????\\0?9?R?IR@Wf??o?????z???\\\'?????Z!i?\\\"H?d?m<?h~?	???H\\\'??x???w?8o?F?S??\\0Y:??\\\\$????%;??>8?$A;PR???7?mV?8??T1??	:??2t5???J??@???H?BBN??$????(?|?????!}?h?G?r?7#%??{T\\nF???T??\\0?\\n!???d\\0@*N???k???K?c?v@\\nk$???\\0?2?RVr??~_???v??4\\\\7?????????JN???????D?v? ??~f!	:p??J?	}??H?\\0/??Lt???y=??O???/???A\\0?$????zc?!;G?C???B??A?F?<}??8zZq#Ii*??{?Vu???<-?o??H?OjA???^`O??w???J???\\0o????o??%?\\\\!\\r?\\nJI?R{??s??#?y?n??~?8[????Y?Q?\\0\\Z=?R??~?????????;??[G???G??@??GjvG??h;?s\\0\\0P?,I`jmi???4?A?????C?G`? ??[????\\n??P?H\\0?s(i?T??k?N?>=?H?`J?q?	I!`???6t?\\ry??(??\\\'?+???\\0???L?{???????R? ?CD??5???R??K???_(X?\\0?X?1?m?@??P??{6T~?4???4>o???????U??| ??????????\\n???~??@??]?$?*?G?`mP?Z? mh?????m+?; ??q?n????*$???????}??w?<c{??Q??F??v=???G??p???Y$?r@?????#?BR??*=???\\0????%zC??G?????m6??0Y>?=???)Q;_}?	 ??????)>O?????V??I$)[?S?p??P$v?????I?|\\\"????>{?v??(d??~S?\\0 ??5?\\0nT{j>64??xpQ?j??4???S???M?#!??????|?*????s??G?t?\\\'?????????u?N????>?????????\\0_c?x$0?p&y?`???{?T??????|???#????~?\\0?%[\\0?????N??Q?Do???O&@?????H?Oj?????x?N?{H$k`???0\\\'`??N?tT???c}??n))?????????E^M??\\0?|A4<?+?V)?!;\\Z??O??7?V???~?>?n\\nPH;?$(?4??Oi$?ACj?$kz??\\rC!? ????????t?????:H?p??Z*)I??\\0|\\ro?SIR????|???k\\\\I?\\n?HP?$??w?????|h????A;|??c???;??WrO???8>?T?\\\'ZH?P9??\\0??7??\\0??R-An????v????@?+D?>N??.??)??<?m	?o??+?#??m?????Q\\\'? ????o???T???~?N??\\n???w-[	???@BvP%:????F????=O? ?k???s?@g??mJ?\\Z??t?@??8????cJ?IY?g???T;??%+*???????	?)????Q????i\\\'?w????}8?4&?+????6??q??P+????\\0{??v$???}}P5?????{w?$???\\\'???H??f???^n4?$??|?{?RR~m\\0??JF?????O??|???\\0????AQ)N?\\0?|???\\0n}???\\n???????&1[?W???\\0N0Pr????;?	![=???|\\n??????????vv?????w???\\0~	(*RF?w?\\\'???n\\rLh?????l????T??Op???@??\\\'J??\\0??~??????	??\\0??\\\'?_*?H??($????p??hq????[??þ???\\n?W?y?s?h?|?^K?k??BOj???6???2A.?l\\\'iQ\\Z?????h?P??k{?l1?JRW?-=??\\\'J??)EN\\\'???\\nJ6???o?@Q??AX??X??~??H?????}?\\rdX?\\r\\\'?=????l??\\0?2?$I+O????~Z?%\\n?????y?B?B????I;#`y?y??Q???m?6>?n??%		?????G??t?????9?}}??)??;?}?=?J;>BB?????????$?@F???}qT~P??????????,?%I	 ?H_?}x ??R4?PW?????»J?O?>?#dk??F?{{RJ|?)D????#\\0?*?\\0???!??p????(v??6???7-a?.?w?y??9??I#?\\\'????\\0??????\\\'??iI??? ?;+???`??????f8?\\0?@\\0??a>?8?^??i?tV?????v??G?????û?????%:)???x?c??\\n?~}???1??Mv[??X?5????Q?5??o??s?3ad?=?-??l}?\\0?0;Q??N?A?A?????+?`?o????7U_????1?3Y?N6FiB?K}?R??\\\\?s?\\nQ?\\\'??^@?1????????9?T	$?\\0G?|???xdpC\\Z??>???pQ?LHP?`?%?6??A:????<?%%?J??O?????R?R???I?>O?q?\\0??H?K?}?[??U???\\0?4???m??\\0>??,??php?i;R?<%^u?\\0?|???????????\\nJR??o???~????vw?;%>T?\\n}?L???WRl???:F?Z?????=?\\0?\\0\\n?xQW?o????%\\n?GyP?\\n?\\0??????y?=??}???\\0???6?=\\\'?c?+[Q=?T?T\\r??EK?/??I??|41?w%j)??\\nO???x?\\n??\\0?k_??=?j?l???????*Y:>?R?D\\0G???\\0?\\0?P?R?~]?????\\0??%?)??|??z\\\'?9??0?|av??\\0?_h?$?i\\0?? ?_/?????n?hx\\nJN??<????T?w?<{???x?q????;???J?>?F?q\\nW??84z????t??[??BT?t??ZO???O???B?#]?y?(???V<?6???!`???-)A??i ???~???<?IXI ??vAO???]?A[@?I*:@?5?4D??\\r??à????~?;??	@ mD?}?tw?pGz??A>AP???\\\']????????\\0?g??????,>?I???\\0A=?;N???#???$?4<?????\\0*#d??w?o~|????????????C????~?j ?u??\\0??g}?mpAM???;?>}??????k^T?|??\\0}O<JB????>???????	?????}?f?;???IWg????\\0??	=?eZ*Q?????JIP	!D)%E!;??t??$x???i?????[??*W???l? ??xH\\\'`6?b;N???J)?H@?	?@?p?M]????	$l??4b*A??0Y???|+{J???\\n?4T??$\\0?w???%@?????~???wGq?N?\\0??%H???q?qOpGzT<\\0<??a???J?????Q????\\\'??#??s?????\\\'???<	?X\\0G???	???wB@??4?~???PN???;????Ooz?H?1H?????0????:?y?W??l`??????@V????o??????t~m???-???O?{??52?|?Oz??Q?A?M?\\0nmIa{?????0?30?Gr?W?)?? ?\\0????g??N??????\\0<\\n\\Z?)+O?x???u\\\'@???*?????<?\\nA???}0z3??(P)J?P?????\\\\????6I??????(l?=?I??!*g_s?8????R????x??½?R?????%??Ow?$/^~????o?????\\0>d?d?(V?\\n#?(???\\0???7?:?????x?\\n??8(|c????????7???n?JN?O??o??0??>??~??s?Q#gc?h??1F?????q?P?5???v??^y?i*?_( ??\\\\?\\r?N?\\\'?vv?o?<1?4v?=?O??&I?DW??A?cAV?{??k^O=;O?$k??	;?k?EH ???W???????)WqW?_????@???b+]??????	????>4w??\\0s?2???%DH? ?\\0??}-??J???@#????????6?o???*?*Op\\Z?=B??}?6?84	?#gi??G?~z??F??H??S?xS?M?\\0?\\\\?x=?QJ?????\\n|?|(??W~?r?~l\\n	I$$w\\r\\\'?`o???-E>>?H~?A?\\\'?G<????\\n?Q?c?\\0??????o????[IZI?H\\0???????? ??v??6I???Wi?I\\ZO?v???\\0???T????\\r\\n+o???#???\\n?\\0??|??y\\nPO?+?\\0e?D(??J}???c??)>?????>??3HW?O???V1E0??O?{?:#???\\0??????Q\\n?\\\'j?@???}?YJ@I???????vvh)$\\r??k?~?%??X????i?z?R????P#??_?-??t?< ?????@_????O??<JF???4Q?\\\'??X????00J???`???????????W??$? \\\'?~??\\0??1??o}???~O???JQ@??C???,70????1??A???????)$??@??yh?S??6>??|?m$h$?5?A?5??T???A??2t{?$????????v??6H+R?????j?;?YOr|/? ???\\ZJ)\\0?\\0O}p?V???|c???S?Oo?h????r<\\0{H???????	 ?_}k??gCa#???{\\n???u$h}BtT=??o?!#z?4<??????@?O????IH yO???dX?``??\\0-?y???????\\0?S{?H?t{??\\0???*!\\nY	\\0v??;|o???\\\'?????l]???????????????mE]?Q????H\\\'???5???=?:y?\\Z?\\Z??d?$1??Gla?o?%C{?$??nzRRw??v|?x?RS????=??)@??I\\n\\n?@7??\\0N\\0????d?q?@$l|}??o?pz?P<\\r?P???G?I\\\'gad?_^\\06	???g?G??	\\0??r0[?	?N??\\\\	H??????????g????O???????|?????h\\0t??C??\\0????)G??????4|u?Z=??p>}??>?)}?U???`???|????M?\\n?i:??Z??\\0n?J$m::??????`?????1??B?$?@vv??[??P>F?7??^~??#?a?JN?Q?\\0S??I?????????x??#??$4@7???y?B?{\\r?????N????????l?H\\Z	=?:?\\0Z???,x?$?\\r????????@??D??x?#???????z????\\\'?`?r6?G?s1?>G8/D?\\\'@??????\\Z?}??????yWzv???????5?;v6;T????|?]??jJ???l????8JR\\0?C?D??? ???^d??????8_h*;\\0?\\0w?y??f??l??????Z??%?J?y?@?d????hkedl???Oo???HN????\\\\`b??Gh=?W??xQA%		!#jQ>?5?????	?Rvzw???y??U?JP??}9?T????Ìb?~Uv?{?#?????\\\'c??D????\\rw??w${???_2O?\\\'@????_7?s??)A:???t6G??\\0A*)??l??8b?{?????F?????G????\\06?????????????>)W?m?7??7?H>O???\\0?<I?)??\\0\\Z#??Ìe?????m??c?????\\0O??????????i??h???????:??v}? ?\\0??{????Z;\\Z?~?????\\0%G?Gj???B?W?\\0?{?Q?p?%\\n#???O??\\\\7??~x ?\\0?z}??????Y+?B?_?T??+???!]?YB??=???????\\0H?c~v?w???;q?SB??^?J??????p??]???E#???????@?Bw??\\0S??QH ??@N?o??<m?w??@\\r?$?@?$?7??s?=?O?b??4?o?%@??\\0??I:????R	\\\'?<o?o??\\Z?n?$?X????x??????>?[?? p?\\n??e%C]???=?HP\\\'J?v???\\0??\\0?hR??,k?â? keH}??????(o@?x??O??|??? ?????\\0?>?\\0???op\\Z??G?????\\\'??\\\'a?z???R?lx???l???I?jQ???k?\\r?\\0??	\\\'?????w?o??p???]??^A?C?c?8KI$l?@y;H??\\0????D??v?RO??n\\05v?c??jF??\\0=?H?i]???\\0|?[N??N?????A*?w?}????[Z_?????\\0_?2??m7?;w?~???\\Z?????	???A????\\nJ????T?}??#??p?n??g`??|? ??#?????\\0Y#??????	?\\0=v?\\0??$???A?;;???\\Z?vp^??\\\'@?66????\\r???????t?;t	?#???% ~????6????s1??`??????I?\\0C?/j?w?!\\\'{1c?Ww??@? ?P?d?x????\\0V?f^?j???@?I??x;?j\\0????c@??2?\\0A?\\ZP?O??????????*A???8???kz?H??y|??;R??qH?????	?Q+J#??9??G??????\\0Q\\0????????F???F?5??\\rG»??????p???}?????HsxR???5?????????)!?N?>??		??_??\\0~|\\\'`?I??~o\\Z#???wy*:??????R|?????,\\0U?o?C????n??y?????????)??*????\\nG??x???@???\\ZP?*?tHQ????????U????f?O8)j??\\r???\\0??\\0?\\n ?)F???\\\\H?A??\\Z?vA????:?RV????y??(?\\0????*?I??{??\\n?j?v?????G??~]8??#^?O??R?o`?>r?>?\\0O??3?C??,+j\\n?>??@}?\\0P??w??TW\\r??P?:IH?\\Z?Z?A?>??8?#????F?`w??k???????????\\0??v?{??O???\\0(h\\\'D???p??????)\\\'#?T??????A????\\\'g?)?~??HO??>5?y??????PT6??{?\\0c??<	k?? (?\\\'`??h?J_?4???H??????5?o@hx?>e(??$	G???\\0on	hq??1??#??????????+?N?T??ce>~??=?g?<???y????J4?l7???^6E?8-D???%????????{????\\r?G?n??	.$(\\0?R|???JA?\\\'??????????o?xT?????@@\\Z????\\r}) ?????N$??M+?????:???D?$?C?**??l?o??~??@?????y?>!??}???x\\\"TIo?w??\\0>\\Z????\\0?\\0V?\\0?\\r??????{~c?$%Ccj??????@=??\\0?z?oo????~??}????|l_?{?xP@$}????;?R???????B?Gi??????????@??	??B??0F?T4??\\0????\\0?<???J?R??>??????A?>7???S?\\0?{=?{?????0??%EI\\0$kc~??*K??R?N?J????p??))^??|>????????>y?8??	H ??i?6vw????	#???7??$?H?U\\r?mp*?D?R??N????8?I??)\\n?\\0?J?????m~<??C[????JI?>H:???1?{R@\\n?S??\\0??%Ek?_ux$?>Q?^?\\0?=RvA\\n??{?5?k???G?HV??<?????#a=?~iM??pX?ZN?????\\0R7?Egg[?????;t?i]?CZ??)\\0w\\0V??}}8!ux?E?????J?4T???I\\0%	=?>Vu??5?\\0??|?i\\\'???)???n~?>?v?~?\\0}???x60?\\\'??K?<???????{?*@????Q??{???__???$?:??????\\0_~*&????	J??R?<??GiN??$a?%_C??6?r??????0I????sX,??<?@??^????;????>AW??{}??#?\\0<?????@ ?? ?f0???<????@???=+@????i@N|?#?>v???z??S???:?????c?????T??????\\0.\\r(??o`??????	????D$?\\rh?=???{hk?s1?^??\\0?\\\'h\\0??o(????????Q????+#`??;?N???Jij;????U???`&?n\\0v?\\0????I???D??O??G??j?#C^:\\\'?<? ?[???{x?\\0?4k;??\\Z???@?????BIJ?q?5????Gp	????^]????w?0?????lz\\n??H??5????Dh?o?Cc_???p??yCC??II ?y?s??????	??>??5e??6????|?<??P?~?5C??????? ???}?P???:PP??Ó??e=???I?^???&?Y8???H!dw\\0<?[?\\0??\\0<?-????N?\\0W?????????v?v??O?	\\0a?6?}8?????? ?5??Q??R?G?5?N??????@?	????0?\\n@%c????}7??5???v?;@?{??|???<??#?p *??;??p?PT????bG???????? ???\\r?$\\r\\0|????\\0??+@)I??J??????$;:O?xj??H??R?H???@?<??pA\\\'i)Oq$?\\0?w?u?\\r|??Z#???Kj =??V??}7??KC?4@??}???I?)??^??{B;?????5????\\0vJ?Wp???_????4?*?@\\0?????\\0???;`????N?;?????m????<??}pI	@B?r?v??????]??H! h??$]a-{??Y)}?\\0??0\\0????l? ?{?> $[Q+V???y?HOpQ*$??H#?x$?+??-AC?EZ;????y?7#?IQ?;%#?H???!?-*G?\\0??v????6????w??T{K????Or?V??w?k?????C?d?{??;G?Or??Wk~??????<???~\\0??:>?????IHI\\n?????\\\\?\\\'?|?$oD??????;~B??l(??\\0????$??-?:\\Z=?????\\0^??Bw??#??\\0????%{??????$?\\0Q?0????CJ?)\\Z>\\nA???s?!#?R??????\\0A?8j?p_??@?;??O<,?v?R?y???u?????????;>{?P??{??5??A=????v??>??m/h?i??l^%d/?(?d\\0???<T?^?9???J\\0?A?????!~t????	;???R?F????B}?>??\\0*?^J??G???m????8?A????I??????\\nJAV?\\0V?????>d?+@?????\\0???)H?R?</?p=??h?l\\Z??????a???\\n{???{}????V{vu?\\ZG?W?o???v???AD?Øx??`A]??$??lv??~{?(?D??kW??A;+\\0w+?yI?\\0_???? ?4?oZ??}x???0si:\\nq{*w??}?PH:\\n#??????H	+	??G?u?\\\'???`???($(<Y?f???!)=?%%[???}??T????k??{??tR???>?|5iN???H?|?;?y?I?4\\rp`-????{+?q???{U????????~x???\\\'? k??????!+Y????}???G|i?\\\"?l?T???v>c?$?T???6???N??\\\\P?V»??=??????J|?>???\\0<??8\\0y???TtBW??)?/??p??l??><)???C`????N???\\0_~\\Z??6~???9??\\\'\\Z??)\\nOi???Oi\\Z???\\07?i(PQV??>?>??H?(	 ????????;HQ??x-?\\0*S??9?tO>?	l)??w?>?V???\\0?H?	R?	H??S??$?\\n??5?}s?6?rt??)@?s,?`T???`hO??w???\\0???\\0??k;(??[???-EIJ?PG???????????R7?@???Q????v?/;.?]?H\\n\\n^?@?Kd?pO??Ê??????\\n?W)?\\n\\n?=??E)??\\r?i?86[.\\r+??{?????4+?B????~???*???????\\0??\\Z?N???j?/~?!-????????#??Gz????F?II?????e?<??!?????@?(I??~???Ys?	B??}???\\0?:S?RT?>v?????C ?E\\r???l??<	??>a?n?j<(?(???:?A??\\0?v?CCz<?(@?|?O??????G?E?`?!n???^???? ???$%I?{??j??z??\\0?v???@??\\r??Q?)>N?? p]??*p.???\\rw?G??ˆ ??R6T?x\\r?y?)Q;?P?;?? 2I	kI+??7??^?cl?}???(?\\\'HJ????~???(??U???@??\\0.d!?T?S?P???{O???Mj?)\\0?\\0O?>???X^?c??K?h???????>?	B??,??J??????2??)?b?t<?_m?y??????????\\n=?c??(}B~?;S[?~??=???$?6????G?W???O?s?!JA*?BT???}??|??pQ-[q?+N?$?v?l(?\\0o?N??=?-:$?\\0????????)G}?=?jR??L%K?%{>~??0?\\r???\\0+?{?j~?}??xq)\\n}???\\\'???v;?\\n???O\\Z{\\n|??\\\'?????x\\\"Mm<)???;?Jt??????n\\Z	OjH:I?_iV??\\Z\\\'??U?~??????\\0Q)(l\\r??\\\'???w8?p?\\\\}??\\01\\\'???y?y?J@\\\'?;???????ttI*)V????*	:?o?O???k4??q???BI=?m\\\'`$m;??RIQ\\n?!$+c????=??U????G?G???):??\\0??\\0??o??b???\\n I??->v?B?F???5??{????O?????KG?;$??x?I\\r?5????????B???}p?G?Bw??T???GA:??\\0?(?)?0On????~?A)Z?W????\\0?!\\0??^HH?I?\\\\S??G??\\0*????x%I?\\0O?r?7??????h??wl??{?p??\\r?\\0>=?|lo??G???+??\\\'??1??y???M??1?\\ZJ???\\r#?\\Z??|;? ?_?]??*;???????????4I<??Dm$h~???<C?F{c?6?]\\0i;I?~7???\\nB??#GZP??l?IB\\n?:???s!H+$??xH???~?>?T???<?9? a+RY?\\0)@\\\'^?7?P??\\\'{????9????\\n|?AdO?	ARP??@?\\0??@?????y?b?C?????????\\0?5?F?j?\\Z?\\r??Q???GgD?l?\\0O???%Dv??\\r\\0N?@???9???R??i\\\'[\\n?????d????\\nq???{R??VR?p????Gh?w}g?2T?I=???????~?Gi?????1a???;???w?????q?)ECAC~?w??vH$/?=???Pm ?T????	 ?y?\\0?	Wr<?)I?????h?????C\\\"?W????\\05?==?????$????x?S??k?^O????6???Q?O??Hpw$???%^??????\\n?=??\\0f7K?\\0\\n?On??lh???J?\\nV\\n?t??H??PzIO?w??J??\\0ny??t?RW????\\0}p????\\ns?m?R??P??????R?w\\0<??9??	\\r??<v??`+???#?hY>6H\\n???1E????p\\r?(?0?(?o??B?a??k?v??;?#?Dv??\\rJU??:\\0${??pI.((???d}??t?Ma?????+??`?GrR????%C?????5???\\\'?Bv\\0??!*V???>vF????\\n??????2?????*?G????????	[e=?)\\0(wl?	?\\rH\\\'???4??P;????^IR\\n?????s???=???H?TB?q?k?BA_??G?zGi???????a:)\\\'?^J???}????<?\\\'???v4O?~?\\Z\\n???Z#?\\\'?????W????o#`???C???y?H	#??t????|?pjB?I*%Dm#????????*??JT?????\\0~b???Kk?A?N??x?6~????O????A?\\rS%?,??G??~=????A%)?$??????\\rX????(?????ia+s???v?\\0Rv>N???pHJ@???\\0????	>{6??ww?u?Ö[??\\0??A??3??????Q?O???W??:V?q???\\r?4R?hx????kI??	?7????O?\\0,???*?w?????????e!+N??>??<s( ?\\n?????|/?ZRT??^?O????\\0\\\\m??q?V????:%C?#???y#D??/???p~?}0?w?|?_??r?N?T?O??r{?\\0????\\0??a	(J?R??/C?^??|????l?>b7??A^5?+????}?>\\r ??\\0???>????)?{`??s?]??%G??I?????????V?pw????\\n??{?x??{J{@?6??????\\0^j?6????c????;?BB??|???G=\\Z;N?\\0??O?|?-\\0I=?{?46U???=K}?*ZWz???y?\\0-]?1???c??|?ZQ??\\0?o??W?H)Q;?>???\\0<?-?+??\\\'?	)!\\\'?\\0?d?\\r?????)*\\n?1?m?G???^I?\\0?w????\\0?z{?o?{U?5???2?tB?P}???}	?????(??^???????N9???-???cK>N?N?N??o?Kc?@?u/?????\\0?d???KPWi%^{O?7?S?@QGd?#?p@~p??w?4T??x\\\"v¶{??^\\ZZ??[\\\'Dy??\\0.%~w?l{86@msAerv??`@????(?E\\0????? \\r??P???W??)?X\\Z???p)iC?[PP?I\\ZOw?\\0u???*yil	?\\0?Ll?61?4v???*?????JG?\\Z?0?)?kI* ??\\\'?#_C???@?mv??W?w?*$???\\0,m\\\\?*??\\\'H??B?;??o????iA$?rG(?jW?A???????\\\'d|?????????P?cQ?=]?H@B|$??G??????5???)R??=?r[\\n!JV???Q?}>?G??B?N?????u?^y?#6????V?^?!=???I#Ea?:??\\Z?\\0^??6??w?(???x?H	>5???t>?i;#DQ$????#?????????\\0?x??BO?[??\\0??(!;)\\n ????o_]s%(W?%*?<??Ojw?RA?	\\Z??n?G~????0B?	!(%^R????pJeD??H??7?\\0?\\r?O??+?o?C??~d?h$??o?$~???FF?±??8 ?k?<????\\0\\0??xN?f?????f??PI?`>o??Ci$??IJ?N?????y9R+?,?,?x?JR??,\\0;???}??1	%:??*?P??(?N?o??{|x?s?O?T=?@?\\\'??~T??????	???$!\\n*R?w?\\0??\\0n|Z??`|??????????	???\\0$?$? #`{??x?H?i?????`???????u?I7??jl??A(>?\\\'???b?JA??i?u???^@(???\\n??????,??1?I6F0?tHi??o?l????)C??G?%\\\'j\\0???6?\\0?{??~??S=?D????}?_??n????1??#??!\\0y?????(I;=?~@??f?y\\0\\0t????~?????*????H??`??`@lbo?JR???y;??\\0~zJ???n??^?~e?%$??<+?¶=???\\0ny?t????F???q6?S?{?\\0?7?X????ZmA;???????\\n=?{\\n$???\\0?\\0_?2??h=????w\\\'^??v??s?|o_????|?c?\\0q?R????\\n\\\'IP:???Z???-aG??????==?)P~?}???9?o[$?\\Z?)Jt?><???x?\\Z??``x?4R?H$\\\'jO?x ??;???C??\\0>z???|????){????T?~Ra?H???y???ÿl|[ ????{???6R?	%_????,(???(i)??^???\\r???????d??????G??\\0?????O???????\\0)R?????\\0q??\\0(????xX>4??	???|?????0j??????\\\'jW?????\\0%!\\\'`??????nd???????\\r?\\nHXWn???{~??)????$??\\rq?????7?)B????v????+?O???i??s??|??#?z?>>??J?j???]??AI?Q?E?\\Z?CgJ? ?y???\\n???m>A	?W???\\Z	J????_76i??F????`??jWj???? k??\\\'?J{????~??u??????$?O??4u??yO????\\0?	?5\\r?????????A ?jOp\\\'?m?8YJ??{~??\\\\?)@?U?$??pAN(??????????~???Tw?:?\\\'?t??_????????I?vRG???:)%KIR\\n?7??\\0??\\r?)$???m~a?A??????c??{????H?]??JJ??V?|v\\r????? ?????????v7?O?8QV-????V1?ru????????????I?H???xr?J?I?}???v(??~R?7?y?u???\\n?}? ?F??H:?~??<	oiV???\\n?O??+eGzR???:??H\\\'?#?}??^?`,?*~S????^??EG?	?;????\\0??w?N??o?>?*?? ?k~?\\0/??????)??T??h???e\\\'?O???N?I>??B??|??;?Z???KH\\ZP?>?O??\\0?0?/x??~?x?WwjHR?	?5??nx\\n \\0	\\Z\\ZJ>???\\0????;??\\n?\\nu???c??????8????#?^@\\Z\\n?s?\\\'G??=?|{?K;>??{???o	?	?\\nIO????4°???c?V?p\\0??<???????? ????\\\'|?I??????????\\0?1?\\\\x7???_???,\\0?U????????8\\r???H\\0????,\\0?`???iJ??J?hO??TA?N???\\0???:?u????xIQ?$????????pa??U?\\0`?????{?<????D?oZ:$??~?P?(m[??O???{v??~Q???x,?\\\'D?\\0R;?\\0P??y???~`?}?s??,???o????+Cc?=?>??<?\\r???t\\\'?\\nP?W?????9??~]v??]?????=?????|~??_l???E?A:?\\Z??????;??7?????.???J??|y<???TI?\\n????`t/???|??PG???T?u?????iJ<?P??\\nY\\\'?;A\\\'??+\\\'??`?Dk?K>??\\0??]???`?u?????x??a$??\\\'?ml??U]???;\\\'j?????????v}??9?.?YR»???o+??Z??\\0?\\r?;??)\\n*Q>?<%??????G?^?~?&?Wo??=??~?+? ???R??h4??4??\\0????????d??\\Z??5???):?>??%G~?=?1??????\\00?>`O???????N?	??>??>1???Z;I	?#?o??%$?;\\ZH????N??)~\\0????7?? ?????j1?(?(?7???5????(\\r??;?I???p?	 h)%\\\'z?\\0??=? ?y????\\0??????cA ???????:\\Z<\\n?Oq?R6??w????X?%@(?????h??v?T???????????8?:?O???E\\\'z????????cJ\\\'?S??xyV?\\ZH??t??\\0???+?:=??u????%ny841??Z?{??G????????O????=?O?\\0?^???m)????o??hkg??????GE??A? {??mJ???AI* ???$}5????5???H; ?#?j????F???\\0??u?\\0N?69?pZ???j;;?\\0{???><?F??ms v??o?O?GS??????~?`??\\0??J\\r?}?ül$?G???? ?5?????\\0^?wv?Q>?HO???????|?><?\\0??`]??kX#?????\\0;w????????x$?T????\\0.??????T???????NJ?>|{?o???jJ{T?p=S?k?p?B????R;{{?y?e:I?t7????????`|?I???N|????????\\0?|?????\\r(?O?\\ZAKRu???~?/?\\0\\n?Q????\\0^\\Z\\r????\\0V????z\\0{~??N??\\\'????\\00\\r??hl|?????p\\n?????????@??k????k??4w???I??\\0q???@????S???t?? ?s1?$???|y*??}~??\\\\(?w/?)`?yO(\\0%)X	$?{ ??????\\0\\0${~??????08?????$+h?Q???\\0????=?_??????$i |??????J?N?V?? oC???	x\\\"?Q??7?????\\0? x:???<??h()=?j>????@??4v?gD??C?m?H?(????????(??%]???\\0?\\r!#z?n????w+`??\\0)<H$?|O??H? ???xJ???\\\'AI??\\0[?? x????$o?9???S?v\\nT??,?p$???@)*	$????\\0nxR??C?????\\0??P?{?TI\\0?>H???$xHQQ??~????\\0?6\\r?dU??J???P|???{?\\0????T??<??y??*?I?	???_a????<??O??7???G?????s????????pF??p?A ??k[??6?4I??	\\\'eG?3\\Z???}?\\\'{?????>	\\\'d???RGn??p?qQ\\0o?\\Z?	?y?JP		?V???????x???HY?=?d{o???????\\0??\\0??A???O??>??kC7??????<???F??G?N?\\0nih????\\r?6?I??Q???N{t???|$o_??n??B??8-`??????0????)?v????~T?\\0???\\nv??4??\\0v???\\nJv?N?=?>x???\\0\\n??I??AI?jBR??|???????;N??R??u??U?????{?\\nF???x+???=???%k(N?N?q??}?	J?iA~?q??;t??Ov??^y??-Z\\0?h???~????\\r-??AOz??PU?????????????k?c???\\0????<l???9??<??(l|^??\\0?g????!G~u????T?t??O?????>??????vJF?O?zWn????C????F?\\Z&?z?<h????v??4xZ???J??????\\\'????????c??c???u?{?>?2?\\0?y????;?6u?t5??G?@??4U?????|????????{s?w$$(?g?????????o??D??p??>#???}ˆk??o?x\\0???????/H?+?V????c0PI??)>v{|\\r??=???J?G?J~??\\Z?H?)=?????????F?U??O3??????AN??;u??\\0????(\\0v?????q????\\\'a`$|??????p	Oh??????[#??\\n?eX???Qg[?dpO\\nV?jF?7?O?????\\\'?? ????k??\\0??>\\\'ED??	??>?\\0????\\n??		?\\0?$l???????G?Y?J??u????R4)??H??AIA\\\'?S?????#?n???(?vHWw?????<Q?O?Op??Æ?}?G?Q???Ev?????7????E?=?Y=??????\\\'J???v???)CI?*X?C}???\\n?\\ZHY	#?w_;??`?\\0X??	A???????l???h$?_Ey????o??\\0ll????\\0_~}???c?l??A???qO?&?q??????z?y????8=?????>????-)?~???(?_*?Y?I??????;$?y?h<?$\\0??@>G?<?C?????C????JR????G???\\0?s1?\\0V=????6?????)?@?u??9??o?Q?H???t???J???6+?\\r?0??+i$v???G?G??\\0?~???ÂYGp|i#????D????????\\0????n??h;\\0?)\\ZV?J??]}?>(?HI*N??(h>?,#jN?AQ?????\\0K??7?\\0????{????8$?v??r????V????#h\\\'?\\\'?>v|???+??*\\Z???\\0??((N?????h\\rc{????IZ??Oi??h?l\\0?N???R?W?\\0??o??q*H?;?????/????$??\\0O??o??v|?\\0~z@l%G???????=BH???;{{G???7?*	+V? _c??X??v??h????????4??HJ??OqW??_???\\0??H?~PN???\\0}???l*??N????F???`^=?A??	O????x?????????iH))N?5??}??>PJ{?O??t<{?y?}?y??H?RG?<v?????\\0??y?@l??????????^x?t?t|	I;?-+????5?]???2??]?I)=???y\\0???$)]?(?@?T7??\\0?\\\'?\\n??@??~??G?????<?|??~X,[70{?(l??=?t?H??\\n\\r??W????\\0_?<B??$???????k?#????>???p=????`??????`l?|??x?q?I?\\\'?>\\0#d?\\0C?\\0?	J$7??\\0Q????\\0?5?`??wl?^T???Ip????\\r???t??????*R??x???1??r????~??}x??????|?????<??\\0?R??????+?q?7?%@?u???c?p?I?I???=???^?x\\r?|??{??%?????J??;????<1)=?F?N?H?????4h?=?<?;?o??IR??@G?N?????	by8	7?1??\\r??,???c???????Sa*????y??????k_?x\\0?h|?RA?:??\\0?03v?g?B?_??A>???iG???F??N?\\0??i>vT@N???????ta*?q?C?\\0??\\rB?\\0?-????????~?i?!!gDV????F?\\n?;??????Ij\\\'h?????{???	C???+?>5?\\\'??|?N??{??T???|}?f??????????o?>??	o?k?ne??\\n?Z8/?!%=?J\\0? ????v??p????5]??B??H?]?????H\\Z?;	O????>????,??}%G??:%)V???_??x)	?I%z%AG??????RV??v?}???zd?E*P+?T>?^n?`4I????????);??4I?n?\\0??>@ ?C??:??(($o}??????h??\\Z??q?R\\n??V?v<??=^4RS?d\\\'?+??\\0Ow??h=?=?I?????J\\0AW?N????4x?\\r?,	)q[)*p{???????\\nI(?(???????JV???x???Zi=?;\\\'K???\\0?\\0I?1X|???;JR????\\n?o???pAKc?j???????????D?k?GJT?J??@????>9?\\0bo+iF?O???g??????????[?????O??$+??	?\\0n??\\0?????3??|?2 ?xI;Z?O?=?o?y??M???	?e?y?TI?tV?@??o|=;_iBt??m??\\0>h\\n#??|nw????o[??\\\\<%=?H_h+=?C???\\0B?J??!\\\'I	??\\r??i[?\\n?\\\'?????\\0?m??N?	l???zV?????J?????w(?????A?B?Q?j~d??s???ly?O?h}?\\0nh?l`,??	CI ?U?5?u????\\0?u???!?$??????}?r???1 ???a??:????\\09\\n?N?\\0D???c?6??+?^?\\no???=???????!????????% ij???????!????RR??\\Z??:??\\0<2??$???R???????\\n)%C?y\\\'??~?\\0<JJ?b?BGj??5?<.??4?Ga??I=????*0?<????I$?\\04???zI?t???Lw?¿o>??\\r?v?* i#g??`0?0Q?\\r?\\r\\Z ??G?????B{RS???????oD???;B???[@?:	?1\\ZG???an;,fzjI\\\'????)`>?jSeCK???????? +?^v=*??)>????k?\\Z<c??=?JRA>S??s??\\n?k?_*??9?V?@?a\\\'??????Wv? m({??7??\\0?i??N???\\0h\\r?k?????\\n\\0???????/Q@??P	?????J??w?$o]?^??9??F????TR??$5??}??v??`?????ni|?=?~R>?9??{O???F?>??v?\\Z\\\'?8?????pQ?????\\nR?tRw?4??\\0??<??????:???JA ??{??o??9?\\06F4Z????~???\\\'d??>Lp?+%=??vw?F???j@\\\'??=?rG?$v??|BI>O???????u?x?#??k?G???1??\\0???7????Q\\nQRT??N????\\0(?\\0?????P+??s`?/??i???h???;?@ v????_???ZJA	?cC}?i+?\\0??Jtw??\\0????$???\\ZnM?????w?????aÃI#?`?n?y#??z???G?{I??F???N???\\0?\\rP	?0Cqw??????;J???m$??e ??R????-![?)P?A?????????	????+?1@???{?W?V=JAN???u?~?y\\ZAR??XV????GA%@i[?>???Ox\\\'H?O??@?(???Ux/ur??(?J |??H???<5$?v?>P??????Oi;:???^?\\Z$???\\0<=a??;}0aX?Ak\\n$???$\\nu??????????|B????_?J?AM?Ih?k?C????g?{?E? ??????Oi\\0?v??????k[??	??|??QH	O??w???phJ;A\\n#??y$?O???{??????x?l|P\\0?}A???\\0?p?v|???i_i??????h)?H;??O?????JIQ\\ZH)??w??.????\\0??j??<Ki??7????R?B??PF??R?}????RH)????z??>m\\0?~S???Ai+?W???	?=B<w(o7r|x?????)?P??G???????g???l??t>?[D(m??w????=j???\\0>?	??--???!:{I???!)? 7?JI?P?pNm+V?RU? \\r??\\0??CJR~B?H?P??r???????\\0?y\\0\\00$?xJ{?????o<7?)HJ?%+;=??\\0\\r=?K\\n ?q?\\0^???J?_!J?~	nA???\\0???-\\\\???m,?/?gE@x }8QmK*\\nI:Wv???#??\\0^\\Z?)@\\r??J\\n?????pI=?x?+;??_n(X\\\\R??^?$?M??R??$w\\0\\0?y? s??%???~??9??????	???O???J?H???H7?u\\0)\\\\Uk???6S?? ???????V? ?$\\0;???\\0??6??		?\\r??\\0_????/q$??\\0???????P,??????<???*?h??????p!#~????	??9??Q#?QI???????\\n???R?\\n?o?h?9?_?`&)Y??x|?H?G?q???????????si*\\0(?`?g???\\0?D?)RN??F?`G?2?F?,?-??v??$???>?bG?C\\nR?{?)i:??sm?\\r?*\\Zp???s?DG@?m;??x?ee}??Y^??vm?)????\\0?JN?Q??RTvT}??????ra?O??O????Ck? ??o??G	?q??K??:Z???$??????\\0??%????H?~_???h??\\\'?$?v???i \\r???????H??g/w?5?)???\\rO?????N?O?0R~`G???6:i^$h?;????;mAAG?$k?y?????\\0>7v??Qw?`??p<?zZO??v|m?????QOn?B?????{??????????V??|????d ?q?Z?	\\0?bp\\0k?????????o??B??$???v????\\0??\\Z?2N?W?/?<	@?f1?q?ZJ? ???)>???????\\0?û???vTw????s?\\n????`7??H??y?O???\\\"W??w\\0?????\\0o????BHI\\\'????c???4BN???????p)?\\0?H??u?o}?????,x?X)?\\nÌ|[?A>|?t??<Jw?\\0?;U?h?????B????px_?*???Rv?~??R????\\0>{cn??0??:	?W?J|?~x?A*A$?\\0>a???\\0w?U??`??{??l???~?????n?\\0???w?w?A	>??>?w???{?V???\\r???pD! ??~?t$$?HZ?>U?7??~?8W?d??6???????`?????>?\\r? k?>?>\\0?@?md??????}?b?H??>R>??ˆI???\\0>1???m?/ l?;F???x<?RI????x?????AEI??~?? \\0B}B?????c?Hd???a?_r/??\\0/?=???\\\'?6?????(?*??$??_??È?+%;????????\\\'??????4w??\\0???;?;???>G?F???\\rp:??u???????%d ??????0?Q???KO???~bFY?\\r???\\06?!\\\'p?\\n?~??l????=I\\0v?\\0?????	:*=?(l?????>?Y?)RJ{?O??}??X????0??_??ul8BV??_???zH+????O???e)?p??R?t?s???%_B????5?*???\\0???M???I!CC~???\\0a??F??~?????v???XV????w???O?)??_?\\0c?[???	??\\0??	\\Z	>?????<#?@h?v??G\\r\\n?PQ ????k??\\0?>l$C{*^????_??	?&??\\Z??????c????n{?l+???\\0?k??\\0?\\ZP4u?A*!;?????p=?=?I\\Z\\n??xEe\\n??+??m ????;?>?\\0On?k@?	????????{T????\\008j?N?n?O?w????\\0?????<mYh????RA?|k??x>??k?%>???R\\n?QH\\\'??\\0???????	????	1/$+???????{l????\\\\?):??w???<?~?~?V??????BAI???(???????E????6???Q?@?W????@Oq?<ho?aZ??\\Z???Z:N?????????`+1???=???i?W?H????#i?AI?@O??\\0nE\\\'???<?????????/DA	J??RJR??o??\\n???	?G?+RIq?`>N???~???o\\0??\\0?<?#@{?;?ndm\\\'~w?\\\'_\\\'j |??N??o@?????	4?X=??\\\'~?:>?J??Q~??G{?o??????????P?p?? O????lk&?`e?^????C@x\\0pe)?7?	??? ????????G??W??????H\\r1.,O?I?\\Z#??\\Z???\\0?Y????v???7??=?????-@?T{|m:???\\\"B*???\\0;?\\0?qx?I.?>????k?:~?@???$$??q??O>N??w?t\\nG??????\\0???q?????C_.??A???????\\\'??>???{?ww)>Q????\\\\?? ??-G???mx??,?=?0~?\\0BV\\0\\\'EC?u???K@od???hv?on?d?????|\\nv6?}$??p????0|R\\n????I?\\0??) ?g?#??$+i(>??|?y????;~a??G??)?o?	n?/??CC????8YF??I?????)$??*i\\0????$??\\Z?	?x?J???\\r??}=$??p;w???h?V????$?????	???\\n????ZOqI??GM?p???x?p?@?o????y?*O???J?\\Z?\\0\\\"8ak??iJHN??????O~?4????p??)?<`?Z\\0c|?Bu?O??\\\\?mD??????;??O??N?????*? v??>????O?(???)?@?? ?O????<PP?*)#?}v????w\\066?\\r???vu?O?	?H?^jO?O??y?????[?\\0^y?F?J?*W?????!?A??Z#???;?D????????Psu??????:\\0???????????????????????????	?????L???H\\Z?@??o?R?????x>?????P:???????RO??;#?`??[?????0R????@W??\\\'?????k*????????Bv??@h??~U??)i??Q?\\0??m?	I ?@??}??xRA h????????oxN??:?1???D?;T\\0???????\\0T9?c??\\rV%??D??;?t\\0>>???%??<?G????????oC^???\\nRt|???7???u??J?G$?X1v??=?PV??#?????!D???#?^???1?C`}|?s?H\\n?$????5?????,??w???i??s???:??t????oz>???@???	???%O??_L\\0???On?R?????44P?I/?<??=?G·?nx?RT?T	?F?q9?????????;??l??p!)*W?{5??O?v?+J?2?iO??j{t;?$??rO????1??}?\\\'?	??q?8?>??k?x????@???????????Z?????_\\Z\\0????v??????p\\\'?RG?4N???\\n?????|?*???|???5H?3(\\0?A?H???\\\\,?????d?^??O?k???;Q ?w5?t4??C??\\0????,h?	$x?<???5?\\0\\Z?O?l?pa ??AZ\\0/>\\nU???????????Hk`? ?J?\\\'?z\\\'?\\0????<??W??\\0n	D\\r????#?????j?R<???W????Y??$?o????\\0?????ml?????>??#?~?\\0????}?Ch????:x,????\\r?p=????7?>???@`;?????????Z??y?@?s1??H*H\\\'?dyW?#?\\0?Z?B????c??\\0?\\r\\0w\\0\\0?????l?>?{???4o?uT	?F?B???x??%:?????kZ\\0v6<?r?:\\\'J?????`?(cD^YI$ V??????????\\\'?O?xhRJJ??o?\\Z>R{vA:?|?C??=?!C?l??\\r??I?_????H\\Z??E`(??\\0???]?oG??~?%?:?\\0(?????\\0<?g&?????~?S??|G??\\ry????\\0??y>_??U{s????`???\\0?T???e_?<?s??[??hyW??????F???x????H\\ZJ??~lQ?q?x\\n???y??)?w?????w)$$?m?????u?i*{$???\\0??p*??)??O??k?f	$@B@????\\\'??|}?\\0S?N? ???t=????????vu???_??\\0\\r??{??T6U??R???????p?F??@?>8z?}?g??>??p$?T???????+2??t?#??iJ?????\\0?	?S???<~e(?Q=??)?*?B>?9???!\\\'j???????0?c?S???>T6?>?\\n??T??6P????+?Dv??\\0?????jZ{?:????4?????N??$?A??=???|?~????\\\\?$?A]?v?{??\\0???A=?+\\Z\\0??}xb?h`?\\0`????Q?\\r????p?t\\0?QJ????;J@PG^????\\0n?|?*~d?l??\\\'???cM????g?i k?;??|o????4N?rvI???????pJAu???x??I?^?<\\r??}+?R??I????}?G??n?|???{W?)*\\\'c??#??j???(loCZ????\\0?X{`@\\n???S??i>A???) \\rm]??????J??tA??????y?k`kaJA???}7??8?]?;??k??4~??>??c@????nmc?[O??????>i??G?<?????b???h??h?\\0???\\0?\\0u???\\0I$l?\\0N{?|?`????|???C?#[?W?~??p??k???$?7?@?T??$?n??;#?=\\\'?iPN??\\r?n	*O?\\0?w|?_??c?,???(?G??G??????F?{R7??~?=?l\\0vA?y?(??F?>5???2????v|v??gZ???	(?????~?2?w%\\\'Cgg~S?k???Z\\nO???`?`??^?$?Bu?|???\\0??!c?%!!??Q???<) \\\'?*\\\'@?c??C?\\\'z????8?kn?\\0?/??p???(l?5??A??_(?|????>	?p@w?s.!I??0$??@g???	 \\\'??gZ??p?W???\\rG l?}??}??\\0?j????{?E {,??{?p8V??N?????(?(???vp??Wo??F???????QX?`\\Z????tIGv?O????Q????G??c?G?v????h???G?x??A?W?I	?7?????$N=??????????;??????k;B{I????o??p\\Z?V??>R??????\\0No75??n??5????)???? \\\'?o???r6????????z??`kNf@??HOg??S??s?? ?:?:??=?\\0?}\\rkc??PI0?><l??\\0_????t|?k|????D/?????\\0?5?}7??*??A?\\Z????9????x;H\\0??6|??m?!:?7?y	P?;??????mI??I?????64?5?O?\\\'_Nl\\Z<`b?8?/`\\\'?|???????????F???\\0?????$?K\\\'???}??????\\Z%$yBG?????V????q:?T??\\0?\\0?{V??(??IW????.?+?Wh??? ?????B???S????B?5(???????J?>?H????v?+?M????^}1?\\0??2R???	\\nQ??O???_??C??}?#?J?RG????#?q?TvVF??4?????J;???eo????\\r*???o???G???\\0??/J)G??6~m?No??#?+$?5?iZI?O??!H???J{S???????Rt:?2?w??s?+z?O??#??????Q??? ?\\n????\\\'?|???????t=\\0\\nB=??{????W??\\\'??tO????9??]?1??H?BF?p ??@):>??J* ?????\\0[?Oz{\\\\R????~7???\\0??X??$)^IV?H\\Z?5?|??!A\\\'?#~????%D?????G\\n+?:?\\0\\r(???3???I*I??\\0?\\Z>????????k????$?:H@?}?>???w?(hv?\\ZQ>?#?????8?????\\\'?xF??\\0^xXI?*=????(N??????$????\\Z?\\0	?Z?6????	?`?????C??C?@????S??O??O??s??[>??)?R?>J??P?@ ????\\0???\\0k?\\0}????bu??<>R%[??????w(?md???@??\\0$??BF??\\r?@?g?`_Z?JvH ??o~>?-cE\\r??p??O???i?:\\Z?????+@???^?????c	 ????\\\'i\\nN?yI????t?Rv??i_???8??HP@?P????T@:?xW?O???0,z1?x)Zu?	??! ?b???????;;t??z\\n?~??\\0???\\0?$????5x\\Z{??@?\\0R????R??x?>???\\0.\\0\\0????g?????????\\0W??|?????@S?|<?G??\\0\\\'?>V?>????k????A ?j?????!J?????????V7???\\rD(????w?Nx~?J??y??~z	:?|o?xP?<???	:;?T????k????|??)I$$?\\r??M?\\n???????;?\\0_^$?{B??\\\'?u??>?|???%)O?|hN?Y?w?)k??H>t????o???{???{|og?????4??\\r???O??B????B?????????G?\\r?$?o???;???\\0??<y?>?\\0A????w???u???\\r?	:?HN????????)?!?N?=?\\0I???F?\\0*?{??$???????H@|? ??phN????@??k?5??IHP?c?????2\\\'Z	 \\rl?I??u?\\0??Z??jG?q??k??\\0??$\\r+[?\\\'???\\0_?&??x7?IH	JI.h??#^??H+??\\0??\\0B????\\0??h??r~a???~zR??HQQ?v??>?????AN=)??6w??F???I?:p??6???v=???s??~R??????|????Z??????Y?@?A+\\0???g??Ñ?S???i?	${o??ZRJ??|llo^?80???$?oG????p?`E??]?\\rH\\\'j $mD???i$???w?|???%j?I!]?P????	$???O?H????|??@N?\\0|??$???????p?T??*~l????\\n{???\\0{s????%g??$(?|??? ????%^?@kG??\\0|?~???iJ]ZQ????\\0:??Z??.?hl????\\0?????J?)??(D???OqI$????g?xxY?Q???????????l??????5?O???\\ZHJ}?????}?????????y??PIP??+????8?1???*{T?=????\\0@??;??P??\\0k???a#E-?D?)\\\'????\\0S?IJ|?=????|?3?q??\\0>RR?{{A??\\\'?\\0~?(\\0B?b?0???@()???\\0??<T>c??{6?\\05????I8?@\\r?u?vt>??+?????;?_??}???-??H?v	:X?hp??J??????????\\0???A*?R?V\\0\\n?N??o??\\n????y;\\nH*?s??}?B???6?{??k?v??7??TW??o?|???b6@?\\0\\r????Oz?[??$y?;???;iN???{?=?pxxQ^?Y)H?????Q?n??x??? ?n??????~?:??H\\n?A$G??x??)#?$????????h;??aW?\\r~???O\\\'\\Z$???\\n?Gr>B>?}?`	RI(W?z?????????z?:;?>?????????>A:????[?`??$i$w???u?<;n?|w\\0;S?A_o?RG?\\n@?^?\\0_n\\r??wiCk?O??\\0_?9?17???A?@I$?(y\\\'N\\Z???	)??t??O?9??\\n?)#`??????.?R?@??<?}A?|?<`?!aIh???????RRU??\\\'??H???\\Z?p$?$)z??A?????I???}?U????cD???$\\\'ED+I?R|????APJ??%d?????a@??l??N?????JHu?w??^????i??q?+\\0?IR???6u?\\0??.?!J*??#????\\\'??;????????????T	HH?;????0`???h=?I$??7?k??0@X;$?????????BJ????pV??nd%#?W????{????qX\\0?E{c*V??l\\\'??>?C?d+Ze??C????????67??)?????j??H_??k??9?I??5n?T?~q????;?}?\\0>6?m\\r?v???=?![????u?vw-C?J?????H=???v??????qd?6??*??@?8?(??????GD?s?*W??O??v??????Oo????g???RU??????????\\\"??;?c($s?Q?C???p$??,?????Y>?~?}?zVHO??????<?kJ]H?V?>H?B?????Pc??\\rdW???|??;?l\\\'Dw??~???x.????W??H??\\0??????\\0T~?nzAJ?+o}?X?????>???[??lAXR?|%G?\\0{k_?=J?! 	IYN?4~???:\\Z?H$(??xr?yHA?\\Z@|????	J??|??`??TN???<N??J?u?????????v?{Pw?????jw?!.$???5^??U?\\\\t?;?@??7?\\0???\\0?@?IN????\\0=S???H????\\0~}?6	?W??w????????#?0z??\\n 4H??\\0????zc???	H???????? >T????c?P??hx%D??@????\\0?T??0UIQ!\\nI\\\'?K?5????i\\r??????V????+X?q\\nQ }4\\0#Z?{?;p??\\\'C??c?(??l\\0?/q?N??d?\\\\?JH?O\\0@*?I\\n*?Z??\\n#???????Z??J?J?\\0m???5?????????]??E?;???w~????tU?\\\'?\\\'??BF?????}?\\0???#]?)??\\ZV????<\\06F½????3?6pW?\\n?*	:?I?)???l???J????p??#g_*On??G?$?!(K???w????d}??Kx????|\\0\\\'eD?+??\\0?#?\\rH??:?V??O?\\\\=?OZ>?h??}?????wo? ??\\\'?\\r?|c\\0??Z??????i>?8/L+?\\\'???\\\'?^u???????I\\Z?\\0+@m???pA?L;??t??}?n?P8)??\\0?\\0?\\0;?G?7??????Ca??T?_?o???	R????<????????????????\\0\\Z?[hA?V]?U?}0$??kE[?>u??}???V???~?????|?J@???~???A\\0??????qLO?????\\0??P?? ????o?=?8$+?	?)??\\0>???;\\\\N?AOo?????????H?B??^xdk?g?????=?@BF?	?w??G????\\\'Z?yR?+:?????p???AZR?A??\\0?\\rK?J??~Q?67???s???}q????%\\\'dA??$?mk??;H?P<+???(???v?,????<)*;I\\\'z?U?<?w?@???|cD(F???O`ZZ?????????)??k?86??*_b?~?w????\\0?BS?\\\'?A;G??o???????_?q?\\0>??c\\\\????r|?A???HX!$?A#????????@????????#??v???_?M?\\0?X\\Z???\\\'?,?;T*^?6??\\\'??w?0????RG???A\\nl$S?v???\\0?8`?S???s??C????HHX?Ov??r|???06???[I\\0?<{p??On???\\\"?????\\0~+?TAO??i|??*&?W??????p\\0?\\0?5?/????$?O?E#@?\\0Q?|$??F???C?8!?^n??o????q???\\\'??6??W?4~??????+e:????~a???w\\\'_s???T\\0#???<x???PQ???7=?	H?|?Z???{????m\\r%??#???2????v6@?\\0o??B?rJvN??)#????=???Y?!T???????????g?? ????@l?N?\\0?????T?oZ)?????I%u???P?y??j?S???????N>J?????>?oQ??H*$??% ~?????D?j?K??????*!@x????\\0??F?????????/}?BvS??=.??)_C??	??t6?????m$?H:	?:;??W?8a??m?O?\\0??z?j????\\r??_?^x_p?@?`h+dhO??p???U?????2????}? ?dO?\\rTG??\\0??rpj???D??!*??\\0??\\0??????Q?\\0??????????5?????+?	*???>??\\n\\0??\\0??<???=.(m!kH ?s???P??$??IOj??V??????Bu?>]?#_??{???D?AJ:*?m}8tp??Ïn?<?j??cjI!jJR{V?????\\n?T????w??_????	^;\\0#?x??\\\\????\\0??[Q??7????\\\'?????(?J}?? ??\\0^??.w????~??{s?????Tu??_??+Z\\0?):???fcG??LX?q?P)\\0??7?o????xHQ?tu?????R????I\\n)?U???J?;?????N????\\0?Qls??????????R??#????\\r$x*R?\\0?????~??%[? ?>??}9?P\\0???8Tu???\\n???Y`?j0_??\\nGi???s??D????I???\\0?????+47???;??J{??????xx??j,5?? ,?+?|???G?I$?{pa???I?xW??s?S?????????????o??Q ,???H?V??;T>?U???{{??\\0nzF?q???v?h??|?;{Bt{??u???(???\\0?#??l???~S?N??\\0o?p??\\06???ZG=\\r??(??u?k??]?$?_/o??????X? ??E??;HZ?\\\'D??~????????@N???????\\0\\r\\\'??$y??\\Z@!~=? (???-????0J??c??H	?qG??????\\nD(\\\'`?\\rm\\\'?y???x??^R???}??R??]?>?????AC_?]??pam?n(??\\0{???>????!@?$y?I????\\0????\\\')\\\'??)????\\\'a_)\\Z???saX?????P,?T??HX*?x?s???_0H7?xr?J??S??????KEw??O???\\0??5??-]?!????~T-ZY?A??B??~N?)I\\Z\\0??\\\'???\\\'?xI???7???<?%)Q??X????q?n????????v????\\0o?J?tt??g?\\0?Rw?N?O?G??J{???q???\\\"?\\ZP???=?G????\\n?o?8$?????y	G??9?ZH%%)??yJ??=???@YWo?j?V????y?{???????N???JB??????h?HRG??I????u????????}?R@?P??x9?HATo??`(????BI]?;N?\\\'???\\0?N?+C?2JG?v?/^7?<?\\0??R<????$?\\0?|\\0;\\r0???\\0??@??O??Z%\\\'?????v??????w????????	?RO?????~R????%$??{???3`?pp?]?`??>;??\\0JR??x?? ???ttO??dv +I?I???Æ%#j?7????}=?}0dq??c3???V???????8z??@(????O?????F?P??? ?x??????Jt?|?	);?s?ox?????rpXN?????d(#?v?H=?$oi????\\0q;?G????????tO?\\Z!	???g?6H?m?	?W?????~????B?F?J??\\\'}??nb)e`??;j;???q?t?V<????~??o??5\\\\?e-C?(?k??\\Z???*?\\n>S??????b?T??\\0V;?????\\0?KQ\\\'J????6G??\\\\????=???T{???mD}?%* y?P?j????\\0~.:???=?G?????(On??oD?\\\"?4?	-?;`jh??S???{????JI?u?|??\\r???????)^>\\0???\\\'c??k????H?j???JXr+\\0$(?~?$?????W?ka:;\\r????>TTv6???p*^?????lo?I?hR/B{??h??;F???N??[\\n??t9?:*?<\\r??}<?\\0\\0 ???????	e?y?????\\0,` ????>W<?{?????\\0/?tH	H>??a:??????HI?????(?Q&?}?????	Xx#[?RN????p+ly????w????^\\\'?x\\0?????\\0t?@????K#?????{H\\0?C? ?	???????\\r\\r?C???l??0?*????\\0.h??I???????8@M??/?;??\\0_^P???u???8j?z?:\\ZW?????J?????????1??I???@??1????\\0??\\0??s?	? ?(`nd?d???o[O??~?,#@???^?<?\\0N\\\'x?6?Xj<w?$?Z??h???>Rt6<+?d????b??A???<(? ??tW??b?~_??,^	??B??????<-%@i#g???xx?:??v\\0??H\\r?#iP\\Z??\\0O??p??G???q?=2u?;?\\n1??8V?N???>\\nw????T??k_~??h?\\n?????w???U???B?V???????j\\\'?>}?????=??1?}5??\\\']?????o?8v??5d\\0?????Z???????? ???\\0??\\0(O?5?????????v??????dU????????\\r?8	V??????x??+?IP?0?G\\0x)??u???i?\\0??o~?*?J]y?_?`@??HH!Z?$???P?k?w??{??pC?H \\\'??o??D?4T\\0???????JU???c~pJC?\\n ?}?~Æ??????A$???|?D? ?#????\\nR????QQ$?\\n?M?j??????`cM??\\n?OoqI?H>y?P<??oZ???Õ?5???l?GC???y???Op)Q=?8BIA?W&???a\\n)V??R@=??\\0?\\0.v?PG??????R5??I?;???I*)\\\'}?????xI?o?\\n???}???[????}\\0???_O??TO??@????O?)?Jt?G?(la??C?v??????O??|P?B?(????????>?????????o??N????#?????\\0\\Z?????U???$?H	????????7???{N?j|??<??S??A?c1??????oI\\\'?)??????G????G?$???_?s£???????x??+????d??vH\\Z??O?\\n???????5?!}???O????N????w]pJk\\Z??C;W????<???=?M??????t?A?@??<(;c????????$?4E?T5?r??}???p??47???p?	?}??+j?I????|p?$?????????^I????????|;Y???;{??n@#?D????x?sDr,???\\\'???]???D?(HH???I?U?}}x???\\0{??<?80? ?D\\r{?\\\'?pd?|???:?\\0????m??<#^;??O????<^??h\\0O?I\\0???AZ;?%Z\\\'?sx?<? ???u??<?:?$~????}?5h)$?)???>????v||???~??X?|??~A?????{sg?J?????8x???A???\\0???	 ??{?j}?<?s@p/???G?J?P@Q\\Z?]?H#IW?=??????h?EG?}??)a!)?????h;??\\0?0\\n8??\\\'?On???????I\\n\\Z?Q????\\ZHV???????}?P*?{#????X?lc??}???o???Dk?^\\ri?@I{)?o<(?<?????O????H??@????????Ju??Dh????F?o??+d?????\\Z????>}???j?R???????;??? ????????\\\'?C`???=????Wn???\\Z?`???Gq*\\\'???ZO???w???IP;?5???|?:?;:V??????S?\\0???_O?????W?Q???\\r( ??k???#?*@\\0??h?~?k?gG?iI??\\0??:7?w%A^?w?pJX??;`?$(?G???xY???\\0?=????RT5?????R?m*V??\\0???h7?*???|?QO??cZ????*HK???l???q%\\0?\\0Oo??7?\\0~JB	W??P>???\\0?1I&?Bx?|+ZA idx:>??\\0?%$?(?c?;?>}????	)V?|p%?\\n???6?``Z?\\r?8?!>F?N?C????N?B|?C?H=????g??(o?J??????????v?4;???=????\\0V?v?G??x????8\\0I?$oI\\r???Á\\n?`??Ju??	=????O?\\\\??????	????p???)	QC?????I?Gn???????»F?^?????a????W?????\\05??????????j?????Z@?[O???lw????>???`?Y?? ?\\\'eD\\r??A??\\0?H??l???z?????????wo??:??H?\\0_n\\n?|`??????\\0v??$?y???N????}??\\nJ??I6??n{??		=?\\\'????ga?Q~?c?\\0?pH???\\0<)`$w???????(???x\\0B???\\n?5????W?<?}?	??k^?~???(?(?A???@$??w????X@!\\\'???w?????cj,?`?????\\\'????x ????\\0~?\\0%% ??uy???H?1V??b5????1?I8,???????\\0?=????\\00???)Ov?6u????Gh???@????????\\0?\\Z\\ZI???\\r??\\n?>?\\0}p}?I?|?;? \\\'?????^l??8;+?n?d????\\0nB????:N?~?O????C??F?}???\\0q???HO?+?I\\ZH?\\0^x0=<w?y?;?????(??\\0?\\0?????\\0(????y	??l?:;?\\0??(,#`lw|?^}??« c?#c?~?u?p?\\\'?{???ÏjT??7?|????PAR?U???\\0??\\0?0??N5???\\nP_???iG?????>R?0	?y><p??\\n?*\\0???%C~	:CCd}?\\0????U\\n???$???vO?G???/?6	V???\\0N??|?{¼o??????*5??\\0????w?z??(e(?^>Kd~?????>??5?? (??M?\\0^f7W?N?v????\\\'c@?\\\'?`\\r{8\\\"\\0??????o??\\0?\\nV???G??s1?u?>IF?B?A?@???H!A?Z???????y?????\\0/?>??t\\0\\Z$?????f3?G???H@tO?\\\'Gj\\Z	????????ll???????????????l?Q\\n	??{#?\\\'????I??_.??????S??	@ ?wwog??}?.m?v????$??\\rP@?^???????\\\'????d??@?F????l?x?#???;???@Z??j?\\r??\\n?????n{?*P(?????)DlxO???~??\\0~\\Z??7??????jOx??_Q?)????%b8\\0]c????*;	?q????^tv?og??8gv?I;: ?????????\\0\\Z ???rI??q?	P\\0?y ~???x?]?\\0k?W??o??\\0tS?*??????k*????7`w?\\Z??oi{??$??( ???{\\0x>????????\\\'?*G??????JA???????;?lc??G?U????\\0G	V???II?)???2I??J?P#a??#KRT?G?T<???\\0<?<?T???h<?G?9??J?QHOv?~???\\0_nxT??(?\\0?????\\0??,? ?\\Z??R???c8?F?w!?A?????)?4=??=??? ??JP????a??*H?C???\\0?;????@`?%?;?=??\\0S????\\0??`??????\\0??(??2?o??	?H$h??^???D?1?(?`!{Y#{?w?5?5?\\n????\\0??N???\\n_RH?:??????????|$o?\\0nlh?{V?? ?	\\n??????TG???}??\\0n~A?{??i??\\0?|G?5?:?N?0?*=???	0??k?#????xozR~]??;P?H;??_??\\0??xA#~I??Oi?\\n?:??^????a?k??(	P????BI#?\\\'gI?????,l$???v??$?o;??I???\\\'??<?0.?9??V?t???N{?e?\\0?????	?H>??v?|?^{??S??Grv7???~f5??\\0 ??q????????U?$hx??}?~?_?D;S????\\0?????>S???x?^h?0???CGE%@? oN\\r}?f??H?????R? y?tx3?;J47?d???\\0???b???? ?i\\Z??Q??????\\0?%Il??\\0n#GCD?<?8\\\"??kjA)?R<????h?8? ?lT@????\\Z????w?u?????~????(x??????\\ZH???\\r????\\0??\\Zf?U?Gq?\\0?+~6}?bOv???G?;?<~I?\\\'j;???-?a@?6??????\\0?a6??s?Q???<h? ???-(???\\0/??v~?p?$????~_???<\\ZR???(?~S??<?qx?lz????%=?????\\0?H\\\'?\\0|)???\\Z>???l????x???=?k??)??w?h?%$)>\\0(???_^	(???;*::\\n????N??Z????$h????x?????\\n=??\\0?????????:X?Q???\\0?c#^?($???????:R??;\\0y?\\0??,?\\rx\\r?1?J??W??????\\0?????????N?{??\\\'g{Q?N?G?G\\r?I\\ZN????I?|????xA)Og??=??o?s??=? ???\\0??Z???R?	?{?>??	*R?+A?S???f7?R5????J?????`???????iZ???;???	$?{?????mZ!?o?!{>5?_?f#?N???L???}?J???????w???ÿ????S??P#??A?????=????(??5?c???d?o+??`???;???H???\\0s?\\0	IPR?7?H:Wp??? v?????=??x$?<???~6G??e?|f???\\\'?H?ZI??\\0J??<iDws??\\\'? ?i@~??pEJ?A\\Z?$??y???*QJB[???@????\\n?:*IJ4@??????6H*Q=???~?4???;????lh??J?TN???????Q ???#?C??9?h?g?\\n>u?4}??pA?$HA???c\\0r?`???\\n????#????^??l\\n??|???\\0?mJ?)?)E$?????~?:???{???p\\r?r8-??J?????R?? ?4u??????JvJ????$??@Z??I???I???\\0???Q?\\\"????@??xQ??	P\\0?+P?@x?>A(J???H?U????\\r=?	\\n4RA:????,??T??JT??>????}pa(?\\\'}?\\r???>???hZBO?#@??J?q	PO?>I\\ZQ??}? ??¯[/r?????~RG??\\0?$??1\\0\\n^???n\\n???,?4|?????R\\0)=? ?`x^?\\0~hT0|y?IKi??R???s???t?%I\\r?|??\\0??yV????????!zQ?P$??*P??6???k??{?????/?U???5???Cd?{?_&?????(?HHI?l??p??@???5?RH???px??x;??*(?]nz?+???@??u?????4~R????I%%???S??#??@cT?v??\\\'I?PH_????Cdp??????????>????K?@%J }tF?o?m??\\\'??%$k?	B??\\r??\\r#?w@?Y)?[??O???cG{?_?#??y?~R???%^\\0?\\0??%J??VBv@?@???\\0???i??&??M?G`??;?<\\\'?x%((???;???G????6tJ?I?B?j?|7?h??????w?G?U\\0??3??;`i?J?i??\\Z?????5??TTB???????\\\'j+P???{??`????e\\0?W???W?{?[?F???*pi$?o??m/???\\\'???_??y??2??????I \\r?xsl????]?V?b????\\0nh??4[??t?![?=?[????o?%\\n?*?N?ICj?)????)	PH$?Zl?~???Nd?GqB?B<7???,?X???R4R??\\\\V??????J?\\n??I`iV??~	n???yt???~???Â?	B?\\0\\0?????????$?}????(?%?????????R?qIi??v????\\00\\\'?x??:@N?o?>??k???\\0??T<wh+???\\0?<???0???R{B{N?W??x$v??$?O?O????\\\'???}?\\0??5??\\0?????????mu????R?H?????)=????(??I?Q?>Q???\\Z????t?????<????&????JIIT???k???uK*????6<o?BT??!#?????????vR{|}8*?\\Z,??8?*\\Z\\\'??r???\\0????J????(????/?t?$??Ov??}?{jO?B??WqP?????(?W??=?{?pJAR????p????n???N	\\0(A\\0o???O???R??H??F???R9?T?y<?\\0?	??????5??~?\\0?^j%)*??v??^???`/I??ZR??ZBH?R???????`??v??O??l)[	V??~S???\\0?J??v;?I?U?????6?H?(?RPN???*?J\\0 ???7??tGl?@@??a???w$?????)??4\\0???G?[????;?????v????E$v?6TA????1????5w??T???R?k?~?#?|????s????????\\r??????i?\\0????<??n?????}?l@?R???~d?t9??4???JvH???\\0~|#e%Cd?E>ˆ8??\\0(yY?????4!????n?\\0m?)\\0??e????7???$????N??}GN?)C@???b?J*	?*????????\\0?Xws??A:???????R\\0?h?d?n???N?T???W?IO??????????\\0????(?E?lw(????;????~?????d?????p???? ?~?\\0?> %EJ?>]lR?????ÚRA?????	?|??o????u????????m??\\0??\\0NRS?????C~|???\\0?aI?{?jHP????_??\\08_??6=>?	;\\0??O??\\0nd$xJ~A???4?4?????{\\0$????y??E;?	?????^??Z??lj??1Io???O?|h??A?p?J?\\n??\\0?*Q??????*H:;???s?s(-??i^I$???\\0?6B_????????`%?^\\0?;??)2F??????R?????????G?	?xN?p?h??\\0?????\\0????k?????o??0S5p0\\0C?)?Wj??????s??Y#??WwqW??????i)\\n????????%??BJ?>d?U?a???A8????I^	Gr?????R66I??a?????????B????O?\\0S?i#??\\ZR??O?O??ÕTpO???	???#?zA\\n??1P????t?`???????d$??4{??piA:#}?_?)?7???FTF\\n/??7??Wq	 ?TP\\Z?|???? ??\\0\\\'?zAN?$x%J????????tA?? ?+?39???oh?\\n>U???J????????G????O??????w?\\r?U???Q?????A?0?????K??<;JG??iJ???5?8`?u??T;??{??\\0~?6\\0O?;???~?1?5?7???\\0?\\0??@?\\0?????{? ?(?w(??????`??????%C?O)?\\\'`?x??????4B??G????V??,n??TJv???\\0?Q??\\\\??\\0??S??????VTo?7??q?9?BU?*??P????\\0??4G>???????\\0x#Z#G????????\\0($);?v8¤??\\0?\\0O????!j		Q?D?}?=??â?I?????s??)*!d??N?o??????Q?!^|???8 ?\\rww????;??|??uh??a??T ?I?o???\\0?	g??BT6w???}?4???Rd??\\Z??\\0?~D?!Z?J}?\\0????{?\\n? ??{???????A????G?v???G?>???xRIJ???u??xJ?? ?I????? \\\'?6G??`E????x7???$????????????^?????=$?%>I??}?$??;??\\\'???Q?}?`Pe?`??h??\\n\\r???|??????p?%dy?;;??~??6??m]????????????tA\\ZP??\\0^lmW??????\\r??H0?????N?!$8=???w?;H??vV\\0??\\0?\\Z???R??$l\\r??\\0Nj?[?\\0\\\\e?5??i:P /g`????\\0?-????\\0?)I?}?}?Z??R?q?{???~Oh~w??k?R?AN}??]????t6?y$?????vs_)?B?k???p????????x???\\0?<?HY??}??????E$}??]?8/?????????0???+0?{???I??|??v+?(?v??I????`\\n?N???v?m%?????I???S??H?}?\\0??@v??^H????mJ??????a^X???????w???\\0????)(?*W???~??Z* ???#???w/I%_/??^4???B7????@?o?p?*(?|k?(I*\\0$?????=?\\0???R???\\rx*N?O????????Rt4=?o??AN??y)W????7& 05k?\\\\????\\\'?G???:??A???\\\'d???k????\\n????\\0?>H?j|{????0????;`???~R>ob=??8x ??I/???s??h?ZR?*????y?J???v??G??#Jn????q????5??????(J		%j(???_?\\rIQ?p)???_???BU?I?J?~\\0?\\0?F?u?l??????{>Tu??\\0??\\nP?T?|?%\\\'??*?\\0_??vRU????O??+{#??k????\\0?=??+H$????O??H????I(??H??t;Q??*O?>????±?IH?(\\Z?w??\\0??????oo?85$???p>?v?????????;6TB?=?\\0??@=?+?v??w?????%[?I?$?[>???8b?g??????`??I??A$??l\\\'??????^?+?????k???-O?O?$?\\\'?\\0???????Gi??X?\\r?{_??`?????V??v?}??????????W?4?<)%A@??{\\Z???}y??????RG??????Z?K+M??N???????`G????<I?8?%_m??$?@) ?????)%!emE#?B??\\0?b.]N???\\0Q???	?W)J=?C@o?	;W??????? i\\\'`?Z??R|??(`h?D?k?z`N??? ?E\\0?{???`?\\r ?q??T??C????7??d?{q??????GiR????????D\\n?$`????Iq?X?X=\\\"z?<?^????>v4G?ZV??{:?m?`P?IQOhw???P\\Z!???\\rk???? ???\\0l???0? ????{??? ?f?T????????o?y??7?g??????\\r\\r?Z* k??G????v??;??*????=????PZO??? ?+Dh???pJH%:;???O???$%????T|~?????M?????{aV???????$S?<?\\0Q?\\0???{w?? ??????J	?Ox??U???+?s~J@??\\Z??\\n??w?	/??!!^U?ww??_?Q???$?\\r$?rxg????\\0?On`?????????h?I???<v?\\\'?(??JS?#?h}x?oD??_??W?{???u??|?????????k?~?????3w4/?v?I\\nIW??G???????#?	O???y?t@(?	?j???s?N??<????\\0??}m???F1???~P??u?\\0?}??O???????N\\ZP;?4v4O??????????r?O?????d????\\0??[??j?N?V?????C???????;A!	*\\\'?????????%Z??G???}~???????z?)???{?????K???\\0F?W??8w?<???u(???x?\\0$????????;????b\\\\??G????A?$o???)?*A??	????? ??x??H???A%:(g??G????0?X*???v83?/	???k?QJ???{F?H??H^w?;?$????D???a??N???~??cU????)n??: ??[#???????????\\n\\\'?\\0???D ?h??*??Z${?J{A??y l?H??{?v??$|?????7?RI h|?A?J??$????????????h?~x??=4x?J{I???u???m!D? ?)???O??~\\Z??@??^7??\\\'??%*????-ev?7c??????vS??\\0t?wv???\\0???}?i?\\0?????O??\\0?{B{~_u?????????????E\\\'??@\\r?8h?x?|?m?? ? iI???6RvQ?zO???-)????}?~?G?~??\\0_^$y?\\\'????)?@?~S??????\\0.BA]8I?@8?b??q???eCD?????\\n???h?????I`?k?}?O?v???tw?????\\n??\\0?	?8??$????)h??Gq???n?J????????l????:C??*(?O?? y??m\\\'?R>?=?o??????6	??y??U????k^t????OrW??\\07????Gz?p?9/?1??n??N??c????s?B???(kC?g\\\\@X:????:?????O????&??(????????w??? h??r4??O??;???~??8p\\n* ?=?\\\'??A$?:??|??\\0Ni^??????q?o\\0Q\\n#^5???\\0?V?$v??#{???*$??i??????9???F??l??p???cw??	;![?\\ZO????l\\r?;;^?????j??$???\\0??{A???_<	???\\0?\\0?o@???{??N?W??????Wi>?7??u>@P\\Z?|?<???|???????#?<?R64???8#? ?yQ?????w??Q?*?H????\\0F???????\\0???y%G{C?????A[:???{???tB{??w???lM?\\ZJN??HW??I???=?\\0?=??????\\rs?\\r??) ??pVI\\0?`?+iQ=?%Hd???*????~???????kd?? ??y?U??????????|0Y)?\\0??Q?e;;?[?O???~??{H?? ?_?W???????\\0?8????????O???9?N?\\0A??5??-^A?6~`@???9???)[$???)?#??\\0?Y?)?:??N????\\0?^?N???????\\0 x	?{s9??I>\\0#??GE+???K?????	\\\'??k???H(\\r?B?\\\'^<??p??|)\\\'????{sT1???1|??(?\\r>???s????u?R?$?pJ?D({??x??s?????:?????????8(?t?>w?\\\'?x?>??_?O??\\0?|?$\\\'K?)????? ??G??????3;?k?~????@??$\\r?N?????O?????d|????s0?\\\\|JH!D$??7?o????@?\\\'??\\\']?G?;????t;?6u?{?s0\\0	? }t$+???p ?\\06w??^	\\Z???)=? )F?W?????U??wi)?rG???????nV?IR??N?????p?????	?u?????????????\\n?*??	:![?????c?g\\0_??????;?)F????\\\'?v~?0?(?\\\\???@???l???n???????C?g????l??Z??*<\\\'??Z\\\']????\\rJBtOqd?+I?_????;Q??$????x?q???2?D?c_A???p=??RF??????#?v?rGj?|$?tT@?O?_???/{??_\\\'?mCDv??O????;}???|?????Z	? ???????AAD?%g^??k???,n??L????	 x:O????\\0nx?l?<y?????<?vw¶?iO?A_c??5|V4+w\\0?vA??^????\\06\\\'??\\0q???=??A;_?x8\\r??h+D?\\0???c?|?\\0?#{???T=???\\\'????????$)[*\\0?u???\\0??\\\'?I)![>R??y???h\\\'?\\r?*V??PWw?@??gj?\\0???oe}?????G??On?B??l\\r???q?,x?t{Op???[?6??{?^?m?)@??????????l?Ch:????HYH?\\n}????e?89F??;????B???\\044>O?;vN??\\0??HQJ?t??????:X\\\'????????g?=V?{??????\\0??d?????pH??????G??JRU?????|{?3{c??<?>????\\0?Y?~N?kD???>???`tt5??\\0??+??????I&?8?????+??HN?I??ð???o?pJZ??\\r~??^@??s??l??y?w??????e??h????????(w?S??7??`x#?;?B?????|o???;?)$?v?I????\\0<??\\0?????\\0N|?\\\'k	A???\\0_??!?)):*?>?????F7??`(J?{????\\0*???;????g???7?\\\\??_??m,|???\\0?\\n??????? (????m????B??-???\\0?J4??!$??????W???w?_?a??%^?=?+Q?H;??<?m?2\\0\\n??i??9??G?T<?>JO<%;B?tS?????p}?8?/??|????\\0???	??\\0?q????\\0?{?;$?G`?7??<	)?$??w????9?f<D??I?<??`x;I:XH?\\0^9???G{\\\'?;PRvt}???V3?u?\\r?>?~xJu?oJ~v???y???{??U????????R{|??_??x?`=?Of?;?vN??c??y?	?F??y??????Ju??\\Z??<\\0v(???k?W??y??T\\n?N?X??7??\\Z?p??$p??\\\'@?+???k??{N? $???<?5????)!j?????H??|?E???u??????RU??????\\\'?`??????????x?N$7?u?k?	 ???$A?	\\n?s?(??o?~?\\0??A??CI	*Nl_??l?)=?}????V????h]?D\\0\\0R?GiW?????p???v}?H)??y?oQP\\0\\r??\\0??? ?(0???u??R???u??)#` ?????/{?q?V1?PV??????_?8?$??????x2?6@??~>????6vT<x???$?\\0????a4x?Z???bO?|???G`??BH?O???hw$:?????	$(??w????c\\Z??{$??U??=???J?U?????#?\\r@+[???\\0?O????O`V?l?@^?+\\\'?6>?-$?(?a^J??????+`?(?G?Z??I-?jH??p?O?PJ?{?I?eki?\\0??c{????G??\\n?IW???????tT?????jH?o???%_&?x???\\0>o??g?>?BPB?)????A?:??yAJ????\\0R;Gp????wv?\\0?9?H??A?O??n1????????xJGi?\\0_o??	???F???B>?\\\'??\\0@H?Q;?m?*)jQ?v?yJ??G???9?#?PO?|???jR????R?N?~??^IH%{#}?)?P???	)?<\\0G??o?\\0\\\'?bo\\Z\\0p???????\\\'{s????^@*\\Z?	???O??????6??]?????|\\0??I\\ZH?y~??|?B???W???H;\\Z??tT??\\0???) x??|??{??cD???????\\0~]???????\\0??h?|?:??\\0?\\nW??R??\\rv???\\\'?I*\\n????3[{?\\0v?	??w+z???bO??G??????\\0?x\\0=?{Q>@??????????6??\\0O???????1??;??4I?C?s??I*Z7??\\0??y?aA\\0\\r??*??????HQ*J?{????hUs??<``?mG?)?(\\ZP#?Oj?r{??$???????Z??A?W?????e:N?N???M??\\Z\\0v$?A;	?N?y5)F????@???IJ?n??J???<5D?RR\\0?PH?7???1?~?B~b@!@?6@?a?2{?\\0{?^??N|4B?? l???\\\'??!@????F?a????r8?;I\\ZXW?$h~???F»?A#{:?????5???l?h???9???6?i?????I????N??\\0G?}}???\\\'y???|? v?o?????#^??p?N?U??Rv??3\\Z?\\\\z?(y???:#?pM??9?\\0?????<?\\0S?4???l?\\\'??\\0nz??Q\\\'G???C?s0O?=:>v|\\r??C?	??(	\\0???w???????U?l???8P???	???\\0??q?@???_?AC???s??Q?(???I#??_??*$v|?J???????O?{?*?:????2?[???A \\0????mIY?}??????a$???O??}??\\n?5|?`??????_????h?R\\nR????\\0N?%+iP?|??A@???#?*?{a??/?GJ?;%Z+#?n??N?*?xJAAR?Q?\\\'?????*??m????x?|??~??o?IQc??????7?\\0?y?&?wg???jvG????)):?)????=Cj?F?#A$??}??????$h?v?j?????,w?$?????$?yI?*??o???#?%@?|k???&???iJN???H??????v??W~?;O??q?a??jI\\ZJR??????????????\\rH???v?o~z?+?J>o\\n	?N???O?=?????III\\\'C?	?$??????S??????|??\\0??>(?Oq)?z?=??mzA\\0w?j@?!G?:???si???h%=????(??rI???Z?u?b?%\\n)I@J?\\Z??????))Q??Ho{?sV?w?????}?iO?????\\0???\\0????????\\0?Bv\\\'?????????|??H?:?G?\\0J?O|?o????\\n??	????v??{??y?\\0.zR?i?O???u???????H	??*??OX(?g?GgIZH?	O?U???zH?]?H\\n ????????F?5?????9??????h??|???%D?}???6???q$????r?Oia??	)	\\n??????d??+I\\Z?b???/_?	$??????????{S??o[;?I??I)Q)+Q=?????0????{m??:\\n\\nI?Q#G???\\0?H? }8????\\r!J?_??????BN??I?):????xq	?JR~`{?????\\0(?????#K!:???X?????b??\\nO????p?L??$	V??~d???????));O???$??,?wy%???s??\\r??z?(?h_o??Ho<?BP?}@U?|{?c????!Cz?A_?x$)\\0kJ>w??\\Z???\\\'?4????b?Q?p\\Z???6;?Z@J>???Ï?4???*@=\\nB??v?>??????#*?d?????]?V~U}????D???5?????+?)?I?YN?O????R?\\08?#?Q*Pó???_8???i@IWr??_?y)W?G?~??B?????Oh??|??????6???%i\\0?o??>?\\Z?B??+J???Z#?????r	8)?Ux??????$\\rF????\\0n	JJJ{P???|??h?$?%)[?J?0???\\0????eAA~?{$o????\\r??wQ??\\0\\n@!?\\r?????\\rHYJ??\\n~n???????>BQ???????????????{TG??????????9?\\0=?%??P??Ru???????{??4R?\\\'???R}U??????p?[J??vO?$v\\\'?LJ?|~???{????c?m??T?o??????U??r|$o???\\0N?%%\\\'????????-????X}?YR???>?\\\\?iEI\\0?J???	?\\0?????x#??vä?IOw?O??????\\\'?????|x?????@????G???x?????????N??=???????%]??|?????????I?I	\\n????????U?}??k^~???*?k???n\\Z????????????o\\Z$?8?m ????7?G??2{??A.?#K??xPN?V????=??????J?@Y\\n??>P?????X-s??m???*N?A????\\0?\\ri]?\\\'i$?w??k?<(??o????7?#?)J???l(x?}p\\\'i??Arm?\\r????:\\\'j????JGr???H??????p???????p???l????m:?5???;C\\\'|}?iR?I\\\'?;?{{s?{?R;v??B?tw??????@ ?/c?;?????R???A?P:\\n?7i?pg?l?R??B?GzIP?A?d7?A*???+?B~?<!#?{?\\0??)\\\'~?????C????oh\\\'?H??????8TJ???????~???k\\\\\\ZBRv<\\r?\\n??p9???TB?u??U??{???<??\\0j?m???? ???H????u?,![?	???\\0?>B?`;~o??Ds???B?g????G?`?I???\\0????<x\\nPJv	\\nI\\0?~??\\0?ne6???iA??w?<+??	:?}5?~\\r ??]??6?}w??\\0?h??;??v{Gr???vO??????7??}????#I?)=?]?HQ??1!~?~{?U???	E??f>?i_?~?????H\\0h? \\r,????n??T??P%Z???\\0????$l??}?P~????.???/\\n\\0???$?????%^U??4?6?p??\\0<{Go?~C??>H?Q?\\0nev\\r?$??????4????P??c	???	AHOga>|#?n?h??\\\\l???	?\\n????~?w?z?_n???k????4Tbw?\\\'?G?9\\n?;h?\\0?LX???h?P%?U?w?Z???8>??G??>?k??{ /?*N????|pI? ??$?5??O??\\0??X-??I??W?4?AN?W???	?<o[?#?x\\0?\\0?k??y?C?????Rv>?xz\\\"?n?7l??]?\\Z:#????J??\\0??HR?\\0HI????? 6@Q:W?\\n????p??8,?Ol%J*	?P\\Z?S???F???$x?O??@	\\n	\\Z??>b7?C???T??\\0???????\\0a???q???jI?<?G[?o???-?@?d???F?\\0???RN??~?}?????BF??}?<W\\Z*?v?\\rkm?o?\\Z??#????y:??+?\\0????????????@?s?????????|???\\\\8B?!+??v?`???X????H??\\\'?G???pa	i ?????%\\\'?Q*OojH\\0?????;??\\0{{>o=?h????T??G??3u?x?A)	B??Ooo??s???OrO?\\0A?d??H?)\\Z?\\Z?\\0??wk?`)Z????E?˜#%>)^??	I?\\0y;<a*??{??????(?????>4>?????\\0?	Q? \\\'~?_?$`/~?4?7??l\\0?G`?(??_?????o? ?IBJ???|???m#z?{t?W?\\Zu?@=????C??1dTB?pA??1?T?H@\\Z?v?$s?z ???O?????iEe \\r\\0Ov?????h|?O?vG??}??\\0~	$?G???v??a??AQ?|???C?Q?vJA?U?C???7?+`?l??\\n???`?^??^}?-?@qW??8(\\Z??<RI?-???J??O????{?yI?M???	%%I!)O????|??>U???\\0???![???`EH?imò?`>???aZZN??vN??????\\Z#h)???O???+a	R???|p\\\\%)?\\0?at???(????\\rwk??_^	l????#_9?#_by????\\\'GG??x???????u?6?Q\\Z5`~||~?)??G?B6	#?X????4??????e{k??}?$w$???\\\'?s?????G???qH.?(????\\0??A?k?doj=??oC??\\\'???l?\\0????kiP??7?z????(???\\0u??????8b???\\0?c0?\\n??4???x\\ZN?u??<?@??R?6???n?? (??{???|???H??R????n???O??7X\\nJI%~[???\\0????D????T7???r[O???HN?B????@??????(~??????? \\0?\\0??4+?\\0??T?','web/saveMukaDepan','0.5368549823761','2016-08-03 11:30:04'),(520,2,4,'192.168.1.197','update','UPDATE `web` SET `namaSyarikat` = \'kedai-e.net jual tudung hoho\', `mukaDepan` = NULL WHERE `userID` =  \'akmaluddin@salihin.com.my\'','web/saveMukaDepan','0.10046195983887','2016-08-03 11:36:32'),(521,9,11,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'9\', \'11\', 1, 1, \'68\', \'10\', \'OP-C\', \'2016-02-02\', \'160\', \'1\')','expenses/saveExpense','0.04153299331665','2016-08-03 15:27:26'),(522,9,11,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (19, \'11\', \'kapur\', 1, \'33139\', \'10\', \'10\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.0083329677581787','2016-08-03 15:27:26'),(523,9,11,'192.168.1.201','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'9\', \'3\', \'16\', \'02\', \'AP\', 1)','expenses/saveExpense','0.04228687286377','2016-08-03 15:27:26'),(524,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP160200000001\' WHERE `ID` =  19','expenses/saveExpense','0.022239208221436','2016-08-03 15:27:26'),(525,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'9\', \'AP160200000001\', \'Cost of Goods Sold [OP-C[00000001]]\', \'Cost of Goods Sold [OP-C[00000001]]\', \'\', \'3\', \'2016-02-02\', \'16\', \'02\', 10, 10, \'11\')','expenses/saveExpense','0.023425817489624','2016-08-03 15:27:26'),(526,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP160200000001\', 1, \'kapur\', \'33127\', 10, 1, \'1\', \'10\', \'02\', \'16\', \'1\', \'OP-C[00000001]\', \'11\')','expenses/saveExpense','0.016518831253052','2016-08-03 15:27:26'),(527,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP160200000001\', 2, \'kapur\', \'33139\', 10, 1, \'1\', \'10\', \'02\', \'16\', \'1\', \'OP-C[00000001]\', \'11\')','expenses/saveExpense','0.015909910202026','2016-08-03 15:27:26'),(528,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 10, `total_amount_cr` = 10, `total_amount` = 0 WHERE `companyID` =  \'9\' AND `journalID` =  \'AP160200000001\'','expenses/saveExpense','0.030463933944702','2016-08-03 15:27:26'),(529,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  19','expenses/saveExpense','0.019061088562012','2016-08-03 15:27:26'),(530,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  41','expenses/saveExpense','0.0084121227264404','2016-08-03 15:27:26'),(531,9,11,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'9\' AND `journalID` =  \'AP160200000001\'','expenses/saveExpense','0.02445387840271','2016-08-03 15:27:26'),(532,9,11,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'9\', \'3\', \'33127\', \'2016\', \'2\', \'0\', \'10\', -10, \'11\', \'2016-08-03: 09:08:26\')','expenses/saveExpense','0.064157962799072','2016-08-03 15:27:26'),(533,9,11,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'9\', \'8\', \'33139\', \'2016\', \'2\', \'10\', \'0\', 10, \'11\', \'2016-08-03: 09:08:26\')','expenses/saveExpense','0.02271580696106','2016-08-03 15:27:26'),(534,2,4,'192.168.1.199','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'2\', \'4\', 1, 1, \'68\', \'96.8\', \'OP-C\', \'2016-08-03\', \'130\', \'1\')','expenses/saveExpense','0.041543006896973','2016-08-03 15:31:31'),(535,2,4,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (20, \'4\', \'tepung gandum\', 1, \'32710\', \'91.8\', \'91.8\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.008350133895874','2016-08-03 15:31:31'),(536,2,4,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (20, \'4\', \'kentang\', 1, \'32710\', \'5\', \'5\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.032814979553223','2016-08-03 15:31:31'),(537,2,4,'192.168.1.199','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'2\', \'3\', \'16\', \'08\', \'AP\', 1)','expenses/saveExpense','0.026180028915405','2016-08-03 15:31:31'),(538,2,4,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP160800000001\' WHERE `ID` =  20','expenses/saveExpense','0.016187906265259','2016-08-03 15:31:31'),(539,2,4,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AP160800000001\', \'Cost of Goods Sold [OP-C[00000001]]\', \'Cost of Goods Sold [OP-C[00000001]]\', \'\', \'3\', \'2016-08-03\', \'16\', \'08\', 96.8, 96.8, \'4\')','expenses/saveExpense','0.010061979293823','2016-08-03 15:31:31'),(540,2,4,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'2\', \'AP160800000001\', 1, \'tepung gandum\', \'32701\', 91.8, 1, \'1\', \'91.8\', \'08\', \'16\', \'1\', \'OP-C[00000001]\', \'4\')','expenses/saveExpense','0.03540301322937','2016-08-03 15:31:31'),(541,2,4,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'2\', \'AP160800000001\', 2, \'tepung gandum\', \'32710\', 91.8, 1, \'1\', \'91.8\', \'08\', \'16\', \'1\', \'OP-C[00000001]\', \'4\')','expenses/saveExpense','0.0081520080566406','2016-08-03 15:31:31'),(542,2,4,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'2\', \'AP160800000001\', 3, \'kentang\', \'32701\', 5, 1, \'1\', \'5\', \'08\', \'16\', \'1\', \'OP-C[00000001]\', \'4\')','expenses/saveExpense','0.015945196151733','2016-08-03 15:31:31'),(543,2,4,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'2\', \'AP160800000001\', 4, \'kentang\', \'32710\', 5, 1, \'1\', \'5\', \'08\', \'16\', \'1\', \'OP-C[00000001]\', \'4\')','expenses/saveExpense','0.0081949234008789','2016-08-03 15:31:31'),(544,2,4,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 96.8, `total_amount_cr` = 96.8, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP160800000001\'','expenses/saveExpense','0.032722949981689','2016-08-03 15:31:31'),(545,2,4,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  20','expenses/saveExpense','0.00844407081604','2016-08-03 15:31:31'),(546,2,4,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  43','expenses/saveExpense','0.016211032867432','2016-08-03 15:31:31'),(547,2,4,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP160800000001\'','expenses/saveExpense','0.033046007156372','2016-08-03 15:31:31'),(548,2,4,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'4\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'32701\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.037353038787842','2016-08-03 15:31:31'),(549,2,4,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'8\', \'32710\', \'2016\', \'8\', \'91.8\', \'0\', 91.8, \'4\', \'2016-08-03: 09:08:31\')','expenses/saveExpense','0.025934934616089','2016-08-03 15:31:31'),(550,2,4,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'4\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'32701\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.023748874664307','2016-08-03 15:31:31'),(551,2,4,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'4\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'32710\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.023674011230469','2016-08-03 15:31:31'),(552,2,4,'192.168.1.199','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'2\', \'4\', 1, 1, \'68\', \'63\', \'OP-E\', \'2016-08-03\', \'130\', \'1\')','expenses/saveExpense','0.032381057739258','2016-08-03 15:32:59'),(553,2,4,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (21, \'4\', \'bil telefon\', 1, \'32733\', \'63\', \'63\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.024436950683594','2016-08-03 15:32:59'),(554,2,4,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'294\'','expenses/saveExpense','0.03187108039856','2016-08-03 15:32:59'),(555,2,4,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000002\' WHERE `ID` =  21','expenses/saveExpense','0.033091068267822','2016-08-03 15:32:59'),(556,2,4,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AP20160800000002\', \'Operating Expenses [OP-E[00000002]]\', \'Operating Expenses [OP-E[00000002]]\', \'\', \'3\', \'2016-08-03\', \'16\', \'08\', 63, 63, \'4\')','expenses/saveExpense','0.02924108505249','2016-08-03 15:32:59'),(557,2,4,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'2\', \'AP20160800000002\', 1, \'bil telefon\', \'32701\', 63, 1, \'1\', \'63\', \'08\', \'16\', \'1\', \'OP-E[00000002]\', \'4\')','expenses/saveExpense','0.01590895652771','2016-08-03 15:32:59'),(558,2,4,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'2\', \'AP20160800000002\', 2, \'bil telefon\', \'32733\', 63, 1, \'1\', \'63\', \'08\', \'16\', \'1\', \'OP-E[00000002]\', \'4\')','expenses/saveExpense','0.016516923904419','2016-08-03 15:32:59'),(559,2,4,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 63, `total_amount_cr` = 63, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20160800000002\'','expenses/saveExpense','0.016104221343994','2016-08-03 15:32:59'),(560,2,4,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  21','expenses/saveExpense','0.016770124435425','2016-08-03 15:32:59'),(561,2,4,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  44','expenses/saveExpense','0.0245041847229','2016-08-03 15:32:59'),(562,2,4,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20160800000002\'','expenses/saveExpense','0.016698122024536','2016-08-03 15:32:59'),(563,2,4,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'4\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'32701\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.01187801361084','2016-08-03 15:32:59'),(564,2,4,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'32733\', \'2016\', \'8\', \'63\', \'0\', 63, \'4\', \'2016-08-03: 09:08:58\')','expenses/saveExpense','0.017444849014282','2016-08-03 15:32:59'),(565,2,4,'192.168.1.199','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 2, acctName, id from comp_chart_of_acct where companyid = 2 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 2)','bank/index','0.0014801025390625','2016-08-03 15:33:07'),(566,2,4,'192.168.1.199','update','UPDATE `comp_bank` SET `bankName` = \'tabung buluh\', `currentBalance` = \'0.00\', `createdTS` = \'2016-06-28 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'130\'','bank/saveBank','0.098057985305786','2016-08-03 15:33:28'),(567,2,4,'192.168.1.199','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'tabung buluh\', `openingBalanceCr` = 0, `openingBalanceDr` = 0, `createdTS` = \'2016-06-28 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32701\'','bank/saveBank','0.016604900360107','2016-08-03 15:33:28'),(568,2,4,'192.168.1.199','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 2, acctName, id from comp_chart_of_acct where companyid = 2 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 2)','bank/index','0.001500129699707','2016-08-03 15:33:30'),(569,2,4,'192.168.1.197','update','UPDATE `web` SET `portfolio2` = \'Portfolio 2\', `portfolioSub2` = \'Portfolio 2 Sample\', `portfolioText2` = \'Portfolio 2 Sample\', `portfolioImage2` = NULL WHERE `userID` =  \'akmaluddin@salihin.com.my\'','web/save','0.11847901344299','2016-08-04 09:44:35'),(570,2,4,'192.168.1.197','update','UPDATE `web` SET `portfolio3` = \'\', `portfolioSub3` = \'\', `portfolioText3` = \'\', `portfolioImage3` = NULL WHERE `userID` =  \'akmaluddin@salihin.com.my\'','web/save','0.092503070831299','2016-08-04 09:44:52'),(571,2,4,'192.168.1.197','update','UPDATE `web` SET `portfolio2` = \'Portfolio 2\', `portfolioSub2` = \'Portfolio 2 Sample\', `portfolioText2` = \'Portfolio 2 Sample\', `portfolioImage2` = \' \' WHERE `userID` =  \'akmaluddin@salihin.com.my\'','web/save','0.096061944961548','2016-08-04 09:45:07'),(572,2,4,'192.168.1.197','update','UPDATE `web` SET `portfolio3` = \'\', `portfolioSub3` = \'\', `portfolioText3` = \'\', `portfolioImage3` = \' \' WHERE `userID` =  \'akmaluddin@salihin.com.my\'','web/save','0.031987905502319','2016-08-04 09:46:41'),(573,2,4,'192.168.1.197','update','UPDATE `web` SET `portfolio2` = \'Portfolio 2\', `portfolioSub2` = \'Portfolio 2 Sample\', `portfolioText2` = \'Portfolio 2 Sample\', `portfolioImage2` = NULL WHERE `userID` =  \'akmaluddin@salihin.com.my\'','web/save','0.095057964324951','2016-08-04 09:53:27'),(574,2,4,'192.168.1.197','update','UPDATE `web` SET `portfolio3` = \'\', `portfolioSub3` = \'\', `portfolioText3` = \'\', `portfolioImage3` = NULL WHERE `userID` =  \'akmaluddin@salihin.com.my\'','web/save','0.025941848754883','2016-08-04 09:57:09'),(575,2,4,'192.168.1.197','update','UPDATE `web` SET `portfolio3` = \'\', `portfolioSub3` = \'\', `portfolioText3` = \'\', `portfolioImage3` = NULL WHERE `userID` =  \'akmaluddin@salihin.com.my\'','web/save','0.26776194572449','2016-08-04 09:58:07'),(576,2,4,'192.168.1.197','update','UPDATE `web` SET `portfolio3` = \'\', `portfolioSub3` = \'\', `portfolioText3` = \'\', `portfolioImage3` = NULL WHERE `userID` =  \'akmaluddin@salihin.com.my\'','web/save','0.098012208938599','2016-08-04 09:58:55'),(577,2,4,'192.168.1.197','update','UPDATE `web` SET `about3` = \'Encik Fadhirul\', `aboutSub3` = \'Bekas Kekasih Lama Puan X\', `aboutText3` = \'saya merancang untuk bersara pada tahun ini. tetapi nampaknya saya terpaksa tangguhkan persaraan saya kerana produk ini memang powerrrr\', `aboutImage3` = NULL WHERE `userID` =  \'akmaluddin@salihin.com.my\'','web/save','0.0208740234375','2016-08-04 13:04:52'),(578,2,4,'192.168.1.197','update','UPDATE `web` SET `about3` = \'Encik Fadhirul\', `aboutSub3` = \'Bekas Kekasih Lama Puan X\', `aboutText3` = \'saya merancang untuk bersara pada tahun ini. tetapi nampaknya saya terpaksa tangguhkan persaraan saya kerana produk ini memang powerrrr\', `aboutImage3` = \' \' WHERE `userID` =  \'akmaluddin@salihin.com.my\'','web/save','0.020253896713257','2016-08-04 13:05:01'),(579,2,4,'192.168.1.197','update','UPDATE `web` SET `about3` = \'Encik Fadhirul\', `aboutSub3` = \'Bekas Kekasih Lama Puan X\', `aboutText3` = \'saya merancang untuk bersara pada tahun ini. tetapi nampaknya saya terpaksa tangguhkan persaraan saya kerana produk ini memang powerrrr\', `aboutImage3` = NULL WHERE `userID` =  \'akmaluddin@salihin.com.my\'','web/save','0.079694032669067','2016-08-04 13:06:18'),(580,9,11,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'9\', \'11\', 1, 1, \'68\', \'40\', \'OP-C\', \'2016-01-05\', \'160\', \'1\')','expenses/saveExpense','0.049843072891235','2016-08-04 17:23:55'),(581,9,11,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (22, \'11\', \'kasut\', 1, \'33139\', \'40\', \'40\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.01811695098877','2016-08-04 17:23:55'),(582,9,11,'192.168.1.201','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'9\', \'3\', \'16\', \'01\', \'AP\', 1)','expenses/saveExpense','0.017369031906128','2016-08-04 17:23:55'),(583,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP160100000001\' WHERE `ID` =  22','expenses/saveExpense','0.026409149169922','2016-08-04 17:23:55'),(584,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'9\', \'AP160100000001\', \'Cost of Goods Sold [OP-C[00000002]]\', \'Cost of Goods Sold [OP-C[00000002]]\', \'\', \'3\', \'2016-01-05\', \'16\', \'01\', 40, 40, \'11\')','expenses/saveExpense','0.010886907577515','2016-08-04 17:23:55'),(585,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP160100000001\', 1, \'kasut\', \'33127\', 40, 1, \'1\', \'40\', \'01\', \'16\', \'1\', \'OP-C[00000002]\', \'11\')','expenses/saveExpense','0.059867858886719','2016-08-04 17:23:55'),(586,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP160100000001\', 2, \'kasut\', \'33139\', 40, 1, \'1\', \'40\', \'01\', \'16\', \'1\', \'OP-C[00000002]\', \'11\')','expenses/saveExpense','0.13251399993896','2016-08-04 17:23:55'),(587,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 40, `total_amount_cr` = 40, `total_amount` = 0 WHERE `companyID` =  \'9\' AND `journalID` =  \'AP160100000001\'','expenses/saveExpense','0.016397953033447','2016-08-04 17:23:55'),(588,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  22','expenses/saveExpense','0.016461849212646','2016-08-04 17:23:55'),(589,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  48','expenses/saveExpense','0.016460180282593','2016-08-04 17:23:55'),(590,9,11,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'9\' AND `journalID` =  \'AP160100000001\'','expenses/saveExpense','0.016398906707764','2016-08-04 17:23:55'),(591,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33127\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.02175498008728','2016-08-04 17:23:55'),(592,9,11,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'9\', \'8\', \'33139\', \'2016\', \'1\', \'40\', \'0\', 40, \'11\', \'2016-08-04: 11:08:55\')','expenses/saveExpense','0.014802932739258','2016-08-04 17:23:55'),(593,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'9\', `createdBy` = \'11\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'50\', `formNo` = \'OP-C\', `paymentDate` = \'2016-01-05\', `bankId` = \'160\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'22\'','expenses/saveExpense','0.14394021034241','2016-08-04 17:24:19'),(594,9,11,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'22\', `createdBy` = \'11\', `itemdescription` = \'kasut\', `lineNo` = 1, `accountID` = \'33139\', `amountIncludedTax` = \'40\', `amountExcludedTax` = \'40\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'23\'','expenses/saveExpense','0.00035405158996582','2016-08-04 17:24:19'),(595,9,11,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (\'22\', \'11\', \'tapak\', 1, \'33139\', \'10\', \'10\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.032281875610352','2016-08-04 17:24:19'),(596,9,11,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'296\'','expenses/saveExpense','0.036451101303101','2016-08-04 17:24:19'),(597,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160100000002\' WHERE `ID` =  \'22\'','expenses/saveExpense','0.051246881484985','2016-08-04 17:24:19'),(598,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'9\', \'AP20160100000002\', \'Cost of Goods Sold [OP-C[00000002]]\', \'Cost of Goods Sold [OP-C[00000002]]\', \'\', \'3\', \'2016-01-05\', \'16\', \'01\', 50, 50, \'11\')','expenses/saveExpense','0.030287027359009','2016-08-04 17:24:19'),(599,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160100000002\', 1, \'kasut\', \'33127\', 40, 1, \'1\', \'40\', \'01\', \'16\', \'1\', \'OP-C[00000002]\', \'11\')','expenses/saveExpense','0.034495115280151','2016-08-04 17:24:19'),(600,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160100000002\', 2, \'kasut\', \'33139\', 40, 1, \'1\', \'40\', \'01\', \'16\', \'1\', \'OP-C[00000002]\', \'11\')','expenses/saveExpense','0.032778978347778','2016-08-04 17:24:19'),(601,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160100000002\', 3, \'tapak\', \'33127\', 10, 1, \'1\', \'10\', \'01\', \'16\', \'1\', \'OP-C[00000002]\', \'11\')','expenses/saveExpense','0.039530038833618','2016-08-04 17:24:19'),(602,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160100000002\', 4, \'tapak\', \'33139\', 10, 1, \'1\', \'10\', \'01\', \'16\', \'1\', \'OP-C[00000002]\', \'11\')','expenses/saveExpense','0.03288722038269','2016-08-04 17:24:20'),(603,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 50, `total_amount_cr` = 50, `total_amount` = 0 WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160100000002\'','expenses/saveExpense','0.034732103347778','2016-08-04 17:24:20'),(604,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'22\'','expenses/saveExpense','0.033134937286377','2016-08-04 17:24:20'),(605,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  49','expenses/saveExpense','0.033108949661255','2016-08-04 17:24:20'),(606,9,11,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160100000002\'','expenses/saveExpense','0.033053874969482','2016-08-04 17:24:20'),(607,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33127\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.031000852584839','2016-08-04 17:24:20'),(608,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33139\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.032051086425781','2016-08-04 17:24:20'),(609,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33127\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.032056093215942','2016-08-04 17:24:20'),(610,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33139\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.03203296661377','2016-08-04 17:24:20'),(611,9,11,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'9\', \'11\', 1, 1, \'68\', \'20\', \'OP-C\', \'2016-01-05\', \'160\', \'1\')','expenses/saveExpense','0.035214900970459','2016-08-04 17:26:00'),(612,9,11,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (23, \'11\', \'tapak\', 1, \'33139\', \'20\', \'20\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.022687196731567','2016-08-04 17:26:00'),(613,9,11,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'296\'','expenses/saveExpense','0.036040067672729','2016-08-04 17:26:00'),(614,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160100000003\' WHERE `ID` =  23','expenses/saveExpense','0.016438007354736','2016-08-04 17:26:00'),(615,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'9\', \'AP20160100000003\', \'Cost of Goods Sold [OP-C[00000003]]\', \'Cost of Goods Sold [OP-C[00000003]]\', \'\', \'3\', \'2016-01-05\', \'16\', \'01\', 20, 20, \'11\')','expenses/saveExpense','0.010930061340332','2016-08-04 17:26:00'),(616,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160100000003\', 1, \'tapak\', \'33127\', 20, 1, \'1\', \'20\', \'01\', \'16\', \'1\', \'OP-C[00000003]\', \'11\')','expenses/saveExpense','0.017841815948486','2016-08-04 17:26:00'),(617,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160100000003\', 2, \'tapak\', \'33139\', 20, 1, \'1\', \'20\', \'01\', \'16\', \'1\', \'OP-C[00000003]\', \'11\')','expenses/saveExpense','0.01623797416687','2016-08-04 17:26:00'),(618,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 20, `total_amount_cr` = 20, `total_amount` = 0 WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160100000003\'','expenses/saveExpense','0.016394853591919','2016-08-04 17:26:00'),(619,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  23','expenses/saveExpense','0.02482008934021','2016-08-04 17:26:00'),(620,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  50','expenses/saveExpense','0.016483068466187','2016-08-04 17:26:00'),(621,9,11,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160100000003\'','expenses/saveExpense','0.016382217407227','2016-08-04 17:26:00'),(622,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33127\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.021966934204102','2016-08-04 17:26:00'),(623,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33139\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.023714780807495','2016-08-04 17:26:00'),(624,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'9\', `createdBy` = \'11\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'30\', `formNo` = \'OP-C\', `paymentDate` = \'2016-01-05\', `bankId` = \'160\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'23\'','expenses/saveExpense','0.027384996414185','2016-08-04 17:26:15'),(625,9,11,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'23\', `createdBy` = \'11\', `itemdescription` = \'tapak\', `lineNo` = 1, `accountID` = \'33139\', `amountIncludedTax` = \'20\', `amountExcludedTax` = \'20\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'25\'','expenses/saveExpense','0.00035285949707031','2016-08-04 17:26:15'),(626,9,11,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (\'23\', \'11\', \'tali\', 1, \'33139\', \'10\', \'10\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.057343006134033','2016-08-04 17:26:15'),(627,9,11,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  \'296\'','expenses/saveExpense','0.018308162689209','2016-08-04 17:26:15'),(628,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160100000004\' WHERE `ID` =  \'23\'','expenses/saveExpense','0.033254146575928','2016-08-04 17:26:15'),(629,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'9\', \'AP20160100000004\', \'Cost of Goods Sold [OP-C[00000003]]\', \'Cost of Goods Sold [OP-C[00000003]]\', \'\', \'3\', \'2016-01-05\', \'16\', \'01\', 30, 30, \'11\')','expenses/saveExpense','0.048474073410034','2016-08-04 17:26:15'),(630,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160100000004\', 1, \'tapak\', \'33127\', 20, 1, \'1\', \'20\', \'01\', \'16\', \'1\', \'OP-C[00000003]\', \'11\')','expenses/saveExpense','0.04954195022583','2016-08-04 17:26:15'),(631,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160100000004\', 2, \'tapak\', \'33139\', 20, 1, \'1\', \'20\', \'01\', \'16\', \'1\', \'OP-C[00000003]\', \'11\')','expenses/saveExpense','0.049493074417114','2016-08-04 17:26:15'),(632,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160100000004\', 3, \'tali\', \'33127\', 10, 1, \'1\', \'10\', \'01\', \'16\', \'1\', \'OP-C[00000003]\', \'11\')','expenses/saveExpense','0.032854080200195','2016-08-04 17:26:15'),(633,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160100000004\', 4, \'tali\', \'33139\', 10, 1, \'1\', \'10\', \'01\', \'16\', \'1\', \'OP-C[00000003]\', \'11\')','expenses/saveExpense','0.01624608039856','2016-08-04 17:26:15'),(634,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 30, `total_amount_cr` = 30, `total_amount` = 0 WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160100000004\'','expenses/saveExpense','0.016361951828003','2016-08-04 17:26:15'),(635,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'23\'','expenses/saveExpense','0.016485929489136','2016-08-04 17:26:15'),(636,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  51','expenses/saveExpense','0.033078908920288','2016-08-04 17:26:15'),(637,9,11,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160100000004\'','expenses/saveExpense','0.024723052978516','2016-08-04 17:26:15'),(638,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33127\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.011266946792603','2016-08-04 17:26:15'),(639,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33139\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.017146110534668','2016-08-04 17:26:15'),(640,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33127\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.015421152114868','2016-08-04 17:26:16'),(641,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33139\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.015428781509399','2016-08-04 17:26:16'),(642,9,11,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'lalalalalalalalala\', \'9\', \'11\', 1, 1, \'68\', \'100\', \'OP-E\', \'2016-08-04\', \'160\', \'1\')','expenses/saveExpense','0.027235984802246','2016-08-04 17:35:34'),(643,9,11,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (24, \'11\', \'Monthly Bill\', 1, \'33145\', \'100\', \'100\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.047492027282715','2016-08-04 17:35:34'),(644,9,11,'192.168.1.201','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'9\', \'3\', \'16\', \'08\', \'AP\', 1)','expenses/saveExpense','0.034067869186401','2016-08-04 17:35:34'),(645,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP160800000001\' WHERE `ID` =  24','expenses/saveExpense','0.043587923049927','2016-08-04 17:35:34'),(646,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'9\', \'AP160800000001\', \'Operating Expenses [OP-E[00000004]]\', \'Operating Expenses [OP-E[00000004]]\', \'\', \'3\', \'2016-08-04\', \'16\', \'08\', 100, 100, \'11\')','expenses/saveExpense','0.028897047042847','2016-08-04 17:35:34'),(647,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP160800000001\', 1, \'Monthly Bill\', \'33127\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-E[00000004]\', \'11\')','expenses/saveExpense','0.05792498588562','2016-08-04 17:35:34'),(648,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP160800000001\', 2, \'Monthly Bill\', \'33145\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-E[00000004]\', \'11\')','expenses/saveExpense','0.032865047454834','2016-08-04 17:35:34'),(649,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'9\' AND `journalID` =  \'AP160800000001\'','expenses/saveExpense','0.049709796905518','2016-08-04 17:35:34'),(650,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  24','expenses/saveExpense','0.041465044021606','2016-08-04 17:35:34'),(651,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  52','expenses/saveExpense','0.033109903335571','2016-08-04 17:35:34'),(652,9,11,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'9\' AND `journalID` =  \'AP160800000001\'','expenses/saveExpense','0.033025979995728','2016-08-04 17:35:34'),(653,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33127\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.18114709854126','2016-08-04 17:35:34'),(654,9,11,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'9\', \'10\', \'33145\', \'2016\', \'8\', \'100\', \'0\', 100, \'11\', \'2016-08-04: 11:08:34\')','expenses/saveExpense','0.031418085098267','2016-08-04 17:35:34'),(655,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = \'lalalalalalalalala\', `companyID` = \'9\', `createdBy` = \'11\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'120\', `formNo` = \'OP-E\', `paymentDate` = \'2016-08-04\', `bankId` = \'160\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'24\'','expenses/saveExpense','0.027324199676514','2016-08-04 17:36:24'),(656,9,11,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'24\', `createdBy` = \'11\', `itemdescription` = \'Monthly Bill\', `lineNo` = 1, `accountID` = \'33145\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'27\'','expenses/saveExpense','0.00034904479980469','2016-08-04 17:36:24'),(657,9,11,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (\'24\', \'11\', \'Biskut\', 1, \'33152\', \'20\', \'20\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.032344818115234','2016-08-04 17:36:25'),(658,9,11,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'297\'','expenses/saveExpense','0.03925609588623','2016-08-04 17:36:25'),(659,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000002\' WHERE `ID` =  \'24\'','expenses/saveExpense','0.04581880569458','2016-08-04 17:36:25'),(660,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'9\', \'AP20160800000002\', \'Operating Expenses [OP-E[00000004]]\', \'Operating Expenses [OP-E[00000004]]\', \'\', \'3\', \'2016-08-04\', \'16\', \'08\', 120, 120, \'11\')','expenses/saveExpense','0.06099009513855','2016-08-04 17:36:25'),(661,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160800000002\', 1, \'Monthly Bill\', \'33127\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-E[00000004]\', \'11\')','expenses/saveExpense','0.032792806625366','2016-08-04 17:36:25'),(662,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160800000002\', 2, \'Monthly Bill\', \'33145\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-E[00000004]\', \'11\')','expenses/saveExpense','0.033001899719238','2016-08-04 17:36:25'),(663,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160800000002\', 3, \'Biskut\', \'33127\', 20, 1, \'1\', \'20\', \'08\', \'16\', \'1\', \'OP-E[00000004]\', \'11\')','expenses/saveExpense','0.032855987548828','2016-08-04 17:36:25'),(664,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160800000002\', 4, \'Biskut\', \'33152\', 20, 1, \'1\', \'20\', \'08\', \'16\', \'1\', \'OP-E[00000004]\', \'11\')','expenses/saveExpense','0.032839059829712','2016-08-04 17:36:25'),(665,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 120, `total_amount_cr` = 120, `total_amount` = 0 WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160800000002\'','expenses/saveExpense','0.041423082351685','2016-08-04 17:36:25'),(666,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'24\'','expenses/saveExpense','0.033111095428467','2016-08-04 17:36:25'),(667,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  53','expenses/saveExpense','0.0331130027771','2016-08-04 17:36:25'),(668,9,11,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160800000002\'','expenses/saveExpense','0.049698829650879','2016-08-04 17:36:25'),(669,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33127\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.022432088851929','2016-08-04 17:36:25'),(670,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33145\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.012858152389526','2016-08-04 17:36:25'),(671,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33127\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.017983913421631','2016-08-04 17:36:25'),(672,9,11,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'9\', \'10\', \'33152\', \'2016\', \'8\', \'20\', \'0\', 20, \'11\', \'2016-08-04: 11:08:24\')','expenses/saveExpense','0.012371063232422','2016-08-04 17:36:25'),(673,9,11,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-04\', \'160\', \'100\', \'TT\', \'161\', \'9\', 3)','transfer/newTransfer','0.098217964172363','2016-08-04 17:38:22'),(674,9,11,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (25, \'33128\', \'100\', \'Transfer\')','transfer/newTransfer','0.024842023849487','2016-08-04 17:38:22'),(675,9,11,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'297\'','transfer/newTransfer','0.036664009094238','2016-08-04 17:38:22'),(676,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000003\' WHERE `ID` =  25','transfer/newTransfer','0.033102989196777','2016-08-04 17:38:22'),(677,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'9\', \'AP20160800000003\', \' [TT[00000005]]]\', \'Bank Transfer [  [TT[00000005]]] ]\', \'\', \'3\', \'2016-08-04\', \'2016\', \'08\', 100, 100, \'11\')','transfer/newTransfer','0.029067993164062','2016-08-04 17:38:22'),(678,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160800000003\', 1, \'Transfer\', \'33127\', 100, 1, \'1\', \'100\', \'08\', \'2016\', \'0\', \'TT[00000005]\', \'11\')','transfer/newTransfer','0.016194105148315','2016-08-04 17:38:22'),(679,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160800000003\', 2, \'Transfer\', \'33128\', 100, 1, \'1\', \'100\', \'08\', \'2016\', \'0\', \'TT[00000005]\', \'11\')','transfer/newTransfer','0.016238212585449','2016-08-04 17:38:22'),(680,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160800000003\'','transfer/newTransfer','0.033072948455811','2016-08-04 17:38:22'),(681,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  25','transfer/newTransfer','0.13310194015503','2016-08-04 17:38:22'),(682,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  54','transfer/newTransfer','0.016464948654175','2016-08-04 17:38:22'),(683,9,11,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160800000003\'','transfer/newTransfer','0.01642107963562','2016-08-04 17:38:22'),(684,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33127\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.011932849884033','2016-08-04 17:38:22'),(685,9,11,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'9\', \'3\', \'33128\', \'2016\', \'8\', \'100\', \'0\', 100, \'11\', \'2016-08-04: 11:08:22\')','transfer/newTransfer','0.017359972000122','2016-08-04 17:38:22'),(686,9,11,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-04\', \'161\', \'90\', \'TT\', \'160\', \'9\', 3)','transfer/newTransfer','0.043226003646851','2016-08-04 17:39:20'),(687,9,11,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (26, \'33127\', \'90\', \'transferization\')','transfer/newTransfer','0.019167900085449','2016-08-04 17:39:20'),(688,9,11,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  \'297\'','transfer/newTransfer','0.017589092254639','2016-08-04 17:39:20'),(689,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000004\' WHERE `ID` =  26','transfer/newTransfer','0.13287806510925','2016-08-04 17:39:20'),(690,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'9\', \'AP20160800000004\', \' [TT[00000006]]]\', \'Bank Transfer [  [TT[00000006]]] ]\', \'\', \'3\', \'2016-08-04\', \'2016\', \'08\', 90, 90, \'11\')','transfer/newTransfer','0.0098268985748291','2016-08-04 17:39:20'),(691,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160800000004\', 1, \'transferization\', \'33128\', 90, 1, \'1\', \'90\', \'08\', \'2016\', \'0\', \'TT[00000006]\', \'11\')','transfer/newTransfer','0.024822950363159','2016-08-04 17:39:20'),(692,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160800000004\', 2, \'transferization\', \'33127\', 90, 1, \'1\', \'90\', \'08\', \'2016\', \'0\', \'TT[00000006]\', \'11\')','transfer/newTransfer','0.010138034820557','2016-08-04 17:39:20'),(693,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 90, `total_amount_cr` = 90, `total_amount` = 0 WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160800000004\'','transfer/newTransfer','0.024770021438599','2016-08-04 17:39:20'),(694,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  26','transfer/newTransfer','0.0081448554992676','2016-08-04 17:39:20'),(695,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  55','transfer/newTransfer','0.014181137084961','2016-08-04 17:39:20'),(696,9,11,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160800000004\'','transfer/newTransfer','0.035376071929932','2016-08-04 17:39:20'),(697,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33128\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.021390914916992','2016-08-04 17:39:20'),(698,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33127\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.025976181030273','2016-08-04 17:39:20'),(699,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'9\', `createdBy` = \'11\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'45\', `formNo` = \'OP-C\', `paymentDate` = \'2016-01-05\', `bankId` = \'160\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'23\'','expenses/saveExpense','0.01801609992981','2016-08-04 17:44:17'),(700,9,11,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'23\', `createdBy` = \'11\', `itemdescription` = \'tapak\', `lineNo` = 1, `accountID` = \'33139\', `amountIncludedTax` = \'20\', `amountExcludedTax` = \'20\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'25\'','expenses/saveExpense','0.00035309791564941','2016-08-04 17:44:17'),(701,9,11,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'23\', `createdBy` = \'11\', `itemdescription` = \'tali\', `lineNo` = 1, `accountID` = \'33139\', `amountIncludedTax` = \'10\', `amountExcludedTax` = \'10\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'26\'','expenses/saveExpense','0.00034379959106445','2016-08-04 17:44:17'),(702,9,11,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (\'23\', \'11\', \'TEST\', 1, \'33139\', \'15\', \'15\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.014501094818115','2016-08-04 17:44:17'),(703,9,11,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  \'296\'','expenses/saveExpense','0.017673015594482','2016-08-04 17:44:17'),(704,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160100000005\' WHERE `ID` =  \'23\'','expenses/saveExpense','0.010730981826782','2016-08-04 17:44:17'),(705,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'9\', \'AP20160100000005\', \'Cost of Goods Sold [OP-C[00000003]]\', \'Cost of Goods Sold [OP-C[00000003]]\', \'\', \'3\', \'2016-01-05\', \'16\', \'01\', 45, 45, \'11\')','expenses/saveExpense','0.012848854064941','2016-08-04 17:44:17'),(706,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160100000005\', 1, \'tapak\', \'33127\', 20, 1, \'1\', \'20\', \'01\', \'16\', \'1\', \'OP-C[00000003]\', \'11\')','expenses/saveExpense','0.010432958602905','2016-08-04 17:44:17'),(707,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160100000005\', 2, \'tapak\', \'33139\', 20, 1, \'1\', \'20\', \'01\', \'16\', \'1\', \'OP-C[00000003]\', \'11\')','expenses/saveExpense','0.013701915740967','2016-08-04 17:44:17'),(708,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160100000005\', 3, \'tali\', \'33127\', 10, 1, \'1\', \'10\', \'01\', \'16\', \'1\', \'OP-C[00000003]\', \'11\')','expenses/saveExpense','0.027093172073364','2016-08-04 17:44:17'),(709,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160100000005\', 4, \'tali\', \'33139\', 10, 1, \'1\', \'10\', \'01\', \'16\', \'1\', \'OP-C[00000003]\', \'11\')','expenses/saveExpense','0.032895088195801','2016-08-04 17:44:17'),(710,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160100000005\', 5, \'TEST\', \'33127\', 15, 1, \'1\', \'15\', \'01\', \'16\', \'1\', \'OP-C[00000003]\', \'11\')','expenses/saveExpense','0.024564981460571','2016-08-04 17:44:17'),(711,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160100000005\', 6, \'TEST\', \'33139\', 15, 1, \'1\', \'15\', \'01\', \'16\', \'1\', \'OP-C[00000003]\', \'11\')','expenses/saveExpense','0.024516820907593','2016-08-04 17:44:17'),(712,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 45, `total_amount_cr` = 45, `total_amount` = 0 WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160100000005\'','expenses/saveExpense','0.033024072647095','2016-08-04 17:44:17'),(713,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'23\'','expenses/saveExpense','0.02482008934021','2016-08-04 17:44:17'),(714,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  56','expenses/saveExpense','0.024816989898682','2016-08-04 17:44:17'),(715,9,11,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160100000005\'','expenses/saveExpense','0.024657964706421','2016-08-04 17:44:17'),(716,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33127\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.021062850952148','2016-08-04 17:44:17'),(717,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33139\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.026273012161255','2016-08-04 17:44:17'),(718,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33127\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.023790121078491','2016-08-04 17:44:17'),(719,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33139\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.14863991737366','2016-08-04 17:44:17'),(720,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33127\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.21603107452393','2016-08-04 17:44:17'),(721,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33139\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.073078870773315','2016-08-04 17:44:17'),(722,9,11,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'9\', \'11\', 1, 1, \'68\', \'20\', \'OP-C\', \'2016-08-04\', \'160\', \'1\')','expenses/saveExpense','0.0140221118927','2016-08-04 17:46:22'),(723,9,11,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (27, \'11\', \'selesai\', 1, \'33139\', \'20\', \'20\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.0080728530883789','2016-08-04 17:46:22'),(724,9,11,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  \'297\'','expenses/saveExpense','0.012573957443237','2016-08-04 17:46:22'),(725,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000005\' WHERE `ID` =  27','expenses/saveExpense','0.010854005813599','2016-08-04 17:46:22'),(726,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'9\', \'AP20160800000005\', \'Cost of Goods Sold [OP-C[00000007]]\', \'Cost of Goods Sold [OP-C[00000007]]\', \'\', \'3\', \'2016-08-04\', \'16\', \'08\', 20, 20, \'11\')','expenses/saveExpense','0.0095529556274414','2016-08-04 17:46:22'),(727,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160800000005\', 1, \'selesai\', \'33127\', 20, 1, \'1\', \'20\', \'08\', \'16\', \'1\', \'OP-C[00000007]\', \'11\')','expenses/saveExpense','0.019052028656006','2016-08-04 17:46:22'),(728,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160800000005\', 2, \'selesai\', \'33139\', 20, 1, \'1\', \'20\', \'08\', \'16\', \'1\', \'OP-C[00000007]\', \'11\')','expenses/saveExpense','0.038468837738037','2016-08-04 17:46:22'),(729,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 20, `total_amount_cr` = 20, `total_amount` = 0 WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160800000005\'','expenses/saveExpense','0.027456045150757','2016-08-04 17:46:22'),(730,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  27','expenses/saveExpense','0.022077083587646','2016-08-04 17:46:22'),(731,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  57','expenses/saveExpense','0.019173145294189','2016-08-04 17:46:22'),(732,9,11,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160800000005\'','expenses/saveExpense','0.016402006149292','2016-08-04 17:46:22'),(733,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33127\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.014407873153687','2016-08-04 17:46:22'),(734,9,11,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'9\', \'8\', \'33139\', \'2016\', \'8\', \'20\', \'0\', 20, \'11\', \'2016-08-04: 11:08:22\')','expenses/saveExpense','0.031445980072021','2016-08-04 17:46:22'),(735,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'9\', `createdBy` = \'11\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'50\', `formNo` = \'OP-C\', `paymentDate` = \'2016-08-04\', `bankId` = \'160\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'27\'','expenses/saveExpense','0.010845899581909','2016-08-04 17:46:35'),(736,9,11,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'27\', `createdBy` = \'11\', `itemdescription` = \'selesai\', `lineNo` = 1, `accountID` = \'33139\', `amountIncludedTax` = \'20\', `amountExcludedTax` = \'20\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'32\'','expenses/saveExpense','0.00034999847412109','2016-08-04 17:46:35'),(737,9,11,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (\'27\', \'11\', \'aduhai\', 1, \'33139\', \'30\', \'30\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.029021024703979','2016-08-04 17:46:35'),(738,9,11,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  \'297\'','expenses/saveExpense','0.015723943710327','2016-08-04 17:46:35'),(739,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000006\' WHERE `ID` =  \'27\'','expenses/saveExpense','0.019613027572632','2016-08-04 17:46:35'),(740,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'9\', \'AP20160800000006\', \'Cost of Goods Sold [OP-C[00000007]]\', \'Cost of Goods Sold [OP-C[00000007]]\', \'\', \'3\', \'2016-08-04\', \'16\', \'08\', 50, 50, \'11\')','expenses/saveExpense','0.023705005645752','2016-08-04 17:46:35'),(741,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160800000006\', 1, \'selesai\', \'33127\', 20, 1, \'1\', \'20\', \'08\', \'16\', \'1\', \'OP-C[00000007]\', \'11\')','expenses/saveExpense','0.016188859939575','2016-08-04 17:46:35'),(742,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160800000006\', 2, \'selesai\', \'33139\', 20, 1, \'1\', \'20\', \'08\', \'16\', \'1\', \'OP-C[00000007]\', \'11\')','expenses/saveExpense','0.0079081058502197','2016-08-04 17:46:35'),(743,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160800000006\', 3, \'aduhai\', \'33127\', 30, 1, \'1\', \'30\', \'08\', \'16\', \'1\', \'OP-C[00000007]\', \'11\')','expenses/saveExpense','0.024577856063843','2016-08-04 17:46:35'),(744,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160800000006\', 4, \'aduhai\', \'33139\', 30, 1, \'1\', \'30\', \'08\', \'16\', \'1\', \'OP-C[00000007]\', \'11\')','expenses/saveExpense','0.024538993835449','2016-08-04 17:46:35'),(745,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 50, `total_amount_cr` = 50, `total_amount` = 0 WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160800000006\'','expenses/saveExpense','0.016333103179932','2016-08-04 17:46:35'),(746,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'27\'','expenses/saveExpense','0.016465902328491','2016-08-04 17:46:35'),(747,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  58','expenses/saveExpense','0.02478289604187','2016-08-04 17:46:35'),(748,9,11,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160800000006\'','expenses/saveExpense','0.016397953033447','2016-08-04 17:46:35'),(749,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33127\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.014405012130737','2016-08-04 17:46:35'),(750,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33139\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015362977981567','2016-08-04 17:46:35'),(751,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33127\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015392065048218','2016-08-04 17:46:35'),(752,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33139\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015393972396851','2016-08-04 17:46:35'),(753,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = \'lalalalalalalalala\', `companyID` = \'9\', `createdBy` = \'11\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'150\', `formNo` = \'OP-E\', `paymentDate` = \'2016-08-04\', `bankId` = \'160\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'24\'','expenses/saveExpense','0.046222925186157','2016-08-04 17:52:38'),(754,9,11,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (\'24\', \'11\', \'ssaya\', 1, \'33141\', \'30\', \'30\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.021449089050293','2016-08-04 17:52:38'),(755,9,11,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'24\', `createdBy` = \'11\', `itemdescription` = \'Monthly Bill\', `lineNo` = 1, `accountID` = \'33145\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'27\'','expenses/saveExpense','0.00028705596923828','2016-08-04 17:52:38'),(756,9,11,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'24\', `createdBy` = \'11\', `itemdescription` = \'Biskut\', `lineNo` = 1, `accountID` = \'33152\', `amountIncludedTax` = \'20\', `amountExcludedTax` = \'20\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'28\'','expenses/saveExpense','0.00023484230041504','2016-08-04 17:52:38'),(757,9,11,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 7 WHERE `ID` =  \'297\'','expenses/saveExpense','0.0343918800354','2016-08-04 17:52:38'),(758,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000007\' WHERE `ID` =  \'24\'','expenses/saveExpense','0.019559144973755','2016-08-04 17:52:38'),(759,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'9\', \'AP20160800000007\', \'Operating Expenses [OP-E[00000004]]\', \'Operating Expenses [OP-E[00000004]]\', \'\', \'3\', \'2016-08-04\', \'16\', \'08\', 150, 150, \'11\')','expenses/saveExpense','0.023648977279663','2016-08-04 17:52:38'),(760,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160800000007\', 1, \'Monthly Bill\', \'33127\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-E[00000004]\', \'11\')','expenses/saveExpense','0.016204118728638','2016-08-04 17:52:38'),(761,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160800000007\', 2, \'Monthly Bill\', \'33145\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-E[00000004]\', \'11\')','expenses/saveExpense','0.016202926635742','2016-08-04 17:52:38'),(762,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160800000007\', 3, \'Biskut\', \'33127\', 20, 1, \'1\', \'20\', \'08\', \'16\', \'1\', \'OP-E[00000004]\', \'11\')','expenses/saveExpense','0.016201019287109','2016-08-04 17:52:38'),(763,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160800000007\', 4, \'Biskut\', \'33152\', 20, 1, \'1\', \'20\', \'08\', \'16\', \'1\', \'OP-E[00000004]\', \'11\')','expenses/saveExpense','0.024590015411377','2016-08-04 17:52:38'),(764,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160800000007\', 5, \'ssaya\', \'33127\', 30, 1, \'1\', \'30\', \'08\', \'16\', \'1\', \'OP-E[00000004]\', \'11\')','expenses/saveExpense','0.021385908126831','2016-08-04 17:52:38'),(765,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160800000007\', 6, \'ssaya\', \'33141\', 30, 1, \'1\', \'30\', \'08\', \'16\', \'1\', \'OP-E[00000004]\', \'11\')','expenses/saveExpense','0.027654886245728','2016-08-04 17:52:39'),(766,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 150, `total_amount_cr` = 150, `total_amount` = 0 WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160800000007\'','expenses/saveExpense','0.012995958328247','2016-08-04 17:52:39'),(767,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'24\'','expenses/saveExpense','0.011567831039429','2016-08-04 17:52:39'),(768,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  59','expenses/saveExpense','0.0081281661987305','2016-08-04 17:52:39'),(769,9,11,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160800000007\'','expenses/saveExpense','0.0080838203430176','2016-08-04 17:52:39'),(770,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33127\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.010974884033203','2016-08-04 17:52:39'),(771,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33145\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.010485887527466','2016-08-04 17:52:39'),(772,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33127\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.023790121078491','2016-08-04 17:52:39'),(773,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33152\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.012216091156006','2016-08-04 17:52:39'),(774,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33127\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.010231971740723','2016-08-04 17:52:39'),(775,9,11,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'9\', \'10\', \'33141\', \'2016\', \'8\', \'30\', \'0\', 30, \'11\', \'2016-08-04: 11:08:38\')','expenses/saveExpense','0.011738061904907','2016-08-04 17:52:39'),(776,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'9\', `createdBy` = \'11\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'50\', `formNo` = \'OP-C\', `paymentDate` = \'2016-02-02\', `bankId` = \'160\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'19\'','expenses/saveExpense','0.01910400390625','2016-08-04 17:53:25'),(777,9,11,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'19\', `createdBy` = \'11\', `itemdescription` = \'kapur\', `lineNo` = 1, `accountID` = \'33139\', `amountIncludedTax` = \'10\', `amountExcludedTax` = \'10\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'19\'','expenses/saveExpense','0.00038790702819824','2016-08-04 17:53:25'),(778,9,11,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (\'19\', \'11\', \'semalam\', 1, \'33139\', \'40\', \'40\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.023848056793213','2016-08-04 17:53:25'),(779,9,11,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'292\'','expenses/saveExpense','0.02012300491333','2016-08-04 17:53:25'),(780,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160200000002\' WHERE `ID` =  \'19\'','expenses/saveExpense','0.021420001983643','2016-08-04 17:53:25'),(781,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'9\', \'AP20160200000002\', \'Cost of Goods Sold [OP-C[00000001]]\', \'Cost of Goods Sold [OP-C[00000001]]\', \'\', \'3\', \'2016-02-02\', \'16\', \'02\', 50, 50, \'11\')','expenses/saveExpense','0.031718969345093','2016-08-04 17:53:25'),(782,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160200000002\', 1, \'kapur\', \'33127\', 10, 1, \'1\', \'10\', \'02\', \'16\', \'1\', \'OP-C[00000001]\', \'11\')','expenses/saveExpense','0.036406993865967','2016-08-04 17:53:25'),(783,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160200000002\', 2, \'kapur\', \'33139\', 10, 1, \'1\', \'10\', \'02\', \'16\', \'1\', \'OP-C[00000001]\', \'11\')','expenses/saveExpense','0.032844066619873','2016-08-04 17:53:25'),(784,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160200000002\', 3, \'semalam\', \'33127\', 40, 1, \'1\', \'40\', \'02\', \'16\', \'1\', \'OP-C[00000001]\', \'11\')','expenses/saveExpense','0.1209819316864','2016-08-04 17:53:25'),(785,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160200000002\', 4, \'semalam\', \'33139\', 40, 1, \'1\', \'40\', \'02\', \'16\', \'1\', \'OP-C[00000001]\', \'11\')','expenses/saveExpense','0.033130168914795','2016-08-04 17:53:25'),(786,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 50, `total_amount_cr` = 50, `total_amount` = 0 WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160200000002\'','expenses/saveExpense','0.011354207992554','2016-08-04 17:53:25'),(787,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'19\'','expenses/saveExpense','0.013129949569702','2016-08-04 17:53:25'),(788,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  60','expenses/saveExpense','0.016088008880615','2016-08-04 17:53:25'),(789,9,11,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160200000002\'','expenses/saveExpense','0.028383016586304','2016-08-04 17:53:25'),(790,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33127\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'2\'','expenses/saveExpense','0.02720308303833','2016-08-04 17:53:25'),(791,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33139\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'2\'','expenses/saveExpense','0.032043933868408','2016-08-04 17:53:25'),(792,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33127\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'2\'','expenses/saveExpense','0.02021312713623','2016-08-04 17:53:25'),(793,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33139\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'2\'','expenses/saveExpense','0.018784999847412','2016-08-04 17:53:25'),(794,9,11,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-04\', \'160\', \'50\', \'TT\', \'161\', \'9\', 3)','transfer/newTransfer','0.032231092453003','2016-08-04 17:54:30'),(795,9,11,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (28, \'33128\', \'50\', \'try\')','transfer/newTransfer','0.036748886108398','2016-08-04 17:54:30'),(796,9,11,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 8 WHERE `ID` =  \'297\'','transfer/newTransfer','0.017777919769287','2016-08-04 17:54:30'),(797,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000008\' WHERE `ID` =  28','transfer/newTransfer','0.011627912521362','2016-08-04 17:54:30'),(798,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'9\', \'AP20160800000008\', \' [TT[00000008]]]\', \'Bank Transfer [  [TT[00000008]]] ]\', \'\', \'3\', \'2016-08-04\', \'2016\', \'08\', 50, 50, \'11\')','transfer/newTransfer','0.0090601444244385','2016-08-04 17:54:30'),(799,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160800000008\', 1, \'try\', \'33127\', 50, 1, \'1\', \'50\', \'08\', \'2016\', \'0\', \'TT[00000008]\', \'11\')','transfer/newTransfer','0.011363983154297','2016-08-04 17:54:30'),(800,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160800000008\', 2, \'try\', \'33128\', 50, 1, \'1\', \'50\', \'08\', \'2016\', \'0\', \'TT[00000008]\', \'11\')','transfer/newTransfer','0.012717008590698','2016-08-04 17:54:30'),(801,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 50, `total_amount_cr` = 50, `total_amount` = 0 WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160800000008\'','transfer/newTransfer','0.011554002761841','2016-08-04 17:54:30'),(802,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  28','transfer/newTransfer','0.016499042510986','2016-08-04 17:54:30'),(803,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  61','transfer/newTransfer','0.012723922729492','2016-08-04 17:54:30'),(804,9,11,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160800000008\'','transfer/newTransfer','0.020209074020386','2016-08-04 17:54:30'),(805,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33127\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.022714853286743','2016-08-04 17:54:30'),(806,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33128\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.028207778930664','2016-08-04 17:54:30'),(807,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-04\', `bankID` = \'160\', `payTo` = \'161\', `amountPaid` = \'50.00\', `companyID` = \'9\', `updateAble` = 1 WHERE `ID` =  \'28\'','transfer/saveTransfer','0.01842212677002','2016-08-04 17:54:46'),(808,9,11,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33128\', `amountExcludedTax` = \'50.00\', `itemdescription` = \'try\' WHERE `ID` =  \'36\'','transfer/saveTransfer','0.00032401084899902','2016-08-04 17:54:46'),(809,9,11,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 9 WHERE `ID` =  \'297\'','transfer/saveTransfer','0.12625002861023','2016-08-04 17:54:46'),(810,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000009\' WHERE `ID` =  \'28\'','transfer/saveTransfer','0.0080349445343018','2016-08-04 17:54:47'),(811,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'9\', \'AP20160800000009\', \' [TT[00000008]]]\', \'Bank Transfer [  [TT[00000008]]] ]\', \'\', \'3\', \'2016-08-04\', \'2016\', \'08\', 50, 50, \'11\')','transfer/saveTransfer','0.025183916091919','2016-08-04 17:54:47'),(812,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160800000009\', 1, \'try\', \'33127\', 50, 1, \'1\', \'50\', \'08\', \'2016\', \'0\', \'TT[00000008]\', \'11\')','transfer/saveTransfer','0.011785984039307','2016-08-04 17:54:47'),(813,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160800000009\', 2, \'try\', \'33128\', 50, 1, \'1\', \'50\', \'08\', \'2016\', \'0\', \'TT[00000008]\', \'11\')','transfer/saveTransfer','0.012366056442261','2016-08-04 17:54:47'),(814,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 50, `total_amount_cr` = 50, `total_amount` = 0 WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160800000009\'','transfer/saveTransfer','0.028586149215698','2016-08-04 17:54:47'),(815,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'28\'','transfer/saveTransfer','0.033185958862305','2016-08-04 17:54:47'),(816,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  62','transfer/saveTransfer','0.024772882461548','2016-08-04 17:54:47'),(817,9,11,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160800000009\'','transfer/saveTransfer','0.024724006652832','2016-08-04 17:54:47'),(818,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33127\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.019147872924805','2016-08-04 17:54:47'),(819,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33128\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.031771183013916','2016-08-04 17:54:47'),(820,9,11,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-04\', \'160\', \'50\', \'TT\', \'161\', \'9\', 3)','transfer/newTransfer','0.019908905029297','2016-08-04 18:06:07'),(821,9,11,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (29, \'33128\', \'50\', \'semalam\')','transfer/newTransfer','0.016749858856201','2016-08-04 18:06:07'),(822,9,11,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 10 WHERE `ID` =  \'297\'','transfer/newTransfer','0.017470121383667','2016-08-04 18:06:07'),(823,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000010\' WHERE `ID` =  29','transfer/newTransfer','0.012187004089355','2016-08-04 18:06:07'),(824,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'9\', \'AP20160800000010\', \' [TT[00000009]]]\', \'Bank Transfer [  [TT[00000009]]] ]\', \'\', \'3\', \'2016-08-04\', \'2016\', \'08\', 50, 50, \'11\')','transfer/newTransfer','0.016879081726074','2016-08-04 18:06:07'),(825,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160800000010\', 1, \'semalam\', \'33127\', 50, 1, \'1\', \'50\', \'08\', \'2016\', \'0\', \'TT[00000009]\', \'11\')','transfer/newTransfer','0.032861948013306','2016-08-04 18:06:07'),(826,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160800000010\', 2, \'semalam\', \'33128\', 50, 1, \'1\', \'50\', \'08\', \'2016\', \'0\', \'TT[00000009]\', \'11\')','transfer/newTransfer','0.032835960388184','2016-08-04 18:06:07'),(827,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 50, `total_amount_cr` = 50, `total_amount` = 0 WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160800000010\'','transfer/newTransfer','0.02042293548584','2016-08-04 18:06:07'),(828,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  29','transfer/newTransfer','0.029100894927979','2016-08-04 18:06:07'),(829,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  63','transfer/newTransfer','0.14145302772522','2016-08-04 18:06:07'),(830,9,11,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160800000010\'','transfer/newTransfer','0.028801918029785','2016-08-04 18:06:07'),(831,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33127\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.08098578453064','2016-08-04 18:06:07'),(832,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33128\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.057078123092651','2016-08-04 18:06:07'),(833,9,11,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-05\', \'160\', \'100\', \'TT\', \'161\', \'9\', 3)','transfer/newTransfer','0.1140661239624','2016-08-05 10:43:07'),(834,9,11,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (30, \'33128\', \'100\', \'terai\')','transfer/newTransfer','0.016813993453979','2016-08-05 10:43:07'),(835,9,11,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 11 WHERE `ID` =  \'297\'','transfer/newTransfer','0.029846906661987','2016-08-05 10:43:07'),(836,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000011\' WHERE `ID` =  30','transfer/newTransfer','0.020956993103027','2016-08-05 10:43:07'),(837,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'9\', \'AP20160800000011\', \' [TT[00000010]]]\', \'Bank Transfer [  [TT[00000010]]] ]\', \'\', \'3\', \'2016-08-05\', \'2016\', \'08\', 100, 100, \'11\')','transfer/newTransfer','0.020416975021362','2016-08-05 10:43:07'),(838,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160800000011\', 1, \'terai\', \'33127\', 100, 1, \'1\', \'100\', \'08\', \'2016\', \'0\', \'TT[00000010]\', \'11\')','transfer/newTransfer','0.012002229690552','2016-08-05 10:43:07'),(839,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160800000011\', 2, \'terai\', \'33128\', 100, 1, \'1\', \'100\', \'08\', \'2016\', \'0\', \'TT[00000010]\', \'11\')','transfer/newTransfer','0.012117147445679','2016-08-05 10:43:07'),(840,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160800000011\'','transfer/newTransfer','0.01217794418335','2016-08-05 10:43:07'),(841,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  30','transfer/newTransfer','0.016447067260742','2016-08-05 10:43:07'),(842,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  64','transfer/newTransfer','0.016512155532837','2016-08-05 10:43:07'),(843,9,11,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160800000011\'','transfer/newTransfer','0.016430854797363','2016-08-05 10:43:07'),(844,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33127\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.010637044906616','2016-08-05 10:43:07'),(845,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33128\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.010876178741455','2016-08-05 10:43:07'),(846,9,11,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-01-01\', \'160\', \'20\', \'TT\', \'161\', \'9\', 3)','transfer/newTransfer','0.080069065093994','2016-08-05 10:45:12'),(847,9,11,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (31, \'33128\', \'20\', \'jan\')','transfer/newTransfer','0.0414879322052','2016-08-05 10:45:12'),(848,9,11,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  \'296\'','transfer/newTransfer','0.02133584022522','2016-08-05 10:45:12'),(849,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160100000006\' WHERE `ID` =  31','transfer/newTransfer','0.012053966522217','2016-08-05 10:45:12'),(850,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'9\', \'AP20160100000006\', \' [TT[00000011]]]\', \'Bank Transfer [  [TT[00000011]]] ]\', \'\', \'3\', \'2016-01-01\', \'2016\', \'01\', 20, 20, \'11\')','transfer/newTransfer','0.0086910724639893','2016-08-05 10:45:12'),(851,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160100000006\', 1, \'jan\', \'33127\', 20, 1, \'1\', \'20\', \'01\', \'2016\', \'0\', \'TT[00000011]\', \'11\')','transfer/newTransfer','0.011763095855713','2016-08-05 10:45:12'),(852,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160100000006\', 2, \'jan\', \'33128\', 20, 1, \'1\', \'20\', \'01\', \'2016\', \'0\', \'TT[00000011]\', \'11\')','transfer/newTransfer','0.012341022491455','2016-08-05 10:45:12'),(853,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 20, `total_amount_cr` = 20, `total_amount` = 0 WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160100000006\'','transfer/newTransfer','0.011950969696045','2016-08-05 10:45:12'),(854,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  31','transfer/newTransfer','0.012582063674927','2016-08-05 10:45:12'),(855,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  65','transfer/newTransfer','0.01202392578125','2016-08-05 10:45:12'),(856,9,11,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160100000006\'','transfer/newTransfer','0.02049994468689','2016-08-05 10:45:12'),(857,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33127\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','transfer/newTransfer','0.018547058105469','2016-08-05 10:45:12'),(858,9,11,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'9\', \'3\', \'33128\', \'2016\', \'1\', \'20\', \'0\', 20, \'11\', \'2016-08-05: 04:08:12\')','transfer/newTransfer','0.023160934448242','2016-08-05 10:45:12'),(859,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-06-02\', `bankID` = \'33133\', `payTo` = \'160\', `amountPaid` = \'2500.00\', `companyID` = \'9\', `updateAble` = 1 WHERE `ID` =  \'2\'','loanReceive/update_loan','0.018325090408325','2016-08-05 11:37:53'),(860,9,11,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33127\', `amountExcludedTax` = \'2500.00\', `itemdescription` = \'\' WHERE `ID` =  \'2\'','loanReceive/update_loan','0.012259006500244','2016-08-05 11:37:53'),(861,9,11,'192.168.1.201','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'9\', \'3\', \'2016\', \'06\', \'AP\', 1)','loanReceive/update_loan','0.040802001953125','2016-08-05 11:37:53'),(862,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000001\' WHERE `ID` =  \'2\'','loanReceive/update_loan','0.00035500526428223','2016-08-05 11:37:53'),(863,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'9\', \'AP20160600000001\', \' [LR[00000002]]]\', \'Loan Received [  [LR[00000002]]] ]\', \'\', \'3\', \'2016-06-02\', \'2016\', \'06\', 2500, 2500, \'11\')','loanReceive/update_loan','0.013770818710327','2016-08-05 11:37:53'),(864,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160600000001\', 1, \'\', \'33133\', 2500, 1, \'1\', \'2500\', \'06\', \'2016\', \'0\', \'LR[00000002]\', \'11\')','loanReceive/update_loan','0.012034893035889','2016-08-05 11:37:53'),(865,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160600000001\', 2, \'\', \'33127\', 2500, 1, \'1\', \'2500\', \'06\', \'2016\', \'0\', \'LR[00000002]\', \'11\')','loanReceive/update_loan','0.016207933425903','2016-08-05 11:37:53'),(866,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 2500, `total_amount_cr` = 2500, `total_amount` = 0 WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160600000001\'','loanReceive/update_loan','0.011974096298218','2016-08-05 11:37:53'),(867,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2\'','loanReceive/update_loan','0.012603044509888','2016-08-05 11:37:53'),(868,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  66','loanReceive/update_loan','0.02059006690979','2016-08-05 11:37:53'),(869,9,11,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160600000001\'','loanReceive/update_loan','0.016168117523193','2016-08-05 11:37:53'),(870,9,11,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'9\', \'4\', \'33133\', \'2016\', \'6\', \'0\', \'2500\', -2500, \'11\', \'2016-08-05: 05:08:53\')','loanReceive/update_loan','0.015413999557495','2016-08-05 11:37:53'),(871,9,11,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'9\', \'3\', \'33127\', \'2016\', \'6\', \'2500\', \'0\', 2500, \'11\', \'2016-08-05: 05:08:53\')','loanReceive/update_loan','0.014872074127197','2016-08-05 11:37:53'),(872,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-07-29\', `bankID` = \'33135\', `payTo` = \'160\', `amountPaid` = \'100000.00\', `companyID` = \'9\', `updateAble` = 1 WHERE `ID` =  \'17\'','loanReceive/update_loan','0.086710929870605','2016-08-05 11:38:26'),(873,9,11,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33127\', `amountExcludedTax` = \'100000.00\', `itemdescription` = \'pemindahan\' WHERE `ID` =  \'17\'','loanReceive/update_loan','0.012245893478394','2016-08-05 11:38:26'),(874,9,11,'192.168.1.201','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'9\', \'3\', \'2016\', \'07\', \'AP\', 1)','loanReceive/update_loan','0.032191038131714','2016-08-05 11:38:26'),(875,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000001\' WHERE `ID` =  \'17\'','loanReceive/update_loan','0.020718812942505','2016-08-05 11:38:26'),(876,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'9\', \'AP20160700000001\', \' [LR[00000005]]]\', \'Loan Received [  [LR[00000005]]] ]\', \'\', \'3\', \'2016-07-29\', \'2016\', \'07\', 100000, 100000, \'11\')','loanReceive/update_loan','0.028905868530273','2016-08-05 11:38:26'),(877,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160700000001\', 1, \'pemindahan\', \'33135\', 100000, 1, \'1\', \'100000\', \'07\', \'2016\', \'0\', \'LR[00000005]\', \'11\')','loanReceive/update_loan','0.024813175201416','2016-08-05 11:38:26'),(878,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160700000001\', 2, \'pemindahan\', \'33127\', 100000, 1, \'1\', \'100000\', \'07\', \'2016\', \'0\', \'LR[00000005]\', \'11\')','loanReceive/update_loan','0.016211986541748','2016-08-05 11:38:26'),(879,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100000, `total_amount_cr` = 100000, `total_amount` = 0 WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160700000001\'','loanReceive/update_loan','0.01216197013855','2016-08-05 11:38:26'),(880,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'17\'','loanReceive/update_loan','0.012376070022583','2016-08-05 11:38:26'),(881,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  67','loanReceive/update_loan','0.012237071990967','2016-08-05 11:38:26'),(882,9,11,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160700000001\'','loanReceive/update_loan','0.012322902679443','2016-08-05 11:38:26'),(883,9,11,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'9\', \'4\', \'33135\', \'2016\', \'7\', \'0\', \'100000\', -100000, \'11\', \'2016-08-05: 05:08:26\')','loanReceive/update_loan','0.015882015228271','2016-08-05 11:38:26'),(884,9,11,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'9\', \'3\', \'33127\', \'2016\', \'7\', \'100000\', \'0\', 100000, \'11\', \'2016-08-05: 05:08:26\')','loanReceive/update_loan','0.010725975036621','2016-08-05 11:38:26'),(885,9,11,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'try\', \'9\', \'11\', 1, 1, \'68\', \'200\', \'OP-L\', \'2016-08-05\', \'160\', \'1\')','expenses/saveExpense','0.057183980941772','2016-08-05 11:52:00'),(886,9,11,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (32, \'11\', \'Loan\', 1, \'33135\', \'200\', \'200\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.016705989837646','2016-08-05 11:52:00'),(887,9,11,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 12 WHERE `ID` =  \'297\'','expenses/saveExpense','0.035146951675415','2016-08-05 11:52:00'),(888,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000012\' WHERE `ID` =  32','expenses/saveExpense','0.011605978012085','2016-08-05 11:52:00'),(889,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'9\', \'AP20160800000012\', \'Loan Repayment [OP-L[00000012]]\', \'Loan Repayment [OP-L[00000012]]\', \'\', \'3\', \'2016-08-05\', \'16\', \'08\', 200, 200, \'11\')','expenses/saveExpense','0.016494035720825','2016-08-05 11:52:00'),(890,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160800000012\', 1, \'Loan\', \'33127\', 200, 1, \'1\', \'200\', \'08\', \'16\', \'1\', \'OP-L[00000012]\', \'11\')','expenses/saveExpense','0.057580947875977','2016-08-05 11:52:00'),(891,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160800000012\', 2, \'Loan\', \'33135\', 200, 1, \'1\', \'200\', \'08\', \'16\', \'1\', \'OP-L[00000012]\', \'11\')','expenses/saveExpense','0.012460947036743','2016-08-05 11:52:00'),(892,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160800000012\'','expenses/saveExpense','0.011750936508179','2016-08-05 11:52:00'),(893,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  32','expenses/saveExpense','0.012739181518555','2016-08-05 11:52:00'),(894,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  68','expenses/saveExpense','0.020232200622559','2016-08-05 11:52:00'),(895,9,11,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160800000012\'','expenses/saveExpense','0.012630224227905','2016-08-05 11:52:00'),(896,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33127\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.024574995040894','2016-08-05 11:52:01'),(897,9,11,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'9\', \'4\', \'33135\', \'2016\', \'8\', \'200\', \'0\', 200, \'11\', \'2016-08-05: 05:08:00\')','expenses/saveExpense','0.010522842407227','2016-08-05 11:52:01'),(898,9,11,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-05\', \'160\', \'10\', \'TT\', \'161\', \'9\', 3)','transfer/newTransfer','0.085970878601074','2016-08-05 11:53:51'),(899,9,11,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (33, \'33128\', \'10\', \'BFDAY AZ\')','transfer/newTransfer','0.012853860855103','2016-08-05 11:53:51'),(900,9,11,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 13 WHERE `ID` =  \'297\'','transfer/newTransfer','0.017163991928101','2016-08-05 11:53:51'),(901,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000013\' WHERE `ID` =  33','transfer/newTransfer','0.012010812759399','2016-08-05 11:53:51'),(902,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'9\', \'AP20160800000013\', \' [TT[00000013]]]\', \'Bank Transfer [  [TT[00000013]]] ]\', \'\', \'3\', \'2016-08-05\', \'2016\', \'08\', 10, 10, \'11\')','transfer/newTransfer','0.0086288452148438','2016-08-05 11:53:51'),(903,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160800000013\', 1, \'BFDAY AZ\', \'33127\', 10, 1, \'1\', \'10\', \'08\', \'2016\', \'0\', \'TT[00000013]\', \'11\')','transfer/newTransfer','0.011782884597778','2016-08-05 11:53:51'),(904,9,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'9\', \'AP20160800000013\', 2, \'BFDAY AZ\', \'33128\', 10, 1, \'1\', \'10\', \'08\', \'2016\', \'0\', \'TT[00000013]\', \'11\')','transfer/newTransfer','0.015935897827148','2016-08-05 11:53:52'),(905,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 10, `total_amount_cr` = 10, `total_amount` = 0 WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160800000013\'','transfer/newTransfer','0.012831926345825','2016-08-05 11:53:52'),(906,9,11,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  33','transfer/newTransfer','0.011714935302734','2016-08-05 11:53:52'),(907,9,11,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  69','transfer/newTransfer','0.012899875640869','2016-08-05 11:53:52'),(908,9,11,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'9\' AND `journalID` =  \'AP20160800000013\'','transfer/newTransfer','0.020289897918701','2016-08-05 11:53:52'),(909,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33127\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.022742033004761','2016-08-05 11:53:52'),(910,9,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'11\' WHERE `a`.`companyID` =  \'9\' AND `a`.`acctID` =  \'33128\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.12749600410461','2016-08-05 11:53:52'),(911,7,9,'192.168.1.192','update','UPDATE `company` SET `companyName` = \'Hijrah Power Adik Beradik dan anak Beranak Pinak Sdn Bhd\', `webPageName` = \'hijrah\', `line1` = \'\', `line2` = \'\', `line3` = \'\', `city` = \'\', `companyPostCode` = \'\', `companyStateID` = \'0\', `countryID` = \'0\', `parlimenID` = \'\', `phoneNo` = \'\', `faxNo` = \'\', `email` = \'\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'11\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'7.JPG\', `updatedBy` = \'hijrah@email.com\' WHERE `ID` =  \'7\'','setup/companySetup','0.1493501663208','2016-08-24 14:33:00'),(912,7,9,'192.168.1.192','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Hijrah Power Adik Beradik dan anak Beranak Pinak Sdn Bhd\', `webPageName` = \'hijrah\', `line1` = \'\', `line2` = \'\', `line3` = \'\', `city` = \'\', `companyPostCode` = \'\', `companyStateID` = \'0\', `countryID` = \'0\', `parlimenID` = \'\', `phoneNo` = \'\', `faxNo` = \'\', `email` = \'\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'11\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'7.JPG\', `updatedBy` = \'hijrah@email.com\' WHERE `ID` =  \'7\'','setup/companySetup','0.001039981842041','2016-08-24 14:33:00'),(913,0,0,'192.168.1.199','insert','INSERT INTO `web` (`userID`, `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami`)  select \"84\", `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami` from _ref_web limit 1 ','web/webadmin','0.10051298141479','2016-08-24 15:57:45'),(914,0,0,'192.168.1.199','update','UPDATE `web` SET `userid` = 2 WHERE `ID` =  \'84\'','web/webadmin','0.00021815299987793','2016-08-24 15:57:45'),(915,0,0,'192.168.1.201','insert','INSERT INTO `tbl_usermaster` (`username`, `email`, `userid`, `password`, `phone_mobile`, `last_seen_ip`) VALUES (\'MOHD NORHIJRAH BIN RAHMAT\', \'hijrahrahmat@gmail.com\', \'hijrahrahmat@gmail.com\', \'164bf9e7ca559b54e25d67a39e171eeb\', \'0129020146\', \'192.168.1.201\')','login/save_new','0.11595702171326','2016-09-05 12:42:46'),(916,0,0,'192.168.1.201','insert','INSERT INTO `company` (`companyName`, `businessIndustryID`) VALUES (\'AZ SOLUTION SDN. BHD.\', \'9\')','login/save_new','0.025859117507935','2016-09-05 12:42:47'),(917,0,0,'192.168.1.201','insert','INSERT INTO `user_expiry` (`userID`, `username`, `typeOfPackage`, `numberOfPeriod`, `startDate`, `endDate`) VALUES (13, 0, 1, 1, \'2016-09-05\', \'2016-10-05\')','login/save_new','0.049767017364502','2016-09-05 12:42:47'),(918,0,0,'192.168.1.201','insert','INSERT INTO `user_module_access` (`companyID`, `userID`, `moduleID`, `transaction`, `reports`, `setup`, `accessRight`) VALUES (11, 13, 0, 1, 1, 1, 1)','login/save_new','0.016491889953613','2016-09-05 12:42:47'),(919,11,13,'192.168.1.201','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'9\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'11\'','setup/updateCompany','0.024779081344604','2016-09-05 12:44:13'),(920,11,13,'192.168.1.201','update','UPDATE `spslitedemodb`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'9\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'11\'','setup/updateCompany','0.00022196769714355','2016-09-05 12:44:13'),(921,23,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 23, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 23)','setup/assetSetup','0.10163712501526','2016-09-05 13:00:52'),(922,11,13,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 11, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 11)','setup/assetSetup','0.021661043167114','2016-09-05 13:02:08'),(923,0,0,'192.168.1.201','insert','INSERT INTO `tbl_usermaster` (`username`, `email`, `userid`, `password`, `phone_mobile`, `last_seen_ip`) VALUES (\'CHALET SDN BHD\', \'amyl.zhry@gmail.com\', \'amyl.zhry@gmail.com\', \'b5baa9c23ac3e015ad287b17a3d4afa3\', \'0129020146\', \'192.168.1.201\')','login/save_new','0.024595022201538','2016-09-05 13:04:20'),(924,0,0,'192.168.1.201','insert','INSERT INTO `company` (`companyName`, `businessIndustryID`) VALUES (\'AZ CAFE SDN BHD\', \'9\')','login/save_new','0.016528129577637','2016-09-05 13:04:20'),(925,0,0,'192.168.1.201','insert','INSERT INTO `user_expiry` (`userID`, `username`, `typeOfPackage`, `numberOfPeriod`, `startDate`, `endDate`) VALUES (14, 0, 1, 1, \'2016-09-05\', \'2016-10-05\')','login/save_new','0.12727117538452','2016-09-05 13:04:20'),(926,0,0,'192.168.1.201','insert','INSERT INTO `user_module_access` (`companyID`, `userID`, `moduleID`, `transaction`, `reports`, `setup`, `accessRight`) VALUES (12, 14, 0, 1, 1, 1, 1)','login/save_new','0.022323846817017','2016-09-05 13:04:20'),(927,12,14,'192.168.1.201','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'9\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'12\'','setup/updateCompany','0.016300201416016','2016-09-05 13:04:55'),(928,12,14,'192.168.1.201','update','UPDATE `spslitedemodb`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'9\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'12\'','setup/updateCompany','0.00020289421081543','2016-09-05 13:04:55'),(929,12,14,'192.168.1.201','update','UPDATE `company` SET `companyName` = \'AZ CAFE SDN BHD\', `webPageName` = \'AZCAFE\', `line1` = \'fdsd\', `line2` = \'dsds\', `line3` = \'sdsd\', `city` = \'d\', `companyPostCode` = \'42200\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'0129020146\', `faxNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-01-01\', `businessTypeID` = \'9\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = 0 WHERE `ID` =  \'12\'','setup/companySetup','0.028080940246582','2016-09-05 13:06:12'),(930,12,14,'192.168.1.201','update','UPDATE `spslitedemodb`.`company` SET `companyName` = \'AZ CAFE SDN BHD\', `webPageName` = \'AZCAFE\', `line1` = \'fdsd\', `line2` = \'dsds\', `line3` = \'sdsd\', `city` = \'d\', `companyPostCode` = \'42200\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'0129020146\', `faxNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-01-01\', `businessTypeID` = \'9\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = 0 WHERE `ID` =  \'12\'','setup/companySetup','0.00027918815612793','2016-09-05 13:06:12'),(931,12,14,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 12, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 12)','setup/assetSetup','0.10207295417786','2016-09-05 13:06:23'),(932,12,14,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 12, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 12)','bank/index','0.0009758472442627','2016-09-05 13:06:27'),(933,12,14,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 12, acctName, id from comp_chart_of_acct where companyid = 12 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 12)','bank/index','0.025171995162964','2016-09-05 13:06:27'),(934,12,14,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 12, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 12)','setup/assetSetup','0.00087904930114746','2016-09-05 13:06:43'),(935,12,14,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 12, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 12)','bank/index','0.00088787078857422','2016-09-05 13:06:52'),(936,12,14,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 12, acctName, id from comp_chart_of_acct where companyid = 12 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 12)','bank/index','0.00067806243896484','2016-09-05 13:06:52'),(937,12,14,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'MAYBANK BERHAD\', `currentBalance` = \'10000\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'172\'','bank/saveBank','0.090832948684692','2016-09-05 13:07:12'),(938,12,14,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'MAYBANK BERHAD\', `openingBalanceDr` = 10000, `openingBalanceCr` = 0, `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33373\'','bank/saveBank','0.016471862792969','2016-09-05 13:07:12'),(939,12,14,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 12, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 12)','bank/index','0.0009009838104248','2016-09-05 13:07:13'),(940,12,14,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 12, acctName, id from comp_chart_of_acct where companyid = 12 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 12)','bank/index','0.00068497657775879','2016-09-05 13:07:13'),(941,12,14,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'12\', \'14\', 1, 1, \'68\', \'100\', \'OP-C\', \'2016-09-05\', \'172\', \'1\')','expenses/saveExpense','0.044188022613525','2016-09-05 14:22:21'),(942,12,14,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (34, \'14\', \'05092016\', 1, \'33385\', \'100\', \'100\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.041476011276245','2016-09-05 14:22:21'),(943,12,14,'192.168.1.201','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'12\', \'3\', \'16\', \'09\', \'AP\', 1)','expenses/saveExpense','0.0175461769104','2016-09-05 14:22:21'),(944,12,14,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP160900000001\' WHERE `ID` =  34','expenses/saveExpense','0.035004138946533','2016-09-05 14:22:21'),(945,12,14,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP160900000001\', \'Cost of Goods Sold [OP-C[00000001]]\', \'Cost of Goods Sold [OP-C[00000001]]\', \'\', \'3\', \'2016-09-05\', \'16\', \'09\', 100, 100, \'14\')','expenses/saveExpense','0.012591123580933','2016-09-05 14:22:21'),(946,12,14,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP160900000001\', 1, \'05092016\', \'33373\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000001]\', \'14\')','expenses/saveExpense','0.016676902770996','2016-09-05 14:22:21'),(947,12,14,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP160900000001\', 2, \'05092016\', \'33385\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000001]\', \'14\')','expenses/saveExpense','0.034628868103027','2016-09-05 14:22:21'),(948,12,14,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP160900000001\'','expenses/saveExpense','0.041474103927612','2016-09-05 14:22:21'),(949,12,14,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  34','expenses/saveExpense','0.016548871994019','2016-09-05 14:22:21'),(950,12,14,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  71','expenses/saveExpense','0.016556978225708','2016-09-05 14:22:21'),(951,12,14,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP160900000001\'','expenses/saveExpense','0.01645302772522','2016-09-05 14:22:21'),(952,12,14,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'14\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/saveExpense','0.032058954238892','2016-09-05 14:22:21'),(953,12,14,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'12\', \'8\', \'33385\', \'2016\', \'9\', \'100\', \'0\', 100, \'14\', \'2016-09-05: 08:09:21\')','expenses/saveExpense','0.040581941604614','2016-09-05 14:22:21'),(954,12,14,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'34\'','expenses/removePayment','0.016886949539185','2016-09-05 14:22:32'),(955,11,13,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 11, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 11)','setup/assetSetup','0.0015239715576172','2016-09-05 14:48:20'),(956,11,13,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 11, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 11)','bank/index','0.00089287757873535','2016-09-05 14:48:22'),(957,11,13,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 11, acctName, id from comp_chart_of_acct where companyid = 11 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 11)','bank/index','0.023697137832642','2016-09-05 14:48:22'),(958,9,11,'192.168.1.211','insert','INSERT INTO `spslitedemodb`.`tbl_usermaster` (`fldid`, `userid`, `password`, `username`, `position`, `email`, `phone_off`, `Phone_mobile`, `department`, `section`, `language`, `imageFile`, `create_dt`, `create_user`) VALUES (0, \'akmaluddin@salihin.com.my\', 0, \'akmaluddin mustajid\', 0, \'akmaluddin@salihin.com.my\', 0, \'0193393995\', 0, 0, \'\', \'\', 0, \'11\')','userProfile/Usermaster','0.038417100906372','2016-09-20 15:00:43'),(959,9,11,'192.168.1.211','insert','INSERT INTO `spslitedemodb`.`tbl_usermaster` (`fldid`, `userid`, `password`, `username`, `position`, `email`, `phone_off`, `Phone_mobile`, `department`, `section`, `language`, `imageFile`, `create_dt`, `create_user`) VALUES (0, \'akmaluddin@salihin.com.my\', 0, \'akmaluddin mustjaid\', 0, \'akmaluddin@salihin.com.my\', 0, \'0193393995\', 0, 0, \'\', \'\', 0, \'11\')','userProfile/Usermaster','0.095625877380371','2016-09-21 09:04:38'),(960,9,11,'192.168.1.211','update','UPDATE `tbl_usermaster` SET `userid` = \'akmaluddin@salihin.com.my\', `password` = 0, `username` = \'akmaluddin mustjaid\', `position` = 0, `email` = \'akmaluddin@salihin.com.my\', `phone_off` = 0, `Phone_mobile` = \'0193393995\', `department` = 0, `section` = 0, `language` = \'\', `imageFile` = \'\', `modified_dt` = 0, `modified_user` = \'11\' WHERE `fldid` =  \'11\'','userProfile/Usermaster','0.042333126068115','2016-09-21 09:23:31'),(961,9,11,'192.168.1.211','update','UPDATE `tbl_usermaster` SET `userid` = \'akmaluddin@salihin.com.my\', `password` = 0, `username` = \'akmaluddin mustajid\', `position` = 0, `email` = \'akmaluddin@salihin.com.my\', `phone_off` = 0, `Phone_mobile` = \'0193393995\', `department` = 0, `section` = 0, `language` = \'\', `imageFile` = \'\', `modified_dt` = 0, `modified_user` = \'11\' WHERE `fldid` =  \'11\'','userProfile/Usermaster','0.020346164703369','2016-09-21 09:25:16'),(962,9,11,'192.168.1.211','update','UPDATE `tbl_usermaster` SET `imageFile` = \'11-1474422534-20160916_021036_a700d3bca5edca8f5c13778907297eee.png\' WHERE `fldid` =  \'11\'','userProfile/Usermaster','0.12445211410522','2016-09-21 09:48:54'),(963,9,11,'192.168.1.211','update','UPDATE `tbl_usermaster` SET `userid` = \'akmaluddin@salihin.com.my\', `username` = \'akmaluddin mustajid\', `position` = 0, `email` = \'akmaluddin@salihin.com.my\', `phone_off` = 0, `Phone_mobile` = \'0193393995\', `department` = 0, `section` = 0, `language` = \'en\', `imageFile` = \'11-1474422534-20160916_021036_a700d3bca5edca8f5c13778907297eee.png\', `modified_dt` = 0, `modified_user` = \'11\' WHERE `fldid` =  \'11\'','userProfile/Usermaster','0.023591995239258','2016-09-21 09:48:54'),(964,9,11,'192.168.1.211','update','UPDATE `tbl_usermaster` SET `imageFile` = \'11-1474422534-20160916_021036_a700d3bca5edca8f5c13778907297eee.png\' WHERE `fldid` =  \'11\'','userProfile/Usermaster','0.015227794647217','2016-09-21 09:48:54'),(965,9,11,'192.168.1.211','update','UPDATE `tbl_usermaster` SET `userid` = \'akmaluddin@salihin.com.my\', `username` = \'akmaluddin mustajid\', `Phone_mobile` = \'0193393995\', `language` = \'en\', `imageFile` = \'11-1474422534-20160916_021036_a700d3bca5edca8f5c13778907297eee.png\', `modified_dt` = 0, `modified_user` = \'11\' WHERE `fldid` =  \'11\'','userProfile/Usermaster','0.095478057861328','2016-09-21 09:52:07'),(966,9,11,'192.168.1.254','update','UPDATE `company` SET `companyName` = \'Achimet Sdn. bhd.\', `webPageName` = \'akmal\', `line1` = \'no 16 jalan 9/12\', `line2` = \'taman bukit mewah fasa 9\', `line3` = \'\', `city` = \'\', `companyPostCode` = \'\', `companyStateID` = \'1933\', `countryID` = \'0\', `parlimenID` = \'124\', `phoneNo` = \'\', `faxNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-01-01\', `businessTypeID` = \'2\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = \'11\' WHERE `ID` =  \'9\'','setup/companySetup','0.097833156585693','2016-09-23 15:48:48'),(967,9,11,'192.168.1.254','update','UPDATE `spslitedemodb`.`company` SET `companyName` = \'Achimet Sdn. bhd.\', `webPageName` = \'akmal\', `line1` = \'no 16 jalan 9/12\', `line2` = \'taman bukit mewah fasa 9\', `line3` = \'\', `city` = \'\', `companyPostCode` = \'\', `companyStateID` = \'1933\', `countryID` = \'0\', `parlimenID` = \'124\', `phoneNo` = \'\', `faxNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-01-01\', `businessTypeID` = \'2\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = \'11\' WHERE `ID` =  \'9\'','setup/companySetup','0.0002591609954834','2016-09-23 15:48:48'),(968,0,0,'192.168.1.192','insert','INSERT INTO `tbl_usermaster` (`username`, `email`, `userid`, `password`, `phone_mobile`, `last_seen_ip`) VALUES (\'yuyu\', \'yuyu@mail.com\', \'yuyu@mail.com\', \'827ccb0eea8a706c4c34a16891f84e7b\', \'0148290370\', \'192.168.1.192\')','login/save_new','0.10030794143677','2016-09-30 10:47:27'),(969,0,0,'192.168.1.192','insert','INSERT INTO `company` (`companyName`, `businessIndustryID`) VALUES (\'yuyu\', \'1\')','login/save_new','0.051022052764893','2016-09-30 10:47:27'),(970,0,0,'192.168.1.192','insert','INSERT INTO `user_expiry` (`userID`, `username`, `typeOfPackage`, `numberOfPeriod`, `startDate`, `endDate`) VALUES (18, 0, 1, 1, \'2016-09-30\', \'2016-10-30\')','login/save_new','0.034317970275879','2016-09-30 10:47:27'),(971,0,0,'192.168.1.192','insert','INSERT INTO `user_module_access` (`companyID`, `userID`, `moduleID`, `transaction`, `reports`, `setup`, `accessRight`) VALUES (13, 18, 0, 1, 1, 1, 1)','login/save_new','0.016510009765625','2016-09-30 10:47:27'),(972,0,0,'192.168.1.201','insert','INSERT INTO `tbl_usermaster` (`username`, `email`, `userid`, `password`, `phone_mobile`, `last_seen_ip`) VALUES (\'hijrah rahmat\', \'hijrahrahmat@gmail.com\', \'hijrahrahmat@gmail.com\', \'827ccb0eea8a706c4c34a16891f84e7b\', \'0129020146\', \'192.168.1.201\')','login/save_new','0.032741069793701','2016-09-30 10:58:50'),(973,0,0,'192.168.1.201','insert','INSERT INTO `company` (`companyName`, `businessIndustryID`) VALUES (\'RAHMAT MAZNAH SDN BHD\', \'9\')','login/save_new','0.024847984313965','2016-09-30 10:58:50'),(974,0,0,'192.168.1.201','insert','INSERT INTO `user_expiry` (`userID`, `username`, `typeOfPackage`, `numberOfPeriod`, `startDate`, `endDate`) VALUES (1, 0, 1, 1, \'2016-09-30\', \'2016-10-30\')','login/save_new','0.016425848007202','2016-09-30 10:58:50'),(975,0,0,'192.168.1.201','insert','INSERT INTO `user_module_access` (`companyID`, `userID`, `moduleID`, `transaction`, `reports`, `setup`, `accessRight`) VALUES (14, 1, 0, 1, 1, 1, 1)','login/save_new','0.016510009765625','2016-09-30 10:58:50'),(976,14,1,'192.168.1.192','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'3\', `incorporateDate` = \'1970-01-01\' WHERE `ID` =  \'14\'','setup/updateCompany','0.21298217773438','2016-09-30 11:12:48'),(977,14,1,'192.168.1.192','update','UPDATE `spslitedemodb`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'3\', `incorporateDate` = \'1970-01-01\' WHERE `ID` =  \'14\'','setup/updateCompany','0.00021815299987793','2016-09-30 11:12:48'),(978,0,0,'192.168.1.192','insert','INSERT INTO `tbl_usermaster` (`username`, `email`, `userid`, `password`, `phone_mobile`, `last_seen_ip`) VALUES (\'faridtest\', \'faridtest@gmail.com\', \'faridtest@gmail.com\', \'827ccb0eea8a706c4c34a16891f84e7b\', \'0148290370\', \'192.168.1.192\')','login/save_new','0.09591007232666','2016-09-30 11:15:56'),(979,0,0,'192.168.1.192','insert','INSERT INTO `company` (`companyName`, `businessIndustryID`) VALUES (\'faridtest\', \'1\')','login/save_new','0.058182954788208','2016-09-30 11:15:56'),(980,0,0,'192.168.1.192','insert','INSERT INTO `user_expiry` (`userID`, `username`, `typeOfPackage`, `numberOfPeriod`, `startDate`, `endDate`) VALUES (2, 0, 1, 1, \'2016-09-30\', \'2016-10-30\')','login/save_new','0.033150911331177','2016-09-30 11:15:56'),(981,0,0,'192.168.1.192','insert','INSERT INTO `user_module_access` (`companyID`, `userID`, `moduleID`, `transaction`, `reports`, `setup`, `accessRight`) VALUES (15, 2, 0, 1, 1, 1, 1)','login/save_new','0.013907909393311','2016-09-30 11:15:56'),(982,15,2,'192.168.1.192','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'2\', `incorporateDate` = \'2016-09-30\' WHERE `ID` =  \'15\'','setup/updateCompany','0.078269004821777','2016-09-30 11:18:27'),(983,15,2,'192.168.1.192','update','UPDATE `spslitedemodb`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'2\', `incorporateDate` = \'2016-09-30\' WHERE `ID` =  \'15\'','setup/updateCompany','0.00019407272338867','2016-09-30 11:18:27'),(984,0,0,'192.168.1.201','insert','INSERT INTO `tbl_usermaster` (`username`, `email`, `userid`, `password`, `phone_mobile`, `last_seen_ip`) VALUES (\'hijrah rahmat\', \'hijrahrahmat@gmail.com\', \'hijrahrahmat@gmail.com\', \'827ccb0eea8a706c4c34a16891f84e7b\', \'0129020146\', \'192.168.1.201\')','login/save_new','0.088458061218262','2016-09-30 11:19:56'),(985,0,0,'192.168.1.201','insert','INSERT INTO `company` (`companyName`, `businessIndustryID`) VALUES (\'RAHMAT MAZNAH SDN BHD\', \'9\')','login/save_new','0.027174949645996','2016-09-30 11:19:56'),(986,0,0,'192.168.1.201','insert','INSERT INTO `user_expiry` (`userID`, `username`, `typeOfPackage`, `numberOfPeriod`, `startDate`, `endDate`) VALUES (1, 0, 1, 1, \'2016-09-30\', \'2016-10-30\')','login/save_new','0.016439914703369','2016-09-30 11:19:56'),(987,0,0,'192.168.1.201','insert','INSERT INTO `user_module_access` (`companyID`, `userID`, `moduleID`, `transaction`, `reports`, `setup`, `accessRight`) VALUES (16, 1, 0, 1, 1, 1, 1)','login/save_new','0.016522169113159','2016-09-30 11:19:57'),(988,16,1,'192.168.1.201','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'9\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'16\'','setup/updateCompany','0.094104051589966','2016-09-30 11:20:58'),(989,16,1,'192.168.1.201','update','UPDATE `spslitedemodb`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'9\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'16\'','setup/updateCompany','0.00022101402282715','2016-09-30 11:20:58'),(990,16,1,'192.168.1.201','update','UPDATE `company` SET `companyName` = \'RAHMAT MAZNAH SDN BHD\', `webPageName` = \'rahmatmazzzzzzz\', `line1` = \'no\', `line2` = \'nno\', `line3` = \'\', `city` = \'\', `companyPostCode` = \'\', `companyStateID` = \'0\', `countryID` = \'0\', `parlimenID` = \'\', `phoneNo` = \'\', `faxNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-01-01\', `businessTypeID` = \'9\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = \'1\' WHERE `ID` =  \'16\'','setup/personalWebSetup','0.28905606269836','2016-09-30 11:25:35'),(991,16,1,'192.168.1.201','update','UPDATE `spslitedemodb`.`company` SET `companyName` = \'RAHMAT MAZNAH SDN BHD\', `webPageName` = \'rahmatmazzzzzzz\', `line1` = \'no\', `line2` = \'nno\', `line3` = \'\', `city` = \'\', `companyPostCode` = \'\', `companyStateID` = \'0\', `countryID` = \'0\', `parlimenID` = \'\', `phoneNo` = \'\', `faxNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-01-01\', `businessTypeID` = \'9\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = \'1\' WHERE `ID` =  \'16\'','setup/personalWebSetup','0.00033187866210938','2016-09-30 11:25:35'),(992,0,0,'192.168.1.192','insert','INSERT INTO `tbl_usermaster` (`username`, `email`, `userid`, `password`, `phone_mobile`, `last_seen_ip`) VALUES (\'farid\', \'farid@gmail.com\', \'farid@gmail.com\', \'827ccb0eea8a706c4c34a16891f84e7b\', \'0148290370\', \'192.168.1.192\')','login/save_new','0.0225510597229','2016-09-30 11:26:42'),(993,0,0,'192.168.1.192','insert','INSERT INTO `company` (`companyName`, `businessIndustryID`) VALUES (\'farid\', \'1\')','login/save_new','0.035530090332031','2016-09-30 11:26:42'),(994,0,0,'192.168.1.192','insert','INSERT INTO `user_expiry` (`userID`, `username`, `typeOfPackage`, `numberOfPeriod`, `startDate`, `endDate`) VALUES (2, 0, 1, 1, \'2016-09-30\', \'2016-10-30\')','login/save_new','0.024764060974121','2016-09-30 11:26:42'),(995,0,0,'192.168.1.192','insert','INSERT INTO `user_module_access` (`companyID`, `userID`, `moduleID`, `transaction`, `reports`, `setup`, `accessRight`) VALUES (17, 2, 0, 1, 1, 1, 1)','login/save_new','0.03054404258728','2016-09-30 11:26:42'),(996,17,2,'192.168.1.192','update','UPDATE `company` SET `businessIndustryID` = \'\', `businessTypeID` = \'\', `incorporateDate` = \'2016-09-30\' WHERE `ID` =  \'17\'','setup/updateCompany','0.10658383369446','2016-09-30 11:36:59'),(997,17,2,'192.168.1.192','update','UPDATE `spslitedemodb`.`company` SET `businessIndustryID` = \'\', `businessTypeID` = \'\', `incorporateDate` = \'2016-09-30\' WHERE `ID` =  \'17\'','setup/updateCompany','0.00020623207092285','2016-09-30 11:36:59'),(998,17,2,'192.168.1.192','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'3\', `incorporateDate` = \'2016-09-30\' WHERE `ID` =  \'17\'','setup/updateCompany','0.042693138122559','2016-09-30 11:37:04'),(999,17,2,'192.168.1.192','update','UPDATE `spslitedemodb`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'3\', `incorporateDate` = \'2016-09-30\' WHERE `ID` =  \'17\'','setup/updateCompany','0.00019717216491699','2016-09-30 11:37:04'),(1000,16,1,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 16, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 16)','setup/assetSetup','0.022465944290161','2016-09-30 12:41:05'),(1001,16,1,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 16, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 16)','bank/index','0.00098919868469238','2016-09-30 12:41:15'),(1002,16,1,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 16, acctName, id from comp_chart_of_acct where companyid = 16 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 16)','bank/index','0.038921117782593','2016-09-30 12:41:15'),(1003,16,1,'192.168.1.211','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 16, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 16)','setup/assetSetup','0.00089812278747559','2016-09-30 12:50:54'),(1004,16,1,'192.168.1.211','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 16, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 16)','bank/index','0.00091290473937988','2016-09-30 12:50:57'),(1005,16,1,'192.168.1.211','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 16, acctName, id from comp_chart_of_acct where companyid = 16 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 16)','bank/index','0.00071310997009277','2016-09-30 12:50:57'),(1006,17,2,'192.168.1.192','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 17, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 17)','setup/assetSetup','0.10934996604919','2016-09-30 13:01:29'),(1007,17,2,'192.168.1.192','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 17, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 17)','setup/assetSetup','0.00177001953125','2016-09-30 15:44:43'),(1008,16,1,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 16, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 16)','bank/index','0.00097107887268066','2016-09-30 16:10:15'),(1009,16,1,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 16, acctName, id from comp_chart_of_acct where companyid = 16 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 16)','bank/index','0.00081205368041992','2016-09-30 16:10:15'),(1010,16,1,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'MBB\', `currentBalance` = \'50000\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'186\'','bank/saveBank','0.092957973480225','2016-09-30 16:10:34'),(1011,16,1,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'MBB\', `openingBalanceDr` = 50000, `openingBalanceCr` = 0, `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33436\'','bank/saveBank','0.013857126235962','2016-09-30 16:10:34'),(1012,16,1,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 16, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 16)','bank/index','0.00091695785522461','2016-09-30 16:10:35'),(1013,16,1,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 16, acctName, id from comp_chart_of_acct where companyid = 16 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 16)','bank/index','0.00071096420288086','2016-09-30 16:10:35'),(1014,16,1,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'BIMB\', `currentBalance` = \'30000\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'187\'','bank/saveBank','0.091977119445801','2016-09-30 16:10:49'),(1015,16,1,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'BIMB\', `openingBalanceDr` = 30000, `openingBalanceCr` = 0, `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33437\'','bank/saveBank','0.0080821514129639','2016-09-30 16:10:49'),(1016,16,1,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 16, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 16)','bank/index','0.00094294548034668','2016-09-30 16:10:51'),(1017,16,1,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 16, acctName, id from comp_chart_of_acct where companyid = 16 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 16)','bank/index','0.00074505805969238','2016-09-30 16:10:51'),(1018,16,1,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 16, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 16)','bank/index','0.00099682807922363','2016-10-04 11:20:41'),(1019,16,1,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 16, acctName, id from comp_chart_of_acct where companyid = 16 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 16)','bank/index','0.00082588195800781','2016-10-04 11:20:41'),(1020,16,1,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'Petty Cash 1	\', `currentBalance` = \'0.00\', `createdTS` = \'2016-09-30 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'189\'','bank/saveBank','0.011419057846069','2016-10-04 11:20:48'),(1021,16,1,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Petty Cash 1	\', `openingBalanceCr` = 0, `openingBalanceDr` = 0, `createdTS` = \'2016-09-30 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'33439\'','bank/saveBank','0.0080790519714355','2016-10-04 11:20:48'),(1022,16,1,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 16, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 16)','bank/index','0.0009770393371582','2016-10-04 11:20:50'),(1023,16,1,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 16, acctName, id from comp_chart_of_acct where companyid = 16 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 16)','bank/index','0.00085210800170898','2016-10-04 11:20:50'),(1024,16,1,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'Bank3	\', `currentBalance` = \'0.00\', `createdTS` = \'2016-09-30 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'188\'','bank/saveBank','0.010424137115479','2016-10-04 11:20:54'),(1025,16,1,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank3	\', `openingBalanceCr` = 0, `openingBalanceDr` = 0, `createdTS` = \'2016-09-30 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'33438\'','bank/saveBank','0.0080909729003906','2016-10-04 11:20:54'),(1026,16,1,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 16, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 16)','bank/index','0.00093412399291992','2016-10-04 11:20:55'),(1027,16,1,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 16, acctName, id from comp_chart_of_acct where companyid = 16 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 16)','bank/index','0.00073599815368652','2016-10-04 11:20:55'),(1028,16,1,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'Petty Cash 2	\', `currentBalance` = \'0.00\', `createdTS` = \'2016-09-30 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'190\'','bank/saveBank','0.080430030822754','2016-10-04 11:20:58'),(1029,16,1,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Petty Cash 2	\', `openingBalanceCr` = 0, `openingBalanceDr` = 0, `createdTS` = \'2016-09-30 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'33440\'','bank/saveBank','0.016155958175659','2016-10-04 11:20:58'),(1030,16,1,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 16, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 16)','bank/index','0.00092101097106934','2016-10-04 11:20:59'),(1031,16,1,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 16, acctName, id from comp_chart_of_acct where companyid = 16 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 16)','bank/index','0.00071501731872559','2016-10-04 11:20:59'),(1032,16,1,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 16, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 16)','bank/index','0.00095009803771973','2016-10-04 11:23:01'),(1033,16,1,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 16, acctName, id from comp_chart_of_acct where companyid = 16 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 16)','bank/index','0.00073695182800293','2016-10-04 11:23:01'),(1034,16,1,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'SME BANK\', `openingBalanceCr` = \'100000\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33442\'','setup/saveLoan','0.011925935745239','2016-10-04 11:24:33'),(1035,16,1,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'HIRE PURCHASE(HR-V)\', `openingBalanceCr` = \'125000\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33443\'','setup/saveLoan','0.080272197723389','2016-10-04 11:25:09'),(1036,16,1,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan 3	\', `openingBalanceCr` = \'0.00\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'33444\'','setup/saveLoan','0.079632043838501','2016-10-04 11:25:49'),(1037,16,1,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan 4	\', `openingBalanceCr` = \'0.00\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'33445\'','setup/saveLoan','0.08384895324707','2016-10-04 11:25:54'),(1038,16,1,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan 5	\', `openingBalanceCr` = \'0.00\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'33446\'','setup/saveLoan','0.082802772521973','2016-10-04 11:26:00'),(1039,16,1,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 16, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 16)','setup/assetSetup','0.084646940231323','2016-10-04 11:26:17'),(1040,16,1,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 16, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 16)','bank/index','0.00096917152404785','2016-10-04 11:28:23'),(1041,16,1,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 16, acctName, id from comp_chart_of_acct where companyid = 16 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 16)','bank/index','0.019697904586792','2016-10-04 11:28:23'),(1042,16,1,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 16, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 16)','bank/index','0.00095295906066895','2016-10-04 11:29:46'),(1043,16,1,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 16, acctName, id from comp_chart_of_acct where companyid = 16 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 16)','bank/index','0.00080585479736328','2016-10-04 11:29:46'),(1044,16,1,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'DUIT KOCEK\', `currentBalance` = \'2000\', `createdTS` = \'2016-09-30 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'189\'','bank/saveBank','0.03105902671814','2016-10-04 11:31:38'),(1045,16,1,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'DUIT KOCEK\', `openingBalanceDr` = 2000, `openingBalanceCr` = 0, `createdTS` = \'2016-09-30 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33439\'','bank/saveBank','0.029288768768311','2016-10-04 11:31:38'),(1046,16,1,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 16, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 16)','bank/index','0.0010590553283691','2016-10-04 11:31:40'),(1047,16,1,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 16, acctName, id from comp_chart_of_acct where companyid = 16 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 16)','bank/index','0.00082015991210938','2016-10-04 11:31:40'),(1048,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-10-01\', \'186\', \'2000\', \'TT\', \'189\', \'16\', 3)','transfer/newTransfer','0.14204287528992','2016-10-04 11:37:42'),(1049,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (35, \'33439\', \'2000\', \'MODAL 1.10.2016\')','transfer/newTransfer','0.02044415473938','2016-10-04 11:37:42'),(1050,16,1,'192.168.1.201','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'16\', \'3\', \'2016\', \'10\', \'AP\', 1)','transfer/newTransfer','0.017523050308228','2016-10-04 11:37:42'),(1051,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000001\' WHERE `ID` =  35','transfer/newTransfer','0.016820907592773','2016-10-04 11:37:42'),(1052,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'16\', \'AP20161000000001\', \' [TT[00000001]]]\', \'Bank Transfer [  [TT[00000001]]] ]\', \'\', \'3\', \'2016-10-01\', \'2016\', \'10\', 2000, 2000, \'1\')','transfer/newTransfer','0.047351837158203','2016-10-04 11:37:42'),(1053,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000001\', 1, \'MODAL 1.10.2016\', \'33436\', 2000, 1, \'1\', \'2000\', \'10\', \'2016\', \'0\', \'TT[00000001]\', \'1\')','transfer/newTransfer','0.050008058547974','2016-10-04 11:37:42'),(1054,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000001\', 2, \'MODAL 1.10.2016\', \'33439\', 2000, 1, \'1\', \'2000\', \'10\', \'2016\', \'0\', \'TT[00000001]\', \'1\')','transfer/newTransfer','0.011574029922485','2016-10-04 11:37:42'),(1055,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 2000, `total_amount_cr` = 2000, `total_amount` = 0 WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000001\'','transfer/newTransfer','0.0081579685211182','2016-10-04 11:37:42'),(1056,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  35','transfer/newTransfer','0.024900913238525','2016-10-04 11:37:42'),(1057,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  75','transfer/newTransfer','0.015949010848999','2016-10-04 11:37:42'),(1058,16,1,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000001\'','transfer/newTransfer','0.017040967941284','2016-10-04 11:37:42'),(1059,16,1,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'16\', \'3\', \'33436\', \'2016\', \'10\', \'0\', \'2000\', -2000, \'1\', \'2016-10-04: 05:10:42\')','transfer/newTransfer','0.016479969024658','2016-10-04 11:37:42'),(1060,16,1,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'16\', \'3\', \'33439\', \'2016\', \'10\', \'2000\', \'0\', 2000, \'1\', \'2016-10-04: 05:10:42\')','transfer/newTransfer','0.011883974075317','2016-10-04 11:37:42'),(1061,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-10-01\', `bankID` = \'186\', `payTo` = \'189\', `amountPaid` = \'1000\', `companyID` = \'16\', `updateAble` = 1 WHERE `ID` =  \'35\'','transfer/saveTransfer','0.083348035812378','2016-10-04 11:38:09'),(1062,16,1,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33439\', `amountExcludedTax` = \'1000\', `itemdescription` = \'MODAL 1.10.2016\' WHERE `ID` =  \'43\'','transfer/saveTransfer','0.01173996925354','2016-10-04 11:38:09'),(1063,16,1,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'304\'','transfer/saveTransfer','0.0095119476318359','2016-10-04 11:38:09'),(1064,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000002\' WHERE `ID` =  \'35\'','transfer/saveTransfer','0.024822950363159','2016-10-04 11:38:09'),(1065,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'16\', \'AP20161000000002\', \' [TT[00000001]]]\', \'Bank Transfer [  [TT[00000001]]] ]\', \'\', \'3\', \'2016-10-01\', \'2016\', \'10\', 1000, 1000, \'1\')','transfer/saveTransfer','0.010684013366699','2016-10-04 11:38:09'),(1066,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000002\', 1, \'MODAL 1.10.2016\', \'33436\', 1000, 1, \'1\', \'1000\', \'10\', \'2016\', \'0\', \'TT[00000001]\', \'1\')','transfer/saveTransfer','0.045202970504761','2016-10-04 11:38:09'),(1067,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000002\', 2, \'MODAL 1.10.2016\', \'33439\', 1000, 1, \'1\', \'1000\', \'10\', \'2016\', \'0\', \'TT[00000001]\', \'1\')','transfer/saveTransfer','0.0378577709198','2016-10-04 11:38:09'),(1068,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 1000, `total_amount_cr` = 1000, `total_amount` = 0 WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000002\'','transfer/saveTransfer','0.14985013008118','2016-10-04 11:38:10'),(1069,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'35\'','transfer/saveTransfer','0.036690950393677','2016-10-04 11:38:10'),(1070,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  76','transfer/saveTransfer','0.016519069671631','2016-10-04 11:38:10'),(1071,16,1,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000002\'','transfer/saveTransfer','0.01282000541687','2016-10-04 11:38:10'),(1072,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33436\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','transfer/saveTransfer','0.010936975479126','2016-10-04 11:38:10'),(1073,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','transfer/saveTransfer','0.020638942718506','2016-10-04 11:38:10'),(1074,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-10-01\', `bankID` = \'186\', `payTo` = \'189\', `amountPaid` = \'2500\', `companyID` = \'16\', `updateAble` = 1 WHERE `ID` =  \'35\'','transfer/saveTransfer','0.011480808258057','2016-10-04 11:38:31'),(1075,16,1,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33439\', `amountExcludedTax` = \'2500\', `itemdescription` = \'MODAL 1.10.2016\' WHERE `ID` =  \'43\'','transfer/saveTransfer','0.021050214767456','2016-10-04 11:38:31'),(1076,16,1,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'304\'','transfer/saveTransfer','0.012354850769043','2016-10-04 11:38:31'),(1077,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000003\' WHERE `ID` =  \'35\'','transfer/saveTransfer','0.012839078903198','2016-10-04 11:38:31'),(1078,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'16\', \'AP20161000000003\', \' [TT[00000001]]]\', \'Bank Transfer [  [TT[00000001]]] ]\', \'\', \'3\', \'2016-10-01\', \'2016\', \'10\', 2500, 2500, \'1\')','transfer/saveTransfer','0.017393112182617','2016-10-04 11:38:31'),(1079,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000003\', 1, \'MODAL 1.10.2016\', \'33436\', 2500, 1, \'1\', \'2500\', \'10\', \'2016\', \'0\', \'TT[00000001]\', \'1\')','transfer/saveTransfer','0.017142057418823','2016-10-04 11:38:31'),(1080,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000003\', 2, \'MODAL 1.10.2016\', \'33439\', 2500, 1, \'1\', \'2500\', \'10\', \'2016\', \'0\', \'TT[00000001]\', \'1\')','transfer/saveTransfer','0.01244592666626','2016-10-04 11:38:31'),(1081,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 2500, `total_amount_cr` = 2500, `total_amount` = 0 WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000003\'','transfer/saveTransfer','0.012137889862061','2016-10-04 11:38:31'),(1082,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'35\'','transfer/saveTransfer','0.012589931488037','2016-10-04 11:38:31'),(1083,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  77','transfer/saveTransfer','0.012146949768066','2016-10-04 11:38:31'),(1084,16,1,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000003\'','transfer/saveTransfer','0.01648998260498','2016-10-04 11:38:32'),(1085,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33436\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','transfer/saveTransfer','0.023970127105713','2016-10-04 11:38:32'),(1086,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','transfer/saveTransfer','0.020595073699951','2016-10-04 11:38:32'),(1087,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'16\', \'1\', 1, \'33448\', \'68\', \'2737\', \'OP-C\', \'2016-10-01\', \'189\', \'1\')','expenses/fnSaveExpenses','0.11080098152161','2016-10-04 11:46:30'),(1088,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (36, \'1\', \'AYAM\', 1, \'33448\', \'889\', \'889\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.043642997741699','2016-10-04 11:46:30'),(1089,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (36, \'1\', \'DAGING\', 1, \'33448\', \'1055\', \'1055\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.012356996536255','2016-10-04 11:46:30'),(1090,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (36, \'1\', \'TEMPE\', 1, \'33448\', \'50\', \'50\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.020637035369873','2016-10-04 11:46:30'),(1091,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (36, \'1\', \'SUHOON\', 1, \'33448\', \'25\', \'25\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.012382984161377','2016-10-04 11:46:30'),(1092,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (36, \'1\', \'CILI2\', 1, \'33448\', \'50\', \'50\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.028972864151001','2016-10-04 11:46:30'),(1093,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (36, \'1\', \'REMPAH2\', 1, \'33448\', \'150\', \'150\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.024832010269165','2016-10-04 11:46:30'),(1094,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (36, \'1\', \'BERAS 50KG\', 1, \'33448\', \'128\', \'128\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.012691974639893','2016-10-04 11:46:30'),(1095,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (36, \'1\', \'BERAS BASMATHI\', 1, \'33448\', \'179.5\', \'179.5\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.037038087844849','2016-10-04 11:46:30'),(1096,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (36, \'1\', \'BUAH2 JERUK ACAR\', 1, \'33448\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.024773836135864','2016-10-04 11:46:30'),(1097,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (36, \'1\', \'TEMBIKAI & SUNKIST\', 1, \'33448\', \'75\', \'75\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.012383937835693','2016-10-04 11:46:30'),(1098,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (36, \'1\', \'GULA\', 1, \'33448\', \'25.5\', \'25.5\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.024844884872437','2016-10-04 11:46:30'),(1099,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (36, \'1\', \'SIRAP\', 1, \'33448\', \'10\', \'10\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.02062201499939','2016-10-04 11:46:30'),(1100,16,1,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  \'304\'','expenses/fnSaveExpenses','0.02995491027832','2016-10-04 11:46:30'),(1101,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000004\' WHERE `ID` =  36','expenses/fnSaveExpenses','0.012501955032349','2016-10-04 11:46:30'),(1102,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'16\', \'AP20161000000004\', \'Cost of Goods Sold [OP-C[00000002]]\', \'Cost of Goods Sold [OP-C[00000002]]\', \'\', \'3\', \'2016-10-01\', \'16\', \'10\', 2737, 2737, \'1\')','expenses/fnSaveExpenses','0.031296968460083','2016-10-04 11:46:30'),(1103,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000004\', 1, \'AYAM\', \'33439\', 889, 1, \'1\', \'889\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.049421072006226','2016-10-04 11:46:30'),(1104,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000004\', 2, \'AYAM\', \'33448\', 889, 1, \'1\', \'889\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.01205587387085','2016-10-04 11:46:30'),(1105,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000004\', 3, \'DAGING\', \'33439\', 1055, 1, \'1\', \'1055\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.012418031692505','2016-10-04 11:46:30'),(1106,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000004\', 4, \'DAGING\', \'33448\', 1055, 1, \'1\', \'1055\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.012049913406372','2016-10-04 11:46:30'),(1107,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000004\', 5, \'TEMPE\', \'33439\', 50, 1, \'1\', \'50\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.012428998947144','2016-10-04 11:46:30'),(1108,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000004\', 6, \'TEMPE\', \'33448\', 50, 1, \'1\', \'50\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.012093067169189','2016-10-04 11:46:30'),(1109,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000004\', 7, \'SUHOON\', \'33439\', 25, 1, \'1\', \'25\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.012394905090332','2016-10-04 11:46:30'),(1110,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000004\', 8, \'SUHOON\', \'33448\', 25, 1, \'1\', \'25\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.0121009349823','2016-10-04 11:46:30'),(1111,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000004\', 9, \'CILI2\', \'33439\', 50, 1, \'1\', \'50\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.012409925460815','2016-10-04 11:46:31'),(1112,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000004\', 10, \'CILI2\', \'33448\', 50, 1, \'1\', \'50\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.012073993682861','2016-10-04 11:46:31'),(1113,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000004\', 11, \'REMPAH2\', \'33439\', 150, 1, \'1\', \'150\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.012426853179932','2016-10-04 11:46:31'),(1114,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000004\', 12, \'REMPAH2\', \'33448\', 150, 1, \'1\', \'150\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.012066841125488','2016-10-04 11:46:31'),(1115,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000004\', 13, \'BERAS 50KG\', \'33439\', 128, 1, \'1\', \'128\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.012414932250977','2016-10-04 11:46:31'),(1116,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000004\', 14, \'BERAS 50KG\', \'33448\', 128, 1, \'1\', \'128\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.012065172195435','2016-10-04 11:46:31'),(1117,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000004\', 15, \'BERAS BASMATHI\', \'33439\', 179.5, 1, \'1\', \'179.5\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.012418985366821','2016-10-04 11:46:31'),(1118,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000004\', 16, \'BERAS BASMATHI\', \'33448\', 179.5, 1, \'1\', \'179.5\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.012084007263184','2016-10-04 11:46:31'),(1119,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000004\', 17, \'BUAH2 JERUK ACAR\', \'33439\', 100, 1, \'1\', \'100\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.012413024902344','2016-10-04 11:46:31'),(1120,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000004\', 18, \'BUAH2 JERUK ACAR\', \'33448\', 100, 1, \'1\', \'100\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.012099027633667','2016-10-04 11:46:31'),(1121,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000004\', 19, \'TEMBIKAI & SUNKIST\', \'33439\', 75, 1, \'1\', \'75\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.01241397857666','2016-10-04 11:46:31'),(1122,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000004\', 20, \'TEMBIKAI & SUNKIST\', \'33448\', 75, 1, \'1\', \'75\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.012076854705811','2016-10-04 11:46:31'),(1123,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000004\', 21, \'GULA\', \'33439\', 25.5, 1, \'1\', \'25.5\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.012423038482666','2016-10-04 11:46:31'),(1124,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000004\', 22, \'GULA\', \'33448\', 25.5, 1, \'1\', \'25.5\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.012170791625977','2016-10-04 11:46:31'),(1125,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000004\', 23, \'SIRAP\', \'33439\', 10, 1, \'1\', \'10\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.012319087982178','2016-10-04 11:46:31'),(1126,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000004\', 24, \'SIRAP\', \'33448\', 10, 1, \'1\', \'10\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.012183904647827','2016-10-04 11:46:31'),(1127,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 2737, `total_amount_cr` = 2737, `total_amount` = 0 WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000004\'','expenses/fnSaveExpenses','0.020716905593872','2016-10-04 11:46:31'),(1128,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  36','expenses/fnSaveExpenses','0.016831159591675','2016-10-04 11:46:31'),(1129,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  78','expenses/fnSaveExpenses','0.011852979660034','2016-10-04 11:46:31'),(1130,16,1,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000004\'','expenses/fnSaveExpenses','0.01267409324646','2016-10-04 11:46:31'),(1131,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.020733118057251','2016-10-04 11:46:31'),(1132,16,1,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'16\', \'8\', \'33448\', \'2016\', \'10\', \'889\', \'0\', 889, \'1\', \'2016-10-04: 05:10:30\')','expenses/fnSaveExpenses','0.021276950836182','2016-10-04 11:46:31'),(1133,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.011806011199951','2016-10-04 11:46:31'),(1134,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.032835960388184','2016-10-04 11:46:31'),(1135,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.028014898300171','2016-10-04 11:46:31'),(1136,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.028717041015625','2016-10-04 11:46:31'),(1137,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.011359214782715','2016-10-04 11:46:31'),(1138,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.012073040008545','2016-10-04 11:46:31'),(1139,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.011291027069092','2016-10-04 11:46:31'),(1140,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.01209020614624','2016-10-04 11:46:31'),(1141,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.011361122131348','2016-10-04 11:46:31'),(1142,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.012087106704712','2016-10-04 11:46:31'),(1143,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.011379957199097','2016-10-04 11:46:31'),(1144,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.012082099914551','2016-10-04 11:46:31'),(1145,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.020867824554443','2016-10-04 11:46:31'),(1146,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.010663032531738','2016-10-04 11:46:31'),(1147,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.01163911819458','2016-10-04 11:46:31'),(1148,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.011794090270996','2016-10-04 11:46:31'),(1149,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.011656045913696','2016-10-04 11:46:31'),(1150,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.011795043945312','2016-10-04 11:46:31'),(1151,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.01166296005249','2016-10-04 11:46:31'),(1152,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.011826992034912','2016-10-04 11:46:31'),(1153,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.019983053207397','2016-10-04 11:46:31'),(1154,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.01201605796814','2016-10-04 11:46:31'),(1155,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'16\', `createdBy` = \'1\', `otherPaymentType` = 1, `accountID` = \'33448\', `paymentMethodID` = \'68\', `amountPaid` = \'2727\', `formNo` = \'OP-C\', `paymentDate` = \'2016-10-01\', `bankId` = \'189\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  36','expenses/fnSaveExpenses','0.022881984710693','2016-10-04 11:47:16'),(1156,16,1,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 36, `createdBy` = \'1\', `itemdescription` = \'AYAM\', `lineNo` = 1, `accountID` = \'33448\', `amountIncludedTax` = \'889\', `amountExcludedTax` = \'889\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'44\'','expenses/fnSaveExpenses','0.00020503997802734','2016-10-04 11:47:17'),(1157,16,1,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 36, `createdBy` = \'1\', `itemdescription` = \'DAGING\', `lineNo` = 1, `accountID` = \'33448\', `amountIncludedTax` = \'1055\', `amountExcludedTax` = \'1055\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'45\'','expenses/fnSaveExpenses','0.00010013580322266','2016-10-04 11:47:17'),(1158,16,1,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 36, `createdBy` = \'1\', `itemdescription` = \'TEMPE\', `lineNo` = 1, `accountID` = \'33448\', `amountIncludedTax` = \'50\', `amountExcludedTax` = \'50\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'46\'','expenses/fnSaveExpenses','0.000094175338745117','2016-10-04 11:47:17'),(1159,16,1,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 36, `createdBy` = \'1\', `itemdescription` = \'SUHOON\', `lineNo` = 1, `accountID` = \'33448\', `amountIncludedTax` = \'25\', `amountExcludedTax` = \'25\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'47\'','expenses/fnSaveExpenses','0.000092983245849609','2016-10-04 11:47:17'),(1160,16,1,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 36, `createdBy` = \'1\', `itemdescription` = \'CILI2\', `lineNo` = 1, `accountID` = \'33448\', `amountIncludedTax` = \'50\', `amountExcludedTax` = \'50\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'48\'','expenses/fnSaveExpenses','0.000092029571533203','2016-10-04 11:47:17'),(1161,16,1,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 36, `createdBy` = \'1\', `itemdescription` = \'REMPAH2\', `lineNo` = 1, `accountID` = \'33448\', `amountIncludedTax` = \'150\', `amountExcludedTax` = \'150\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'49\'','expenses/fnSaveExpenses','0.000092029571533203','2016-10-04 11:47:17'),(1162,16,1,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 36, `createdBy` = \'1\', `itemdescription` = \'BERAS 50KG\', `lineNo` = 1, `accountID` = \'33448\', `amountIncludedTax` = \'128\', `amountExcludedTax` = \'128\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'50\'','expenses/fnSaveExpenses','0.000092983245849609','2016-10-04 11:47:17'),(1163,16,1,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 36, `createdBy` = \'1\', `itemdescription` = \'BERAS BASMATHI\', `lineNo` = 1, `accountID` = \'33448\', `amountIncludedTax` = \'179.5\', `amountExcludedTax` = \'179.5\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'51\'','expenses/fnSaveExpenses','0.000092029571533203','2016-10-04 11:47:17'),(1164,16,1,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 36, `createdBy` = \'1\', `itemdescription` = \'BUAH2 JERUK ACAR\', `lineNo` = 1, `accountID` = \'33448\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'52\'','expenses/fnSaveExpenses','0.000091791152954102','2016-10-04 11:47:17'),(1165,16,1,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 36, `createdBy` = \'1\', `itemdescription` = \'TEMBIKAI & SUNKIST\', `lineNo` = 1, `accountID` = \'33448\', `amountIncludedTax` = \'75\', `amountExcludedTax` = \'75\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'53\'','expenses/fnSaveExpenses','0.000091791152954102','2016-10-04 11:47:17'),(1166,16,1,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 36, `createdBy` = \'1\', `itemdescription` = \'GULA\', `lineNo` = 1, `accountID` = \'33448\', `amountIncludedTax` = \'25.5\', `amountExcludedTax` = \'25.5\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'54\'','expenses/fnSaveExpenses','0.000092029571533203','2016-10-04 11:47:17'),(1167,16,1,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  \'304\'','expenses/fnSaveExpenses','0.01288104057312','2016-10-04 11:47:17'),(1168,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000005\' WHERE `ID` =  36','expenses/fnSaveExpenses','0.012838840484619','2016-10-04 11:47:17'),(1169,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'16\', \'AP20161000000005\', \'Cost of Goods Sold [OP-C[00000002]]\', \'Cost of Goods Sold [OP-C[00000002]]\', \'\', \'3\', \'2016-10-01\', \'16\', \'10\', 2727, 2727, \'1\')','expenses/fnSaveExpenses','0.01129412651062','2016-10-04 11:47:17'),(1170,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000005\', 1, \'AYAM\', \'33439\', 889, 1, \'1\', \'889\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.012732028961182','2016-10-04 11:47:17'),(1171,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000005\', 2, \'AYAM\', \'33448\', 889, 1, \'1\', \'889\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.011770963668823','2016-10-04 11:47:17'),(1172,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000005\', 3, \'DAGING\', \'33439\', 1055, 1, \'1\', \'1055\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.012744903564453','2016-10-04 11:47:17'),(1173,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000005\', 4, \'DAGING\', \'33448\', 1055, 1, \'1\', \'1055\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.011787891387939','2016-10-04 11:47:17'),(1174,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000005\', 5, \'TEMPE\', \'33439\', 50, 1, \'1\', \'50\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.012741804122925','2016-10-04 11:47:17'),(1175,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000005\', 6, \'TEMPE\', \'33448\', 50, 1, \'1\', \'50\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.011769771575928','2016-10-04 11:47:17'),(1176,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000005\', 7, \'SUHOON\', \'33439\', 25, 1, \'1\', \'25\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.016104936599731','2016-10-04 11:47:17'),(1177,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000005\', 8, \'SUHOON\', \'33448\', 25, 1, \'1\', \'25\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.0084490776062012','2016-10-04 11:47:17'),(1178,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000005\', 9, \'CILI2\', \'33439\', 50, 1, \'1\', \'50\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.0078039169311523','2016-10-04 11:47:17'),(1179,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000005\', 10, \'CILI2\', \'33448\', 50, 1, \'1\', \'50\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.016738891601562','2016-10-04 11:47:17'),(1180,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000005\', 11, \'REMPAH2\', \'33439\', 150, 1, \'1\', \'150\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.012704849243164','2016-10-04 11:47:17'),(1181,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000005\', 12, \'REMPAH2\', \'33448\', 150, 1, \'1\', \'150\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.011810779571533','2016-10-04 11:47:17'),(1182,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000005\', 13, \'BERAS 50KG\', \'33439\', 128, 1, \'1\', \'128\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.012688159942627','2016-10-04 11:47:17'),(1183,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000005\', 14, \'BERAS 50KG\', \'33448\', 128, 1, \'1\', \'128\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.011837005615234','2016-10-04 11:47:17'),(1184,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000005\', 15, \'BERAS BASMATHI\', \'33439\', 179.5, 1, \'1\', \'179.5\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.01306414604187','2016-10-04 11:47:17'),(1185,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000005\', 16, \'BERAS BASMATHI\', \'33448\', 179.5, 1, \'1\', \'179.5\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.10310387611389','2016-10-04 11:47:17'),(1186,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000005\', 17, \'BUAH2 JERUK ACAR\', \'33439\', 100, 1, \'1\', \'100\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.007763147354126','2016-10-04 11:47:17'),(1187,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000005\', 18, \'BUAH2 JERUK ACAR\', \'33448\', 100, 1, \'1\', \'100\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.0083940029144287','2016-10-04 11:47:17'),(1188,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000005\', 19, \'TEMBIKAI & SUNKIST\', \'33439\', 75, 1, \'1\', \'75\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.012686967849731','2016-10-04 11:47:17'),(1189,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000005\', 20, \'TEMBIKAI & SUNKIST\', \'33448\', 75, 1, \'1\', \'75\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.011833906173706','2016-10-04 11:47:17'),(1190,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000005\', 21, \'GULA\', \'33439\', 25.5, 1, \'1\', \'25.5\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.01613187789917','2016-10-04 11:47:17'),(1191,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000005\', 22, \'GULA\', \'33448\', 25.5, 1, \'1\', \'25.5\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.0083811283111572','2016-10-04 11:47:17'),(1192,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 2727, `total_amount_cr` = 2727, `total_amount` = 0 WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000005\'','expenses/fnSaveExpenses','0.0078868865966797','2016-10-04 11:47:17'),(1193,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  36','expenses/fnSaveExpenses','0.0085070133209229','2016-10-04 11:47:17'),(1194,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  79','expenses/fnSaveExpenses','0.012820959091187','2016-10-04 11:47:17'),(1195,16,1,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000005\'','expenses/fnSaveExpenses','0.011830806732178','2016-10-04 11:47:17'),(1196,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.018970966339111','2016-10-04 11:47:17'),(1197,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.011237144470215','2016-10-04 11:47:17'),(1198,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.012400150299072','2016-10-04 11:47:17'),(1199,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.011243104934692','2016-10-04 11:47:17'),(1200,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.012399911880493','2016-10-04 11:47:17'),(1201,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.011283874511719','2016-10-04 11:47:17'),(1202,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.012367963790894','2016-10-04 11:47:17'),(1203,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.011330127716064','2016-10-04 11:47:17'),(1204,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.015668869018555','2016-10-04 11:47:17'),(1205,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.012674808502197','2016-10-04 11:47:17'),(1206,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.011011838912964','2016-10-04 11:47:17'),(1207,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.012663125991821','2016-10-04 11:47:17'),(1208,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.010987997055054','2016-10-04 11:47:17'),(1209,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.012665987014771','2016-10-04 11:47:17'),(1210,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.010999917984009','2016-10-04 11:47:17'),(1211,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.0079400539398193','2016-10-04 11:47:17'),(1212,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.012386083602905','2016-10-04 11:47:17'),(1213,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.01132607460022','2016-10-04 11:47:17'),(1214,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.012328863143921','2016-10-04 11:47:17'),(1215,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.011302947998047','2016-10-04 11:47:17'),(1216,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.012353897094727','2016-10-04 11:47:17'),(1217,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.011312007904053','2016-10-04 11:47:17'),(1218,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'16\', `createdBy` = \'1\', `otherPaymentType` = 1, `accountID` = \'33448\', `paymentMethodID` = \'68\', `amountPaid` = \'2807\', `formNo` = \'OP-C\', `paymentDate` = \'2016-10-01\', `bankId` = \'189\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  36','expenses/fnSaveExpenses','0.018232107162476','2016-10-04 11:48:05'),(1219,16,1,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 36, `createdBy` = \'1\', `itemdescription` = \'AYAM\', `lineNo` = 1, `accountID` = \'33448\', `amountIncludedTax` = \'889\', `amountExcludedTax` = \'889\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'44\'','expenses/fnSaveExpenses','0.00024700164794922','2016-10-04 11:48:05'),(1220,16,1,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 36, `createdBy` = \'1\', `itemdescription` = \'DAGING\', `lineNo` = 1, `accountID` = \'33448\', `amountIncludedTax` = \'1055\', `amountExcludedTax` = \'1055\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'45\'','expenses/fnSaveExpenses','0.00012898445129395','2016-10-04 11:48:05'),(1221,16,1,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 36, `createdBy` = \'1\', `itemdescription` = \'TEMPE\', `lineNo` = 1, `accountID` = \'33448\', `amountIncludedTax` = \'50\', `amountExcludedTax` = \'50\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'46\'','expenses/fnSaveExpenses','0.00011992454528809','2016-10-04 11:48:05'),(1222,16,1,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 36, `createdBy` = \'1\', `itemdescription` = \'SUHOON\', `lineNo` = 1, `accountID` = \'33448\', `amountIncludedTax` = \'25\', `amountExcludedTax` = \'25\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'47\'','expenses/fnSaveExpenses','0.0001060962677002','2016-10-04 11:48:05'),(1223,16,1,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 36, `createdBy` = \'1\', `itemdescription` = \'CILI2\', `lineNo` = 1, `accountID` = \'33448\', `amountIncludedTax` = \'50\', `amountExcludedTax` = \'50\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'48\'','expenses/fnSaveExpenses','0.00010299682617188','2016-10-04 11:48:05'),(1224,16,1,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 36, `createdBy` = \'1\', `itemdescription` = \'REMPAH2\', `lineNo` = 1, `accountID` = \'33448\', `amountIncludedTax` = \'150\', `amountExcludedTax` = \'150\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'49\'','expenses/fnSaveExpenses','0.000098943710327148','2016-10-04 11:48:05'),(1225,16,1,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 36, `createdBy` = \'1\', `itemdescription` = \'BERAS 50KG\', `lineNo` = 1, `accountID` = \'33448\', `amountIncludedTax` = \'128\', `amountExcludedTax` = \'128\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'50\'','expenses/fnSaveExpenses','0.000097990036010742','2016-10-04 11:48:05'),(1226,16,1,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 36, `createdBy` = \'1\', `itemdescription` = \'BERAS BASMATHI\', `lineNo` = 1, `accountID` = \'33448\', `amountIncludedTax` = \'179.5\', `amountExcludedTax` = \'179.5\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'51\'','expenses/fnSaveExpenses','0.000097036361694336','2016-10-04 11:48:05'),(1227,16,1,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 36, `createdBy` = \'1\', `itemdescription` = \'BUAH2 JERUK ACAR\', `lineNo` = 1, `accountID` = \'33448\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'52\'','expenses/fnSaveExpenses','0.000097036361694336','2016-10-04 11:48:05'),(1228,16,1,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 36, `createdBy` = \'1\', `itemdescription` = \'TEMBIKAI & SUNKIST\', `lineNo` = 1, `accountID` = \'33448\', `amountIncludedTax` = \'75\', `amountExcludedTax` = \'75\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'53\'','expenses/fnSaveExpenses','0.00009608268737793','2016-10-04 11:48:05'),(1229,16,1,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 36, `createdBy` = \'1\', `itemdescription` = \'GULA\', `lineNo` = 1, `accountID` = \'33448\', `amountIncludedTax` = \'25.5\', `amountExcludedTax` = \'25.5\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'54\'','expenses/fnSaveExpenses','0.000095129013061523','2016-10-04 11:48:05'),(1230,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (36, \'1\', \'SIRAP\', 1, \'33448\', \'10\', \'10\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.029850006103516','2016-10-04 11:48:05'),(1231,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (36, \'1\', \'SUSU CAIR\', 1, \'33448\', \'50\', \'50\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0084459781646729','2016-10-04 11:48:05'),(1232,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (36, \'1\', \'TEH SERBUK\', 1, \'33448\', \'20\', \'20\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016222953796387','2016-10-04 11:48:05'),(1233,16,1,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  \'304\'','expenses/fnSaveExpenses','0.023096084594727','2016-10-04 11:48:05'),(1234,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000006\' WHERE `ID` =  36','expenses/fnSaveExpenses','0.010869979858398','2016-10-04 11:48:05'),(1235,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'16\', \'AP20161000000006\', \'Cost of Goods Sold [OP-C[00000002]]\', \'Cost of Goods Sold [OP-C[00000002]]\', \'\', \'3\', \'2016-10-01\', \'16\', \'10\', 2807, 2807, \'1\')','expenses/fnSaveExpenses','0.0078740119934082','2016-10-04 11:48:05'),(1236,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000006\', 1, \'AYAM\', \'33439\', 889, 1, \'1\', \'889\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.0077729225158691','2016-10-04 11:48:05'),(1237,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000006\', 2, \'AYAM\', \'33448\', 889, 1, \'1\', \'889\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.0083539485931396','2016-10-04 11:48:05'),(1238,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000006\', 3, \'DAGING\', \'33439\', 1055, 1, \'1\', \'1055\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.016155004501343','2016-10-04 11:48:05'),(1239,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000006\', 4, \'DAGING\', \'33448\', 1055, 1, \'1\', \'1055\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.0083549022674561','2016-10-04 11:48:05'),(1240,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000006\', 5, \'TEMPE\', \'33439\', 50, 1, \'1\', \'50\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.016141176223755','2016-10-04 11:48:05'),(1241,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000006\', 6, \'TEMPE\', \'33448\', 50, 1, \'1\', \'50\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.0083777904510498','2016-10-04 11:48:05'),(1242,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000006\', 7, \'SUHOON\', \'33439\', 25, 1, \'1\', \'25\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.0077860355377197','2016-10-04 11:48:05'),(1243,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000006\', 8, \'SUHOON\', \'33448\', 25, 1, \'1\', \'25\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.0083940029144287','2016-10-04 11:48:05'),(1244,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000006\', 9, \'CILI2\', \'33439\', 50, 1, \'1\', \'50\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.0077881813049316','2016-10-04 11:48:05'),(1245,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000006\', 10, \'CILI2\', \'33448\', 50, 1, \'1\', \'50\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.0083911418914795','2016-10-04 11:48:05'),(1246,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000006\', 11, \'REMPAH2\', \'33439\', 150, 1, \'1\', \'150\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.0077798366546631','2016-10-04 11:48:05'),(1247,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000006\', 12, \'REMPAH2\', \'33448\', 150, 1, \'1\', \'150\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.0083968639373779','2016-10-04 11:48:05'),(1248,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000006\', 13, \'BERAS 50KG\', \'33439\', 128, 1, \'1\', \'128\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.007789134979248','2016-10-04 11:48:05'),(1249,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000006\', 14, \'BERAS 50KG\', \'33448\', 128, 1, \'1\', \'128\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.0083820819854736','2016-10-04 11:48:05'),(1250,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000006\', 15, \'BERAS BASMATHI\', \'33439\', 179.5, 1, \'1\', \'179.5\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.016155004501343','2016-10-04 11:48:05'),(1251,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000006\', 16, \'BERAS BASMATHI\', \'33448\', 179.5, 1, \'1\', \'179.5\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.0083551406860352','2016-10-04 11:48:05'),(1252,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000006\', 17, \'BUAH2 JERUK ACAR\', \'33439\', 100, 1, \'1\', \'100\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.007781982421875','2016-10-04 11:48:05'),(1253,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000006\', 18, \'BUAH2 JERUK ACAR\', \'33448\', 100, 1, \'1\', \'100\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.0083889961242676','2016-10-04 11:48:05'),(1254,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000006\', 19, \'TEMBIKAI & SUNKIST\', \'33439\', 75, 1, \'1\', \'75\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.0077939033508301','2016-10-04 11:48:05'),(1255,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000006\', 20, \'TEMBIKAI & SUNKIST\', \'33448\', 75, 1, \'1\', \'75\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.008368968963623','2016-10-04 11:48:05'),(1256,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000006\', 21, \'GULA\', \'33439\', 25.5, 1, \'1\', \'25.5\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.016138076782227','2016-10-04 11:48:05'),(1257,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000006\', 22, \'GULA\', \'33448\', 25.5, 1, \'1\', \'25.5\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.008389949798584','2016-10-04 11:48:05'),(1258,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000006\', 23, \'SIRAP\', \'33439\', 10, 1, \'1\', \'10\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.016098022460938','2016-10-04 11:48:05'),(1259,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000006\', 24, \'SIRAP\', \'33448\', 10, 1, \'1\', \'10\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.0083961486816406','2016-10-04 11:48:05'),(1260,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000006\', 25, \'SUSU CAIR\', \'33439\', 50, 1, \'1\', \'50\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.016119003295898','2016-10-04 11:48:05'),(1261,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000006\', 26, \'SUSU CAIR\', \'33448\', 50, 1, \'1\', \'50\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.0083580017089844','2016-10-04 11:48:05'),(1262,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000006\', 27, \'TEH SERBUK\', \'33439\', 20, 1, \'1\', \'20\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.016136884689331','2016-10-04 11:48:05'),(1263,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000006\', 28, \'TEH SERBUK\', \'33448\', 20, 1, \'1\', \'20\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'1\')','expenses/fnSaveExpenses','0.0083770751953125','2016-10-04 11:48:05'),(1264,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 2807, `total_amount_cr` = 2807, `total_amount` = 0 WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000006\'','expenses/fnSaveExpenses','0.01620888710022','2016-10-04 11:48:05'),(1265,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  36','expenses/fnSaveExpenses','0.0084960460662842','2016-10-04 11:48:05'),(1266,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  80','expenses/fnSaveExpenses','0.016163110733032','2016-10-04 11:48:05'),(1267,16,1,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000006\'','expenses/fnSaveExpenses','0.0084681510925293','2016-10-04 11:48:06'),(1268,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.020925998687744','2016-10-04 11:48:06'),(1269,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.0078718662261963','2016-10-04 11:48:06'),(1270,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.015666007995605','2016-10-04 11:48:06'),(1271,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.0078890323638916','2016-10-04 11:48:06'),(1272,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.015655994415283','2016-10-04 11:48:06'),(1273,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.030045986175537','2016-10-04 11:48:06'),(1274,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.018548011779785','2016-10-04 11:48:06'),(1275,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.0078787803649902','2016-10-04 11:48:06'),(1276,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.013129949569702','2016-10-04 11:48:06'),(1277,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.010457992553711','2016-10-04 11:48:06'),(1278,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.015691041946411','2016-10-04 11:48:06'),(1279,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.0078930854797363','2016-10-04 11:48:06'),(1280,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.013092041015625','2016-10-04 11:48:06'),(1281,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.010506153106689','2016-10-04 11:48:06'),(1282,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.095862865447998','2016-10-04 11:48:06'),(1283,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.027296781539917','2016-10-04 11:48:06'),(1284,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.024243116378784','2016-10-04 11:48:06'),(1285,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.021666049957275','2016-10-04 11:48:06'),(1286,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.018525838851929','2016-10-04 11:48:06'),(1287,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.0078887939453125','2016-10-04 11:48:06'),(1288,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.015633106231689','2016-10-04 11:48:06'),(1289,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.0079119205474854','2016-10-04 11:48:06'),(1290,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.015666961669922','2016-10-04 11:48:06'),(1291,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.02255916595459','2016-10-04 11:48:06'),(1292,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.014937877655029','2016-10-04 11:48:06'),(1293,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.010486841201782','2016-10-04 11:48:06'),(1294,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.015664100646973','2016-10-04 11:48:06'),(1295,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.0079100131988525','2016-10-04 11:48:06'),(1296,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'16\', \'1\', 1, 0, \'68\', \'500\', \'OP-A\', \'2016-10-04\', \'189\', \'1\')','expenses/fnSaveExpenses','0.067903995513916','2016-10-04 11:49:35'),(1297,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (37, \'1\', \'TRAY & BEKAS NASI\', 1, \'33425\', \'500\', \'500\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.040959119796753','2016-10-04 11:49:35'),(1298,16,1,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 7 WHERE `ID` =  \'304\'','expenses/fnSaveExpenses','0.036081075668335','2016-10-04 11:49:35'),(1299,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000007\' WHERE `ID` =  37','expenses/fnSaveExpenses','0.029064893722534','2016-10-04 11:49:35'),(1300,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'16\', \'AP20161000000007\', \'Purchase of Fixed Asset [OP-A[00000003]]\', \'Purchase of Fixed Asset [OP-A[00000003]]\', \'\', \'3\', \'2016-10-04\', \'16\', \'10\', 500, 500, \'1\')','expenses/fnSaveExpenses','0.016878128051758','2016-10-04 11:49:35'),(1301,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000007\', 1, \'TRAY & BEKAS NASI\', \'33439\', 500, 1, \'1\', \'500\', \'10\', \'16\', \'1\', \'OP-A[00000003]\', \'1\')','expenses/fnSaveExpenses','0.016095161437988','2016-10-04 11:49:35'),(1302,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000007\', 2, \'TRAY & BEKAS NASI\', \'33425\', 500, 1, \'1\', \'500\', \'10\', \'16\', \'1\', \'OP-A[00000003]\', \'1\')','expenses/fnSaveExpenses','0.016696214675903','2016-10-04 11:49:35'),(1303,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 500, `total_amount_cr` = 500, `total_amount` = 0 WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000007\'','expenses/fnSaveExpenses','0.016212940216064','2016-10-04 11:49:35'),(1304,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  37','expenses/fnSaveExpenses','0.016829967498779','2016-10-04 11:49:35'),(1305,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  81','expenses/fnSaveExpenses','0.016093015670776','2016-10-04 11:49:35'),(1306,16,1,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000007\'','expenses/fnSaveExpenses','0.016768932342529','2016-10-04 11:49:35'),(1307,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.020471811294556','2016-10-04 11:49:35'),(1308,16,1,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'16\', \'2\', \'33425\', \'2016\', \'10\', \'500\', \'0\', 500, \'1\', \'2016-10-04: 05:10:35\')','expenses/fnSaveExpenses','0.01596999168396','2016-10-04 11:49:35'),(1309,16,1,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-10-02\', \'186\', \'OR\', \'13500.00\', \'16\')','sales/save_new_sale','0.099296092987061','2016-10-04 11:51:19'),(1310,16,1,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (14, \'33447\', \'PAKEJ BRONZE\', \'13500.00\', 1)','sales/save_new_sale','0.050130844116211','2016-10-04 11:51:19'),(1311,16,1,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  14','sales/save_new_sale','0.00020408630371094','2016-10-04 11:51:19'),(1312,16,1,'192.168.1.201','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'16\', \'2\', \'2016\', \'10\', \'AR\', 1)','sales/save_new_sale','0.1479070186615','2016-10-04 11:51:19'),(1313,16,1,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20161000000001\' WHERE `ID` =  14','sales/save_new_sale','0.022682189941406','2016-10-04 11:51:19'),(1314,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'16\', \'AR20161000000001\', \'OR[00000001]\', \'Sales [ OR[00000001] ]\', \'\', \'2\', \'2016-10-02\', \'2016\', \'10\', \'13500\', \'13500\', \'1\')','sales/save_new_sale','0.016489028930664','2016-10-04 11:51:19'),(1315,16,1,'192.168.1.201','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 (\'16\', \'AR20161000000001\', 1, \'PAKEJ BRONZE\', \'33447\', \'\', 13500, \'1\', \'1\', \'13500\', \'10\', \'2016\', \'1\', \'OR[00000001]\', \'0\', \'1\')','sales/save_new_sale','0.016649961471558','2016-10-04 11:51:19'),(1316,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'16\', 2, \'AR20161000000001\', \'PAKEJ BRONZE\', \'33436\', \'\', 13500, \'1\', \'1\', \'13500\', \'10\', \'2016\', \'OR[00000001]\', \'1\', \'0\', \'1\')','sales/save_new_sale','0.016093969345093','2016-10-04 11:51:19'),(1317,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 13500, `total_amount_cr` = 13500, `total_amount` = 0 WHERE `companyID` =  \'16\' AND `journalID` =  \'AR20161000000001\'','sales/save_new_sale','0.016749143600464','2016-10-04 11:51:19'),(1318,16,1,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  14','sales/save_new_sale','0.016240835189819','2016-10-04 11:51:19'),(1319,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  82','sales/save_new_sale','0.016857147216797','2016-10-04 11:51:19'),(1320,16,1,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'16\' AND `journalID` =  \'AR20161000000001\'','sales/save_new_sale','0.016193151473999','2016-10-04 11:51:19'),(1321,16,1,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'16\', \'7\', \'33447\', \'2016\', \'10\', \'0\', \'13500\', -13500, \'1\', \'2016-10-04: 05:10:19\')','sales/save_new_sale','0.015559911727905','2016-10-04 11:51:19'),(1322,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33436\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_new_sale','0.015632152557373','2016-10-04 11:51:19'),(1323,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-10-07\', \'186\', \'2000\', \'TT\', \'189\', \'16\', 3)','transfer/newTransfer','0.11699509620667','2016-10-04 11:55:25'),(1324,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (38, \'33439\', \'2000\', \'MODAL 8/10/2016\')','transfer/newTransfer','0.01848292350769','2016-10-04 11:55:25'),(1325,16,1,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 8 WHERE `ID` =  \'304\'','transfer/newTransfer','0.026113033294678','2016-10-04 11:55:25'),(1326,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000008\' WHERE `ID` =  38','transfer/newTransfer','0.01619291305542','2016-10-04 11:55:25'),(1327,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'16\', \'AP20161000000008\', \' [TT[00000004]]]\', \'Bank Transfer [  [TT[00000004]]] ]\', \'\', \'3\', \'2016-10-07\', \'2016\', \'10\', 2000, 2000, \'1\')','transfer/newTransfer','0.012548923492432','2016-10-04 11:55:25'),(1328,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000008\', 1, \'MODAL 8/10/2016\', \'33436\', 2000, 1, \'1\', \'2000\', \'10\', \'2016\', \'0\', \'TT[00000004]\', \'1\')','transfer/newTransfer','0.051947116851807','2016-10-04 11:55:25'),(1329,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000008\', 2, \'MODAL 8/10/2016\', \'33439\', 2000, 1, \'1\', \'2000\', \'10\', \'2016\', \'0\', \'TT[00000004]\', \'1\')','transfer/newTransfer','0.047485113143921','2016-10-04 11:55:26'),(1330,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 2000, `total_amount_cr` = 2000, `total_amount` = 0 WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000008\'','transfer/newTransfer','0.052073001861572','2016-10-04 11:55:26'),(1331,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  38','transfer/newTransfer','0.033198118209839','2016-10-04 11:55:26'),(1332,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  83','transfer/newTransfer','0.041524171829224','2016-10-04 11:55:26'),(1333,16,1,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000008\'','transfer/newTransfer','0.016198873519897','2016-10-04 11:55:26'),(1334,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33436\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','transfer/newTransfer','0.015896081924438','2016-10-04 11:55:26'),(1335,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','transfer/newTransfer','0.015664100646973','2016-10-04 11:55:26'),(1336,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'16\', \'1\', 1, \'33448\', \'68\', \'2500\', \'OP-C\', \'2016-10-04\', \'189\', \'1\')','expenses/fnSaveExpenses','0.025657892227173','2016-10-04 11:56:26'),(1337,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (39, \'1\', \'ITEM AS AT 1/10/2016\', 1, \'33448\', \'2500\', \'2500\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016787052154541','2016-10-04 11:56:27'),(1338,16,1,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 9 WHERE `ID` =  \'304\'','expenses/fnSaveExpenses','0.050857067108154','2016-10-04 11:56:27'),(1339,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000009\' WHERE `ID` =  39','expenses/fnSaveExpenses','0.035136222839355','2016-10-04 11:56:27'),(1340,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'16\', \'AP20161000000009\', \'Cost of Goods Sold [OP-C[00000005]]\', \'Cost of Goods Sold [OP-C[00000005]]\', \'\', \'3\', \'2016-10-04\', \'16\', \'10\', 2500, 2500, \'1\')','expenses/fnSaveExpenses','0.037415027618408','2016-10-04 11:56:27'),(1341,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000009\', 1, \'ITEM AS AT 1/10/2016\', \'33439\', 2500, 1, \'1\', \'2500\', \'10\', \'16\', \'1\', \'OP-C[00000005]\', \'1\')','expenses/fnSaveExpenses','0.03532886505127','2016-10-04 11:56:27'),(1342,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000009\', 2, \'ITEM AS AT 1/10/2016\', \'33448\', 2500, 1, \'1\', \'2500\', \'10\', \'16\', \'1\', \'OP-C[00000005]\', \'1\')','expenses/fnSaveExpenses','0.033051013946533','2016-10-04 11:56:27'),(1343,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 2500, `total_amount_cr` = 2500, `total_amount` = 0 WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000009\'','expenses/fnSaveExpenses','0.033160924911499','2016-10-04 11:56:27'),(1344,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  39','expenses/fnSaveExpenses','0.033215045928955','2016-10-04 11:56:27'),(1345,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  84','expenses/fnSaveExpenses','0.13297295570374','2016-10-04 11:56:27'),(1346,16,1,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000009\'','expenses/fnSaveExpenses','0.049833059310913','2016-10-04 11:56:27'),(1347,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.032192945480347','2016-10-04 11:56:27'),(1348,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.057316064834595','2016-10-04 11:56:27'),(1349,16,1,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-10-04\', \'186\', \'OR\', \'13500.00\', \'16\')','sales/save_new_sale','0.039312124252319','2016-10-04 11:57:19'),(1350,16,1,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (15, \'33447\', \'PAKEJ BRONZE\', \'13500.00\', 1)','sales/save_new_sale','0.041815042495728','2016-10-04 11:57:19'),(1351,16,1,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  15','sales/save_new_sale','0.0001978874206543','2016-10-04 11:57:19'),(1352,16,1,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'305\'','sales/save_new_sale','0.025892019271851','2016-10-04 11:57:19'),(1353,16,1,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20161000000002\' WHERE `ID` =  15','sales/save_new_sale','0.02299976348877','2016-10-04 11:57:19'),(1354,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'16\', \'AR20161000000002\', \'OR[00000002]\', \'Sales [ OR[00000002] ]\', \'\', \'2\', \'2016-10-04\', \'2016\', \'10\', \'13500\', \'13500\', \'1\')','sales/save_new_sale','0.022802114486694','2016-10-04 11:57:19'),(1355,16,1,'192.168.1.201','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 (\'16\', \'AR20161000000002\', 1, \'PAKEJ BRONZE\', \'33447\', \'\', 13500, \'1\', \'1\', \'13500\', \'10\', \'2016\', \'1\', \'OR[00000002]\', \'0\', \'1\')','sales/save_new_sale','0.018518924713135','2016-10-04 11:57:19'),(1356,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'16\', 2, \'AR20161000000002\', \'PAKEJ BRONZE\', \'33436\', \'\', 13500, \'1\', \'1\', \'13500\', \'10\', \'2016\', \'OR[00000002]\', \'1\', \'0\', \'1\')','sales/save_new_sale','0.016104936599731','2016-10-04 11:57:19'),(1357,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 13500, `total_amount_cr` = 13500, `total_amount` = 0 WHERE `companyID` =  \'16\' AND `journalID` =  \'AR20161000000002\'','sales/save_new_sale','0.01677393913269','2016-10-04 11:57:19'),(1358,16,1,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  15','sales/save_new_sale','0.016266107559204','2016-10-04 11:57:19'),(1359,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  85','sales/save_new_sale','0.033519983291626','2016-10-04 11:57:19'),(1360,16,1,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'16\' AND `journalID` =  \'AR20161000000002\'','sales/save_new_sale','0.041461229324341','2016-10-04 11:57:19'),(1361,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33447\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_new_sale','0.09858512878418','2016-10-04 11:57:19'),(1362,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33436\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_new_sale','0.049245119094849','2016-10-04 11:57:19'),(1363,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'16\', `createdBy` = \'1\', `otherPaymentType` = 1, `accountID` = \'33448\', `paymentMethodID` = \'68\', `amountPaid` = \'2500\', `formNo` = \'OP-C\', `paymentDate` = \'2016-10-07\', `bankId` = \'189\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  39','expenses/fnSaveExpenses','0.016330003738403','2016-10-04 11:58:00'),(1364,16,1,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 39, `createdBy` = \'1\', `itemdescription` = \'ITEM AS AT 1/10/2016\', `lineNo` = 1, `accountID` = \'33448\', `amountIncludedTax` = \'2500\', `amountExcludedTax` = \'2500\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'61\'','expenses/fnSaveExpenses','0.0001981258392334','2016-10-04 11:58:00'),(1365,16,1,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 10 WHERE `ID` =  \'304\'','expenses/fnSaveExpenses','0.03431510925293','2016-10-04 11:58:00'),(1366,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000010\' WHERE `ID` =  39','expenses/fnSaveExpenses','0.018609046936035','2016-10-04 11:58:00'),(1367,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'16\', \'AP20161000000010\', \'Cost of Goods Sold [OP-C[00000005]]\', \'Cost of Goods Sold [OP-C[00000005]]\', \'\', \'3\', \'2016-10-07\', \'16\', \'10\', 2500, 2500, \'1\')','expenses/fnSaveExpenses','0.023994922637939','2016-10-04 11:58:00'),(1368,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000010\', 1, \'ITEM AS AT 1/10/2016\', \'33439\', 2500, 1, \'1\', \'2500\', \'10\', \'16\', \'1\', \'OP-C[00000005]\', \'1\')','expenses/fnSaveExpenses','0.016671180725098','2016-10-04 11:58:00'),(1369,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000010\', 2, \'ITEM AS AT 1/10/2016\', \'33448\', 2500, 1, \'1\', \'2500\', \'10\', \'16\', \'1\', \'OP-C[00000005]\', \'1\')','expenses/fnSaveExpenses','0.01613187789917','2016-10-04 11:58:00'),(1370,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 2500, `total_amount_cr` = 2500, `total_amount` = 0 WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000010\'','expenses/fnSaveExpenses','0.016783952713013','2016-10-04 11:58:00'),(1371,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  39','expenses/fnSaveExpenses','0.016260147094727','2016-10-04 11:58:00'),(1372,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  86','expenses/fnSaveExpenses','0.016752004623413','2016-10-04 11:58:00'),(1373,16,1,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000010\'','expenses/fnSaveExpenses','0.032881021499634','2016-10-04 11:58:00'),(1374,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.030470132827759','2016-10-04 11:58:00'),(1375,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.034698009490967','2016-10-04 11:58:00'),(1376,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-10-08\', \'186\', \'5000\', \'TT\', \'189\', \'16\', 3)','transfer/newTransfer','0.10336804389954','2016-10-04 11:59:43'),(1377,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (40, \'33439\', \'5000\', \'MODAL 9/10/2016\')','transfer/newTransfer','0.024566888809204','2016-10-04 11:59:43'),(1378,16,1,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 11 WHERE `ID` =  \'304\'','transfer/newTransfer','0.090115070343018','2016-10-04 11:59:43'),(1379,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000011\' WHERE `ID` =  40','transfer/newTransfer','0.041285991668701','2016-10-04 11:59:43'),(1380,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'16\', \'AP20161000000011\', \' [TT[00000006]]]\', \'Bank Transfer [  [TT[00000006]]] ]\', \'\', \'3\', \'2016-10-08\', \'2016\', \'10\', 5000, 5000, \'1\')','transfer/newTransfer','0.039374113082886','2016-10-04 11:59:43'),(1381,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000011\', 1, \'MODAL 9/10/2016\', \'33436\', 5000, 1, \'1\', \'5000\', \'10\', \'2016\', \'0\', \'TT[00000006]\', \'1\')','transfer/newTransfer','0.033061027526855','2016-10-04 11:59:44'),(1382,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000011\', 2, \'MODAL 9/10/2016\', \'33439\', 5000, 1, \'1\', \'5000\', \'10\', \'2016\', \'0\', \'TT[00000006]\', \'1\')','transfer/newTransfer','0.016690969467163','2016-10-04 11:59:44'),(1383,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 5000, `total_amount_cr` = 5000, `total_amount` = 0 WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000011\'','transfer/newTransfer','0.024553060531616','2016-10-04 11:59:44'),(1384,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  40','transfer/newTransfer','0.016829013824463','2016-10-04 11:59:44'),(1385,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  87','transfer/newTransfer','0.016247987747192','2016-10-04 11:59:44'),(1386,16,1,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000011\'','transfer/newTransfer','0.033189058303833','2016-10-04 11:59:44'),(1387,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33436\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','transfer/newTransfer','0.032272100448608','2016-10-04 11:59:44'),(1388,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','transfer/newTransfer','0.040912866592407','2016-10-04 11:59:44'),(1389,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'16\', \'1\', 1, \'33448\', \'68\', \'3500\', \'OP-C\', \'2016-10-08\', \'189\', \'1\')','expenses/fnSaveExpenses','0.04222297668457','2016-10-04 12:00:27'),(1390,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (41, \'1\', \'ITEM AS AT 1/10/2016\', 1, \'33448\', \'3500\', \'3500\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.023281812667847','2016-10-04 12:00:27'),(1391,16,1,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 12 WHERE `ID` =  \'304\'','expenses/fnSaveExpenses','0.025880098342896','2016-10-04 12:00:27'),(1392,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000012\' WHERE `ID` =  41','expenses/fnSaveExpenses','0.016788959503174','2016-10-04 12:00:28'),(1393,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'16\', \'AP20161000000012\', \'Cost of Goods Sold [OP-C[00000007]]\', \'Cost of Goods Sold [OP-C[00000007]]\', \'\', \'3\', \'2016-10-08\', \'16\', \'10\', 3500, 3500, \'1\')','expenses/fnSaveExpenses','0.029113054275513','2016-10-04 12:00:28'),(1394,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000012\', 1, \'ITEM AS AT 1/10/2016\', \'33439\', 3500, 1, \'1\', \'3500\', \'10\', \'16\', \'1\', \'OP-C[00000007]\', \'1\')','expenses/fnSaveExpenses','0.059928894042969','2016-10-04 12:00:28'),(1395,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000012\', 2, \'ITEM AS AT 1/10/2016\', \'33448\', 3500, 1, \'1\', \'3500\', \'10\', \'16\', \'1\', \'OP-C[00000007]\', \'1\')','expenses/fnSaveExpenses','0.016098022460938','2016-10-04 12:00:28'),(1396,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 3500, `total_amount_cr` = 3500, `total_amount` = 0 WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000012\'','expenses/fnSaveExpenses','0.016763925552368','2016-10-04 12:00:28'),(1397,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  41','expenses/fnSaveExpenses','0.016264915466309','2016-10-04 12:00:28'),(1398,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  88','expenses/fnSaveExpenses','0.016635894775391','2016-10-04 12:00:28'),(1399,16,1,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000012\'','expenses/fnSaveExpenses','0.016180992126465','2016-10-04 12:00:28'),(1400,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.020846128463745','2016-10-04 12:00:28'),(1401,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.015615224838257','2016-10-04 12:00:28'),(1402,16,1,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-10-09\', \'186\', \'OR\', \'16200.00\', \'16\')','sales/save_new_sale','0.095909118652344','2016-10-04 12:01:31'),(1403,16,1,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (16, \'33447\', \'PAKEJ SILVER\', \'16200.00\', 1)','sales/save_new_sale','0.066511154174805','2016-10-04 12:01:31'),(1404,16,1,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  16','sales/save_new_sale','0.00024604797363281','2016-10-04 12:01:31'),(1405,16,1,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'305\'','sales/save_new_sale','0.01814603805542','2016-10-04 12:01:31'),(1406,16,1,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20161000000003\' WHERE `ID` =  16','sales/save_new_sale','0.057986974716187','2016-10-04 12:01:31'),(1407,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'16\', \'AR20161000000003\', \'OR[00000003]\', \'Sales [ OR[00000003] ]\', \'\', \'2\', \'2016-10-09\', \'2016\', \'10\', \'16200\', \'16200\', \'1\')','sales/save_new_sale','0.012794971466064','2016-10-04 12:01:31'),(1408,16,1,'192.168.1.201','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 (\'16\', \'AR20161000000003\', 1, \'PAKEJ SILVER\', \'33447\', \'\', 16200, \'1\', \'1\', \'16200\', \'10\', \'2016\', \'1\', \'OR[00000003]\', \'0\', \'1\')','sales/save_new_sale','0.034817934036255','2016-10-04 12:01:32'),(1409,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'16\', 2, \'AR20161000000003\', \'PAKEJ SILVER\', \'33436\', \'\', 16200, \'1\', \'1\', \'16200\', \'10\', \'2016\', \'OR[00000003]\', \'1\', \'0\', \'1\')','sales/save_new_sale','0.016123056411743','2016-10-04 12:01:32'),(1410,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 16200, `total_amount_cr` = 16200, `total_amount` = 0 WHERE `companyID` =  \'16\' AND `journalID` =  \'AR20161000000003\'','sales/save_new_sale','0.025068998336792','2016-10-04 12:01:32'),(1411,16,1,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  16','sales/save_new_sale','0.024593114852905','2016-10-04 12:01:32'),(1412,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  89','sales/save_new_sale','0.016869068145752','2016-10-04 12:01:32'),(1413,16,1,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'16\' AND `journalID` =  \'AR20161000000003\'','sales/save_new_sale','0.016138076782227','2016-10-04 12:01:32'),(1414,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33447\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_new_sale','0.015810966491699','2016-10-04 12:01:32'),(1415,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33436\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_new_sale','0.015619993209839','2016-10-04 12:01:32'),(1416,16,1,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-10-08\', `bankID` = \'186\', `totalReceived` = \'13500.00\', `updateAble` = 1 WHERE `ID` =  \'15\'','sales/save_update_sale','0.033076047897339','2016-10-04 12:05:49'),(1417,16,1,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'15\', \'PAKEJ BRONZE\', \'13500.00\', \'33447\', 1)','sales/save_update_sale','0.033164024353027','2016-10-04 12:05:49'),(1418,16,1,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'15\'','sales/save_update_sale','0.00019502639770508','2016-10-04 12:05:49'),(1419,16,1,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  \'305\'','sales/save_update_sale','0.055939912796021','2016-10-04 12:05:49'),(1420,16,1,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20161000000004\' WHERE `ID` =  \'15\'','sales/save_update_sale','0.034891128540039','2016-10-04 12:05:49'),(1421,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'16\', \'AR20161000000004\', \'OR[00000002]\', \'Sales [ OR[00000002] ]\', \'\', \'2\', \'2016-10-08\', \'2016\', \'10\', \'13500\', \'13500\', \'1\')','sales/save_update_sale','0.055995941162109','2016-10-04 12:05:49'),(1422,16,1,'192.168.1.201','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 (\'16\', \'AR20161000000004\', 1, \'PAKEJ BRONZE\', \'33447\', \'\', 13500, \'1\', \'1\', \'13500\', \'10\', \'2016\', \'1\', \'OR[00000002]\', \'0\', \'1\')','sales/save_update_sale','0.016068935394287','2016-10-04 12:05:49'),(1423,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'16\', 2, \'AR20161000000004\', \'PAKEJ BRONZE\', \'33436\', \'\', 13500, \'1\', \'1\', \'13500\', \'10\', \'2016\', \'OR[00000002]\', \'1\', \'0\', \'1\')','sales/save_update_sale','0.033032894134521','2016-10-04 12:05:49'),(1424,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 13500, `total_amount_cr` = 13500, `total_amount` = 0 WHERE `companyID` =  \'16\' AND `journalID` =  \'AR20161000000004\'','sales/save_update_sale','0.033134937286377','2016-10-04 12:05:49'),(1425,16,1,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'15\'','sales/save_update_sale','0.049838066101074','2016-10-04 12:05:49'),(1426,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  90','sales/save_update_sale','0.041550159454346','2016-10-04 12:05:49'),(1427,16,1,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'16\' AND `journalID` =  \'AR20161000000004\'','sales/save_update_sale','0.033107042312622','2016-10-04 12:05:49'),(1428,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33447\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_update_sale','0.1080470085144','2016-10-04 12:05:49'),(1429,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33436\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_update_sale','0.040203094482422','2016-10-04 12:05:49'),(1430,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-10-13\', \'186\', \'10000\', \'TT\', \'189\', \'16\', 3)','transfer/newTransfer','0.12143301963806','2016-10-04 12:06:59'),(1431,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (42, \'33439\', \'10000\', \'MODAL 15/10/2016\')','transfer/newTransfer','0.090955972671509','2016-10-04 12:06:59'),(1432,16,1,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 13 WHERE `ID` =  \'304\'','transfer/newTransfer','0.032855987548828','2016-10-04 12:06:59'),(1433,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000013\' WHERE `ID` =  42','transfer/newTransfer','0.017864942550659','2016-10-04 12:06:59'),(1434,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'16\', \'AP20161000000013\', \' [TT[00000008]]]\', \'Bank Transfer [  [TT[00000008]]] ]\', \'\', \'3\', \'2016-10-13\', \'2016\', \'10\', 10000, 10000, \'1\')','transfer/newTransfer','0.029525995254517','2016-10-04 12:06:59'),(1435,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000013\', 1, \'MODAL 15/10/2016\', \'33436\', 10000, 1, \'1\', \'10000\', \'10\', \'2016\', \'0\', \'TT[00000008]\', \'1\')','transfer/newTransfer','0.017744064331055','2016-10-04 12:06:59'),(1436,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000013\', 2, \'MODAL 15/10/2016\', \'33439\', 10000, 1, \'1\', \'10000\', \'10\', \'2016\', \'0\', \'TT[00000008]\', \'1\')','transfer/newTransfer','0.01667308807373','2016-10-04 12:06:59'),(1437,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 10000, `total_amount_cr` = 10000, `total_amount` = 0 WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000013\'','transfer/newTransfer','0.016212940216064','2016-10-04 12:06:59'),(1438,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  42','transfer/newTransfer','0.016824007034302','2016-10-04 12:06:59'),(1439,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  91','transfer/newTransfer','0.01622200012207','2016-10-04 12:06:59'),(1440,16,1,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000013\'','transfer/newTransfer','0.016775131225586','2016-10-04 12:06:59'),(1441,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33436\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','transfer/newTransfer','0.020587921142578','2016-10-04 12:06:59'),(1442,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','transfer/newTransfer','0.016105175018311','2016-10-04 12:06:59'),(1443,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'16\', \'1\', 1, \'33448\', \'68\', \'12000\', \'OP-C\', \'2016-10-04\', \'189\', \'1\')','expenses/fnSaveExpenses','0.025604963302612','2016-10-04 12:07:54'),(1444,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (43, \'1\', \'ITEM AS AT 7/10/2016\', 1, \'33448\', \'12000\', \'12000\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016762971878052','2016-10-04 12:07:54'),(1445,16,1,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 14 WHERE `ID` =  \'304\'','expenses/fnSaveExpenses','0.035553932189941','2016-10-04 12:07:54'),(1446,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000014\' WHERE `ID` =  43','expenses/fnSaveExpenses','0.016818046569824','2016-10-04 12:07:54'),(1447,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'16\', \'AP20161000000014\', \'Cost of Goods Sold [OP-C[00000009]]\', \'Cost of Goods Sold [OP-C[00000009]]\', \'\', \'3\', \'2016-10-04\', \'16\', \'10\', 12000, 12000, \'1\')','expenses/fnSaveExpenses','0.012814998626709','2016-10-04 12:07:54'),(1448,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000014\', 1, \'ITEM AS AT 7/10/2016\', \'33439\', 12000, 1, \'1\', \'12000\', \'10\', \'16\', \'1\', \'OP-C[00000009]\', \'1\')','expenses/fnSaveExpenses','0.042664766311646','2016-10-04 12:07:54'),(1449,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000014\', 2, \'ITEM AS AT 7/10/2016\', \'33448\', 12000, 1, \'1\', \'12000\', \'10\', \'16\', \'1\', \'OP-C[00000009]\', \'1\')','expenses/fnSaveExpenses','0.049718141555786','2016-10-04 12:07:54'),(1450,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 12000, `total_amount_cr` = 12000, `total_amount` = 0 WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000014\'','expenses/fnSaveExpenses','0.033150911331177','2016-10-04 12:07:54'),(1451,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  43','expenses/fnSaveExpenses','0.033229112625122','2016-10-04 12:07:54'),(1452,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  92','expenses/fnSaveExpenses','0.049641132354736','2016-10-04 12:07:54'),(1453,16,1,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000014\'','expenses/fnSaveExpenses','0.049813032150269','2016-10-04 12:07:54'),(1454,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.032166004180908','2016-10-04 12:07:54'),(1455,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.032602071762085','2016-10-04 12:07:54'),(1456,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'16\', `createdBy` = \'1\', `otherPaymentType` = 1, `accountID` = \'33448\', `paymentMethodID` = \'68\', `amountPaid` = \'12000\', `formNo` = \'OP-C\', `paymentDate` = \'2016-10-13\', `bankId` = \'189\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  43','expenses/fnSaveExpenses','0.012809038162231','2016-10-04 12:08:13'),(1457,16,1,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 43, `createdBy` = \'1\', `itemdescription` = \'ITEM AS AT 7/10/2016\', `lineNo` = 1, `accountID` = \'33448\', `amountIncludedTax` = \'12000\', `amountExcludedTax` = \'12000\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'65\'','expenses/fnSaveExpenses','0.0002129077911377','2016-10-04 12:08:13'),(1458,16,1,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 15 WHERE `ID` =  \'304\'','expenses/fnSaveExpenses','0.014243125915527','2016-10-04 12:08:13'),(1459,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000015\' WHERE `ID` =  43','expenses/fnSaveExpenses','0.01681113243103','2016-10-04 12:08:13'),(1460,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'16\', \'AP20161000000015\', \'Cost of Goods Sold [OP-C[00000009]]\', \'Cost of Goods Sold [OP-C[00000009]]\', \'\', \'3\', \'2016-10-13\', \'16\', \'10\', 12000, 12000, \'1\')','expenses/fnSaveExpenses','0.015630006790161','2016-10-04 12:08:13'),(1461,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000015\', 1, \'ITEM AS AT 7/10/2016\', \'33439\', 12000, 1, \'1\', \'12000\', \'10\', \'16\', \'1\', \'OP-C[00000009]\', \'1\')','expenses/fnSaveExpenses','0.016708135604858','2016-10-04 12:08:13'),(1462,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000015\', 2, \'ITEM AS AT 7/10/2016\', \'33448\', 12000, 1, \'1\', \'12000\', \'10\', \'16\', \'1\', \'OP-C[00000009]\', \'1\')','expenses/fnSaveExpenses','0.016124963760376','2016-10-04 12:08:13'),(1463,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 12000, `total_amount_cr` = 12000, `total_amount` = 0 WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000015\'','expenses/fnSaveExpenses','0.016778945922852','2016-10-04 12:08:13'),(1464,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  43','expenses/fnSaveExpenses','0.024584054946899','2016-10-04 12:08:13'),(1465,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  93','expenses/fnSaveExpenses','0.025074005126953','2016-10-04 12:08:13'),(1466,16,1,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000015\'','expenses/fnSaveExpenses','0.032856941223145','2016-10-04 12:08:13'),(1467,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.032490968704224','2016-10-04 12:08:13'),(1468,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.032567977905273','2016-10-04 12:08:13'),(1469,16,1,'192.168.1.199','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-10-01\', `bankID` = \'186\', `payTo` = \'189\', `amountPaid` = \'2500.00\', `companyID` = \'16\', `updateAble` = 1 WHERE `ID` =  \'35\'','transfer/saveTransfer','0.09207010269165','2016-10-04 12:22:44'),(1470,16,1,'192.168.1.199','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33439\', `amountExcludedTax` = \'2500.00\', `itemdescription` = \'MODAL 1.10.2016\' WHERE `ID` =  \'43\'','transfer/saveTransfer','0.00018501281738281','2016-10-04 12:22:44'),(1471,16,1,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 16 WHERE `ID` =  \'304\'','transfer/saveTransfer','0.026215076446533','2016-10-04 12:22:44'),(1472,16,1,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000016\' WHERE `ID` =  \'35\'','transfer/saveTransfer','0.024552822113037','2016-10-04 12:22:44'),(1473,16,1,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'16\', \'AP20161000000016\', \' [TT[00000001]]]\', \'Bank Transfer [  [TT[00000001]]] ]\', \'\', \'3\', \'2016-10-01\', \'2016\', \'10\', 2500, 2500, \'1\')','transfer/saveTransfer','0.023072004318237','2016-10-04 12:22:44'),(1474,16,1,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000016\', 1, \'MODAL 1.10.2016\', \'33436\', 2500, 1, \'1\', \'2500\', \'10\', \'2016\', \'0\', \'TT[00000001]\', \'1\')','transfer/saveTransfer','0.016104936599731','2016-10-04 12:22:44'),(1475,16,1,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000016\', 2, \'MODAL 1.10.2016\', \'33439\', 2500, 1, \'1\', \'2500\', \'10\', \'2016\', \'0\', \'TT[00000001]\', \'1\')','transfer/saveTransfer','0.016700983047485','2016-10-04 12:22:44'),(1476,16,1,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 2500, `total_amount_cr` = 2500, `total_amount` = 0 WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000016\'','transfer/saveTransfer','0.016204833984375','2016-10-04 12:22:44'),(1477,16,1,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'35\'','transfer/saveTransfer','0.016857147216797','2016-10-04 12:22:44'),(1478,16,1,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  94','transfer/saveTransfer','0.024595022201538','2016-10-04 12:22:44'),(1479,16,1,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000016\'','transfer/saveTransfer','0.13712215423584','2016-10-04 12:22:44'),(1480,16,1,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33436\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','transfer/saveTransfer','0.02065896987915','2016-10-04 12:22:44'),(1481,16,1,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','transfer/saveTransfer','0.024581909179688','2016-10-04 12:22:44'),(1482,16,1,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-10-15\', \'186\', \'OR\', \'32500.00\', \'16\')','sales/save_new_sale','0.13325214385986','2016-10-04 12:50:00'),(1483,16,1,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (17, \'33447\', \'PAKEJ ARABIAN\', \'32500.00\', 1)','sales/save_new_sale','0.041805982589722','2016-10-04 12:50:00'),(1484,16,1,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  17','sales/save_new_sale','0.00026416778564453','2016-10-04 12:50:00'),(1485,16,1,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  \'305\'','sales/save_new_sale','0.025859117507935','2016-10-04 12:50:00'),(1486,16,1,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20161000000005\' WHERE `ID` =  17','sales/save_new_sale','0.025123834609985','2016-10-04 12:50:00'),(1487,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'16\', \'AR20161000000005\', \'OR[00000004]\', \'Sales [ OR[00000004] ]\', \'\', \'2\', \'2016-10-15\', \'2016\', \'10\', \'32500\', \'32500\', \'1\')','sales/save_new_sale','0.030678033828735','2016-10-04 12:50:00'),(1488,16,1,'192.168.1.201','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 (\'16\', \'AR20161000000005\', 1, \'PAKEJ ARABIAN\', \'33447\', \'\', 32500, \'1\', \'1\', \'32500\', \'10\', \'2016\', \'1\', \'OR[00000004]\', \'0\', \'1\')','sales/save_new_sale','0.07497501373291','2016-10-04 12:50:00'),(1489,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'16\', 2, \'AR20161000000005\', \'PAKEJ ARABIAN\', \'33436\', \'\', 32500, \'1\', \'1\', \'32500\', \'10\', \'2016\', \'OR[00000004]\', \'1\', \'0\', \'1\')','sales/save_new_sale','0.024423837661743','2016-10-04 12:50:00'),(1490,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 32500, `total_amount_cr` = 32500, `total_amount` = 0 WHERE `companyID` =  \'16\' AND `journalID` =  \'AR20161000000005\'','sales/save_new_sale','0.016775131225586','2016-10-04 12:50:00'),(1491,16,1,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  17','sales/save_new_sale','0.032934904098511','2016-10-04 12:50:00'),(1492,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  95','sales/save_new_sale','0.01680588722229','2016-10-04 12:50:00'),(1493,16,1,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'16\' AND `journalID` =  \'AR20161000000005\'','sales/save_new_sale','0.024535179138184','2016-10-04 12:50:00'),(1494,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33447\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_new_sale','0.020885944366455','2016-10-04 12:50:00'),(1495,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33436\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_new_sale','0.015600919723511','2016-10-04 12:50:00'),(1496,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-10-15\', \'186\', \'10000\', \'TT\', \'189\', \'16\', 3)','transfer/newTransfer','0.088468074798584','2016-10-04 12:52:17'),(1497,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (44, \'33439\', \'10000\', \'MODAL 16/10/2016\')','transfer/newTransfer','0.024848937988281','2016-10-04 12:52:17'),(1498,16,1,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 17 WHERE `ID` =  \'304\'','transfer/newTransfer','0.01412296295166','2016-10-04 12:52:17'),(1499,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000017\' WHERE `ID` =  44','transfer/newTransfer','0.016205072402954','2016-10-04 12:52:17'),(1500,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'16\', \'AP20161000000017\', \' [TT[00000010]]]\', \'Bank Transfer [  [TT[00000010]]] ]\', \'\', \'3\', \'2016-10-15\', \'2016\', \'10\', 10000, 10000, \'1\')','transfer/newTransfer','0.014693975448608','2016-10-04 12:52:17'),(1501,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000017\', 1, \'MODAL 16/10/2016\', \'33436\', 10000, 1, \'1\', \'10000\', \'10\', \'2016\', \'0\', \'TT[00000010]\', \'1\')','transfer/newTransfer','0.024415969848633','2016-10-04 12:52:17'),(1502,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000017\', 2, \'MODAL 16/10/2016\', \'33439\', 10000, 1, \'1\', \'10000\', \'10\', \'2016\', \'0\', \'TT[00000010]\', \'1\')','transfer/newTransfer','0.016726016998291','2016-10-04 12:52:17'),(1503,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 10000, `total_amount_cr` = 10000, `total_amount` = 0 WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000017\'','transfer/newTransfer','0.016191959381104','2016-10-04 12:52:17'),(1504,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  44','transfer/newTransfer','0.016824960708618','2016-10-04 12:52:17'),(1505,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  96','transfer/newTransfer','0.032906055450439','2016-10-04 12:52:17'),(1506,16,1,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000017\'','transfer/newTransfer','0.058439970016479','2016-10-04 12:52:17'),(1507,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33436\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','transfer/newTransfer','0.032198905944824','2016-10-04 12:52:17'),(1508,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','transfer/newTransfer','0.032528877258301','2016-10-04 12:52:17'),(1509,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'16\', \'1\', 1, \'33448\', \'68\', \'7233\', \'OP-C\', \'2016-10-15\', \'189\', \'1\')','expenses/fnSaveExpenses','0.10929679870605','2016-10-04 12:53:34'),(1510,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (45, \'1\', \'ITEM AS AT 1/10/2016\', 1, \'33448\', \'7233\', \'7233\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.024443864822388','2016-10-04 12:53:34'),(1511,16,1,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 18 WHERE `ID` =  \'304\'','expenses/fnSaveExpenses','0.03452205657959','2016-10-04 12:53:34'),(1512,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000018\' WHERE `ID` =  45','expenses/fnSaveExpenses','0.016220092773438','2016-10-04 12:53:34'),(1513,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'16\', \'AP20161000000018\', \'Cost of Goods Sold [OP-C[00000011]]\', \'Cost of Goods Sold [OP-C[00000011]]\', \'\', \'3\', \'2016-10-15\', \'16\', \'10\', 7233, 7233, \'1\')','expenses/fnSaveExpenses','0.031413078308105','2016-10-04 12:53:34'),(1514,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000018\', 1, \'ITEM AS AT 1/10/2016\', \'33439\', 7233, 1, \'1\', \'7233\', \'10\', \'16\', \'1\', \'OP-C[00000011]\', \'1\')','expenses/fnSaveExpenses','0.032767057418823','2016-10-04 12:53:34'),(1515,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000018\', 2, \'ITEM AS AT 1/10/2016\', \'33448\', 7233, 1, \'1\', \'7233\', \'10\', \'16\', \'1\', \'OP-C[00000011]\', \'1\')','expenses/fnSaveExpenses','0.033074855804443','2016-10-04 12:53:34'),(1516,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 7233, `total_amount_cr` = 7233, `total_amount` = 0 WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000018\'','expenses/fnSaveExpenses','0.033145904541016','2016-10-04 12:53:34'),(1517,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  45','expenses/fnSaveExpenses','0.033204078674316','2016-10-04 12:53:34'),(1518,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  97','expenses/fnSaveExpenses','0.041360855102539','2016-10-04 12:53:34'),(1519,16,1,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000018\'','expenses/fnSaveExpenses','0.033150911331177','2016-10-04 12:53:34'),(1520,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.040542840957642','2016-10-04 12:53:34'),(1521,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33448\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.073675155639648','2016-10-04 12:53:34'),(1522,16,1,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-10-16\', \'186\', \'OR\', \'18900.00\', \'16\')','sales/save_new_sale','0.09152889251709','2016-10-04 12:54:19'),(1523,16,1,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (18, \'33447\', \'PAKEJ GOLD\', \'18900.00\', 1)','sales/save_new_sale','0.041210889816284','2016-10-04 12:54:19'),(1524,16,1,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  18','sales/save_new_sale','0.0001990795135498','2016-10-04 12:54:19'),(1525,16,1,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  \'305\'','sales/save_new_sale','0.015674829483032','2016-10-04 12:54:19'),(1526,16,1,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20161000000006\' WHERE `ID` =  18','sales/save_new_sale','0.016193151473999','2016-10-04 12:54:19'),(1527,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'16\', \'AR20161000000006\', \'OR[00000005]\', \'Sales [ OR[00000005] ]\', \'\', \'2\', \'2016-10-16\', \'2016\', \'10\', \'18900\', \'18900\', \'1\')','sales/save_new_sale','0.014584064483643','2016-10-04 12:54:19'),(1528,16,1,'192.168.1.201','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 (\'16\', \'AR20161000000006\', 1, \'PAKEJ GOLD\', \'33447\', \'\', 18900, \'1\', \'1\', \'18900\', \'10\', \'2016\', \'1\', \'OR[00000005]\', \'0\', \'1\')','sales/save_new_sale','0.016083955764771','2016-10-04 12:54:19'),(1529,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'16\', 2, \'AR20161000000006\', \'PAKEJ GOLD\', \'33436\', \'\', 18900, \'1\', \'1\', \'18900\', \'10\', \'2016\', \'OR[00000005]\', \'1\', \'0\', \'1\')','sales/save_new_sale','0.016700029373169','2016-10-04 12:54:19'),(1530,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 18900, `total_amount_cr` = 18900, `total_amount` = 0 WHERE `companyID` =  \'16\' AND `journalID` =  \'AR20161000000006\'','sales/save_new_sale','0.016216993331909','2016-10-04 12:54:19'),(1531,16,1,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  18','sales/save_new_sale','0.025146007537842','2016-10-04 12:54:19'),(1532,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  98','sales/save_new_sale','0.016223907470703','2016-10-04 12:54:19'),(1533,16,1,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'16\' AND `journalID` =  \'AR20161000000006\'','sales/save_new_sale','0.016788005828857','2016-10-04 12:54:19'),(1534,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33447\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_new_sale','0.015182971954346','2016-10-04 12:54:19'),(1535,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33436\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_new_sale','0.016194105148315','2016-10-04 12:54:19'),(1536,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'16\', \'1\', 1, 0, \'68\', \'85\', \'OP-E\', \'2016-10-01\', \'189\', \'1\')','expenses/fnSaveExpenses','0.10174298286438','2016-10-04 12:56:17'),(1537,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (46, \'1\', \'KOS PERJALANAN\', 1, \'33462\', \'60\', \'60\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016149044036865','2016-10-04 12:56:17'),(1538,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (46, \'1\', \'MINUM2\', 1, \'33472\', \'25\', \'25\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016800880432129','2016-10-04 12:56:17'),(1539,16,1,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 19 WHERE `ID` =  \'304\'','expenses/fnSaveExpenses','0.038212060928345','2016-10-04 12:56:17'),(1540,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000019\' WHERE `ID` =  46','expenses/fnSaveExpenses','0.033163070678711','2016-10-04 12:56:17'),(1541,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'16\', \'AP20161000000019\', \'Operating Expenses [OP-E[00000012]]\', \'Operating Expenses [OP-E[00000012]]\', \'\', \'3\', \'2016-10-01\', \'16\', \'10\', 85, 85, \'1\')','expenses/fnSaveExpenses','0.030958890914917','2016-10-04 12:56:17'),(1542,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000019\', 1, \'KOS PERJALANAN\', \'33439\', 60, 1, \'1\', \'60\', \'10\', \'16\', \'1\', \'OP-E[00000012]\', \'1\')','expenses/fnSaveExpenses','0.016078948974609','2016-10-04 12:56:17'),(1543,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000019\', 2, \'KOS PERJALANAN\', \'33462\', 60, 1, \'1\', \'60\', \'10\', \'16\', \'1\', \'OP-E[00000012]\', \'1\')','expenses/fnSaveExpenses','0.033102989196777','2016-10-04 12:56:17'),(1544,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000019\', 3, \'MINUM2\', \'33439\', 25, 1, \'1\', \'25\', \'10\', \'16\', \'1\', \'OP-E[00000012]\', \'1\')','expenses/fnSaveExpenses','0.016671180725098','2016-10-04 12:56:17'),(1545,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000019\', 4, \'MINUM2\', \'33472\', 25, 1, \'1\', \'25\', \'10\', \'16\', \'1\', \'OP-E[00000012]\', \'1\')','expenses/fnSaveExpenses','0.016113996505737','2016-10-04 12:56:17'),(1546,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 85, `total_amount_cr` = 85, `total_amount` = 0 WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000019\'','expenses/fnSaveExpenses','0.016785144805908','2016-10-04 12:56:17'),(1547,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  46','expenses/fnSaveExpenses','0.016239881515503','2016-10-04 12:56:17'),(1548,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  99','expenses/fnSaveExpenses','0.016630887985229','2016-10-04 12:56:17'),(1549,16,1,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000019\'','expenses/fnSaveExpenses','0.024538040161133','2016-10-04 12:56:17'),(1550,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.049038171768188','2016-10-04 12:56:17'),(1551,16,1,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'16\', \'10\', \'33462\', \'2016\', \'10\', \'60\', \'0\', 60, \'1\', \'2016-10-04: 06:10:17\')','expenses/fnSaveExpenses','0.015368938446045','2016-10-04 12:56:17'),(1552,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.032526016235352','2016-10-04 12:56:17'),(1553,16,1,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'16\', \'10\', \'33472\', \'2016\', \'10\', \'25\', \'0\', 25, \'1\', \'2016-10-04: 06:10:17\')','expenses/fnSaveExpenses','0.015894889831543','2016-10-04 12:56:17'),(1554,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = \'\', `companyID` = \'16\', `createdBy` = \'1\', `otherPaymentType` = 1, `accountID` = 0, `paymentMethodID` = \'68\', `amountPaid` = \'85\', `formNo` = \'OP-E\', `paymentDate` = \'2016-10-01\', `bankId` = \'189\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  46','expenses/fnSaveExpenses','0.034690141677856','2016-10-04 12:59:26'),(1555,16,1,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 46, `createdBy` = \'1\', `itemdescription` = \'KOS PERJALANAN\', `lineNo` = 1, `accountID` = \'33462\', `amountIncludedTax` = \'60\', `amountExcludedTax` = \'60\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'69\'','expenses/fnSaveExpenses','0.050023078918457','2016-10-04 12:59:26'),(1556,16,1,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 46, `createdBy` = \'1\', `itemdescription` = \'MINUM2\', `lineNo` = 1, `accountID` = \'33472\', `amountIncludedTax` = \'25\', `amountExcludedTax` = \'25\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'68\'','expenses/fnSaveExpenses','0.033072948455811','2016-10-04 12:59:26'),(1557,16,1,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 20 WHERE `ID` =  \'304\'','expenses/fnSaveExpenses','0.10898900032043','2016-10-04 12:59:26'),(1558,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000020\' WHERE `ID` =  46','expenses/fnSaveExpenses','0.017067909240723','2016-10-04 12:59:26'),(1559,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'16\', \'AP20161000000020\', \'Operating Expenses [OP-E[00000012]]\', \'Operating Expenses [OP-E[00000012]]\', \'\', \'3\', \'2016-10-01\', \'16\', \'10\', 85, 85, \'1\')','expenses/fnSaveExpenses','0.015663146972656','2016-10-04 12:59:26'),(1560,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000020\', 1, \'MINUM2\', \'33439\', 25, 1, \'1\', \'25\', \'10\', \'16\', \'1\', \'OP-E[00000012]\', \'1\')','expenses/fnSaveExpenses','0.016691923141479','2016-10-04 12:59:26'),(1561,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000020\', 2, \'MINUM2\', \'33472\', 25, 1, \'1\', \'25\', \'10\', \'16\', \'1\', \'OP-E[00000012]\', \'1\')','expenses/fnSaveExpenses','0.016134023666382','2016-10-04 12:59:26'),(1562,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000020\', 3, \'KOS PERJALANAN\', \'33439\', 60, 1, \'1\', \'60\', \'10\', \'16\', \'1\', \'OP-E[00000012]\', \'1\')','expenses/fnSaveExpenses','0.01671314239502','2016-10-04 12:59:26'),(1563,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000020\', 4, \'KOS PERJALANAN\', \'33462\', 60, 1, \'1\', \'60\', \'10\', \'16\', \'1\', \'OP-E[00000012]\', \'1\')','expenses/fnSaveExpenses','0.015851020812988','2016-10-04 12:59:26'),(1564,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 85, `total_amount_cr` = 85, `total_amount` = 0 WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000020\'','expenses/fnSaveExpenses','0.016883134841919','2016-10-04 12:59:26'),(1565,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  46','expenses/fnSaveExpenses','0.016255140304565','2016-10-04 12:59:26'),(1566,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  100','expenses/fnSaveExpenses','0.016748905181885','2016-10-04 12:59:26'),(1567,16,1,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000020\'','expenses/fnSaveExpenses','0.069528818130493','2016-10-04 12:59:26'),(1568,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.054143190383911','2016-10-04 12:59:26'),(1569,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33472\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.015610933303833','2016-10-04 12:59:26'),(1570,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.016286134719849','2016-10-04 12:59:26'),(1571,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33462\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.024193048477173','2016-10-04 12:59:26'),(1572,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = \'\', `companyID` = \'16\', `createdBy` = \'1\', `otherPaymentType` = 1, `accountID` = 0, `paymentMethodID` = \'68\', `amountPaid` = \'85\', `formNo` = \'OP-E\', `paymentDate` = \'2016-10-02\', `bankId` = \'189\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  46','expenses/fnSaveExpenses','0.013553142547607','2016-10-04 12:59:46'),(1573,16,1,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 46, `createdBy` = \'1\', `itemdescription` = \'KOS PERJALANAN\', `lineNo` = 1, `accountID` = \'33462\', `amountIncludedTax` = \'60\', `amountExcludedTax` = \'60\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'69\'','expenses/fnSaveExpenses','0.00080108642578125','2016-10-04 12:59:46'),(1574,16,1,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 46, `createdBy` = \'1\', `itemdescription` = \'MINUM2\', `lineNo` = 1, `accountID` = \'33472\', `amountIncludedTax` = \'25\', `amountExcludedTax` = \'25\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'68\'','expenses/fnSaveExpenses','0.0001680850982666','2016-10-04 12:59:46'),(1575,16,1,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 21 WHERE `ID` =  \'304\'','expenses/fnSaveExpenses','0.017081022262573','2016-10-04 12:59:46'),(1576,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000021\' WHERE `ID` =  46','expenses/fnSaveExpenses','0.016822099685669','2016-10-04 12:59:46'),(1577,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'16\', \'AP20161000000021\', \'Operating Expenses [OP-E[00000012]]\', \'Operating Expenses [OP-E[00000012]]\', \'\', \'3\', \'2016-10-02\', \'16\', \'10\', 85, 85, \'1\')','expenses/fnSaveExpenses','0.015574932098389','2016-10-04 12:59:46'),(1578,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000021\', 1, \'MINUM2\', \'33439\', 25, 1, \'1\', \'25\', \'10\', \'16\', \'1\', \'OP-E[00000012]\', \'1\')','expenses/fnSaveExpenses','0.025024175643921','2016-10-04 12:59:46'),(1579,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000021\', 2, \'MINUM2\', \'33472\', 25, 1, \'1\', \'25\', \'10\', \'16\', \'1\', \'OP-E[00000012]\', \'1\')','expenses/fnSaveExpenses','0.016133069992065','2016-10-04 12:59:46'),(1580,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000021\', 3, \'KOS PERJALANAN\', \'33439\', 60, 1, \'1\', \'60\', \'10\', \'16\', \'1\', \'OP-E[00000012]\', \'1\')','expenses/fnSaveExpenses','0.033102989196777','2016-10-04 12:59:46'),(1581,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000021\', 4, \'KOS PERJALANAN\', \'33462\', 60, 1, \'1\', \'60\', \'10\', \'16\', \'1\', \'OP-E[00000012]\', \'1\')','expenses/fnSaveExpenses','0.016714096069336','2016-10-04 12:59:46'),(1582,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 85, `total_amount_cr` = 85, `total_amount` = 0 WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000021\'','expenses/fnSaveExpenses','0.033237934112549','2016-10-04 12:59:46'),(1583,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  46','expenses/fnSaveExpenses','0.03310489654541','2016-10-04 12:59:46'),(1584,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  101','expenses/fnSaveExpenses','0.049633979797363','2016-10-04 12:59:46'),(1585,16,1,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000021\'','expenses/fnSaveExpenses','0.033071041107178','2016-10-04 12:59:46'),(1586,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.032267093658447','2016-10-04 12:59:46'),(1587,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33472\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.032602071762085','2016-10-04 12:59:46'),(1588,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.032594919204712','2016-10-04 12:59:46'),(1589,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33462\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.032316923141479','2016-10-04 12:59:46'),(1590,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'16\', \'1\', 1, 0, \'68\', \'75\', \'OP-E\', \'2016-10-08\', \'189\', \'1\')','expenses/fnSaveExpenses','0.10873913764954','2016-10-04 13:00:35'),(1591,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (47, \'1\', \'KOS PERJALANAN\', 1, \'33462\', \'50\', \'50\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016647815704346','2016-10-04 13:00:35'),(1592,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (47, \'1\', \'MINUM2\', 1, \'33472\', \'25\', \'25\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016340970993042','2016-10-04 13:00:35'),(1593,16,1,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 22 WHERE `ID` =  \'304\'','expenses/fnSaveExpenses','0.014261960983276','2016-10-04 13:00:35'),(1594,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000022\' WHERE `ID` =  47','expenses/fnSaveExpenses','0.016261100769043','2016-10-04 13:00:35'),(1595,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'16\', \'AP20161000000022\', \'Operating Expenses [OP-E[00000013]]\', \'Operating Expenses [OP-E[00000013]]\', \'\', \'3\', \'2016-10-08\', \'16\', \'10\', 75, 75, \'1\')','expenses/fnSaveExpenses','0.014508962631226','2016-10-04 13:00:35'),(1596,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000022\', 1, \'KOS PERJALANAN\', \'33439\', 50, 1, \'1\', \'50\', \'10\', \'16\', \'1\', \'OP-E[00000013]\', \'1\')','expenses/fnSaveExpenses','0.01615309715271','2016-10-04 13:00:35'),(1597,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000022\', 2, \'KOS PERJALANAN\', \'33462\', 50, 1, \'1\', \'50\', \'10\', \'16\', \'1\', \'OP-E[00000013]\', \'1\')','expenses/fnSaveExpenses','0.016685009002686','2016-10-04 13:00:35'),(1598,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000022\', 3, \'MINUM2\', \'33439\', 25, 1, \'1\', \'25\', \'10\', \'16\', \'1\', \'OP-E[00000013]\', \'1\')','expenses/fnSaveExpenses','0.016155004501343','2016-10-04 13:00:35'),(1599,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000022\', 4, \'MINUM2\', \'33472\', 25, 1, \'1\', \'25\', \'10\', \'16\', \'1\', \'OP-E[00000013]\', \'1\')','expenses/fnSaveExpenses','0.016695022583008','2016-10-04 13:00:35'),(1600,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 75, `total_amount_cr` = 75, `total_amount` = 0 WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000022\'','expenses/fnSaveExpenses','0.016239166259766','2016-10-04 13:00:35'),(1601,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  47','expenses/fnSaveExpenses','0.016809940338135','2016-10-04 13:00:35'),(1602,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  102','expenses/fnSaveExpenses','0.016103982925415','2016-10-04 13:00:35'),(1603,16,1,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000022\'','expenses/fnSaveExpenses','0.016764163970947','2016-10-04 13:00:35'),(1604,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.015320062637329','2016-10-04 13:00:35'),(1605,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33462\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.024595975875854','2016-10-04 13:00:35'),(1606,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.015687942504883','2016-10-04 13:00:35'),(1607,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33472\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.016256093978882','2016-10-04 13:00:35'),(1608,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'16\', \'1\', 1, 0, \'68\', \'80\', \'OP-E\', \'2016-10-09\', \'189\', \'1\')','expenses/fnSaveExpenses','0.35369110107422','2016-10-04 13:01:32'),(1609,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (48, \'1\', \'KOS PERJALANAN\', 1, \'33462\', \'55\', \'55\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.02898097038269','2016-10-04 13:01:32'),(1610,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (48, \'1\', \'MINUM2 SIKIT\', 1, \'33472\', \'25\', \'25\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016812801361084','2016-10-04 13:01:32'),(1611,16,1,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 23 WHERE `ID` =  \'304\'','expenses/fnSaveExpenses','0.014509916305542','2016-10-04 13:01:32'),(1612,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000023\' WHERE `ID` =  48','expenses/fnSaveExpenses','0.016736030578613','2016-10-04 13:01:32'),(1613,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'16\', \'AP20161000000023\', \'Operating Expenses [OP-E[00000014]]\', \'Operating Expenses [OP-E[00000014]]\', \'\', \'3\', \'2016-10-09\', \'16\', \'10\', 80, 80, \'1\')','expenses/fnSaveExpenses','0.080883026123047','2016-10-04 13:01:32'),(1614,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000023\', 1, \'KOS PERJALANAN\', \'33439\', 55, 1, \'1\', \'55\', \'10\', \'16\', \'1\', \'OP-E[00000014]\', \'1\')','expenses/fnSaveExpenses','0.016589879989624','2016-10-04 13:01:32'),(1615,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000023\', 2, \'KOS PERJALANAN\', \'33462\', 55, 1, \'1\', \'55\', \'10\', \'16\', \'1\', \'OP-E[00000014]\', \'1\')','expenses/fnSaveExpenses','0.041421175003052','2016-10-04 13:01:32'),(1616,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000023\', 3, \'MINUM2 SIKIT\', \'33439\', 25, 1, \'1\', \'25\', \'10\', \'16\', \'1\', \'OP-E[00000014]\', \'1\')','expenses/fnSaveExpenses','0.03309178352356','2016-10-04 13:01:32'),(1617,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000023\', 4, \'MINUM2 SIKIT\', \'33472\', 25, 1, \'1\', \'25\', \'10\', \'16\', \'1\', \'OP-E[00000014]\', \'1\')','expenses/fnSaveExpenses','0.041454076766968','2016-10-04 13:01:32'),(1618,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 80, `total_amount_cr` = 80, `total_amount` = 0 WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000023\'','expenses/fnSaveExpenses','0.033166885375977','2016-10-04 13:01:32'),(1619,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  48','expenses/fnSaveExpenses','0.033182144165039','2016-10-04 13:01:33'),(1620,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  103','expenses/fnSaveExpenses','0.033018112182617','2016-10-04 13:01:33'),(1621,16,1,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000023\'','expenses/fnSaveExpenses','0.033189058303833','2016-10-04 13:01:33'),(1622,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.032195091247559','2016-10-04 13:01:33'),(1623,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33462\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.032639980316162','2016-10-04 13:01:33'),(1624,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.015679836273193','2016-10-04 13:01:33'),(1625,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33472\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.049638032913208','2016-10-04 13:01:33'),(1626,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'16\', \'1\', 1, 0, \'68\', \'90\', \'OP-E\', \'2016-10-15\', \'189\', \'1\')','expenses/fnSaveExpenses','0.092264175415039','2016-10-04 13:02:28'),(1627,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (49, \'1\', \'KOS PERJALANAN\', 1, \'33462\', \'60\', \'60\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016448020935059','2016-10-04 13:02:29'),(1628,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (49, \'1\', \'MINUM2 SIKIT\', 1, \'33472\', \'30\', \'30\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016500949859619','2016-10-04 13:02:29'),(1629,16,1,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 24 WHERE `ID` =  \'304\'','expenses/fnSaveExpenses','0.022524833679199','2016-10-04 13:02:29'),(1630,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000024\' WHERE `ID` =  49','expenses/fnSaveExpenses','0.024926900863647','2016-10-04 13:02:29'),(1631,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'16\', \'AP20161000000024\', \'Operating Expenses [OP-E[00000015]]\', \'Operating Expenses [OP-E[00000015]]\', \'\', \'3\', \'2016-10-15\', \'16\', \'10\', 90, 90, \'1\')','expenses/fnSaveExpenses','0.014283895492554','2016-10-04 13:02:29'),(1632,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000024\', 1, \'KOS PERJALANAN\', \'33439\', 60, 1, \'1\', \'60\', \'10\', \'16\', \'1\', \'OP-E[00000015]\', \'1\')','expenses/fnSaveExpenses','0.033115863800049','2016-10-04 13:02:29'),(1633,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000024\', 2, \'KOS PERJALANAN\', \'33462\', 60, 1, \'1\', \'60\', \'10\', \'16\', \'1\', \'OP-E[00000015]\', \'1\')','expenses/fnSaveExpenses','0.016325950622559','2016-10-04 13:02:29'),(1634,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000024\', 3, \'MINUM2 SIKIT\', \'33439\', 30, 1, \'1\', \'30\', \'10\', \'16\', \'1\', \'OP-E[00000015]\', \'1\')','expenses/fnSaveExpenses','0.016475915908813','2016-10-04 13:02:29'),(1635,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000024\', 4, \'MINUM2 SIKIT\', \'33472\', 30, 1, \'1\', \'30\', \'10\', \'16\', \'1\', \'OP-E[00000015]\', \'1\')','expenses/fnSaveExpenses','0.016569137573242','2016-10-04 13:02:29'),(1636,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 90, `total_amount_cr` = 90, `total_amount` = 0 WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000024\'','expenses/fnSaveExpenses','0.13299512863159','2016-10-04 13:02:29'),(1637,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  49','expenses/fnSaveExpenses','0.016433000564575','2016-10-04 13:02:29'),(1638,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  104','expenses/fnSaveExpenses','0.016456127166748','2016-10-04 13:02:29'),(1639,16,1,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000024\'','expenses/fnSaveExpenses','0.016385078430176','2016-10-04 13:02:29'),(1640,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.015493154525757','2016-10-04 13:02:29'),(1641,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33462\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.03254508972168','2016-10-04 13:02:29'),(1642,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.032561063766479','2016-10-04 13:02:29'),(1643,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33472\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.049139022827148','2016-10-04 13:02:29'),(1644,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'16\', \'1\', 1, 0, \'68\', \'65\', \'OP-E\', \'2016-10-16\', \'189\', \'1\')','expenses/fnSaveExpenses','0.088478088378906','2016-10-04 13:03:17'),(1645,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (50, \'1\', \'KOS PERJALANAN\', 1, \'33462\', \'45\', \'45\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016469955444336','2016-10-04 13:03:17'),(1646,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (50, \'1\', \'MINUM2 SIKIT\', 1, \'33472\', \'20\', \'20\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016501188278198','2016-10-04 13:03:17'),(1647,16,1,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 25 WHERE `ID` =  \'304\'','expenses/fnSaveExpenses','0.013805150985718','2016-10-04 13:03:17'),(1648,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000025\' WHERE `ID` =  50','expenses/fnSaveExpenses','0.016499996185303','2016-10-04 13:03:17'),(1649,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'16\', \'AP20161000000025\', \'Operating Expenses [OP-E[00000016]]\', \'Operating Expenses [OP-E[00000016]]\', \'\', \'3\', \'2016-10-16\', \'16\', \'10\', 65, 65, \'1\')','expenses/fnSaveExpenses','0.014408826828003','2016-10-04 13:03:17'),(1650,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000025\', 1, \'KOS PERJALANAN\', \'33439\', 45, 1, \'1\', \'45\', \'10\', \'16\', \'1\', \'OP-E[00000016]\', \'1\')','expenses/fnSaveExpenses','0.016403913497925','2016-10-04 13:03:17'),(1651,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000025\', 2, \'KOS PERJALANAN\', \'33462\', 45, 1, \'1\', \'45\', \'10\', \'16\', \'1\', \'OP-E[00000016]\', \'1\')','expenses/fnSaveExpenses','0.016427993774414','2016-10-04 13:03:17'),(1652,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000025\', 3, \'MINUM2 SIKIT\', \'33439\', 20, 1, \'1\', \'20\', \'10\', \'16\', \'1\', \'OP-E[00000016]\', \'1\')','expenses/fnSaveExpenses','0.033060073852539','2016-10-04 13:03:17'),(1653,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000025\', 4, \'MINUM2 SIKIT\', \'33472\', 20, 1, \'1\', \'20\', \'10\', \'16\', \'1\', \'OP-E[00000016]\', \'1\')','expenses/fnSaveExpenses','0.033089160919189','2016-10-04 13:03:17'),(1654,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 65, `total_amount_cr` = 65, `total_amount` = 0 WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000025\'','expenses/fnSaveExpenses','0.033135175704956','2016-10-04 13:03:17'),(1655,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  50','expenses/fnSaveExpenses','0.01654314994812','2016-10-04 13:03:17'),(1656,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  105','expenses/fnSaveExpenses','0.01643180847168','2016-10-04 13:03:17'),(1657,16,1,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000025\'','expenses/fnSaveExpenses','0.049736976623535','2016-10-04 13:03:17'),(1658,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.01542592048645','2016-10-04 13:03:17'),(1659,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33462\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.082550048828125','2016-10-04 13:03:17'),(1660,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33439\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.032587051391602','2016-10-04 13:03:17'),(1661,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33472\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.015935897827148','2016-10-04 13:03:17'),(1662,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'16\', \'1\', 1, 0, \'68\', \'1200\', \'OP-L\', \'2016-10-04\', \'187\', \'1\')','expenses/fnSaveExpenses','0.050631046295166','2016-10-04 16:40:02'),(1663,16,1,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (51, \'1\', \'Kereta\', 1, \'33443\', \'1200\', \'1200\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.050109148025513','2016-10-04 16:40:02'),(1664,16,1,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 26 WHERE `ID` =  \'304\'','expenses/fnSaveExpenses','0.041968107223511','2016-10-04 16:40:02'),(1665,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000026\' WHERE `ID` =  51','expenses/fnSaveExpenses','0.034054040908813','2016-10-04 16:40:02'),(1666,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'16\', \'AP20161000000026\', \'Loan Repayment [OP-L[00000017]]\', \'Loan Repayment [OP-L[00000017]]\', \'\', \'3\', \'2016-10-04\', \'16\', \'10\', 1200, 1200, \'1\')','expenses/fnSaveExpenses','0.030791044235229','2016-10-04 16:40:02'),(1667,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000026\', 1, \'Kereta\', \'33437\', 1200, 1, \'1\', \'1200\', \'10\', \'16\', \'1\', \'OP-L[00000017]\', \'1\')','expenses/fnSaveExpenses','0.066669940948486','2016-10-04 16:40:02'),(1668,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'16\', \'AP20161000000026\', 2, \'Kereta\', \'33443\', 1200, 1, \'1\', \'1200\', \'10\', \'16\', \'1\', \'OP-L[00000017]\', \'1\')','expenses/fnSaveExpenses','0.032768964767456','2016-10-04 16:40:02'),(1669,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 1200, `total_amount_cr` = 1200, `total_amount` = 0 WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000026\'','expenses/fnSaveExpenses','0.016777992248535','2016-10-04 16:40:02'),(1670,16,1,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  51','expenses/fnSaveExpenses','0.016263961791992','2016-10-04 16:40:02'),(1671,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  106','expenses/fnSaveExpenses','0.016668796539307','2016-10-04 16:40:02'),(1672,16,1,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'16\' AND `journalID` =  \'AP20161000000026\'','expenses/fnSaveExpenses','0.016203880310059','2016-10-04 16:40:03'),(1673,16,1,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'16\', \'3\', \'33437\', \'2016\', \'10\', \'0\', \'1200\', -1200, \'1\', \'2016-10-04: 10:10:02\')','expenses/fnSaveExpenses','0.014940977096558','2016-10-04 16:40:03'),(1674,16,1,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'16\', \'4\', \'33443\', \'2016\', \'10\', \'1200\', \'0\', 1200, \'1\', \'2016-10-04: 10:10:02\')','expenses/fnSaveExpenses','0.015484094619751','2016-10-04 16:40:03'),(1675,0,0,'192.168.1.199','insert','INSERT INTO `tbl_usermaster` (`username`, `email`, `userid`, `password`, `phone_mobile`, `last_seen_ip`) VALUES (\'akmal programmer spslite\', \'akmaluddin@salihin.com.my\', \'akmaluddin@salihin.com.my\', \'827ccb0eea8a706c4c34a16891f84e7b\', \'0193393995\', \'192.168.1.199\')','login/save_new','0.042317867279053','2016-10-06 14:44:08'),(1676,0,0,'192.168.1.199','insert','INSERT INTO `company` (`companyName`, `businessIndustryID`) VALUES (\'kedai-e.net\', \'\')','login/save_new','0.015209913253784','2016-10-06 14:44:08'),(1677,0,0,'192.168.1.199','insert','INSERT INTO `user_expiry` (`userID`, `username`, `typeOfPackage`, `numberOfPeriod`, `startDate`, `endDate`) VALUES (3, 0, 1, 1, \'2016-10-06\', \'2016-11-05\')','login/save_new','0.042732954025269','2016-10-06 14:44:08'),(1678,0,0,'192.168.1.199','insert','INSERT INTO `user_module_access` (`companyID`, `userID`, `moduleID`, `transaction`, `reports`, `setup`, `accessRight`) VALUES (18, 3, 0, 1, 1, 1, 1)','login/save_new','0.016801834106445','2016-10-06 14:44:08'),(1679,18,3,'192.168.1.199','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'9\', `incorporateDate` = \'2016-10-06\' WHERE `ID` =  \'18\'','setup/updateCompany','0.031696081161499','2016-10-06 14:44:47'),(1680,18,3,'192.168.1.199','update','UPDATE `spslitem_demodb`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'9\', `incorporateDate` = \'2016-10-06\' WHERE `ID` =  \'18\'','setup/updateCompany','0.00019598007202148','2016-10-06 14:44:47'),(1681,18,3,'192.168.1.199','update','UPDATE `company` SET `companyName` = \'kedai-e.net\', `webPageName` = \'kedaie\', `line1` = \'no 16 jln 9/12\', `line2` = \'taman bukit mewah\', `line3` = \'fasa 9\', `city` = \'kajang\', `companyPostCode` = \'43000\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'103\', `phoneNo` = \'\', `faxNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-10-06\', `businessTypeID` = \'9\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = \'3\' WHERE `ID` =  \'18\'','setup/personalWebSetup','0.088572025299072','2016-10-06 14:45:57'),(1682,18,3,'192.168.1.199','update','UPDATE `spslitem_demodb`.`company` SET `companyName` = \'kedai-e.net\', `webPageName` = \'kedaie\', `line1` = \'no 16 jln 9/12\', `line2` = \'taman bukit mewah\', `line3` = \'fasa 9\', `city` = \'kajang\', `companyPostCode` = \'43000\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'103\', `phoneNo` = \'\', `faxNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-10-06\', `businessTypeID` = \'9\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = \'3\' WHERE `ID` =  \'18\'','setup/personalWebSetup','0.00023794174194336','2016-10-06 14:45:57'),(1683,18,3,'192.168.1.254','insert','INSERT INTO `web` (`webPageName`, `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami`)  select \"kedaie\", `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami` from _ref_web limit 1 ','web/webadmin','0.046802043914795','2016-10-06 14:47:14'),(1684,0,0,'192.168.1.192','insert','INSERT INTO `tbl_usermaster` (`username`, `email`, `userid`, `password`, `phone_mobile`, `last_seen_ip`) VALUES (\'Farid Firdaus Bin Zukpeli\', \'faridfirdaus@salihin.com.my\', \'faridfirdaus@salihin.com.my\', \'827ccb0eea8a706c4c34a16891f84e7b\', \'0148290370\', \'192.168.1.192\')','login/save_new','0.032552003860474','2016-10-06 15:27:49'),(1685,0,0,'192.168.1.192','insert','INSERT INTO `company` (`companyName`, `businessIndustryID`) VALUES (\'qwqw\', \'4\')','login/save_new','0.016251087188721','2016-10-06 15:27:49'),(1686,0,0,'192.168.1.192','insert','INSERT INTO `user_expiry` (`userID`, `username`, `typeOfPackage`, `numberOfPeriod`, `startDate`, `endDate`) VALUES (4, 0, 1, 1, \'2016-10-06\', \'2016-11-05\')','login/save_new','0.016757965087891','2016-10-06 15:27:49'),(1687,0,0,'192.168.1.192','insert','INSERT INTO `user_module_access` (`companyID`, `userID`, `moduleID`, `transaction`, `reports`, `setup`, `accessRight`) VALUES (19, 4, 0, 1, 1, 1, 1)','login/save_new','0.016215085983276','2016-10-06 15:27:49'),(1688,16,1,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-10-06\', \'186\', \'OR\', \'2000.00\', \'16\')','sales/save_new_sale','0.11053991317749','2016-10-06 16:15:50'),(1689,16,1,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (19, \'33447\', \'KATERING OFFICE KECIK\', \'2000.00\', 1)','sales/save_new_sale','0.017334938049316','2016-10-06 16:15:50'),(1690,16,1,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  19','sales/save_new_sale','0.00020503997802734','2016-10-06 16:15:50'),(1691,16,1,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 7 WHERE `ID` =  \'305\'','sales/save_new_sale','0.031170129776001','2016-10-06 16:15:50'),(1692,16,1,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20161000000007\' WHERE `ID` =  19','sales/save_new_sale','0.016181945800781','2016-10-06 16:15:50'),(1693,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'16\', \'AR20161000000007\', \'OR[00000006]\', \'Sales [ OR[00000006] ]\', \'\', \'2\', \'2016-10-06\', \'2016\', \'10\', \'2000\', \'2000\', \'1\')','sales/save_new_sale','0.030151128768921','2016-10-06 16:15:50'),(1694,16,1,'192.168.1.201','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 (\'16\', \'AR20161000000007\', 1, \'KATERING OFFICE KECIK\', \'33447\', \'\', 2000, \'1\', \'1\', \'2000\', \'10\', \'2016\', \'1\', \'OR[00000006]\', \'0\', \'1\')','sales/save_new_sale','0.042207002639771','2016-10-06 16:15:50'),(1695,16,1,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'16\', 2, \'AR20161000000007\', \'KATERING OFFICE KECIK\', \'33436\', \'\', 2000, \'1\', \'1\', \'2000\', \'10\', \'2016\', \'OR[00000006]\', \'1\', \'0\', \'1\')','sales/save_new_sale','0.01667594909668','2016-10-06 16:15:50'),(1696,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 2000, `total_amount_cr` = 2000, `total_amount` = 0 WHERE `companyID` =  \'16\' AND `journalID` =  \'AR20161000000007\'','sales/save_new_sale','0.024554014205933','2016-10-06 16:15:50'),(1697,16,1,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  19','sales/save_new_sale','0.033493995666504','2016-10-06 16:15:50'),(1698,16,1,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  107','sales/save_new_sale','0.016211986541748','2016-10-06 16:15:50'),(1699,16,1,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'16\' AND `journalID` =  \'AR20161000000007\'','sales/save_new_sale','0.025121927261353','2016-10-06 16:15:50'),(1700,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33447\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_new_sale','0.029224872589111','2016-10-06 16:15:50'),(1701,16,1,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'16\' AND `a`.`acctID` =  \'33436\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_new_sale','0.016158819198608','2016-10-06 16:15:50'),(1702,0,0,'192.168.1.198','insert','INSERT INTO `tbl_usermaster` (`username`, `email`, `userid`, `password`, `phone_mobile`, `last_seen_ip`) VALUES (\'mortalcombat\', \'mortalcombat@gmail.com\', \'mortalcombat@gmail.com\', \'827ccb0eea8a706c4c34a16891f84e7b\', \'12345\', \'192.168.1.198\')','login/save_new','0.026806116104126','2016-10-06 16:27:27'),(1703,0,0,'192.168.1.198','insert','INSERT INTO `company` (`companyName`, `businessIndustryID`) VALUES (\'mortalcombat\', \'9\')','login/save_new','0.041208028793335','2016-10-06 16:27:27'),(1704,0,0,'192.168.1.198','insert','INSERT INTO `user_expiry` (`userID`, `username`, `typeOfPackage`, `numberOfPeriod`, `startDate`, `endDate`) VALUES (4, 0, 1, 1, \'2016-10-06\', \'2016-11-05\')','login/save_new','0.066709995269775','2016-10-06 16:27:27'),(1705,0,0,'192.168.1.198','insert','INSERT INTO `user_module_access` (`companyID`, `userID`, `moduleID`, `transaction`, `reports`, `setup`, `accessRight`) VALUES (20, 4, 0, 1, 1, 1, 1)','login/save_new','0.016216039657593','2016-10-06 16:27:27'),(1706,20,4,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 20, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 20)','setup/assetSetup','0.11734294891357','2016-10-06 16:42:10'),(1707,0,0,'192.168.1.198','insert','INSERT INTO `tbl_usermaster` (`username`, `email`, `userid`, `password`, `phone_mobile`, `last_seen_ip`) VALUES (\'mortalcombat\', \'mortalcombat@gmail.com\', \'mortalcombat@gmail.com\', \'827ccb0eea8a706c4c34a16891f84e7b\', \'123\', \'192.168.1.198\')','login/save_new','0.025699138641357','2016-10-07 09:17:10'),(1708,0,0,'192.168.1.198','insert','INSERT INTO `company` (`companyName`, `businessIndustryID`) VALUES (\'mortalcombat\', \'14\')','login/save_new','0.024892091751099','2016-10-07 09:17:10'),(1709,0,0,'192.168.1.198','insert','INSERT INTO `user_expiry` (`userID`, `username`, `typeOfPackage`, `numberOfPeriod`, `startDate`, `endDate`) VALUES (4, 0, 1, 1, \'2016-10-07\', \'2016-11-06\')','login/save_new','0.041470050811768','2016-10-07 09:17:10'),(1710,0,0,'192.168.1.198','insert','INSERT INTO `user_module_access` (`companyID`, `userID`, `moduleID`, `transaction`, `reports`, `setup`, `accessRight`) VALUES (20, 4, 0, 1, 1, 1, 1)','login/save_new','0.016491889953613','2016-10-07 09:17:10'),(1711,0,0,'192.168.1.198','insert','INSERT INTO `tbl_usermaster` (`username`, `email`, `userid`, `password`, `phone_mobile`, `last_seen_ip`) VALUES (\'mortalcombat\', \'mortalcombat@gmail.com\', \'mortalcombat@gmail.com\', \'827ccb0eea8a706c4c34a16891f84e7b\', \'123\', \'192.168.1.198\')','login/save_new','0.090958118438721','2016-10-07 10:22:27'),(1712,0,0,'192.168.1.198','insert','INSERT INTO `company` (`companyName`, `businessIndustryID`) VALUES (\'mortalcombat\', \'7\')','login/save_new','0.024831056594849','2016-10-07 10:22:28'),(1713,0,0,'192.168.1.198','insert','INSERT INTO `user_expiry` (`userID`, `username`, `typeOfPackage`, `numberOfPeriod`, `startDate`, `endDate`) VALUES (4, 0, 1, 1, \'2016-10-07\', \'2016-11-06\')','login/save_new','0.016448020935059','2016-10-07 10:22:28'),(1714,0,0,'192.168.1.198','insert','INSERT INTO `user_module_access` (`companyID`, `userID`, `moduleID`, `transaction`, `reports`, `setup`, `accessRight`) VALUES (20, 4, 0, 1, 1, 1, 1)','login/save_new','0.016489028930664','2016-10-07 10:22:28'),(1715,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'1\', \'100000000\', \'Advancement/(Drawing)	\', \'\')','login/save_new','0.014909029006958','2016-10-07 10:22:28'),(1716,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'1\', \'120000000\', \'Retained Profit/(Loss) B/F \', \'\')','login/save_new','0.016061067581177','2016-10-07 10:22:28'),(1717,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'1\', \'130000000\', \'Current Retained Profit/(Loss)  \', \'\')','login/save_new','0.016878843307495','2016-10-07 10:22:28'),(1718,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000000\', \'Fixed Asset	\', \'\')','login/save_new','0.016494989395142','2016-10-07 10:22:28'),(1719,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000100\', \'Furniture & Fixtures	\', \'\')','login/save_new','0.016513109207153','2016-10-07 10:22:28'),(1720,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000200\', \'Office Equipment	\', \'\')','login/save_new','0.024837017059326','2016-10-07 10:22:28'),(1721,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000300\', \'Computer & Software	\', \'\')','login/save_new','0.016482830047607','2016-10-07 10:22:28'),(1722,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000400\', \'Motor Vehicle	\', \'\')','login/save_new','0.016502141952515','2016-10-07 10:22:28'),(1723,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000500\', \'Machinery & Engine	\', \'\')','login/save_new','0.016510009765625','2016-10-07 10:22:28'),(1724,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000600\', \'Renovation	\', \'\')','login/save_new','0.016503095626831','2016-10-07 10:22:28'),(1725,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000700\', \'Store Equipment	\', \'\')','login/save_new','0.016501188278198','2016-10-07 10:22:28'),(1726,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000800\', \'Asset 8	\', \'\')','login/save_new','0.016501903533936','2016-10-07 10:22:28'),(1727,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000900\', \'Asset 9	\', \'\')','login/save_new','0.016492128372192','2016-10-07 10:22:28'),(1728,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200001000\', \'Other Asset	\', \'\')','login/save_new','0.016505002975464','2016-10-07 10:22:28'),(1729,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'3\', \'220000000\', \'Bank & Cash Balance	\', \'\')','login/save_new','0.016501903533936','2016-10-07 10:22:28'),(1730,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'3\', \'220000100\', \'Bank1 	\', \'\')','login/save_new','0.016518115997314','2016-10-07 10:22:28'),(1731,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'3\', \'220000200\', \'Bank2	\', \'\')','login/save_new','0.016502857208252','2016-10-07 10:22:28'),(1732,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'3\', \'220000300\', \'Bank3	\', \'\')','login/save_new','0.016497135162354','2016-10-07 10:22:28'),(1733,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'3\', \'220000400\', \'Petty Cash 1	\', \'\')','login/save_new','0.016503095626831','2016-10-07 10:22:28'),(1734,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'3\', \'220000500\', \'Petty Cash 2	\', \'\')','login/save_new','0.016503810882568','2016-10-07 10:22:28'),(1735,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'4\', \'370000000\', \'Borrowing	\', \'\')','login/save_new','0.016499042510986','2016-10-07 10:22:28'),(1736,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'4\', \'370000100\', \'Loan 1	\', \'\')','login/save_new','0.01650595664978','2016-10-07 10:22:28'),(1737,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'4\', \'370000200\', \'Loan 2	\', \'\')','login/save_new','0.016525030136108','2016-10-07 10:22:28'),(1738,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'4\', \'370000300\', \'Loan 3	\', \'\')','login/save_new','0.016516923904419','2016-10-07 10:22:28'),(1739,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'4\', \'370000400\', \'Loan 4	\', \'\')','login/save_new','0.016503095626831','2016-10-07 10:22:28'),(1740,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'4\', \'370000500\', \'Loan 5	\', \'\')','login/save_new','0.016487836837769','2016-10-07 10:22:28'),(1741,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'7\', \'400000000\', \'Sales	\', \'\')','login/save_new','0.016502141952515','2016-10-07 10:22:28'),(1742,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'8\', \'500000000\', \'Cost of Goods Sold	\', \'\')','login/save_new','0.016496181488037','2016-10-07 10:22:28'),(1743,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'35\', \'700000000\', \'Others Income 	\', \'\')','login/save_new','0.016513109207153','2016-10-07 10:22:28'),(1744,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810000100\', \'Accounting & Legal	\', \'\')','login/save_new','0.016497850418091','2016-10-07 10:22:28'),(1745,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810000200\', \'Advertising & Marketing	\', \'\')','login/save_new','0.016510963439941','2016-10-07 10:22:28'),(1746,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810000300\', \'Commissions	\', \'\')','login/save_new','0.016502857208252','2016-10-07 10:22:28'),(1747,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810000400\', \'Depreciation Expense	\', \'\')','login/save_new','0.016504049301147','2016-10-07 10:22:28'),(1748,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810000500\', \'Electricity & water	\', \'\')','login/save_new','0.016494989395142','2016-10-07 10:22:28'),(1749,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810000600\', \'GST- Non Claimable	\', \'\')','login/save_new','0.016512870788574','2016-10-07 10:22:28'),(1750,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810000700\', \'Insurance Premium	\', \'\')','login/save_new','0.016499996185303','2016-10-07 10:22:28'),(1751,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810000800\', \'Late Payment Charges	\', \'\')','login/save_new','0.016484975814819','2016-10-07 10:22:28'),(1752,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810000900\', \'Medical fee	\', \'\')','login/save_new','0.016504049301147','2016-10-07 10:22:28'),(1753,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001000\', \'Miscellaneous Expenses	\', \'\')','login/save_new','0.016499996185303','2016-10-07 10:22:28'),(1754,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001100\', \'Motor Vehicle Repair & maintenance	\', \'\')','login/save_new','0.016507148742676','2016-10-07 10:22:28'),(1755,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001200\', \'Office expenses	\', \'\')','login/save_new','0.016484975814819','2016-10-07 10:22:28'),(1756,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001300\', \'Petrol,Parking & Toll	\', \'\')','login/save_new','0.016515016555786','2016-10-07 10:22:28'),(1757,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001400\', \'Postage & Courier	\', \'\')','login/save_new','0.016506910324097','2016-10-07 10:22:28'),(1758,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001500\', \'Quit Rent & Assessment	\', \'\')','login/save_new','0.016505002975464','2016-10-07 10:22:28'),(1759,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001600\', \'Registration Fee	\', \'\')','login/save_new','0.016502141952515','2016-10-07 10:22:28'),(1760,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001700\', \'Rental of Equipment	\', \'\')','login/save_new','0.016531944274902','2016-10-07 10:22:28'),(1761,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001800\', \'Rental of office	\', \'\')','login/save_new','0.016488075256348','2016-10-07 10:22:28'),(1762,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001900\', \'Rental of store	\', \'\')','login/save_new','0.016505002975464','2016-10-07 10:22:28'),(1763,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810002000\', \'Seminar & Training	\', \'\')','login/save_new','0.01650595664978','2016-10-07 10:22:28'),(1764,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810002100\', \'Store expenses	\', \'\')','login/save_new','0.016182899475098','2016-10-07 10:22:29'),(1765,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810002200\', \'Telephone	\', \'\')','login/save_new','0.016829967498779','2016-10-07 10:22:29'),(1766,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810002300\', \'Travel, Meals & Entertainment	\', \'\')','login/save_new','0.016490936279297','2016-10-07 10:22:29'),(1767,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810002400\', \'Salary & wages	\', \'\')','login/save_new','0.01651406288147','2016-10-07 10:22:29'),(1768,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810002500\', \'EPF & Socso	\', \'\')','login/save_new','0.016499996185303','2016-10-07 10:22:29'),(1769,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'850010000\', \'Bank Charges	\', \'\')','login/save_new','0.016505002975464','2016-10-07 10:22:29'),(1770,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'850020000\', \'Interest on loan	\', \'\')','login/save_new','0.01650595664978','2016-10-07 10:22:29'),(1771,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'860000000\', \'Income Tax Expense	\', \'\')','login/save_new','0.016502857208252','2016-10-07 10:22:29'),(1772,0,0,'192.168.1.198','insert','INSERT INTO `tbl_usermaster` (`username`, `email`, `userid`, `password`, `phone_mobile`, `last_seen_ip`) VALUES (\'mortalcombat\', \'mortalcombat@gmail.com\', \'mortalcombat@gmail.com\', \'827ccb0eea8a706c4c34a16891f84e7b\', \'123\', \'192.168.1.198\')','login/save_new','0.026193141937256','2016-10-07 11:20:18'),(1773,0,0,'192.168.1.198','insert','INSERT INTO `company` (`companyName`, `businessIndustryID`) VALUES (\'mortalcombat\', \'9\')','login/save_new','0.041523933410645','2016-10-07 11:20:18'),(1774,0,0,'192.168.1.198','insert','INSERT INTO `user_expiry` (`userID`, `username`, `typeOfPackage`, `numberOfPeriod`, `startDate`, `endDate`) VALUES (4, 0, 1, 1, \'2016-10-07\', \'2016-11-06\')','login/save_new','0.02313494682312','2016-10-07 11:20:18'),(1775,0,0,'192.168.1.198','insert','INSERT INTO `user_module_access` (`companyID`, `userID`, `moduleID`, `transaction`, `reports`, `setup`, `accessRight`) VALUES (20, 4, 0, 1, 1, 1, 1)','login/save_new','0.018146991729736','2016-10-07 11:20:19'),(1776,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'1\', \'100000000\', \'Advancement/(Drawing)	\', \'\')','login/save_new','0.038320064544678','2016-10-07 11:20:19'),(1777,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'1\', \'120000000\', \'Retained Profit/(Loss) B/F \', \'\')','login/save_new','0.018083810806274','2016-10-07 11:20:19'),(1778,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'1\', \'130000000\', \'Current Retained Profit/(Loss)  \', \'\')','login/save_new','0.016512870788574','2016-10-07 11:20:19'),(1779,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000000\', \'Fixed Asset	\', \'\')','login/save_new','0.01652717590332','2016-10-07 11:20:19'),(1780,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000100\', \'Furniture & Fixtures	\', \'\')','login/save_new','0.016515016555786','2016-10-07 11:20:19'),(1781,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000200\', \'Office Equipment	\', \'\')','login/save_new','0.016529083251953','2016-10-07 11:20:19'),(1782,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000300\', \'Computer & Software	\', \'\')','login/save_new','0.016524076461792','2016-10-07 11:20:19'),(1783,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000400\', \'Motor Vehicle	\', \'\')','login/save_new','0.016531944274902','2016-10-07 11:20:19'),(1784,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000500\', \'Machinery & Engine	\', \'\')','login/save_new','0.016515970230103','2016-10-07 11:20:19'),(1785,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000600\', \'Renovation	\', \'\')','login/save_new','0.015244007110596','2016-10-07 11:20:19'),(1786,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000700\', \'Store Equipment	\', \'\')','login/save_new','0.017807006835938','2016-10-07 11:20:19'),(1787,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000800\', \'Asset 8	\', \'\')','login/save_new','0.016524076461792','2016-10-07 11:20:19'),(1788,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000900\', \'Asset 9	\', \'\')','login/save_new','0.016529083251953','2016-10-07 11:20:19'),(1789,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200001000\', \'Other Asset	\', \'\')','login/save_new','0.016534805297852','2016-10-07 11:20:19'),(1790,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'3\', \'220000000\', \'Bank & Cash Balance	\', \'\')','login/save_new','0.016528129577637','2016-10-07 11:20:19'),(1791,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'3\', \'220000100\', \'Bank1 	\', \'\')','login/save_new','0.016525983810425','2016-10-07 11:20:19'),(1792,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'3\', \'220000200\', \'Bank2	\', \'\')','login/save_new','0.016527891159058','2016-10-07 11:20:19'),(1793,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'3\', \'220000300\', \'Bank3	\', \'\')','login/save_new','0.016520023345947','2016-10-07 11:20:19'),(1794,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'3\', \'220000400\', \'Petty Cash 1	\', \'\')','login/save_new','0.016525983810425','2016-10-07 11:20:19'),(1795,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'3\', \'220000500\', \'Petty Cash 2	\', \'\')','login/save_new','0.01653003692627','2016-10-07 11:20:19'),(1796,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'4\', \'370000000\', \'Borrowing	\', \'\')','login/save_new','0.016520023345947','2016-10-07 11:20:19'),(1797,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'4\', \'370000100\', \'Loan 1	\', \'\')','login/save_new','0.01653003692627','2016-10-07 11:20:19'),(1798,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'4\', \'370000200\', \'Loan 2	\', \'\')','login/save_new','0.016513109207153','2016-10-07 11:20:19'),(1799,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'4\', \'370000300\', \'Loan 3	\', \'\')','login/save_new','0.016531944274902','2016-10-07 11:20:19'),(1800,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'4\', \'370000400\', \'Loan 4	\', \'\')','login/save_new','0.016534090042114','2016-10-07 11:20:19'),(1801,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'4\', \'370000500\', \'Loan 5	\', \'\')','login/save_new','0.016515970230103','2016-10-07 11:20:19'),(1802,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'7\', \'400000000\', \'Sales	\', \'\')','login/save_new','0.01652717590332','2016-10-07 11:20:19'),(1803,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'8\', \'500000000\', \'Cost of Goods Sold	\', \'\')','login/save_new','0.016518115997314','2016-10-07 11:20:19'),(1804,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'35\', \'700000000\', \'Others Income 	\', \'\')','login/save_new','0.016524076461792','2016-10-07 11:20:19'),(1805,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810000100\', \'Accounting & Legal	\', \'\')','login/save_new','0.016511917114258','2016-10-07 11:20:19'),(1806,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810000200\', \'Advertising & Marketing	\', \'\')','login/save_new','0.014958143234253','2016-10-07 11:20:19'),(1807,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810000300\', \'Commissions	\', \'\')','login/save_new','0.018104076385498','2016-10-07 11:20:19'),(1808,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810000400\', \'Depreciation Expense	\', \'\')','login/save_new','0.016529083251953','2016-10-07 11:20:19'),(1809,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810000500\', \'Electricity & water	\', \'\')','login/save_new','0.016546010971069','2016-10-07 11:20:19'),(1810,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810000600\', \'GST- Non Claimable	\', \'\')','login/save_new','0.016506910324097','2016-10-07 11:20:19'),(1811,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810000700\', \'Insurance Premium	\', \'\')','login/save_new','0.016531944274902','2016-10-07 11:20:19'),(1812,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810000800\', \'Late Payment Charges	\', \'\')','login/save_new','0.016525030136108','2016-10-07 11:20:19'),(1813,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810000900\', \'Medical fee	\', \'\')','login/save_new','0.01653003692627','2016-10-07 11:20:19'),(1814,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001000\', \'Miscellaneous Expenses	\', \'\')','login/save_new','0.016522884368896','2016-10-07 11:20:19'),(1815,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001100\', \'Motor Vehicle Repair & maintenance	\', \'\')','login/save_new','0.016533136367798','2016-10-07 11:20:19'),(1816,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001200\', \'Office expenses	\', \'\')','login/save_new','0.016520023345947','2016-10-07 11:20:19'),(1817,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001300\', \'Petrol,Parking & Toll	\', \'\')','login/save_new','0.016523122787476','2016-10-07 11:20:19'),(1818,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001400\', \'Postage & Courier	\', \'\')','login/save_new','0.016535043716431','2016-10-07 11:20:19'),(1819,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001500\', \'Quit Rent & Assessment	\', \'\')','login/save_new','0.016512155532837','2016-10-07 11:20:19'),(1820,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001600\', \'Registration Fee	\', \'\')','login/save_new','0.016522884368896','2016-10-07 11:20:19'),(1821,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001700\', \'Rental of Equipment	\', \'\')','login/save_new','0.016535997390747','2016-10-07 11:20:19'),(1822,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001800\', \'Rental of office	\', \'\')','login/save_new','0.016533851623535','2016-10-07 11:20:19'),(1823,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001900\', \'Rental of store	\', \'\')','login/save_new','0.016510009765625','2016-10-07 11:20:19'),(1824,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810002000\', \'Seminar & Training	\', \'\')','login/save_new','0.016530990600586','2016-10-07 11:20:19'),(1825,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810002100\', \'Store expenses	\', \'\')','login/save_new','0.01652193069458','2016-10-07 11:20:19'),(1826,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810002200\', \'Telephone	\', \'\')','login/save_new','0.016535997390747','2016-10-07 11:20:19'),(1827,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810002300\', \'Travel, Meals & Entertainment	\', \'\')','login/save_new','0.01651406288147','2016-10-07 11:20:19'),(1828,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810002400\', \'Salary & wages	\', \'\')','login/save_new','0.014967918395996','2016-10-07 11:20:19'),(1829,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810002500\', \'EPF & Socso	\', \'\')','login/save_new','0.018112897872925','2016-10-07 11:20:19'),(1830,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'850010000\', \'Bank Charges	\', \'\')','login/save_new','0.016515970230103','2016-10-07 11:20:20'),(1831,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'850020000\', \'Interest on loan	\', \'\')','login/save_new','0.016533851623535','2016-10-07 11:20:20'),(1832,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'860000000\', \'Income Tax Expense	\', \'\')','login/save_new','0.016520023345947','2016-10-07 11:20:20'),(1833,0,0,'192.168.1.198','insert','INSERT INTO `tbl_usermaster` (`username`, `email`, `userid`, `password`, `phone_mobile`, `last_seen_ip`) VALUES (\'mortalcombat\', \'mortalcombat@gmail.com\', \'mortalcombat@gmail.com\', \'827ccb0eea8a706c4c34a16891f84e7b\', \'123\', \'192.168.1.198\')','login/save_new','0.027004957199097','2016-10-07 11:30:30'),(1834,0,0,'192.168.1.198','insert','INSERT INTO `company` (`companyName`, `businessIndustryID`) VALUES (\'mortalcombat\', \'4\')','login/save_new','0.041085958480835','2016-10-07 11:30:30'),(1835,0,0,'192.168.1.198','insert','INSERT INTO `user_expiry` (`userID`, `username`, `typeOfPackage`, `numberOfPeriod`, `startDate`, `endDate`) VALUES (4, 0, 1, 1, \'2016-10-07\', \'2016-11-06\')','login/save_new','0.11660003662109','2016-10-07 11:30:30'),(1836,0,0,'192.168.1.198','insert','INSERT INTO `user_module_access` (`companyID`, `userID`, `moduleID`, `transaction`, `reports`, `setup`, `accessRight`) VALUES (20, 4, 0, 1, 1, 1, 1)','login/save_new','0.025033950805664','2016-10-07 11:30:30'),(1837,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'1\', \'100000000\', \'Advancement/(Drawing)	\', \'\')','login/save_new','0.039631128311157','2016-10-07 11:30:30'),(1838,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'1\', \'120000000\', \'Retained Profit/(Loss) B/F \', \'\')','login/save_new','0.016751050949097','2016-10-07 11:30:30'),(1839,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'1\', \'130000000\', \'Current Retained Profit/(Loss)  \', \'\')','login/save_new','0.03291392326355','2016-10-07 11:30:30'),(1840,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000000\', \'Fixed Asset	\', \'\')','login/save_new','0.03350305557251','2016-10-07 11:30:30'),(1841,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000100\', \'Furniture & Fixtures	\', \'\')','login/save_new','0.032119989395142','2016-10-07 11:30:30'),(1842,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000200\', \'Office Equipment	\', \'\')','login/save_new','0.024867057800293','2016-10-07 11:30:31'),(1843,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000300\', \'Computer & Software	\', \'\')','login/save_new','0.042340993881226','2016-10-07 11:30:31'),(1844,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000400\', \'Motor Vehicle	\', \'\')','login/save_new','0.01681113243103','2016-10-07 11:30:31'),(1845,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000500\', \'Machinery & Engine	\', \'\')','login/save_new','0.016412019729614','2016-10-07 11:30:31'),(1846,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000600\', \'Renovation	\', \'\')','login/save_new','0.066781997680664','2016-10-07 11:30:31'),(1847,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000700\', \'Store Equipment	\', \'\')','login/save_new','0.058081150054932','2016-10-07 11:30:31'),(1848,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000800\', \'Asset 8	\', \'\')','login/save_new','0.049906969070435','2016-10-07 11:30:31'),(1849,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000900\', \'Asset 9	\', \'\')','login/save_new','0.75785899162292','2016-10-07 11:30:31'),(1850,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200001000\', \'Other Asset	\', \'\')','login/save_new','0.024853944778442','2016-10-07 11:30:31'),(1851,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'3\', \'220000000\', \'Bank & Cash Balance	\', \'\')','login/save_new','0.033087015151978','2016-10-07 11:30:31'),(1852,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'3\', \'220000100\', \'Bank1 	\', \'\')','login/save_new','0.17473220825195','2016-10-07 11:30:31'),(1853,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'3\', \'220000200\', \'Bank2	\', \'\')','login/save_new','0.17118692398071','2016-10-07 11:30:31'),(1854,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'3\', \'220000300\', \'Bank3	\', \'\')','login/save_new','0.1699059009552','2016-10-07 11:30:31'),(1855,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'3\', \'220000400\', \'Petty Cash 1	\', \'\')','login/save_new','0.033224105834961','2016-10-07 11:30:31'),(1856,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'3\', \'220000500\', \'Petty Cash 2	\', \'\')','login/save_new','0.049818992614746','2016-10-07 11:30:31'),(1857,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'4\', \'370000000\', \'Borrowing	\', \'\')','login/save_new','0.041517019271851','2016-10-07 11:30:31'),(1858,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'4\', \'370000100\', \'Loan 1	\', \'\')','login/save_new','0.033210039138794','2016-10-07 11:30:31'),(1859,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'4\', \'370000200\', \'Loan 2	\', \'\')','login/save_new','0.033156871795654','2016-10-07 11:30:31'),(1860,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'4\', \'370000300\', \'Loan 3	\', \'\')','login/save_new','0.041506052017212','2016-10-07 11:30:31'),(1861,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'4\', \'370000400\', \'Loan 4	\', \'\')','login/save_new','0.016829013824463','2016-10-07 11:30:31'),(1862,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'4\', \'370000500\', \'Loan 5	\', \'\')','login/save_new','0.016527891159058','2016-10-07 11:30:31'),(1863,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'7\', \'400000000\', \'Sales	\', \'\')','login/save_new','0.016618967056274','2016-10-07 11:30:31'),(1864,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'8\', \'500000000\', \'Cost of Goods Sold	\', \'\')','login/save_new','0.0245201587677','2016-10-07 11:30:31'),(1865,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'35\', \'700000000\', \'Others Income 	\', \'\')','login/save_new','0.016891002655029','2016-10-07 11:30:31'),(1866,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810000100\', \'Accounting & Legal	\', \'\')','login/save_new','0.02455997467041','2016-10-07 11:30:31'),(1867,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810000200\', \'Advertising & Marketing	\', \'\')','login/save_new','0.016823053359985','2016-10-07 11:30:31'),(1868,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810000300\', \'Commissions	\', \'\')','login/save_new','0.01626992225647','2016-10-07 11:30:31'),(1869,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810000400\', \'Depreciation Expense	\', \'\')','login/save_new','0.03351902961731','2016-10-07 11:30:31'),(1870,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810000500\', \'Electricity & water	\', \'\')','login/save_new','0.041463136672974','2016-10-07 11:30:31'),(1871,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810000600\', \'GST- Non Claimable	\', \'\')','login/save_new','0.86644601821899','2016-10-07 11:30:31'),(1872,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810000700\', \'Insurance Premium	\', \'\')','login/save_new','0.041096925735474','2016-10-07 11:30:31'),(1873,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810000800\', \'Late Payment Charges	\', \'\')','login/save_new','0.033277034759521','2016-10-07 11:30:32'),(1874,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810000900\', \'Medical fee	\', \'\')','login/save_new','0.033195972442627','2016-10-07 11:30:32'),(1875,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001000\', \'Miscellaneous Expenses	\', \'\')','login/save_new','0.033227205276489','2016-10-07 11:30:32'),(1876,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001100\', \'Motor Vehicle Repair & maintenance	\', \'\')','login/save_new','0.033164024353027','2016-10-07 11:30:32'),(1877,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001200\', \'Office expenses	\', \'\')','login/save_new','0.03321099281311','2016-10-07 11:30:32'),(1878,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001300\', \'Petrol,Parking & Toll	\', \'\')','login/save_new','0.033169984817505','2016-10-07 11:30:32'),(1879,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001400\', \'Postage & Courier	\', \'\')','login/save_new','0.079539060592651','2016-10-07 11:30:32'),(1880,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001500\', \'Quit Rent & Assessment	\', \'\')','login/save_new','0.062082052230835','2016-10-07 11:30:32'),(1881,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001600\', \'Registration Fee	\', \'\')','login/save_new','0.12440204620361','2016-10-07 11:30:32'),(1882,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001700\', \'Rental of Equipment	\', \'\')','login/save_new','0.17487406730652','2016-10-07 11:30:32'),(1883,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001800\', \'Rental of office	\', \'\')','login/save_new','0.13340592384338','2016-10-07 11:30:32'),(1884,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001900\', \'Rental of store	\', \'\')','login/save_new','0.016683101654053','2016-10-07 11:30:32'),(1885,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810002000\', \'Seminar & Training	\', \'\')','login/save_new','0.024791955947876','2016-10-07 11:30:32'),(1886,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810002100\', \'Store expenses	\', \'\')','login/save_new','0.092014074325562','2016-10-07 11:30:32'),(1887,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810002200\', \'Telephone	\', \'\')','login/save_new','0.041298866271973','2016-10-07 11:30:32'),(1888,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810002300\', \'Travel, Meals & Entertainment	\', \'\')','login/save_new','0.041579008102417','2016-10-07 11:30:32'),(1889,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810002400\', \'Salary & wages	\', \'\')','login/save_new','0.04121208190918','2016-10-07 11:30:32'),(1890,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810002500\', \'EPF & Socso	\', \'\')','login/save_new','0.033446073532104','2016-10-07 11:30:32'),(1891,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'850010000\', \'Bank Charges	\', \'\')','login/save_new','0.033239841461182','2016-10-07 11:30:32'),(1892,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'850020000\', \'Interest on loan	\', \'\')','login/save_new','0.033271074295044','2016-10-07 11:30:32'),(1893,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'860000000\', \'Income Tax Expense	\', \'\')','login/save_new','0.033225059509277','2016-10-07 11:30:32'),(1894,0,0,'192.168.1.198','insert','INSERT INTO `comp_bank` (`companyID`, `bankName`, `linkAccountID`, `currencyID`) VALUES (20, \'Bank1 	\', \'33556\', 1)','login/save_new','0.10097289085388','2016-10-07 11:30:32'),(1895,0,0,'192.168.1.198','insert','INSERT INTO `comp_bank` (`companyID`, `bankName`, `linkAccountID`, `currencyID`) VALUES (20, \'Bank2	\', \'33557\', 1)','login/save_new','0.033207893371582','2016-10-07 11:30:32'),(1896,0,0,'192.168.1.198','insert','INSERT INTO `comp_bank` (`companyID`, `bankName`, `linkAccountID`, `currencyID`) VALUES (20, \'Bank3	\', \'33558\', 1)','login/save_new','0.03326416015625','2016-10-07 11:30:32'),(1897,0,0,'192.168.1.198','insert','INSERT INTO `comp_bank` (`companyID`, `bankName`, `linkAccountID`, `currencyID`) VALUES (20, \'Petty Cash 1	\', \'33559\', 1)','login/save_new','0.033246994018555','2016-10-07 11:30:32'),(1898,0,0,'192.168.1.198','insert','INSERT INTO `comp_bank` (`companyID`, `bankName`, `linkAccountID`, `currencyID`) VALUES (20, \'Petty Cash 2	\', \'33560\', 1)','login/save_new','0.033257007598877','2016-10-07 11:30:32'),(1899,20,4,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'20\', \'4\', 1, \'33568\', \'68\', \'300\', \'OP-C\', \'2016-10-10\', \'194\', \'1\')','expenses/fnSaveExpenses','0.083883047103882','2016-10-10 10:18:01'),(1900,20,4,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (52, \'4\', \'10/10/2016\', 1, \'33568\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.050100803375244','2016-10-10 10:18:01'),(1901,20,4,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (52, \'4\', \'10/10/2016-2\', 1, \'33568\', \'200\', \'200\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.024518966674805','2016-10-10 10:18:01'),(1902,20,4,'192.168.1.198','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'20\', \'3\', \'16\', \'10\', \'AP\', 1)','expenses/fnSaveExpenses','0.026175022125244','2016-10-10 10:18:01'),(1903,20,4,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP161000000001\' WHERE `ID` =  52','expenses/fnSaveExpenses','0.024543046951294','2016-10-10 10:18:01'),(1904,20,4,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'20\', \'AP161000000001\', \'Cost of Goods Sold [OP-C[00000001]]\', \'Cost of Goods Sold [OP-C[00000001]]\', \'\', \'3\', \'2016-10-10\', \'16\', \'10\', 300, 300, \'4\')','expenses/fnSaveExpenses','0.039630889892578','2016-10-10 10:18:01'),(1905,20,4,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'20\', \'AP161000000001\', 1, \'10/10/2016\', \'33557\', 100, 1, \'1\', \'100\', \'10\', \'16\', \'1\', \'OP-C[00000001]\', \'4\')','expenses/fnSaveExpenses','0.074411869049072','2016-10-10 10:18:01'),(1906,20,4,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'20\', \'AP161000000001\', 2, \'10/10/2016\', \'33568\', 100, 1, \'1\', \'100\', \'10\', \'16\', \'1\', \'OP-C[00000001]\', \'4\')','expenses/fnSaveExpenses','0.016690969467163','2016-10-10 10:18:01'),(1907,20,4,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'20\', \'AP161000000001\', 3, \'10/10/2016-2\', \'33557\', 200, 1, \'1\', \'200\', \'10\', \'16\', \'1\', \'OP-C[00000001]\', \'4\')','expenses/fnSaveExpenses','0.01613187789917','2016-10-10 10:18:01'),(1908,20,4,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'20\', \'AP161000000001\', 4, \'10/10/2016-2\', \'33568\', 200, 1, \'1\', \'200\', \'10\', \'16\', \'1\', \'OP-C[00000001]\', \'4\')','expenses/fnSaveExpenses','0.016703128814697','2016-10-10 10:18:01'),(1909,20,4,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 300, `total_amount_cr` = 300, `total_amount` = 0 WHERE `companyID` =  \'20\' AND `journalID` =  \'AP161000000001\'','expenses/fnSaveExpenses','0.024522066116333','2016-10-10 10:18:01'),(1910,20,4,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  52','expenses/fnSaveExpenses','0.025163888931274','2016-10-10 10:18:01'),(1911,20,4,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  108','expenses/fnSaveExpenses','0.016057968139648','2016-10-10 10:18:01'),(1912,20,4,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'20\' AND `journalID` =  \'AP161000000001\'','expenses/fnSaveExpenses','0.016795873641968','2016-10-10 10:18:01'),(1913,20,4,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'20\', \'3\', \'33557\', \'2016\', \'10\', \'0\', \'100\', -100, \'4\', \'2016-10-10: 04:10:01\')','expenses/fnSaveExpenses','0.029409885406494','2016-10-10 10:18:01'),(1914,20,4,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'20\', \'8\', \'33568\', \'2016\', \'10\', \'100\', \'0\', 100, \'4\', \'2016-10-10: 04:10:01\')','expenses/fnSaveExpenses','0.024281024932861','2016-10-10 10:18:01'),(1915,20,4,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'4\' WHERE `a`.`companyID` =  \'20\' AND `a`.`acctID` =  \'33557\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.01569390296936','2016-10-10 10:18:01'),(1916,20,4,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'4\' WHERE `a`.`companyID` =  \'20\' AND `a`.`acctID` =  \'33568\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.016139030456543','2016-10-10 10:18:01'),(1917,0,0,'192.168.1.198','insert','INSERT INTO `tbl_usermaster` (`username`, `email`, `userid`, `password`, `phone_mobile`, `last_seen_ip`) VALUES (\'garfield Sdn Bhd\', \'garfield@gmail.com\', \'garfield@gmail.com\', \'827ccb0eea8a706c4c34a16891f84e7b\', \'123\', \'192.168.1.198\')','login/save_new','0.01819109916687','2016-10-10 14:39:40'),(1918,0,0,'192.168.1.198','insert','INSERT INTO `company` (`companyName`, `businessIndustryID`) VALUES (\'garfield\', \'15\')','login/save_new','0.041828155517578','2016-10-10 14:39:41'),(1919,0,0,'192.168.1.198','insert','INSERT INTO `user_expiry` (`userID`, `username`, `typeOfPackage`, `numberOfPeriod`, `startDate`, `endDate`) VALUES (5, 0, 1, 1, \'2016-10-10\', \'2016-11-09\')','login/save_new','0.03573203086853','2016-10-10 14:39:41'),(1920,0,0,'192.168.1.198','insert','INSERT INTO `user_module_access` (`companyID`, `userID`, `moduleID`, `transaction`, `reports`, `setup`, `accessRight`) VALUES (20, 5, 0, 1, 1, 1, 1)','login/save_new','0.0081701278686523','2016-10-10 14:39:41'),(1921,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'1\', \'100000000\', \'Advancement/(Drawing)	\', \'\')','login/save_new','0.042346954345703','2016-10-10 14:39:41'),(1922,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'1\', \'120000000\', \'Retained Profit/(Loss) B/F \', \'\')','login/save_new','0.008120059967041','2016-10-10 14:39:41'),(1923,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'1\', \'130000000\', \'Current Retained Profit/(Loss)  \', \'\')','login/save_new','0.016516923904419','2016-10-10 14:39:41'),(1924,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000000\', \'Fixed Asset	\', \'\')','login/save_new','0.0081870555877686','2016-10-10 14:39:41'),(1925,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000100\', \'Furniture & Fixtures	\', \'\')','login/save_new','0.013605117797852','2016-10-10 14:39:41'),(1926,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000200\', \'Office Equipment	\', \'\')','login/save_new','0.011112928390503','2016-10-10 14:39:41'),(1927,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000300\', \'Computer & Software	\', \'\')','login/save_new','0.0082089900970459','2016-10-10 14:39:41'),(1928,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000400\', \'Motor Vehicle	\', \'\')','login/save_new','0.013872146606445','2016-10-10 14:39:41'),(1929,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000500\', \'Machinery & Engine	\', \'\')','login/save_new','0.01082706451416','2016-10-10 14:39:41'),(1930,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000600\', \'Renovation	\', \'\')','login/save_new','0.008188009262085','2016-10-10 14:39:41'),(1931,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000700\', \'Store Equipment	\', \'\')','login/save_new','0.013620138168335','2016-10-10 14:39:41'),(1932,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000800\', \'Asset 8	\', \'\')','login/save_new','0.011096954345703','2016-10-10 14:39:41'),(1933,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200000900\', \'Asset 9	\', \'\')','login/save_new','0.0081701278686523','2016-10-10 14:39:41'),(1934,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'2\', \'200001000\', \'Other Asset	\', \'\')','login/save_new','0.013889074325562','2016-10-10 14:39:41'),(1935,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'3\', \'220000000\', \'Bank & Cash Balance	\', \'\')','login/save_new','0.010818004608154','2016-10-10 14:39:41'),(1936,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'3\', \'220000100\', \'Bank1 	\', \'\')','login/save_new','0.0081961154937744','2016-10-10 14:39:41'),(1937,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'3\', \'220000200\', \'Bank2	\', \'\')','login/save_new','0.013607025146484','2016-10-10 14:39:41'),(1938,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'3\', \'220000300\', \'Bank3	\', \'\')','login/save_new','0.011109828948975','2016-10-10 14:39:41'),(1939,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'3\', \'220000400\', \'Petty Cash 1	\', \'\')','login/save_new','0.0081779956817627','2016-10-10 14:39:41'),(1940,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'3\', \'220000500\', \'Petty Cash 2	\', \'\')','login/save_new','0.013915061950684','2016-10-10 14:39:41'),(1941,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'4\', \'370000000\', \'Borrowing	\', \'\')','login/save_new','0.010805130004883','2016-10-10 14:39:41'),(1942,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'4\', \'370000100\', \'Loan 1	\', \'\')','login/save_new','0.0081901550292969','2016-10-10 14:39:41'),(1943,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'4\', \'370000200\', \'Loan 2	\', \'\')','login/save_new','0.0081841945648193','2016-10-10 14:39:41'),(1944,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'4\', \'370000300\', \'Loan 3	\', \'\')','login/save_new','0.013926029205322','2016-10-10 14:39:41'),(1945,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'4\', \'370000400\', \'Loan 4	\', \'\')','login/save_new','0.010800123214722','2016-10-10 14:39:41'),(1946,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'4\', \'370000500\', \'Loan 5	\', \'\')','login/save_new','0.0081961154937744','2016-10-10 14:39:41'),(1947,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'7\', \'400000000\', \'Sales	\', \'\')','login/save_new','0.0081899166107178','2016-10-10 14:39:41'),(1948,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'8\', \'500000000\', \'Cost of Goods Sold	\', \'\')','login/save_new','0.013880968093872','2016-10-10 14:39:41'),(1949,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'35\', \'700000000\', \'Others Income 	\', \'\')','login/save_new','0.01082706451416','2016-10-10 14:39:41'),(1950,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810000100\', \'Accounting & Legal	\', \'\')','login/save_new','0.0081870555877686','2016-10-10 14:39:41'),(1951,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810000200\', \'Advertising & Marketing	\', \'\')','login/save_new','0.013612031936646','2016-10-10 14:39:41'),(1952,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810000300\', \'Commissions	\', \'\')','login/save_new','0.011109113693237','2016-10-10 14:39:41'),(1953,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810000400\', \'Depreciation Expense	\', \'\')','login/save_new','0.008185863494873','2016-10-10 14:39:41'),(1954,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810000500\', \'Electricity & water	\', \'\')','login/save_new','0.0081939697265625','2016-10-10 14:39:41'),(1955,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810000600\', \'GST- Non Claimable	\', \'\')','login/save_new','0.01360297203064','2016-10-10 14:39:41'),(1956,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810000700\', \'Insurance Premium	\', \'\')','login/save_new','0.011110067367554','2016-10-10 14:39:41'),(1957,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810000800\', \'Late Payment Charges	\', \'\')','login/save_new','0.0081830024719238','2016-10-10 14:39:41'),(1958,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810000900\', \'Medical fee	\', \'\')','login/save_new','0.01392388343811','2016-10-10 14:39:41'),(1959,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001000\', \'Miscellaneous Expenses	\', \'\')','login/save_new','0.010795116424561','2016-10-10 14:39:41'),(1960,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001100\', \'Motor Vehicle Repair & maintenance	\', \'\')','login/save_new','0.008188009262085','2016-10-10 14:39:41'),(1961,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001200\', \'Office expenses	\', \'\')','login/save_new','0.013645887374878','2016-10-10 14:39:41'),(1962,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001300\', \'Petrol,Parking & Toll	\', \'\')','login/save_new','0.011068105697632','2016-10-10 14:39:41'),(1963,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001400\', \'Postage & Courier	\', \'\')','login/save_new','0.008195161819458','2016-10-10 14:39:41'),(1964,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001500\', \'Quit Rent & Assessment	\', \'\')','login/save_new','0.013922929763794','2016-10-10 14:39:41'),(1965,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001600\', \'Registration Fee	\', \'\')','login/save_new','0.010806083679199','2016-10-10 14:39:41'),(1966,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001700\', \'Rental of Equipment	\', \'\')','login/save_new','0.0082001686096191','2016-10-10 14:39:41'),(1967,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001800\', \'Rental of office	\', \'\')','login/save_new','0.01361608505249','2016-10-10 14:39:41'),(1968,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810001900\', \'Rental of store	\', \'\')','login/save_new','0.011091947555542','2016-10-10 14:39:41'),(1969,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810002000\', \'Seminar & Training	\', \'\')','login/save_new','0.0082008838653564','2016-10-10 14:39:41'),(1970,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810002100\', \'Store expenses	\', \'\')','login/save_new','0.013914823532104','2016-10-10 14:39:41'),(1971,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810002200\', \'Telephone	\', \'\')','login/save_new','0.010801076889038','2016-10-10 14:39:41'),(1972,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810002300\', \'Travel, Meals & Entertainment	\', \'\')','login/save_new','0.0081970691680908','2016-10-10 14:39:41'),(1973,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810002400\', \'Salary & wages	\', \'\')','login/save_new','0.013635873794556','2016-10-10 14:39:41'),(1974,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'810002500\', \'EPF & Socso	\', \'\')','login/save_new','0.019418954849243','2016-10-10 14:39:41'),(1975,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'850010000\', \'Bank Charges	\', \'\')','login/save_new','0.016515016555786','2016-10-10 14:39:42'),(1976,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'850020000\', \'Interest on loan	\', \'\')','login/save_new','0.0081949234008789','2016-10-10 14:39:42'),(1977,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (20, \'10\', \'860000000\', \'Income Tax Expense	\', \'\')','login/save_new','0.0081839561462402','2016-10-10 14:39:42'),(1978,0,0,'192.168.1.198','insert','INSERT INTO `comp_bank` (`companyID`, `bankName`, `linkAccountID`, `currencyID`) VALUES (20, \'Bank1 	\', \'33556\', 1)','login/save_new','0.036020994186401','2016-10-10 14:39:42'),(1979,0,0,'192.168.1.198','insert','INSERT INTO `comp_bank` (`companyID`, `bankName`, `linkAccountID`, `currencyID`) VALUES (20, \'Bank2	\', \'33557\', 1)','login/save_new','0.0081639289855957','2016-10-10 14:39:42'),(1980,0,0,'192.168.1.198','insert','INSERT INTO `comp_bank` (`companyID`, `bankName`, `linkAccountID`, `currencyID`) VALUES (20, \'Bank3	\', \'33558\', 1)','login/save_new','0.013952016830444','2016-10-10 14:39:42'),(1981,0,0,'192.168.1.198','insert','INSERT INTO `comp_bank` (`companyID`, `bankName`, `linkAccountID`, `currencyID`) VALUES (20, \'Petty Cash 1	\', \'33559\', 1)','login/save_new','0.010791063308716','2016-10-10 14:39:42'),(1982,0,0,'192.168.1.198','insert','INSERT INTO `comp_bank` (`companyID`, `bankName`, `linkAccountID`, `currencyID`) VALUES (20, \'Petty Cash 2	\', \'33560\', 1)','login/save_new','0.050602912902832','2016-10-10 14:39:42'),(1983,0,0,'192.168.1.198','insert','INSERT INTO `comp_bank` (`companyID`, `bankName`, `linkAccountID`, `currencyID`) VALUES (20, \'Bank1 	\', \'33613\', 1)','login/save_new','0.015786170959473','2016-10-10 14:39:42'),(1984,0,0,'192.168.1.198','insert','INSERT INTO `comp_bank` (`companyID`, `bankName`, `linkAccountID`, `currencyID`) VALUES (20, \'Bank2	\', \'33614\', 1)','login/save_new','0.026643037796021','2016-10-10 14:39:42'),(1985,0,0,'192.168.1.198','insert','INSERT INTO `comp_bank` (`companyID`, `bankName`, `linkAccountID`, `currencyID`) VALUES (20, \'Bank3	\', \'33615\', 1)','login/save_new','0.014760971069336','2016-10-10 14:39:42'),(1986,0,0,'192.168.1.198','insert','INSERT INTO `comp_bank` (`companyID`, `bankName`, `linkAccountID`, `currencyID`) VALUES (20, \'Petty Cash 1	\', \'33616\', 1)','login/save_new','0.03317403793335','2016-10-10 14:39:42'),(1987,0,0,'192.168.1.198','insert','INSERT INTO `comp_bank` (`companyID`, `bankName`, `linkAccountID`, `currencyID`) VALUES (20, \'Petty Cash 2	\', \'33617\', 1)','login/save_new','0.024847030639648','2016-10-10 14:39:42'),(1988,20,5,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'20\', \'5\', 1, \'33625\', \'68\', \'400\', \'OP-C\', \'2016-10-10\', \'204\', \'1\')','expenses/fnSaveExpenses','0.096173048019409','2016-10-10 14:47:46'),(1989,20,5,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (53, \'5\', \'garfield10/10/2016\', 1, \'33625\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.037829875946045','2016-10-10 14:47:46'),(1990,20,5,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (53, \'5\', \'garfield10/10/2016-2\', 1, \'33625\', \'300\', \'300\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.011639833450317','2016-10-10 14:47:46'),(1991,20,5,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'306\'','expenses/fnSaveExpenses','0.017889022827148','2016-10-10 14:47:46'),(1992,20,5,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000002\' WHERE `ID` =  53','expenses/fnSaveExpenses','0.019893169403076','2016-10-10 14:47:46'),(1993,20,5,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'20\', \'AP20161000000002\', \'Cost of Goods Sold [OP-C[00000002]]\', \'Cost of Goods Sold [OP-C[00000002]]\', \'\', \'3\', \'2016-10-10\', \'16\', \'10\', 400, 400, \'5\')','expenses/fnSaveExpenses','0.027639150619507','2016-10-10 14:47:46'),(1994,20,5,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'20\', \'AP20161000000002\', 1, \'garfield10/10/2016\', \'33614\', 100, 1, \'1\', \'100\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'5\')','expenses/fnSaveExpenses','0.053100109100342','2016-10-10 14:47:46'),(1995,20,5,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'20\', \'AP20161000000002\', 2, \'garfield10/10/2016\', \'33625\', 100, 1, \'1\', \'100\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'5\')','expenses/fnSaveExpenses','0.0080640316009521','2016-10-10 14:47:46'),(1996,20,5,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'20\', \'AP20161000000002\', 3, \'garfield10/10/2016-2\', \'33614\', 300, 1, \'1\', \'300\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'5\')','expenses/fnSaveExpenses','0.012712001800537','2016-10-10 14:47:46'),(1997,20,5,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'20\', \'AP20161000000002\', 4, \'garfield10/10/2016-2\', \'33625\', 300, 1, \'1\', \'300\', \'10\', \'16\', \'1\', \'OP-C[00000002]\', \'5\')','expenses/fnSaveExpenses','0.011761903762817','2016-10-10 14:47:46'),(1998,20,5,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 400, `total_amount_cr` = 400, `total_amount` = 0 WHERE `companyID` =  \'20\' AND `journalID` =  \'AP20161000000002\'','expenses/fnSaveExpenses','0.016479015350342','2016-10-10 14:47:46'),(1999,20,5,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  53','expenses/fnSaveExpenses','0.0082008838653564','2016-10-10 14:47:46'),(2000,20,5,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  109','expenses/fnSaveExpenses','0.024698972702026','2016-10-10 14:47:46'),(2001,20,5,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'20\' AND `journalID` =  \'AP20161000000002\'','expenses/fnSaveExpenses','0.008141040802002','2016-10-10 14:47:46'),(2002,20,5,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'20\', \'3\', \'33614\', \'2016\', \'10\', \'0\', \'100\', -100, \'5\', \'2016-10-10: 08:10:46\')','expenses/fnSaveExpenses','0.013311147689819','2016-10-10 14:47:46'),(2003,20,5,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'20\', \'8\', \'33625\', \'2016\', \'10\', \'100\', \'0\', 100, \'5\', \'2016-10-10: 08:10:46\')','expenses/fnSaveExpenses','0.010956048965454','2016-10-10 14:47:46'),(2004,20,5,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'5\' WHERE `a`.`companyID` =  \'20\' AND `a`.`acctID` =  \'33614\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.012167930603027','2016-10-10 14:47:46'),(2005,20,5,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'5\' WHERE `a`.`companyID` =  \'20\' AND `a`.`acctID` =  \'33625\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.019563913345337','2016-10-10 14:47:46'),(2006,0,0,'192.168.1.198','insert','INSERT INTO `tbl_usermaster` (`username`, `email`, `userid`, `password`, `phone_mobile`, `last_seen_ip`) VALUES (\'eminem sdn bhd\', \'eminem@gmail.com\', \'eminem@gmail.com\', \'827ccb0eea8a706c4c34a16891f84e7b\', \'123\', \'192.168.1.198\')','login/save_new','0.018407106399536','2016-10-10 16:06:25'),(2007,0,0,'192.168.1.198','insert','INSERT INTO `company` (`companyName`, `businessIndustryID`) VALUES (\'eminem sdn bhd\', \'7\')','login/save_new','0.042348861694336','2016-10-10 16:06:25'),(2008,0,0,'192.168.1.198','insert','INSERT INTO `user_expiry` (`userID`, `username`, `typeOfPackage`, `numberOfPeriod`, `startDate`, `endDate`) VALUES (6, 0, 1, 1, \'2016-10-10\', \'2016-11-09\')','login/save_new','0.049768924713135','2016-10-10 16:06:25'),(2009,0,0,'192.168.1.198','insert','INSERT INTO `user_module_access` (`companyID`, `userID`, `moduleID`, `transaction`, `reports`, `setup`, `accessRight`) VALUES (21, 6, 0, 1, 1, 1, 1)','login/save_new','0.016487836837769','2016-10-10 16:06:25'),(2010,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'1\', \'100000000\', \'Advancement/(Drawing)	\', \'\')','login/save_new','0.055552005767822','2016-10-10 16:06:25'),(2011,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'1\', \'120000000\', \'Retained Profit/(Loss) B/F \', \'\')','login/save_new','0.017267942428589','2016-10-10 16:06:25'),(2012,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'1\', \'130000000\', \'Current Retained Profit/(Loss)  \', \'\')','login/save_new','0.016509056091309','2016-10-10 16:06:25'),(2013,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'2\', \'200000000\', \'Fixed Asset	\', \'\')','login/save_new','0.016509056091309','2016-10-10 16:06:25'),(2014,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'2\', \'200000100\', \'Furniture & Fixtures	\', \'\')','login/save_new','0.01651406288147','2016-10-10 16:06:25'),(2015,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'2\', \'200000200\', \'Office Equipment	\', \'\')','login/save_new','0.016524791717529','2016-10-10 16:06:25'),(2016,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'2\', \'200000300\', \'Computer & Software	\', \'\')','login/save_new','0.016499042510986','2016-10-10 16:06:25'),(2017,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'2\', \'200000400\', \'Motor Vehicle	\', \'\')','login/save_new','0.016533136367798','2016-10-10 16:06:25'),(2018,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'2\', \'200000500\', \'Machinery & Engine	\', \'\')','login/save_new','0.01648998260498','2016-10-10 16:06:25'),(2019,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'2\', \'200000600\', \'Renovation	\', \'\')','login/save_new','0.016510963439941','2016-10-10 16:06:25'),(2020,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'2\', \'200000700\', \'Store Equipment	\', \'\')','login/save_new','0.016505002975464','2016-10-10 16:06:25'),(2021,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'2\', \'200000800\', \'Asset 8	\', \'\')','login/save_new','0.016509056091309','2016-10-10 16:06:25'),(2022,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'2\', \'200000900\', \'Asset 9	\', \'\')','login/save_new','0.016522169113159','2016-10-10 16:06:25'),(2023,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'2\', \'200001000\', \'Other Asset	\', \'\')','login/save_new','0.01651406288147','2016-10-10 16:06:25'),(2024,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'3\', \'220000000\', \'Bank & Cash Balance	\', \'\')','login/save_new','0.016512870788574','2016-10-10 16:06:25'),(2025,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'3\', \'220000100\', \'Bank1 	\', \'\')','login/save_new','0.016499996185303','2016-10-10 16:06:25'),(2026,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'3\', \'220000200\', \'Bank2	\', \'\')','login/save_new','0.016525030136108','2016-10-10 16:06:25'),(2027,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'3\', \'220000300\', \'Bank3	\', \'\')','login/save_new','0.01652193069458','2016-10-10 16:06:25'),(2028,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'3\', \'220000400\', \'Petty Cash 1	\', \'\')','login/save_new','0.016506910324097','2016-10-10 16:06:25'),(2029,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'3\', \'220000500\', \'Petty Cash 2	\', \'\')','login/save_new','0.016510963439941','2016-10-10 16:06:25'),(2030,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'4\', \'370000000\', \'Borrowing	\', \'\')','login/save_new','0.016503810882568','2016-10-10 16:06:25'),(2031,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'4\', \'370000100\', \'Loan 1	\', \'\')','login/save_new','0.016520977020264','2016-10-10 16:06:25'),(2032,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'4\', \'370000200\', \'Loan 2	\', \'\')','login/save_new','0.016507148742676','2016-10-10 16:06:25'),(2033,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'4\', \'370000300\', \'Loan 3	\', \'\')','login/save_new','0.016518831253052','2016-10-10 16:06:25'),(2034,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'4\', \'370000400\', \'Loan 4	\', \'\')','login/save_new','0.016518831253052','2016-10-10 16:06:25'),(2035,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'4\', \'370000500\', \'Loan 5	\', \'\')','login/save_new','0.016492128372192','2016-10-10 16:06:25'),(2036,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'7\', \'400000000\', \'Sales	\', \'\')','login/save_new','0.016507148742676','2016-10-10 16:06:25'),(2037,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'8\', \'500000000\', \'Cost of Goods Sold	\', \'\')','login/save_new','0.016515970230103','2016-10-10 16:06:25'),(2038,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'35\', \'700000000\', \'Others Income 	\', \'\')','login/save_new','0.016510963439941','2016-10-10 16:06:25'),(2039,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'10\', \'810000100\', \'Accounting & Legal	\', \'\')','login/save_new','0.016518115997314','2016-10-10 16:06:25'),(2040,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'10\', \'810000200\', \'Advertising & Marketing	\', \'\')','login/save_new','0.016496896743774','2016-10-10 16:06:25'),(2041,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'10\', \'810000300\', \'Commissions	\', \'\')','login/save_new','0.016501903533936','2016-10-10 16:06:25'),(2042,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'10\', \'810000400\', \'Depreciation Expense	\', \'\')','login/save_new','0.016510009765625','2016-10-10 16:06:25'),(2043,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'10\', \'810000500\', \'Electricity & water	\', \'\')','login/save_new','0.016522169113159','2016-10-10 16:06:25'),(2044,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'10\', \'810000600\', \'GST- Non Claimable	\', \'\')','login/save_new','0.016526937484741','2016-10-10 16:06:25'),(2045,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'10\', \'810000700\', \'Insurance Premium	\', \'\')','login/save_new','0.016525983810425','2016-10-10 16:06:26'),(2046,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'10\', \'810000800\', \'Late Payment Charges	\', \'\')','login/save_new','0.016501188278198','2016-10-10 16:06:26'),(2047,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'10\', \'810000900\', \'Medical fee	\', \'\')','login/save_new','0.016538143157959','2016-10-10 16:06:26'),(2048,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'10\', \'810001000\', \'Miscellaneous Expenses	\', \'\')','login/save_new','0.016479015350342','2016-10-10 16:06:26'),(2049,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'10\', \'810001100\', \'Motor Vehicle Repair & maintenance	\', \'\')','login/save_new','0.016515970230103','2016-10-10 16:06:26'),(2050,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'10\', \'810001200\', \'Office expenses	\', \'\')','login/save_new','0.016516923904419','2016-10-10 16:06:26'),(2051,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'10\', \'810001300\', \'Petrol,Parking & Toll	\', \'\')','login/save_new','0.01650595664978','2016-10-10 16:06:26'),(2052,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'10\', \'810001400\', \'Postage & Courier	\', \'\')','login/save_new','0.016506910324097','2016-10-10 16:06:26'),(2053,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'10\', \'810001500\', \'Quit Rent & Assessment	\', \'\')','login/save_new','0.016510009765625','2016-10-10 16:06:26'),(2054,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'10\', \'810001600\', \'Registration Fee	\', \'\')','login/save_new','0.01652193069458','2016-10-10 16:06:26'),(2055,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'10\', \'810001700\', \'Rental of Equipment	\', \'\')','login/save_new','0.016508817672729','2016-10-10 16:06:26'),(2056,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'10\', \'810001800\', \'Rental of office	\', \'\')','login/save_new','0.01650595664978','2016-10-10 16:06:26'),(2057,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'10\', \'810001900\', \'Rental of store	\', \'\')','login/save_new','0.016527891159058','2016-10-10 16:06:26'),(2058,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'10\', \'810002000\', \'Seminar & Training	\', \'\')','login/save_new','0.016506910324097','2016-10-10 16:06:26'),(2059,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'10\', \'810002100\', \'Store expenses	\', \'\')','login/save_new','0.016509056091309','2016-10-10 16:06:26'),(2060,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'10\', \'810002200\', \'Telephone	\', \'\')','login/save_new','0.01651406288147','2016-10-10 16:06:26'),(2061,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'10\', \'810002300\', \'Travel, Meals & Entertainment	\', \'\')','login/save_new','0.016534090042114','2016-10-10 16:06:26'),(2062,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'10\', \'810002400\', \'Salary & wages	\', \'\')','login/save_new','0.016513109207153','2016-10-10 16:06:26'),(2063,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'10\', \'810002500\', \'EPF & Socso	\', \'\')','login/save_new','0.016490936279297','2016-10-10 16:06:26'),(2064,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'10\', \'850010000\', \'Bank Charges	\', \'\')','login/save_new','0.016528129577637','2016-10-10 16:06:26'),(2065,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'10\', \'850020000\', \'Interest on loan	\', \'\')','login/save_new','0.034888982772827','2016-10-10 16:06:26'),(2066,0,0,'192.168.1.198','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (21, \'10\', \'860000000\', \'Income Tax Expense	\', \'\')','login/save_new','0.014775037765503','2016-10-10 16:06:26'),(2067,0,0,'192.168.1.198','insert','INSERT INTO `comp_bank` (`companyID`, `bankName`, `linkAccountID`, `currencyID`) VALUES (21, \'Bank1 	\', \'33670\', 1)','login/save_new','0.04985499382019','2016-10-10 16:06:26'),(2068,0,0,'192.168.1.198','insert','INSERT INTO `comp_bank` (`companyID`, `bankName`, `linkAccountID`, `currencyID`) VALUES (21, \'Bank2	\', \'33671\', 1)','login/save_new','0.014145135879517','2016-10-10 16:06:26'),(2069,0,0,'192.168.1.198','insert','INSERT INTO `comp_bank` (`companyID`, `bankName`, `linkAccountID`, `currencyID`) VALUES (21, \'Bank3	\', \'33672\', 1)','login/save_new','0.016518115997314','2016-10-10 16:06:26'),(2070,0,0,'192.168.1.198','insert','INSERT INTO `comp_bank` (`companyID`, `bankName`, `linkAccountID`, `currencyID`) VALUES (21, \'Petty Cash 1	\', \'33673\', 1)','login/save_new','0.033186912536621','2016-10-10 16:06:26'),(2071,0,0,'192.168.1.198','insert','INSERT INTO `comp_bank` (`companyID`, `bankName`, `linkAccountID`, `currencyID`) VALUES (21, \'Petty Cash 2	\', \'33674\', 1)','login/save_new','0.016516923904419','2016-10-10 16:06:26'),(2072,21,6,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'21\', \'6\', 1, \'33682\', \'68\', \'1050\', \'OP-C\', \'2016-10-10\', \'209\', \'1\')','expenses/fnSaveExpenses','0.043643951416016','2016-10-10 16:07:57'),(2073,21,6,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (54, \'6\', \'eminem01\', 1, \'33682\', \'450\', \'450\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.041488885879517','2016-10-10 16:07:57'),(2074,21,6,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (54, \'6\', \'eminem02\', 1, \'33682\', \'600\', \'600\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016500949859619','2016-10-10 16:07:57'),(2075,21,6,'192.168.1.198','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'21\', \'3\', \'16\', \'10\', \'AP\', 1)','expenses/fnSaveExpenses','0.027127027511597','2016-10-10 16:07:57'),(2076,21,6,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP161000000001\' WHERE `ID` =  54','expenses/fnSaveExpenses','0.016512870788574','2016-10-10 16:07:57'),(2077,21,6,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'21\', \'AP161000000001\', \'Cost of Goods Sold [OP-C[00000001]]\', \'Cost of Goods Sold [OP-C[00000001]]\', \'\', \'3\', \'2016-10-10\', \'16\', \'10\', 1050, 1050, \'6\')','expenses/fnSaveExpenses','0.013107061386108','2016-10-10 16:07:57'),(2078,21,6,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'21\', \'AP161000000001\', 1, \'eminem01\', \'33671\', 450, 1, \'1\', \'450\', \'10\', \'16\', \'1\', \'OP-C[00000001]\', \'6\')','expenses/fnSaveExpenses','0.034446001052856','2016-10-10 16:07:57'),(2079,21,6,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'21\', \'AP161000000001\', 2, \'eminem01\', \'33682\', 450, 1, \'1\', \'450\', \'10\', \'16\', \'1\', \'OP-C[00000001]\', \'6\')','expenses/fnSaveExpenses','0.01642107963562','2016-10-10 16:07:57'),(2080,21,6,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'21\', \'AP161000000001\', 3, \'eminem02\', \'33671\', 600, 1, \'1\', \'600\', \'10\', \'16\', \'1\', \'OP-C[00000001]\', \'6\')','expenses/fnSaveExpenses','0.024746179580688','2016-10-10 16:07:57'),(2081,21,6,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'21\', \'AP161000000001\', 4, \'eminem02\', \'33682\', 600, 1, \'1\', \'600\', \'10\', \'16\', \'1\', \'OP-C[00000001]\', \'6\')','expenses/fnSaveExpenses','0.016415119171143','2016-10-10 16:07:58'),(2082,21,6,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 1050, `total_amount_cr` = 1050, `total_amount` = 0 WHERE `companyID` =  \'21\' AND `journalID` =  \'AP161000000001\'','expenses/fnSaveExpenses','0.01650595664978','2016-10-10 16:07:58'),(2083,21,6,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  54','expenses/fnSaveExpenses','0.016550064086914','2016-10-10 16:07:58'),(2084,21,6,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  110','expenses/fnSaveExpenses','0.024711132049561','2016-10-10 16:07:58'),(2085,21,6,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'21\' AND `journalID` =  \'AP161000000001\'','expenses/fnSaveExpenses','0.016477108001709','2016-10-10 16:07:58'),(2086,21,6,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'21\', \'3\', \'33671\', \'2016\', \'10\', \'0\', \'450\', -450, \'6\', \'2016-10-10: 10:10:57\')','expenses/fnSaveExpenses','0.022392988204956','2016-10-10 16:07:58'),(2087,21,6,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'21\', \'8\', \'33682\', \'2016\', \'10\', \'450\', \'0\', 450, \'6\', \'2016-10-10: 10:10:57\')','expenses/fnSaveExpenses','0.015799999237061','2016-10-10 16:07:58'),(2088,21,6,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'6\' WHERE `a`.`companyID` =  \'21\' AND `a`.`acctID` =  \'33671\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.016017913818359','2016-10-10 16:07:58'),(2089,21,6,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'6\' WHERE `a`.`companyID` =  \'21\' AND `a`.`acctID` =  \'33682\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.015961885452271','2016-10-10 16:07:58'),(2090,21,6,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-10-13\', \'208\', \'OR\', \'7000.00\', \'21\')','sales/save_new_sale','0.076422929763794','2016-10-13 09:32:53'),(2091,21,6,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (20, \'33681\', \'eminem yo1\', \'3000.00\', 1)','sales/save_new_sale','0.099581003189087','2016-10-13 09:32:53'),(2092,21,6,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (20, \'33681\', \'eminem yo2\', \'4000.00\', 2)','sales/save_new_sale','0.024822950363159','2016-10-13 09:32:54'),(2093,21,6,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  20','sales/save_new_sale','0.00022196769714355','2016-10-13 09:32:54'),(2094,21,6,'192.168.1.198','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'21\', \'2\', \'2016\', \'10\', \'AR\', 1)','sales/save_new_sale','0.034303188323975','2016-10-13 09:32:54'),(2095,21,6,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20161000000001\' WHERE `ID` =  20','sales/save_new_sale','0.066898107528687','2016-10-13 09:32:54'),(2096,21,6,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'21\', \'AR20161000000001\', \'OR[00000001]\', \'Sales [ OR[00000001] ]\', \'\', \'2\', \'2016-10-13\', \'2016\', \'10\', \'7000\', \'7000\', \'6\')','sales/save_new_sale','0.055588960647583','2016-10-13 09:32:54'),(2097,21,6,'192.168.1.198','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 (\'21\', \'AR20161000000001\', 1, \'eminem yo1\', \'33681\', \'\', 3000, \'1\', \'1\', \'3000\', \'10\', \'2016\', \'1\', \'OR[00000001]\', \'0\', \'6\')','sales/save_new_sale','0.072449922561646','2016-10-13 09:32:54'),(2098,21,6,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'21\', 2, \'AR20161000000001\', \'eminem yo1\', \'33670\', \'\', 3000, \'1\', \'1\', \'3000\', \'10\', \'2016\', \'OR[00000001]\', \'1\', \'0\', \'6\')','sales/save_new_sale','0.043390989303589','2016-10-13 09:32:54'),(2099,21,6,'192.168.1.198','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 (\'21\', \'AR20161000000001\', 3, \'eminem yo2\', \'33681\', \'\', 4000, \'1\', \'1\', \'4000\', \'10\', \'2016\', \'2\', \'OR[00000001]\', \'0\', \'6\')','sales/save_new_sale','0.091333150863647','2016-10-13 09:32:54'),(2100,21,6,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'21\', 4, \'AR20161000000001\', \'eminem yo2\', \'33670\', \'\', 4000, \'1\', \'1\', \'4000\', \'10\', \'2016\', \'OR[00000001]\', \'2\', \'0\', \'6\')','sales/save_new_sale','0.033097982406616','2016-10-13 09:32:54'),(2101,21,6,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 7000, `total_amount_cr` = 7000, `total_amount` = 0 WHERE `companyID` =  \'21\' AND `journalID` =  \'AR20161000000001\'','sales/save_new_sale','0.081621885299683','2016-10-13 09:32:54'),(2102,21,6,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  20','sales/save_new_sale','0.035037994384766','2016-10-13 09:32:54'),(2103,21,6,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  111','sales/save_new_sale','0.033185005187988','2016-10-13 09:32:54'),(2104,21,6,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'21\' AND `journalID` =  \'AR20161000000001\'','sales/save_new_sale','0.033102035522461','2016-10-13 09:32:54'),(2105,21,6,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'21\', \'7\', \'33681\', \'2016\', \'10\', \'0\', \'3000\', -3000, \'6\', \'2016-10-13: 03:10:53\')','sales/save_new_sale','0.029844045639038','2016-10-13 09:32:54'),(2106,21,6,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'21\', \'3\', \'33670\', \'2016\', \'10\', \'3000\', \'0\', 3000, \'6\', \'2016-10-13: 03:10:53\')','sales/save_new_sale','0.016014814376831','2016-10-13 09:32:54'),(2107,21,6,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'6\' WHERE `a`.`companyID` =  \'21\' AND `a`.`acctID` =  \'33681\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_new_sale','0.024046897888184','2016-10-13 09:32:54'),(2108,21,6,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'6\' WHERE `a`.`companyID` =  \'21\' AND `a`.`acctID` =  \'33670\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_new_sale','0.032535076141357','2016-10-13 09:32:54'),(2109,21,6,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'21\', \'6\', 1, \'33682\', \'68\', \'2050\', \'OP-C\', \'2016-10-13\', \'209\', \'1\')','expenses/fnSaveExpenses','0.067173004150391','2016-10-13 09:35:37'),(2110,21,6,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (55, \'6\', \'this is eminem 1\', 1, \'33682\', \'1550\', \'1550\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.041724920272827','2016-10-13 09:35:37'),(2111,21,6,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (55, \'6\', \'This is eminem 2\', 1, \'33682\', \'500\', \'500\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016196012496948','2016-10-13 09:35:37'),(2112,21,6,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'307\'','expenses/fnSaveExpenses','0.026164054870605','2016-10-13 09:35:37'),(2113,21,6,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000002\' WHERE `ID` =  55','expenses/fnSaveExpenses','0.016211986541748','2016-10-13 09:35:37'),(2114,21,6,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'21\', \'AP20161000000002\', \'Cost of Goods Sold [OP-C[00000001]]\', \'Cost of Goods Sold [OP-C[00000001]]\', \'\', \'3\', \'2016-10-13\', \'16\', \'10\', 2050, 2050, \'6\')','expenses/fnSaveExpenses','0.047970056533813','2016-10-13 09:35:37'),(2115,21,6,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'21\', \'AP20161000000002\', 1, \'this is eminem 1\', \'33671\', 1550, 1, \'1\', \'1550\', \'10\', \'16\', \'1\', \'OP-C[00000001]\', \'6\')','expenses/fnSaveExpenses','0.057787179946899','2016-10-13 09:35:37'),(2116,21,6,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'21\', \'AP20161000000002\', 2, \'this is eminem 1\', \'33682\', 1550, 1, \'1\', \'1550\', \'10\', \'16\', \'1\', \'OP-C[00000001]\', \'6\')','expenses/fnSaveExpenses','0.016664028167725','2016-10-13 09:35:37'),(2117,21,6,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'21\', \'AP20161000000002\', 3, \'This is eminem 2\', \'33671\', 500, 1, \'1\', \'500\', \'10\', \'16\', \'1\', \'OP-C[00000001]\', \'6\')','expenses/fnSaveExpenses','0.016130924224854','2016-10-13 09:35:37'),(2118,21,6,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'21\', \'AP20161000000002\', 4, \'This is eminem 2\', \'33682\', 500, 1, \'1\', \'500\', \'10\', \'16\', \'1\', \'OP-C[00000001]\', \'6\')','expenses/fnSaveExpenses','0.016695022583008','2016-10-13 09:35:37'),(2119,21,6,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 2050, `total_amount_cr` = 2050, `total_amount` = 0 WHERE `companyID` =  \'21\' AND `journalID` =  \'AP20161000000002\'','expenses/fnSaveExpenses','0.01462197303772','2016-10-13 09:35:37'),(2120,21,6,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  55','expenses/fnSaveExpenses','0.018379926681519','2016-10-13 09:35:37'),(2121,21,6,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  112','expenses/fnSaveExpenses','0.016068935394287','2016-10-13 09:35:37'),(2122,21,6,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'21\' AND `journalID` =  \'AP20161000000002\'','expenses/fnSaveExpenses','0.016763925552368','2016-10-13 09:35:37'),(2123,21,6,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'6\' WHERE `a`.`companyID` =  \'21\' AND `a`.`acctID` =  \'33671\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.028921127319336','2016-10-13 09:35:37'),(2124,21,6,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'6\' WHERE `a`.`companyID` =  \'21\' AND `a`.`acctID` =  \'33682\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.016068935394287','2016-10-13 09:35:37'),(2125,21,6,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'6\' WHERE `a`.`companyID` =  \'21\' AND `a`.`acctID` =  \'33671\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.024011135101318','2016-10-13 09:35:37'),(2126,21,6,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'6\' WHERE `a`.`companyID` =  \'21\' AND `a`.`acctID` =  \'33682\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.016142129898071','2016-10-13 09:35:37'),(2127,21,6,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'yo wassup1\', \'21\', \'6\', 1, 0, \'68\', \'10900\', \'OP-E\', \'2016-10-13\', \'208\', \'1\')','expenses/fnSaveExpenses','0.092530012130737','2016-10-13 16:59:49'),(2128,21,6,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (56, \'6\', \'wassup1\', 1, \'33688\', \'4000\', \'4000\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.041155815124512','2016-10-13 16:59:49'),(2129,21,6,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (56, \'6\', \'wassup2\', 1, \'33692\', \'6900\', \'6900\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016812801361084','2016-10-13 16:59:49'),(2130,21,6,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'307\'','expenses/fnSaveExpenses','0.04241418838501','2016-10-13 16:59:49'),(2131,21,6,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000003\' WHERE `ID` =  56','expenses/fnSaveExpenses','0.016804933547974','2016-10-13 16:59:49'),(2132,21,6,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'21\', \'AP20161000000003\', \'Operating Expenses [OP-E[00000002]]\', \'Operating Expenses [OP-E[00000002]]\', \'\', \'3\', \'2016-10-13\', \'16\', \'10\', 10900, 10900, \'6\')','expenses/fnSaveExpenses','0.027992963790894','2016-10-13 16:59:49'),(2133,21,6,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'21\', \'AP20161000000003\', 1, \'wassup1\', \'33670\', 4000, 1, \'1\', \'4000\', \'10\', \'16\', \'1\', \'OP-E[00000002]\', \'6\')','expenses/fnSaveExpenses','0.041681051254272','2016-10-13 16:59:49'),(2134,21,6,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'21\', \'AP20161000000003\', 2, \'wassup1\', \'33688\', 4000, 1, \'1\', \'4000\', \'10\', \'16\', \'1\', \'OP-E[00000002]\', \'6\')','expenses/fnSaveExpenses','0.016103982925415','2016-10-13 16:59:49'),(2135,21,6,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'21\', \'AP20161000000003\', 3, \'wassup2\', \'33670\', 6900, 1, \'1\', \'6900\', \'10\', \'16\', \'1\', \'OP-E[00000002]\', \'6\')','expenses/fnSaveExpenses','0.12875008583069','2016-10-13 16:59:49'),(2136,21,6,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'21\', \'AP20161000000003\', 4, \'wassup2\', \'33692\', 6900, 1, \'1\', \'6900\', \'10\', \'16\', \'1\', \'OP-E[00000002]\', \'6\')','expenses/fnSaveExpenses','0.029056787490845','2016-10-13 16:59:49'),(2137,21,6,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 10900, `total_amount_cr` = 10900, `total_amount` = 0 WHERE `companyID` =  \'21\' AND `journalID` =  \'AP20161000000003\'','expenses/fnSaveExpenses','0.025089025497437','2016-10-13 16:59:49'),(2138,21,6,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  56','expenses/fnSaveExpenses','0.016268014907837','2016-10-13 16:59:49'),(2139,21,6,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  113','expenses/fnSaveExpenses','0.036243915557861','2016-10-13 16:59:49'),(2140,21,6,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'21\' AND `journalID` =  \'AP20161000000003\'','expenses/fnSaveExpenses','0.012152194976807','2016-10-13 16:59:49'),(2141,21,6,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'6\' WHERE `a`.`companyID` =  \'21\' AND `a`.`acctID` =  \'33670\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.020771026611328','2016-10-13 16:59:49'),(2142,21,6,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'21\', \'10\', \'33688\', \'2016\', \'10\', \'4000\', \'0\', 4000, \'6\', \'2016-10-13: 10:10:49\')','expenses/fnSaveExpenses','0.015497922897339','2016-10-13 16:59:49'),(2143,21,6,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'6\' WHERE `a`.`companyID` =  \'21\' AND `a`.`acctID` =  \'33670\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.024607181549072','2016-10-13 16:59:49'),(2144,21,6,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'21\', \'10\', \'33692\', \'2016\', \'10\', \'6900\', \'0\', 6900, \'6\', \'2016-10-13: 10:10:49\')','expenses/fnSaveExpenses','0.015461921691895','2016-10-13 16:59:49'),(2145,21,6,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`, `receiveFrom`) VALUES (\'2016-10-14\', \'211\', \'OR\', \'9900.00\', \'21\', \'hi eminem 1\')','sales/save_new_sale','0.042937040328979','2016-10-14 18:03:45'),(2146,21,6,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (21, \'33681\', \'hihihi1\', \'5600.00\', 1)','sales/save_new_sale','0.053587913513184','2016-10-14 18:03:45'),(2147,21,6,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (21, \'33681\', \'hihihi2\', \'4300.00\', 2)','sales/save_new_sale','0.014976978302002','2016-10-14 18:03:45'),(2148,21,6,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  21','sales/save_new_sale','0.00020885467529297','2016-10-14 18:03:45'),(2149,21,6,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'308\'','sales/save_new_sale','0.027443885803223','2016-10-14 18:03:45'),(2150,21,6,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20161000000002\' WHERE `ID` =  21','sales/save_new_sale','0.024847030639648','2016-10-14 18:03:45'),(2151,21,6,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'21\', \'AR20161000000002\', \'OR[00000002]\', \'Sales [ OR[00000002] ]\', \'\', \'2\', \'2016-10-14\', \'2016\', \'10\', \'9900\', \'9900\', \'6\')','sales/save_new_sale','0.014494895935059','2016-10-14 18:03:45'),(2152,21,6,'192.168.1.198','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 (\'21\', \'AR20161000000002\', 1, \'hihihi1\', \'33681\', \'hi eminem 1\', 5600, \'1\', \'1\', \'5600\', \'10\', \'2016\', \'1\', \'OR[00000002]\', \'0\', \'6\')','sales/save_new_sale','0.033034086227417','2016-10-14 18:03:45'),(2153,21,6,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'21\', 2, \'AR20161000000002\', \'hihihi1\', \'33673\', \'hi eminem 1\', 5600, \'1\', \'1\', \'5600\', \'10\', \'2016\', \'OR[00000002]\', \'1\', \'0\', \'6\')','sales/save_new_sale','0.016379833221436','2016-10-14 18:03:45'),(2154,21,6,'192.168.1.198','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 (\'21\', \'AR20161000000002\', 3, \'hihihi2\', \'33681\', \'hi eminem 1\', 4300, \'1\', \'1\', \'4300\', \'10\', \'2016\', \'2\', \'OR[00000002]\', \'0\', \'6\')','sales/save_new_sale','0.033033847808838','2016-10-14 18:03:46'),(2155,21,6,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'21\', 4, \'AR20161000000002\', \'hihihi2\', \'33673\', \'hi eminem 1\', 4300, \'1\', \'1\', \'4300\', \'10\', \'2016\', \'OR[00000002]\', \'2\', \'0\', \'6\')','sales/save_new_sale','0.016390085220337','2016-10-14 18:03:46'),(2156,21,6,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 9900, `total_amount_cr` = 9900, `total_amount` = 0 WHERE `companyID` =  \'21\' AND `journalID` =  \'AR20161000000002\'','sales/save_new_sale','0.016480922698975','2016-10-14 18:03:46'),(2157,21,6,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  21','sales/save_new_sale','0.026444911956787','2016-10-14 18:03:46'),(2158,21,6,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  114','sales/save_new_sale','0.014961957931519','2016-10-14 18:03:46'),(2159,21,6,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'21\' AND `journalID` =  \'AR20161000000002\'','sales/save_new_sale','0.016475200653076','2016-10-14 18:03:46'),(2160,21,6,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'6\' WHERE `a`.`companyID` =  \'21\' AND `a`.`acctID` =  \'33681\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_new_sale','0.039114952087402','2016-10-14 18:03:46'),(2161,21,6,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'21\', \'3\', \'33673\', \'2016\', \'10\', \'5600\', \'0\', 5600, \'6\', \'2016-10-14: 12:10:45\')','sales/save_new_sale','0.018946886062622','2016-10-14 18:03:46'),(2162,21,6,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'6\' WHERE `a`.`companyID` =  \'21\' AND `a`.`acctID` =  \'33681\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_new_sale','0.0210120677948','2016-10-14 18:03:46'),(2163,21,6,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'6\' WHERE `a`.`companyID` =  \'21\' AND `a`.`acctID` =  \'33673\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_new_sale','0.015084981918335','2016-10-14 18:03:46'),(2164,21,6,'192.168.1.198','update','UPDATE `company` SET `companyName` = \'eminem sdn bhd\', `webPageName` = \'eminem\', `line1` = \'eminem\', `line2` = \'eminem eminem\', `line3` = \'eminem eminem\', `city` = \'eminem Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1921\', `countryID` = \'458\', `parlimenID` = \'141\', `phoneNo` = \'12345\', `faxNo` = \'12345\', `email` = \'eminem\', `incorporateDate` = \'2016-10-18\', `businessTypeID` = \'2\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = \'6\' WHERE `ID` =  \'21\'','setup/personalWebSetup','0.047435998916626','2016-10-18 15:45:07'),(2165,21,6,'192.168.1.198','update','UPDATE `spslitem_demodb`.`company` SET `companyName` = \'eminem sdn bhd\', `webPageName` = \'eminem\', `line1` = \'eminem\', `line2` = \'eminem eminem\', `line3` = \'eminem eminem\', `city` = \'eminem Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1921\', `countryID` = \'458\', `parlimenID` = \'141\', `phoneNo` = \'12345\', `faxNo` = \'12345\', `email` = \'eminem\', `incorporateDate` = \'2016-10-18\', `businessTypeID` = \'2\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = \'6\' WHERE `ID` =  \'21\'','setup/personalWebSetup','0.00025796890258789','2016-10-18 15:45:07'),(2166,0,0,'192.168.1.254','insert','INSERT INTO `web` (`companyID`,`webPageName`, `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami`)  select \"\",\"\", `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami` from _ref_web limit 1 ','web/webadmin','0.19117188453674','2016-10-18 17:27:47'),(2167,0,0,'192.168.1.254','insert','INSERT INTO `web` (`companyID`,`webPageName`, `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami`)  select \"\",\"\", `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami` from _ref_web limit 1 ','web/webadmin','0.085716009140015','2016-10-18 17:38:05'),(2168,0,0,'192.168.1.254','insert','INSERT INTO `web` (`companyID`,`webPageName`, `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami`)  select \"\",\"\", `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami` from _ref_web limit 1 ','web/webadmin','0.027869939804077','2016-10-18 17:38:40'),(2169,0,0,'192.168.1.254','insert','INSERT INTO `web` (`companyID`,`webPageName`, `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami`)  select \"\",\"\", `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami` from _ref_web limit 1 ','web/webadmin','0.13925909996033','2016-10-18 17:38:57'),(2170,0,0,'192.168.1.254','insert','INSERT INTO `web` (`companyID`,`webPageName`, `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami`)  select \"\",\"\", `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami` from _ref_web limit 1 ','web/webadmin','0.34471106529236','2016-10-18 17:40:03'),(2171,0,0,'192.168.1.254','insert','INSERT INTO `web` (`companyID`,`webPageName`, `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami`)  select \"\",\"\", `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami` from _ref_web limit 1 ','web/webadmin','0.078248977661133','2016-10-18 17:46:14'),(2172,0,0,'192.168.1.254','insert','INSERT INTO `web` (`companyID`,`webPageName`, `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami`)  select \"\",\"\", `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami` from _ref_web limit 1 ','web/webadmin','0.41619181632996','2016-10-18 17:54:05'),(2173,0,0,'192.168.1.254','insert','INSERT INTO `web` (`companyID`,`webPageName`, `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami`)  select \"\",\"\", `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami` from _ref_web limit 1 ','web/webadmin','0.071040868759155','2016-10-19 09:31:42'),(2174,0,0,'192.168.1.254','insert','INSERT INTO `web` (`companyID`,`webPageName`, `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami`)  select \"\",\"\", `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami` from _ref_web limit 1 ','web/webadmin','0.080111980438232','2016-10-19 09:35:37'),(2175,0,0,'192.168.1.254','insert','INSERT INTO `web` (`companyID`,`webPageName`, `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami`)  select \"\",\"\", `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami` from _ref_web limit 1 ','web/webadmin','0.067125082015991','2016-10-19 09:37:22'),(2176,21,6,'192.168.1.199','insert','INSERT INTO `web` (`companyID`,`webPageName`, `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami`)  select \"21\",\"eminem\", `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami` from _ref_web limit 1 ','web/webadmin','0.045735120773315','2016-10-19 09:42:48'),(2177,0,0,'192.168.1.199','insert','INSERT INTO `web` (`companyID`,`webPageName`, `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami`)  select \"\",\"\", `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami` from _ref_web limit 1 ','web/webadmin','0.06656813621521','2016-10-21 14:48:19');
INSERT INTO `_log_query` VALUES (2178,0,0,'192.168.1.199','insert','INSERT INTO `web` (`companyID`,`webPageName`, `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami`)  select \"\",\"\", `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami` from _ref_web limit 1 ','web/webadmin','0.097265005111694','2016-10-21 14:49:15'),(2179,0,0,'192.168.1.199','insert','INSERT INTO `web` (`companyID`,`webPageName`, `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami`)  select \"\",\"\", `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami` from _ref_web limit 1 ','web/webadmin','0.095695972442627','2016-10-21 14:49:48'),(2180,0,0,'192.168.1.254','insert','INSERT INTO `web` (`companyID`,`webPageName`, `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami`)  select \"\",\"\", `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami` from _ref_web limit 1 ','web/webadmin','0.2749969959259','2016-10-21 14:50:29'),(2181,0,0,'192.168.1.254','insert','INSERT INTO `web` (`companyID`,`webPageName`, `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami`)  select \"\",\"\", `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami` from _ref_web limit 1 ','web/webadmin','0.20421195030212','2016-10-21 14:51:16'),(2182,0,0,'192.168.1.254','insert','INSERT INTO `web` (`companyID`,`webPageName`, `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami`)  select \"\",\"\", `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami` from _ref_web limit 1 ','web/webadmin','0.11860609054565','2016-10-21 14:51:46'),(2183,0,0,'192.168.1.254','insert','INSERT INTO `web` (`companyID`,`webPageName`, `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami`)  select \"\",\"\", `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami` from _ref_web limit 1 ','web/webadmin','0.063614130020142','2016-10-27 11:39:52'),(2184,0,0,'192.168.1.254','insert','INSERT INTO `web` (`companyID`,`webPageName`, `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami`)  select \"\",\"\", `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami` from _ref_web limit 1 ','web/webadmin','0.015894889831543','2016-10-27 11:41:03'),(2185,0,0,'192.168.1.254','insert','INSERT INTO `web` (`companyID`,`webPageName`, `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami`)  select \"\",\"\", `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami` from _ref_web limit 1 ','web/webadmin','0.022586107254028','2016-10-27 11:41:38'),(2186,0,0,'192.168.1.254','insert','INSERT INTO `web` (`companyID`,`webPageName`, `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami`)  select \"\",\"\", `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami` from _ref_web limit 1 ','web/webadmin','0.067055940628052','2016-10-27 11:43:59'),(2187,0,0,'183.171.23.48','insert','INSERT INTO `tbl_usermaster` (`username`, `email`, `userid`, `password`, `phone_mobile`, `last_seen_ip`) VALUES (\'MUHAMAD AMIN FAHMI BIN SOLAHUDDIN\', \'aminfahmi.saa@gmail.com\', \'aminfahmi.saa@gmail.com\', \'473eba59ac995deee3805e5b853de1e9\', \'0132767375\', \'183.171.23.48\')','login/save_new','0.017229080200195','2016-11-10 17:54:11'),(2188,0,0,'183.171.23.48','insert','INSERT INTO `company` (`companyName`, `businessIndustryID`) VALUES (\'SOLAHUDDIN & ASSOCIATES SDN BHD\', \'11\')','login/save_new','0.028815031051636','2016-11-10 17:54:11'),(2189,0,0,'183.171.23.48','insert','INSERT INTO `user_expiry` (`userID`, `username`, `typeOfPackage`, `numberOfPeriod`, `startDate`, `endDate`) VALUES (7, 0, 1, 1, \'2016-11-10\', \'2016-12-10\')','login/save_new','0.03280782699585','2016-11-10 17:54:11'),(2190,0,0,'183.171.23.48','insert','INSERT INTO `user_module_access` (`companyID`, `userID`, `moduleID`, `transaction`, `reports`, `setup`, `accessRight`) VALUES (22, 7, 0, 1, 1, 1, 1)','login/save_new','0.012357950210571','2016-11-10 17:54:11'),(2191,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'1\', \'100000000\', \'Advancement/(Drawing)	\', \'\')','login/save_new','0.088696956634521','2016-11-10 17:54:11'),(2192,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'1\', \'120000000\', \'Retained Profit/(Loss) B/F \', \'\')','login/save_new','0.012332916259766','2016-11-10 17:54:11'),(2193,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'1\', \'130000000\', \'Current Retained Profit/(Loss)  \', \'\')','login/save_new','0.011761903762817','2016-11-10 17:54:11'),(2194,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'2\', \'200000000\', \'Fixed Asset	\', \'\')','login/save_new','0.012433767318726','2016-11-10 17:54:11'),(2195,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'2\', \'200000100\', \'Furniture & Fixtures	\', \'\')','login/save_new','0.01173210144043','2016-11-10 17:54:11'),(2196,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'2\', \'200000200\', \'Office Equipment	\', \'\')','login/save_new','0.012428998947144','2016-11-10 17:54:11'),(2197,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'2\', \'200000300\', \'Computer & Software	\', \'\')','login/save_new','0.011724948883057','2016-11-10 17:54:11'),(2198,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'2\', \'200000400\', \'Motor Vehicle	\', \'\')','login/save_new','0.021019220352173','2016-11-10 17:54:11'),(2199,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'2\', \'200000500\', \'Machinery & Engine	\', \'\')','login/save_new','0.017621040344238','2016-11-10 17:54:11'),(2200,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'2\', \'200000600\', \'Renovation	\', \'\')','login/save_new','0.010105848312378','2016-11-10 17:54:11'),(2201,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'2\', \'200000700\', \'Store Equipment	\', \'\')','login/save_new','0.012145042419434','2016-11-10 17:54:11'),(2202,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'2\', \'200000800\', \'Asset 8	\', \'\')','login/save_new','0.012026071548462','2016-11-10 17:54:11'),(2203,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'2\', \'200000900\', \'Asset 9	\', \'\')','login/save_new','0.020459890365601','2016-11-10 17:54:11'),(2204,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'2\', \'200001000\', \'Other Asset	\', \'\')','login/save_new','0.012043952941895','2016-11-10 17:54:11'),(2205,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'3\', \'220000000\', \'Bank & Cash Balance	\', \'\')','login/save_new','0.012120962142944','2016-11-10 17:54:11'),(2206,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'3\', \'220000100\', \'Bank1 	\', \'\')','login/save_new','0.012037992477417','2016-11-10 17:54:11'),(2207,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'3\', \'220000200\', \'Bank2	\', \'\')','login/save_new','0.012148141860962','2016-11-10 17:54:11'),(2208,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'3\', \'220000300\', \'Bank3	\', \'\')','login/save_new','0.012025117874146','2016-11-10 17:54:11'),(2209,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'3\', \'220000400\', \'Petty Cash 1	\', \'\')','login/save_new','0.012155055999756','2016-11-10 17:54:11'),(2210,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'3\', \'220000500\', \'Petty Cash 2	\', \'\')','login/save_new','0.012026786804199','2016-11-10 17:54:11'),(2211,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'4\', \'370000000\', \'Borrowing	\', \'\')','login/save_new','0.012158870697021','2016-11-10 17:54:11'),(2212,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'4\', \'370000100\', \'Loan 1	\', \'\')','login/save_new','0.012010097503662','2016-11-10 17:54:11'),(2213,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'4\', \'370000200\', \'Loan 2	\', \'\')','login/save_new','0.012156963348389','2016-11-10 17:54:11'),(2214,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'4\', \'370000300\', \'Loan 3	\', \'\')','login/save_new','0.016531944274902','2016-11-10 17:54:11'),(2215,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'4\', \'370000400\', \'Loan 4	\', \'\')','login/save_new','0.011737108230591','2016-11-10 17:54:11'),(2216,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'4\', \'370000500\', \'Loan 5	\', \'\')','login/save_new','0.012450933456421','2016-11-10 17:54:11'),(2217,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'7\', \'400000000\', \'Sales	\', \'\')','login/save_new','0.011710166931152','2016-11-10 17:54:12'),(2218,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'8\', \'500000000\', \'Cost of Goods Sold	\', \'\')','login/save_new','0.012459993362427','2016-11-10 17:54:12'),(2219,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'35\', \'700000000\', \'Others Income 	\', \'\')','login/save_new','0.011734008789062','2016-11-10 17:54:12'),(2220,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'10\', \'810000100\', \'Accounting & Legal	\', \'\')','login/save_new','0.020741939544678','2016-11-10 17:54:12'),(2221,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'10\', \'810000200\', \'Advertising & Marketing	\', \'\')','login/save_new','0.033738136291504','2016-11-10 17:54:12'),(2222,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'10\', \'810000300\', \'Commissions	\', \'\')','login/save_new','0.019215822219849','2016-11-10 17:54:12'),(2223,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'10\', \'810000400\', \'Depreciation Expense	\', \'\')','login/save_new','0.016232967376709','2016-11-10 17:54:12'),(2224,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'10\', \'810000500\', \'Electricity & water	\', \'\')','login/save_new','0.012465953826904','2016-11-10 17:54:12'),(2225,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'10\', \'810000600\', \'GST- Non Claimable	\', \'\')','login/save_new','0.011690139770508','2016-11-10 17:54:12'),(2226,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'10\', \'810000700\', \'Insurance Premium	\', \'\')','login/save_new','0.020815134048462','2016-11-10 17:54:12'),(2227,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'10\', \'810000800\', \'Late Payment Charges	\', \'\')','login/save_new','0.011690139770508','2016-11-10 17:54:12'),(2228,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'10\', \'810000900\', \'Medical fee	\', \'\')','login/save_new','0.012493133544922','2016-11-10 17:54:12'),(2229,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'10\', \'810001000\', \'Miscellaneous Expenses	\', \'\')','login/save_new','0.011693000793457','2016-11-10 17:54:12'),(2230,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'10\', \'810001100\', \'Motor Vehicle Repair & maintenance	\', \'\')','login/save_new','0.020809173583984','2016-11-10 17:54:12'),(2231,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'10\', \'810001200\', \'Office expenses	\', \'\')','login/save_new','0.011699914932251','2016-11-10 17:54:12'),(2232,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'10\', \'810001300\', \'Petrol,Parking & Toll	\', \'\')','login/save_new','0.0079109668731689','2016-11-10 17:54:12'),(2233,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'10\', \'810001400\', \'Postage & Courier	\', \'\')','login/save_new','0.012187957763672','2016-11-10 17:54:12'),(2234,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'10\', \'810001500\', \'Quit Rent & Assessment	\', \'\')','login/save_new','0.021304130554199','2016-11-10 17:54:12'),(2235,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'10\', \'810001600\', \'Registration Fee	\', \'\')','login/save_new','0.015263080596924','2016-11-10 17:54:12'),(2236,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'10\', \'810001700\', \'Rental of Equipment	\', \'\')','login/save_new','0.012492895126343','2016-11-10 17:54:12'),(2237,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'10\', \'810001800\', \'Rental of office	\', \'\')','login/save_new','0.015959024429321','2016-11-10 17:54:12'),(2238,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'10\', \'810001900\', \'Rental of store	\', \'\')','login/save_new','0.011974096298218','2016-11-10 17:54:12'),(2239,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'10\', \'810002000\', \'Seminar & Training	\', \'\')','login/save_new','0.012204885482788','2016-11-10 17:54:12'),(2240,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'10\', \'810002100\', \'Store expenses	\', \'\')','login/save_new','0.011964082717896','2016-11-10 17:54:12'),(2241,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'10\', \'810002200\', \'Telephone	\', \'\')','login/save_new','0.012198925018311','2016-11-10 17:54:12'),(2242,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'10\', \'810002300\', \'Travel, Meals & Entertainment	\', \'\')','login/save_new','0.011964082717896','2016-11-10 17:54:12'),(2243,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'10\', \'810002400\', \'Salary & wages	\', \'\')','login/save_new','0.012208938598633','2016-11-10 17:54:12'),(2244,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'10\', \'810002500\', \'EPF & Socso	\', \'\')','login/save_new','0.020305156707764','2016-11-10 17:54:12'),(2245,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'10\', \'850010000\', \'Bank Charges	\', \'\')','login/save_new','0.012210130691528','2016-11-10 17:54:12'),(2246,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'10\', \'850020000\', \'Interest on loan	\', \'\')','login/save_new','0.011941194534302','2016-11-10 17:54:12'),(2247,0,0,'183.171.23.48','insert','INSERT INTO `comp_chart_of_acct` (`companyID`, `acctGroupID`, `acctCode`, `acctName`, `acctDesc`) VALUES (22, \'10\', \'860000000\', \'Income Tax Expense	\', \'\')','login/save_new','0.012226819992065','2016-11-10 17:54:12'),(2248,0,0,'183.171.23.48','insert','INSERT INTO `comp_bank` (`companyID`, `bankName`, `linkAccountID`, `currencyID`) VALUES (22, \'Bank1 	\', \'33727\', 1)','login/save_new','0.054023027420044','2016-11-10 17:54:12'),(2249,0,0,'183.171.23.48','insert','INSERT INTO `comp_bank` (`companyID`, `bankName`, `linkAccountID`, `currencyID`) VALUES (22, \'Bank2	\', \'33728\', 1)','login/save_new','0.012237071990967','2016-11-10 17:54:12'),(2250,0,0,'183.171.23.48','insert','INSERT INTO `comp_bank` (`companyID`, `bankName`, `linkAccountID`, `currencyID`) VALUES (22, \'Bank3	\', \'33729\', 1)','login/save_new','0.011997938156128','2016-11-10 17:54:12'),(2251,0,0,'183.171.23.48','insert','INSERT INTO `comp_bank` (`companyID`, `bankName`, `linkAccountID`, `currencyID`) VALUES (22, \'Petty Cash 1	\', \'33730\', 1)','login/save_new','0.027328014373779','2016-11-10 17:54:12'),(2252,0,0,'183.171.23.48','insert','INSERT INTO `comp_bank` (`companyID`, `bankName`, `linkAccountID`, `currencyID`) VALUES (22, \'Petty Cash 2	\', \'33731\', 1)','login/save_new','0.021934032440186','2016-11-10 17:54:12'),(2253,22,7,'183.171.23.48','update','UPDATE `company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'11\', `incorporateDate` = \'2016-11-10\' WHERE `ID` =  \'22\'','setup/updateCompany','0.042174100875854','2016-11-10 17:55:42'),(2254,22,7,'183.171.23.48','update','UPDATE `spslitem_demodb`.`company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'11\', `incorporateDate` = \'2016-11-10\' WHERE `ID` =  \'22\'','setup/updateCompany','0.00022602081298828','2016-11-10 17:55:42'),(2255,22,7,'183.171.30.218','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`, `receiveFrom`) VALUES (\'2016-11-10\', \'213\', \'OR\', \'120000.00\', \'22\', \'ali\')','sales/save_new_sale','0.20496201515198','2016-11-10 18:03:55'),(2256,22,7,'183.171.30.218','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (22, \'33738\', \'jualan motor A\', \'120000.00\', 1)','sales/save_new_sale','0.07030200958252','2016-11-10 18:03:55'),(2257,22,7,'183.171.30.218','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  22','sales/save_new_sale','0.0002589225769043','2016-11-10 18:03:55'),(2258,22,7,'183.171.30.218','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'22\', \'2\', \'2016\', \'11\', \'AR\', 1)','sales/save_new_sale','0.019859075546265','2016-11-10 18:03:55'),(2259,22,7,'183.171.30.218','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20161100000001\' WHERE `ID` =  22','sales/save_new_sale','0.024620056152344','2016-11-10 18:03:55'),(2260,22,7,'183.171.30.218','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'22\', \'AR20161100000001\', \'OR[00000001]\', \'Sales [ OR[00000001] ]\', \'\', \'2\', \'2016-11-10\', \'2016\', \'11\', \'120000\', \'120000\', \'7\')','sales/save_new_sale','0.048364162445068','2016-11-10 18:03:55'),(2261,22,7,'183.171.30.218','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 (\'22\', \'AR20161100000001\', 1, \'jualan motor A\', \'33738\', \'ali\', 120000, \'1\', \'1\', \'120000\', \'11\', \'2016\', \'1\', \'OR[00000001]\', \'0\', \'7\')','sales/save_new_sale','0.053086042404175','2016-11-10 18:03:55'),(2262,22,7,'183.171.30.218','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'22\', 2, \'AR20161100000001\', \'jualan motor A\', \'33727\', \'ali\', 120000, \'1\', \'1\', \'120000\', \'11\', \'2016\', \'OR[00000001]\', \'1\', \'0\', \'7\')','sales/save_new_sale','0.015424966812134','2016-11-10 18:03:55'),(2263,22,7,'183.171.30.218','update','UPDATE `comp_journal` SET `total_amount_dr` = 120000, `total_amount_cr` = 120000, `total_amount` = 0 WHERE `companyID` =  \'22\' AND `journalID` =  \'AR20161100000001\'','sales/save_new_sale','0.020639181137085','2016-11-10 18:03:55'),(2264,22,7,'183.171.30.218','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  22','sales/save_new_sale','0.016355037689209','2016-11-10 18:03:55'),(2265,22,7,'183.171.30.218','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  115','sales/save_new_sale','0.016308069229126','2016-11-10 18:03:55'),(2266,22,7,'183.171.30.218','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'22\' AND `journalID` =  \'AR20161100000001\'','sales/save_new_sale','0.026455879211426','2016-11-10 18:03:55'),(2267,22,7,'183.171.30.218','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'22\', \'7\', \'33738\', \'2016\', \'11\', \'0\', \'120000\', -120000, \'7\', \'2016-11-10: 18:11:55\')','sales/save_new_sale','0.026525974273682','2016-11-10 18:03:55'),(2268,22,7,'183.171.30.218','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'22\', \'3\', \'33727\', \'2016\', \'11\', \'120000\', \'0\', 120000, \'7\', \'2016-11-10: 18:11:55\')','sales/save_new_sale','0.010503053665161','2016-11-10 18:03:55'),(2269,22,7,'183.171.23.41','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`, `payTo`) VALUES (0, \'22\', \'7\', 1, \'33739\', \'68\', \'100000\', \'OP-C\', \'2016-11-10\', \'213\', \'1\', \'ashabul kahfi\')','expenses/fnSaveExpenses','0.12058305740356','2016-11-10 18:06:08'),(2270,22,7,'183.171.23.41','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (57, \'7\', \'pembekal motor A\', 1, \'33739\', \'100000\', \'100000\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.02771782875061','2016-11-10 18:06:08'),(2271,22,7,'183.171.23.41','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'22\', \'3\', \'16\', \'11\', \'AP\', 1)','expenses/fnSaveExpenses','0.03041410446167','2016-11-10 18:06:08'),(2272,22,7,'183.171.23.41','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP161100000001\' WHERE `ID` =  57','expenses/fnSaveExpenses','0.02417516708374','2016-11-10 18:06:08'),(2273,22,7,'183.171.23.41','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'22\', \'AP161100000001\', \'Cost of Goods Sold [OP-C[00000001]]\', \'Cost of Goods Sold [OP-C[00000001]]\', \'\', \'3\', \'2016-11-10\', \'16\', \'11\', 100000, 100000, \'7\')','expenses/fnSaveExpenses','0.025635004043579','2016-11-10 18:06:08'),(2274,22,7,'183.171.23.41','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'22\', \'AP161100000001\', 1, \'pembekal motor A\', \'33727\', 100000, 1, \'1\', \'100000\', \'11\', \'16\', \'1\', \'OP-C[00000001]\', \'7\')','expenses/fnSaveExpenses','0.048817873001099','2016-11-10 18:06:08'),(2275,22,7,'183.171.23.41','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'22\', \'AP161100000001\', 2, \'pembekal motor A\', \'33739\', 100000, 1, \'1\', \'100000\', \'11\', \'16\', \'1\', \'OP-C[00000001]\', \'7\')','expenses/fnSaveExpenses','0.016078948974609','2016-11-10 18:06:08'),(2276,22,7,'183.171.23.41','update','UPDATE `comp_journal` SET `total_amount_dr` = 100000, `total_amount_cr` = 100000, `total_amount` = 0 WHERE `companyID` =  \'22\' AND `journalID` =  \'AP161100000001\'','expenses/fnSaveExpenses','0.020455121994019','2016-11-10 18:06:08'),(2277,22,7,'183.171.23.41','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  57','expenses/fnSaveExpenses','0.012104988098145','2016-11-10 18:06:08'),(2278,22,7,'183.171.23.41','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  116','expenses/fnSaveExpenses','0.012080907821655','2016-11-10 18:06:08'),(2279,22,7,'183.171.23.41','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'22\' AND `journalID` =  \'AP161100000001\'','expenses/fnSaveExpenses','0.011896848678589','2016-11-10 18:06:08'),(2280,22,7,'183.171.23.41','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'7\' WHERE `a`.`companyID` =  \'22\' AND `a`.`acctID` =  \'33727\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'11\'','expenses/fnSaveExpenses','0.024447917938232','2016-11-10 18:06:08'),(2281,22,7,'183.171.23.41','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'22\', \'8\', \'33739\', \'2016\', \'11\', \'100000\', \'0\', 100000, \'7\', \'2016-11-10: 18:11:08\')','expenses/fnSaveExpenses','0.021239042282104','2016-11-10 18:06:08'),(2282,22,7,'183.171.23.41','update','UPDATE `company` SET `companyName` = \'SOLAHUDDIN & ASSOCIATES SDN BHD\', `webPageName` = \'solahuddin\', `line1` = \'EXECUTIVE SUITE 11, LEVEL 2, PKNS BIZPOINT,\', `line2` = \'67B, JALAN PLUMBUM P7/P,\', `line3` = \'SECTION 7\', `city` = \'SHAH ALAM\', `companyPostCode` = \'40000\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'109\', `phoneNo` = \'0355668558\', `faxNo` = \'0355112613\', `email` = \'enquiry.saa@gmail.com\', `incorporateDate` = \'2016-11-10\', `businessTypeID` = \'11\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = \'7\' WHERE `ID` =  \'22\'','setup/companySetup','0.057329893112183','2016-11-10 18:11:50'),(2283,22,7,'183.171.23.41','update','UPDATE `spslitem_demodb`.`company` SET `companyName` = \'SOLAHUDDIN & ASSOCIATES SDN BHD\', `webPageName` = \'solahuddin\', `line1` = \'EXECUTIVE SUITE 11, LEVEL 2, PKNS BIZPOINT,\', `line2` = \'67B, JALAN PLUMBUM P7/P,\', `line3` = \'SECTION 7\', `city` = \'SHAH ALAM\', `companyPostCode` = \'40000\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'109\', `phoneNo` = \'0355668558\', `faxNo` = \'0355112613\', `email` = \'enquiry.saa@gmail.com\', `incorporateDate` = \'2016-11-10\', `businessTypeID` = \'11\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = \'7\' WHERE `ID` =  \'22\'','setup/companySetup','0.00030708312988281','2016-11-10 18:11:50'),(2284,22,7,'183.171.23.41','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 22, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 22)','bank/index','0.052977085113525','2016-11-10 18:12:25'),(2285,22,7,'183.171.23.41','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 22, acctName, id from comp_chart_of_acct where companyid = 22 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 22)','bank/index','0.019285917282104','2016-11-10 18:12:25'),(2286,22,7,'183.171.23.41','update','UPDATE `comp_bank` SET `bankName` = \'MAYBANK ISLAMIC BERHAD\', `currentBalance` = \'300000\', `createdTS` = \'2016-11-10 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'213\'','bank/saveBank','0.016902923583984','2016-11-10 18:12:58'),(2287,22,7,'183.171.23.41','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'MAYBANK ISLAMIC BERHAD\', `openingBalanceDr` = 300000, `openingBalanceCr` = 0, `createdTS` = \'2016-11-10 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33727\'','bank/saveBank','0.011778831481934','2016-11-10 18:12:58'),(2288,22,7,'183.171.23.41','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 22, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 22)','bank/index','0.019729137420654','2016-11-10 18:13:09'),(2289,22,7,'183.171.23.41','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 22, acctName, id from comp_chart_of_acct where companyid = 22 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 22)','bank/index','0.00098109245300293','2016-11-10 18:13:09'),(2290,22,7,'183.171.23.41','update','UPDATE `comp_bank` SET `bankName` = \'CIMB ISLAMIC BERHAD\', `currentBalance` = \'400000\', `createdTS` = \'2016-11-10 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'214\'','bank/saveBank','0.022304058074951','2016-11-10 18:13:34'),(2291,22,7,'183.171.23.41','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'CIMB ISLAMIC BERHAD\', `openingBalanceDr` = 400000, `openingBalanceCr` = 0, `createdTS` = \'2016-11-10 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33728\'','bank/saveBank','0.012585878372192','2016-11-10 18:13:34'),(2292,22,7,'183.171.23.41','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 22, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 22)','bank/index','0.0030357837677002','2016-11-10 18:13:38'),(2293,22,7,'183.171.23.41','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 22, acctName, id from comp_chart_of_acct where companyid = 22 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 22)','bank/index','0.00097513198852539','2016-11-10 18:13:38'),(2294,0,0,'192.168.1.254','insert','INSERT INTO `web` (`companyID`,`webPageName`, `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami`)  select \"\",\"\", `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami` from _ref_web limit 1 ','web/webadmin','0.090178966522217','2016-11-14 09:16:45'),(2295,0,0,'192.168.1.254','insert','INSERT INTO `web` (`companyID`,`webPageName`, `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami`)  select \"\",\"\", `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami` from _ref_web limit 1 ','web/webadmin','0.068866968154907','2016-12-08 15:21:37'),(2296,0,0,'192.168.1.254','insert','INSERT INTO `web` (`companyID`,`webPageName`, `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami`)  select \"\",\"\", `namaSyarikat`, `mukaDepan`, `menu1`, `menu2`, `menu3`, `menu4`, `menu5`, `menu1Link`, `menu2Link`, `menu3Link`, `menu4Link`, `menu5Link`, `selamatDatang`, `moto`, `linkLabel`, `link`, `createdBy`, `updatedBy`, `updatedTS`, `mengapaTajuk`, `mengapaKeterangan`, `mengapa1`, `mengapa12`, `mengapa2`, `mengapa22`, `mengapa3`, `mengapa32`, `mengapa4`, `mengapa42`, `mengapa5`, `mengapa52`, `mengapa6`, `mengapa62`, `portfolio`, `portfolioSub`, `portfolio1`, `portfolioSub1`, `portfolio2`, `portfolioSub2`, `portfolio3`, `portfolioSub3`, `portfolio4`, `portfolioSub4`, `portfolio5`, `portfolioSub5`, `portfolio6`, `portfolioSub6`, `portfolioImage1`, `portfolioImage2`, `portfolioImage3`, `portfolioImage4`, `portfolioImage5`, `portfolioImage6`, `portfolioText1`, `portfolioText2`, `portfolioText3`, `portfolioText4`, `portfolioText5`, `portfolioText6`, `about`, `aboutSub`, `aboutText`, `about1`, `aboutSub1`, `aboutText1`, `about2`, `aboutSub2`, `aboutText2`, `about3`, `aboutSub3`, `aboutText3`, `about4`, `aboutSub4`, `aboutText4`, `aboutImage1`, `aboutImage2`, `aboutImage3`, `aboutImage4`, `aboutBulat`, `team`, `teamSub`, `teamFb`, `team1`, `teamSub1`, `teamFb1`, `team2`, `teamSub2`, `teamFb2`, `team3`, `teamSub3`, `teamFb3`, `teamTw1`, `teamTw2`, `teamTw3`, `teamLn1`, `teamLn2`, `teamLn3`, `teamImage1`, `teamImage2`, `teamImage3`, `teamBawah`, `clientImage1`, `clientImage2`, `clientImage3`, `clientImage4`, `clientLink1`, `clientLink2`, `clientLink3`, `clientLink4`, `hubungiKami` from _ref_web limit 1 ','web/webadmin','0.071250915527344','2016-12-09 12:05:39');
/*!40000 ALTER TABLE `_log_query` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_ref_acct_group`
--

DROP TABLE IF EXISTS `_ref_acct_group`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_ref_acct_group` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `acctTypeID` int(11) NOT NULL,
  `acctGroupName` varchar(128) NOT NULL,
  `acctCode` char(9) NOT NULL,
  `orderNo` int(11) DEFAULT NULL,
  `parentID` int(11) DEFAULT NULL,
  `title` tinyint(4) DEFAULT '0',
  `status` tinyint(4) DEFAULT '0',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`),
  KEY `ID` (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=45 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_ref_acct_group`
--

LOCK TABLES `_ref_acct_group` WRITE;
/*!40000 ALTER TABLE `_ref_acct_group` DISABLE KEYS */;
INSERT INTO `_ref_acct_group` VALUES (1,5,'CapitalRetainedEarnings','1200',40,40,1,1,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(2,1,'FixedAssets','1200',10,42,1,0,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(3,1,'CurrentAssets','1200',30,39,1,0,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(4,2,'CurrentLiabilities','1200',40,39,1,1,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(5,2,'OtherLiabilites','1200',70,40,1,1,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(6,2,'LongTermLiabilities','1200',50,40,1,1,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(7,3,'revenue','1200',110,33,1,1,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(8,4,'COGS','1200',120,33,1,0,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(9,3,'othersincome','1200',200,35,1,1,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(10,4,'operatingexpenses','1200',190,35,1,0,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(12,4,'taxation','1200',400,38,1,0,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(31,1,'OthersAssets','1200',20,42,1,0,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(32,4,'othercomprehensiveincome','1200',500,38,1,0,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(33,3,'grossprofit','1200',100,34,0,1,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(34,3,'operatingprofit','1200',10,37,0,0,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(35,3,'operatingincome','1200',130,34,0,1,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(36,3,'financeincome','1200',20,43,1,1,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(37,4,'profitNlossb4tax','1200',30,38,0,0,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(38,4,'currentyear','1200',10,0,0,0,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(39,1,'NetCurrent','1200',30,42,0,0,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(40,2,'LiabilitiesNCapital','1200',50,0,0,1,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(42,1,'AssetNLiability','1200',30,0,0,0,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(43,4,'financeIncomeCost','1200',20,37,0,0,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(44,4,'financeCost','1200',30,43,1,0,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00');
/*!40000 ALTER TABLE `_ref_acct_group` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_ref_acct_group_bakup`
--

DROP TABLE IF EXISTS `_ref_acct_group_bakup`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_ref_acct_group_bakup` (
  `ID` int(11) NOT NULL DEFAULT '0',
  `acctTypeID` int(11) NOT NULL,
  `acctGroupName` varchar(128) NOT NULL,
  `acctCode` char(9) NOT NULL,
  `orderNo` int(11) NOT NULL,
  `parentID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_ref_acct_group_bakup`
--

LOCK TABLES `_ref_acct_group_bakup` WRITE;
/*!40000 ALTER TABLE `_ref_acct_group_bakup` DISABLE KEYS */;
/*!40000 ALTER TABLE `_ref_acct_group_bakup` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_ref_acct_type`
--

DROP TABLE IF EXISTS `_ref_acct_type`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_ref_acct_type` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `acctTypeName` varchar(128) NOT NULL,
  `acctClass` smallint(6) NOT NULL COMMENT '0=Balance Shit, 1=Profit and Lost',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_ref_acct_type`
--

LOCK TABLES `_ref_acct_type` WRITE;
/*!40000 ALTER TABLE `_ref_acct_type` DISABLE KEYS */;
INSERT INTO `_ref_acct_type` VALUES (1,'Assets',0,1,'2014-05-06 01:43:31',0,'0000-00-00 00:00:00'),(2,'Liability',0,1,'2014-05-06 01:43:31',0,'0000-00-00 00:00:00'),(3,'Income',1,1,'2014-05-06 01:43:31',0,'0000-00-00 00:00:00'),(4,'Expences',1,1,'2014-05-06 01:43:31',0,'0000-00-00 00:00:00');
/*!40000 ALTER TABLE `_ref_acct_type` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_ref_business_type`
--

DROP TABLE IF EXISTS `_ref_business_type`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_ref_business_type` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `industryID` int(11) NOT NULL,
  `name` varchar(128) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_ref_business_type`
--

LOCK TABLES `_ref_business_type` WRITE;
/*!40000 ALTER TABLE `_ref_business_type` DISABLE KEYS */;
INSERT INTO `_ref_business_type` VALUES (1,1,'General / others',1,'2014-05-05 17:32:56',0,'2016-07-25 04:10:01'),(2,2,'Audio Visual',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(3,2,'Bakery',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(4,2,'Cafe',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(5,2,'Car Dealer',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(6,2,'Furniture Dealer',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(7,2,'Gift Shop',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(8,2,'Hardware Store',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(9,2,'Restaurant',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(10,2,'Video Store',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(11,3,'Accounting Firm',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(12,3,'Advertising Agency',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(13,3,'Architect',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(14,3,'Banquet Facilty',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(15,3,'Beauty Salon',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(16,3,'Cleaning Services',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(17,3,'Construction Company',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(18,3,'Education Institution',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(19,3,'Financial Services',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(20,3,'Insurance Agency',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(21,3,'Legal Firm',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(22,3,'Non-profit Organization',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(23,3,'Travel Agency',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(24,4,'Partnership',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(25,4,'sole Proprietorship',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(26,4,'Wholesale Business',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(27,2,'Others',0,'2016-10-17 02:27:24',0,'0000-00-00 00:00:00'),(28,3,'Others',0,'2016-10-17 02:27:24',0,'0000-00-00 00:00:00');
/*!40000 ALTER TABLE `_ref_business_type` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_ref_chart_of_acct`
--

DROP TABLE IF EXISTS `_ref_chart_of_acct`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_ref_chart_of_acct` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `businessTypeID` int(11) NOT NULL,
  `acctGroupID` int(11) NOT NULL,
  `acctCode` char(9) NOT NULL,
  `parentID` int(11) NOT NULL,
  `acctName` varchar(128) NOT NULL,
  `acctDescription` varchar(128) NOT NULL,
  `defaultID` int(11) DEFAULT NULL COMMENT 'id default acct for general setup',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=157 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_ref_chart_of_acct`
--

LOCK TABLES `_ref_chart_of_acct` WRITE;
/*!40000 ALTER TABLE `_ref_chart_of_acct` DISABLE KEYS */;
INSERT INTO `_ref_chart_of_acct` VALUES (100,1,1,'100000000',0,'Advancement/(Drawing)	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(101,1,1,'120000000',0,'Retained Profit/(Loss) B/F ','',NULL,0,'2015-11-24 11:01:30',0,'2015-11-25 06:10:56'),(102,1,1,'130000000',0,'Current Retained Profit/(Loss)  ','',NULL,0,'2015-11-24 11:01:30',0,'2015-11-25 06:12:39'),(103,1,2,'200000000',0,'Fixed Asset	','',NULL,0,'2015-11-24 11:01:30',0,'2015-11-25 06:04:16'),(104,1,2,'200000100',103,'Furniture & Fixtures	','',NULL,0,'2015-11-24 11:01:30',0,'2015-11-25 06:06:29'),(105,1,2,'200000200',103,'Office Equipment	','',NULL,0,'2015-11-24 11:01:30',0,'2015-11-25 06:06:29'),(106,1,2,'200000300',103,'Computer & Software	','',NULL,0,'2015-11-24 11:01:30',0,'2015-11-25 06:06:29'),(107,1,2,'200000400',103,'Motor Vehicle	','',NULL,0,'2015-11-24 11:01:30',0,'2015-11-25 06:06:29'),(108,1,2,'200000500',103,'Machinery & Engine	','',NULL,0,'2015-11-24 11:01:30',0,'2015-11-25 06:06:29'),(109,1,2,'200000600',103,'Renovation	','',NULL,0,'2015-11-24 11:01:30',0,'2015-11-25 06:06:29'),(110,1,2,'200000700',103,'Store Equipment	','',NULL,0,'2015-11-24 11:01:30',0,'2015-11-25 06:06:29'),(111,1,2,'200000800',103,'Asset 8	','',NULL,0,'2015-11-24 11:01:30',0,'2015-11-25 06:06:29'),(112,1,2,'200000900',103,'Asset 9	','',NULL,0,'2015-11-24 11:01:30',0,'2015-11-25 06:06:29'),(113,1,2,'200001000',103,'Other Asset	','',NULL,0,'2015-11-24 11:01:30',0,'2015-11-25 06:06:29'),(114,1,3,'220000000',0,'Bank & Cash Balance	','',NULL,0,'2015-11-24 11:01:30',0,'2015-11-25 06:07:53'),(115,1,3,'220000100',114,'Bank1 	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(116,1,3,'220000200',114,'Bank2	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(117,1,3,'220000300',114,'Bank3	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(118,1,3,'220000400',114,'Petty Cash 1	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(119,1,3,'220000500',114,'Petty Cash 2	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(120,1,4,'370000000',0,'Borrowing	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(121,1,4,'370000100',120,'Loan 1	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(122,1,4,'370000200',120,'Loan 2	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(123,1,4,'370000300',120,'Loan 3	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(124,1,4,'370000400',120,'Loan 4	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(125,1,4,'370000500',120,'Loan 5	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(126,1,7,'400000000',0,'Sales	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(127,1,8,'500000000',0,'Cost of Goods Sold	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(128,1,35,'700000000',0,'Others Income 	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(129,1,10,'810000100',0,'Accounting & Legal	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(130,1,10,'810000200',0,'Advertising & Marketing	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(131,1,10,'810000300',0,'Commissions	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(132,1,10,'810000400',0,'Depreciation Expense	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(133,1,10,'810000500',0,'Electricity & water	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(134,1,10,'810000600',0,'GST- Non Claimable	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(135,1,10,'810000700',0,'Insurance Premium	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(136,1,10,'810000800',0,'Late Payment Charges	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(137,1,10,'810000900',0,'Medical fee	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(138,1,10,'810001000',0,'Miscellaneous Expenses	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(139,1,10,'810001100',0,'Motor Vehicle Repair & maintenance	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(140,1,10,'810001200',0,'Office expenses	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(141,1,10,'810001300',0,'Petrol,Parking & Toll	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(142,1,10,'810001400',0,'Postage & Courier	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(143,1,10,'810001500',0,'Quit Rent & Assessment	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(144,1,10,'810001600',0,'Registration Fee	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(145,1,10,'810001700',0,'Rental of Equipment	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(146,1,10,'810001800',0,'Rental of office	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(147,1,10,'810001900',0,'Rental of store	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(148,1,10,'810002000',0,'Seminar & Training	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(149,1,10,'810002100',0,'Store expenses	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(150,1,10,'810002200',0,'Telephone	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(151,1,10,'810002300',0,'Travel, Meals & Entertainment	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(152,1,10,'810002400',0,'Salary & wages	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(153,1,10,'810002500',0,'EPF & Socso	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(154,1,10,'850010000',0,'Bank Charges	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(155,1,10,'850020000',0,'Interest on loan	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(156,1,10,'860000000',0,'Income Tax Expense	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00');
/*!40000 ALTER TABLE `_ref_chart_of_acct` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_ref_chart_of_acct_back`
--

DROP TABLE IF EXISTS `_ref_chart_of_acct_back`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_ref_chart_of_acct_back` (
  `ID` int(11) NOT NULL DEFAULT '0',
  `businessTypeID` int(11) NOT NULL,
  `acctGroupID` int(11) NOT NULL,
  `acctCode` char(9) NOT NULL,
  `parentID` int(11) NOT NULL,
  `acctName` varchar(128) NOT NULL,
  `acctDescription` varchar(128) NOT NULL,
  `defaultID` int(11) DEFAULT NULL COMMENT 'id default acct for general setup',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_ref_chart_of_acct_back`
--

LOCK TABLES `_ref_chart_of_acct_back` WRITE;
/*!40000 ALTER TABLE `_ref_chart_of_acct_back` DISABLE KEYS */;
/*!40000 ALTER TABLE `_ref_chart_of_acct_back` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_ref_chart_of_acct_back_20141103`
--

DROP TABLE IF EXISTS `_ref_chart_of_acct_back_20141103`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_ref_chart_of_acct_back_20141103` (
  `ID` int(11) NOT NULL DEFAULT '0',
  `businessTypeID` int(11) NOT NULL,
  `acctGroupID` int(11) NOT NULL,
  `acctCode` char(9) NOT NULL,
  `parentID` int(11) NOT NULL,
  `acctName` varchar(128) NOT NULL,
  `acctDescription` varchar(128) NOT NULL,
  `defaultID` int(11) DEFAULT NULL COMMENT 'id default acct for general setup',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_ref_chart_of_acct_back_20141103`
--

LOCK TABLES `_ref_chart_of_acct_back_20141103` WRITE;
/*!40000 ALTER TABLE `_ref_chart_of_acct_back_20141103` DISABLE KEYS */;
/*!40000 ALTER TABLE `_ref_chart_of_acct_back_20141103` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_ref_control_acct_setup`
--

DROP TABLE IF EXISTS `_ref_control_acct_setup`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_ref_control_acct_setup` (
  `ID` int(11) NOT NULL DEFAULT '0',
  `groupDisplay` smallint(6) NOT NULL,
  `code` varchar(4) NOT NULL,
  `name` varchar(64) NOT NULL,
  `shortName` varchar(8) NOT NULL,
  `description` varchar(128) NOT NULL,
  `orderNo` int(11) NOT NULL,
  `defaultAcctCode` varchar(9) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updateBy` int(11) NOT NULL,
  `updateTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(6) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_ref_control_acct_setup`
--

LOCK TABLES `_ref_control_acct_setup` WRITE;
/*!40000 ALTER TABLE `_ref_control_acct_setup` DISABLE KEYS */;
/*!40000 ALTER TABLE `_ref_control_acct_setup` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_ref_country`
--

DROP TABLE IF EXISTS `_ref_country`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_ref_country` (
  `fldid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `fldcountry` varchar(45) DEFAULT NULL,
  `fldcontinent` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`fldid`)
) ENGINE=InnoDB AUTO_INCREMENT=895 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_ref_country`
--

LOCK TABLES `_ref_country` WRITE;
/*!40000 ALTER TABLE `_ref_country` DISABLE KEYS */;
INSERT INTO `_ref_country` VALUES (4,'AFGHANISTAN','AS'),(8,'ALBANIA','EU'),(10,'ANTARCTICA','AN'),(12,'ALGERIA','AF'),(16,'AMERICAN SAMOA','OC'),(20,'ANDORRA','EU'),(24,'ANGOLA','AF'),(28,'ANTIGUA AND BARBUDA','NA'),(31,'AZERBAIJAN','AS'),(32,'ARGENTINA','SA'),(36,'AUSTRALIA','OC'),(40,'AUSTRIA','EU'),(44,'BAHAMAS','NA'),(48,'BAHRAIN','AS'),(50,'BANGLADESH','AS'),(51,'ARMENIA','AS'),(52,'BARBADOS','NA'),(56,'BELGIUM','EU'),(60,'BERMUDA','NA'),(64,'BHUTAN','AS'),(68,'BOLIVIA','SA'),(70,'BOSNIA AND HERZEGOVINA','EU'),(72,'BOTSWANA','AF'),(74,'BOUVET ISLAND','AN'),(76,'BRAZIL','SA'),(84,'BELIZE','NA'),(86,'BRITISH INDIAN OCEAN TERRITORY','AS'),(90,'SOLOMON ISLANDS','OC'),(92,'BRITISH VIRGIN ISLANDS','NA'),(96,'BRUNEI','AS'),(100,'BULGARIA','EU'),(104,'MYANMAR','AS'),(108,'BURUNDI','AF'),(112,'BELARUS','EU'),(116,'CAMBODIA','AS'),(120,'CAMEROON','AF'),(124,'CANADA','NA'),(132,'CAPE VERDE','AF'),(136,'CAYMAN ISLANDS','NA'),(140,'CENTRAL AFRICAN REPUBLIC','AF'),(144,'SRI LANKA','AS'),(148,'CHAD','AF'),(152,'CHILE','SA'),(156,'CHINA','AS'),(158,'TAIWAN','AS'),(162,'CHRISTMAS ISLAND','AS'),(166,'COCOS ISLANDS','AS'),(170,'COLOMBIA','SA'),(174,'COMOROS','AF'),(175,'MAYOTTE','AF'),(178,'REPUBLIC OF THE CONGO','AF'),(180,'DEMOCRATIC REPUBLIC OF THE CONGO','AF'),(184,'COOK ISLANDS','OC'),(188,'COSTA RICA','NA'),(191,'CROATIA','EU'),(192,'CUBA','NA'),(196,'CYPRUS','EU'),(203,'CZECH REPUBLIC','EU'),(204,'BENIN','AF'),(208,'DENMARK','EU'),(212,'DOMINICA','NA'),(214,'DOMINICAN REPUBLIC','NA'),(218,'ECUADOR','SA'),(222,'EL SALVADOR','NA'),(226,'EQUATORIAL GUINEA','AF'),(231,'ETHIOPIA','AF'),(232,'ERITREA','AF'),(233,'ESTONIA','EU'),(234,'FAROE ISLANDS','EU'),(238,'FALKLAND ISLANDS','SA'),(239,'SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS','AN'),(242,'FIJI','OC'),(246,'FINLAND','EU'),(248,'ALAND ISLANDS','EU'),(250,'FRANCE','EU'),(254,'FRENCH GUIANA','SA'),(258,'FRENCH POLYNESIA','OC'),(260,'FRENCH SOUTHERN TERRITORIES','AN'),(262,'DJIBOUTI','AF'),(266,'GABON','AF'),(268,'GEORGIA','AS'),(270,'GAMBIA','AF'),(275,'PALESTINIAN TERRITORY','AS'),(276,'GERMANY','EU'),(288,'GHANA','AF'),(292,'GIBRALTAR','EU'),(296,'KIRIBATI','OC'),(300,'GREECE','EU'),(304,'GREENLAND','NA'),(308,'GRENADA','NA'),(312,'GUADELOUPE','NA'),(316,'GUAM','OC'),(320,'GUATEMALA','NA'),(324,'GUINEA','AF'),(328,'GUYANA','SA'),(332,'HAITI','NA'),(334,'HEARD ISLAND AND MCDONALD ISLANDS','AN'),(336,'VATICAN','EU'),(340,'HONDURAS','NA'),(344,'HONG KONG','AS'),(348,'HUNGARY','EU'),(352,'ICELAND','EU'),(356,'INDIA','AS'),(360,'INDONESIA','AS'),(364,'IRAN','AS'),(368,'IRAQ','AS'),(372,'IRELAND','EU'),(376,'ISRAEL','AS'),(380,'ITALY','EU'),(384,'IVORY COAST','AF'),(388,'JAMAICA','NA'),(392,'JAPAN','AS'),(398,'KAZAKHSTAN','AS'),(400,'JORDAN','AS'),(404,'KENYA','AF'),(408,'NORTH KOREA','AS'),(410,'SOUTH KOREA','AS'),(414,'KUWAIT','AS'),(417,'KYRGYZSTAN','AS'),(418,'LAOS','AS'),(422,'LEBANON','AS'),(426,'LESOTHO','AF'),(428,'LATVIA','EU'),(430,'LIBERIA','AF'),(434,'LIBYA','AF'),(438,'LIECHTENSTEIN','EU'),(440,'LITHUANIA','EU'),(442,'LUXEMBOURG','EU'),(446,'MACAO','AS'),(450,'MADAGASCAR','AF'),(454,'MALAWI','AF'),(458,'MALAYSIA','AS'),(462,'MALDIVES','AS'),(466,'MALI','AF'),(470,'MALTA','EU'),(474,'MARTINIQUE','NA'),(478,'MAURITANIA','AF'),(480,'MAURITIUS','AF'),(484,'MEXICO','NA'),(492,'MONACO','EU'),(496,'MONGOLIA','AS'),(498,'MOLDOVA','EU'),(499,'MONTENEGRO','EU'),(500,'MONTSERRAT','NA'),(504,'MOROCCO','AF'),(508,'MOZAMBIQUE','AF'),(512,'OMAN','AS'),(516,'NAMIBIA','AF'),(520,'NAURU','OC'),(524,'NEPAL','AS'),(528,'NETHERLANDS','EU'),(530,'NETHERLANDS ANTILLES','NA'),(533,'ARUBA','NA'),(540,'NEW CALEDONIA','OC'),(548,'VANUATU','OC'),(554,'NEW ZEALAND','OC'),(558,'NICARAGUA','NA'),(562,'NIGER','AF'),(566,'NIGERIA','AF'),(570,'NIUE','OC'),(574,'NORFOLK ISLAND','OC'),(578,'NORWAY','EU'),(580,'NORTHERN MARIANA ISLANDS','OC'),(581,'UNITED STATES MINOR OUTLYING ISLANDS','OC'),(583,'MICRONESIA','OC'),(584,'MARSHALL ISLANDS','OC'),(585,'PALAU','OC'),(586,'PAKISTAN','AS'),(591,'PANAMA','NA'),(598,'PAPUA NEW GUINEA','OC'),(600,'PARAGUAY','SA'),(604,'PERU','SA'),(608,'PHILIPPINES','AS'),(612,'PITCAIRN','OC'),(616,'POLAND','EU'),(620,'PORTUGAL','EU'),(624,'GUINEA-BISSAU','AF'),(626,'EAST TIMOR','OC'),(630,'PUERTO RICO','NA'),(634,'QATAR','AS'),(638,'REUNION','AF'),(642,'ROMANIA','EU'),(643,'RUSSIA','EU'),(646,'RWANDA','AF'),(652,'SAINT BARTHÉLEMY','NA'),(654,'SAINT HELENA','AF'),(659,'SAINT KITTS AND NEVIS','NA'),(660,'ANGUILLA','NA'),(662,'SAINT LUCIA','NA'),(663,'SAINT MARTIN','NA'),(666,'SAINT PIERRE AND MIQUELON','NA'),(670,'SAINT VINCENT AND THE GRENADINES','NA'),(674,'SAN MARINO','EU'),(678,'SAO TOME AND PRINCIPE','AF'),(682,'SAUDI ARABIA','AS'),(686,'SENEGAL','AF'),(688,'SERBIA','EU'),(690,'SEYCHELLES','AF'),(694,'SIERRA LEONE','AF'),(702,'SINGAPORE','AS'),(703,'SLOVAKIA','EU'),(704,'VIETNAM','AS'),(705,'SLOVENIA','EU'),(706,'SOMALIA','AF'),(710,'SOUTH AFRICA','AF'),(716,'ZIMBABWE','AF'),(724,'SPAIN','EU'),(732,'WESTERN SAHARA','AF'),(736,'SUDAN','AF'),(740,'SURINAME','SA'),(744,'SVALBARD AND JAN MAYEN','EU'),(748,'SWAZILAND','AF'),(752,'SWEDEN','EU'),(756,'SWITZERLAND','EU'),(760,'SYRIA','AS'),(762,'TAJIKISTAN','AS'),(764,'THAILAND','AS'),(768,'TOGO','AF'),(772,'TOKELAU','OC'),(776,'TONGA','OC'),(780,'TRINIDAD AND TOBAGO','NA'),(784,'UNITED ARAB EMIRATES','AS'),(788,'TUNISIA','AF'),(792,'TURKEY','AS'),(795,'TURKMENISTAN','AS'),(796,'TURKS AND CAICOS ISLANDS','NA'),(798,'TUVALU','OC'),(800,'UGANDA','AF'),(804,'UKRAINE','EU'),(807,'MACEDONIA','EU'),(818,'EGYPT','AF'),(826,'UNITED KINGDOM','EU'),(831,'GUERNSEY','EU'),(832,'JERSEY','EU'),(833,'ISLE OF MAN','EU'),(834,'TANZANIA','AF'),(840,'UNITED STATES','NA'),(850,'U.S. VIRGIN ISLANDS','NA'),(854,'BURKINA FASO','AF'),(855,'KOSOVO','EU'),(858,'URUGUAY','SA'),(860,'UZBEKISTAN','AS'),(862,'VENEZUELA','SA'),(876,'WALLIS AND FUTUNA','OC'),(882,'SAMOA','OC'),(887,'YEMEN','AS'),(891,'SERBIA AND MONTENEGRO','EU'),(894,'ZAMBIA','AF');
/*!40000 ALTER TABLE `_ref_country` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_ref_currency`
--

DROP TABLE IF EXISTS `_ref_currency`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_ref_currency` (
  `fldid` int(5) NOT NULL AUTO_INCREMENT,
  `fldcurr_code` varchar(5) DEFAULT NULL,
  `fldcurr_desc` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`fldid`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_ref_currency`
--

LOCK TABLES `_ref_currency` WRITE;
/*!40000 ALTER TABLE `_ref_currency` DISABLE KEYS */;
INSERT INTO `_ref_currency` VALUES (1,'MYR','Ringgit Malaysia'),(2,'USD','US Dollar'),(3,'RMB','China Remibi'),(4,'SGD','Singapore Dollar'),(5,'AUD','Australia Dollar'),(6,'JPY','Japanese Yen'),(7,'WON','Korea WON'),(8,'HKD','Hong Kong Dollar'),(9,'GBP','Great Britain Pound'),(10,'EUR','Euro'),(11,'CAD','Canadian Dollar'),(12,'THB','Thai Baht');
/*!40000 ALTER TABLE `_ref_currency` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_ref_dateformat`
--

DROP TABLE IF EXISTS `_ref_dateformat`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_ref_dateformat` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(24) DEFAULT NULL,
  `codeJava` varchar(24) DEFAULT NULL,
  `description` varchar(64) DEFAULT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_ref_dateformat`
--

LOCK TABLES `_ref_dateformat` WRITE;
/*!40000 ALTER TABLE `_ref_dateformat` DISABLE KEYS */;
INSERT INTO `_ref_dateformat` VALUES (1,'d-m-Y','dd-mm-yy','Day-Month-Year ( Eg. 01-05-2014 )'),(2,'d/m/Y\r\n','dd/mm/yy','Day/Month/Year ( Eg. 01/05/2014 )'),(3,'Y-m-d','yy-mm-dd','Year-Month-Day ( Eg. 2014-05-01 )'),(4,'Y/m/d','yy/mm/dd','Year/Month/Day ( Eg. 2014/05/01 )');
/*!40000 ALTER TABLE `_ref_dateformat` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_ref_gst_03_field`
--

DROP TABLE IF EXISTS `_ref_gst_03_field`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_ref_gst_03_field` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `item` varchar(255) NOT NULL,
  `description` varchar(255) NOT NULL,
  `taxCode` varchar(255) NOT NULL,
  `changeable` tinyint(1) NOT NULL DEFAULT '1',
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_ref_gst_03_field`
--

LOCK TABLES `_ref_gst_03_field` WRITE;
/*!40000 ALTER TABLE `_ref_gst_03_field` DISABLE KEYS */;
INSERT INTO `_ref_gst_03_field` VALUES (1,'B5a','Total Value of Standard Rated Supply','SR,DS',1,'2015-07-09 17:17:43','2015-07-09 22:53:15'),(2,'B5b','Total Output Tax (Inclusive of Tax Value on Bad Debt Recovered & other Adjustments)','SR,DS,AJS',1,'2015-07-09 17:17:43','2015-07-09 22:53:21'),(3,'B6a','Total Value of Standard Rate and Flat Rate Acquisitions','TX,IM,IMS,TX-E43,TX-RE',1,'2015-07-09 17:18:11','2015-07-09 22:53:31'),(4,'B6b','Total Input Tax (Inclusive of Tax Value on Bad Debt Relief & other Adjustments)','TX-CG,TX,IM,IMS,TX-E43,TX-RE,AJP',1,'2015-07-09 17:18:11','2015-07-09 22:53:44'),(5,'B7','GST Amount Payable (Item 5b - Item 6b)','',0,'2015-07-09 17:19:22','2015-07-09 22:56:52'),(6,'B8','GST Amount Claimable (Item 6b - Item 5b)','',0,'2015-07-09 17:19:22','2015-07-09 22:56:55'),(7,'C10','Total Value of Local Zero-Rated Supplies','ZRL',1,'2015-07-09 17:19:37','2015-07-09 22:54:18'),(8,'C11','Total Value of Export Supplies','ZRE',1,'2015-07-09 17:19:37','2015-07-09 22:54:29'),(9,'C12','Total Value of Exempt Supplies','ES43,ES',1,'2015-07-09 17:19:52','2015-07-09 22:54:33'),(10,'C13','Total Value of Supplies Granted GST Relief','RS',1,'2015-07-09 17:19:52','2015-07-09 22:54:38'),(11,'C14','Total Value of Goods Imported Under Approved Trader Scheme','IS',1,'2015-07-09 17:20:11','2015-07-09 22:54:47'),(12,'C15','Total Value of GST Suspended under item 14','',0,'2015-07-09 17:20:11','2015-07-09 22:57:02'),(13,'C16','Total Value of Capital Goods Acquired','TX-CG',1,'2015-07-09 17:20:28','2015-07-09 22:54:48'),(14,'C17','Total Value of Bad Debt Relief Inclusive Tax','',0,'2015-07-09 17:20:28','2015-07-09 22:57:06'),(15,'C18','Total Value of Bad Debt Recovered Inclusive Tax','',0,'2015-07-09 17:20:38','2015-07-09 22:57:09');
/*!40000 ALTER TABLE `_ref_gst_03_field` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_ref_industry`
--

DROP TABLE IF EXISTS `_ref_industry`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_ref_industry` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(128) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_ref_industry`
--

LOCK TABLES `_ref_industry` WRITE;
/*!40000 ALTER TABLE `_ref_industry` DISABLE KEYS */;
INSERT INTO `_ref_industry` VALUES (1,'General',1,'2014-05-05 17:06:56',0,'2014-05-05 17:32:24'),(2,'Retail / Trading',1,'2014-05-05 17:06:56',0,'2016-06-10 07:12:23'),(3,'Services',1,'2014-05-05 17:08:14',0,'2014-05-05 17:32:44'),(4,'Others',1,'2014-05-05 17:08:14',0,'2014-05-05 17:32:44');
/*!40000 ALTER TABLE `_ref_industry` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_ref_language`
--

DROP TABLE IF EXISTS `_ref_language`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_ref_language` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(3) DEFAULT '0',
  `description` varchar(64) DEFAULT '0',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_ref_language`
--

LOCK TABLES `_ref_language` WRITE;
/*!40000 ALTER TABLE `_ref_language` DISABLE KEYS */;
INSERT INTO `_ref_language` VALUES (1,'en','English (International)'),(2,'ms','Bahasa Malaysia'),(3,'ar','Arabic');
/*!40000 ALTER TABLE `_ref_language` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_ref_state`
--

DROP TABLE IF EXISTS `_ref_state`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_ref_state` (
  `fldid` int(10) NOT NULL AUTO_INCREMENT,
  `fldregion_id` int(10) unsigned DEFAULT NULL,
  `fldname` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`fldid`),
  KEY `subregion_region_id` (`fldregion_id`)
) ENGINE=InnoDB AUTO_INCREMENT=1937 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_ref_state`
--

LOCK TABLES `_ref_state` WRITE;
/*!40000 ALTER TABLE `_ref_state` DISABLE KEYS */;
INSERT INTO `_ref_state` VALUES (1921,458,'JOHOR'),(1922,458,'KEDAH'),(1923,458,'KELANTAN'),(1924,458,'MELAKA'),(1925,458,'NEGERI SEMBILAN'),(1926,458,'PAHANG'),(1927,458,'PERAK'),(1928,458,'PERLIS'),(1929,458,'PULAU PINANG'),(1930,458,'SARAWAK'),(1931,458,'SELANGOR'),(1932,458,'TERENGGANU'),(1933,458,'KUALA LUMPUR'),(1934,458,'FEDERAL TERRITORY OF LABUAN'),(1935,458,'SABAH'),(1936,458,'PUTRAJAYA');
/*!40000 ALTER TABLE `_ref_state` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_ref_tax_master`
--

DROP TABLE IF EXISTS `_ref_tax_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_ref_tax_master` (
  `ID` int(11) NOT NULL DEFAULT '0',
  `code` varchar(10) DEFAULT NULL,
  `name` varchar(128) DEFAULT NULL,
  `taxType` int(11) DEFAULT NULL,
  `taxPercentage` double DEFAULT NULL,
  `taxClass` int(11) DEFAULT NULL,
  `taxGroup` int(11) DEFAULT NULL,
  `description` varchar(128) DEFAULT NULL,
  `defaultTaxAccount` varchar(9) DEFAULT NULL,
  `status` tinyint(1) DEFAULT '0',
  `createdBy` int(11) DEFAULT '0',
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_ref_tax_master`
--

LOCK TABLES `_ref_tax_master` WRITE;
/*!40000 ALTER TABLE `_ref_tax_master` DISABLE KEYS */;
INSERT INTO `_ref_tax_master` VALUES (0,'TX-CG','CAPITAL GOODS ACQUIRED',11,6,1,1,'CAPITAL GOODS ACQUIRED','260010000',0,0,'2014-08-18 21:02:45',NULL,'2014-08-18 21:03:18'),(1,'SR','STANDARD RATED SUPPLIES WITH GST CHARGED',1,6,1,2,'STANDARD RATED SUPPLIES WITH GST CHARGED','330010000',0,0,'2014-05-10 15:56:37',NULL,'2014-08-11 23:40:46'),(2,'DS','DEEMED SUPPLIES',1,6,1,2,'DEEMED SUPPLIES','330010000',0,0,'2014-05-10 15:56:37',NULL,'2014-08-11 23:40:46'),(3,'ZRL','ZERO RATED SUPPLIES-LOCAL',2,0,1,2,'ZERO RATED SUPPLIES-LOCAL',NULL,0,0,'2014-05-10 15:56:37',NULL,'2014-08-13 00:56:43'),(4,'ZRE','EXPORTED GOOD SUPPLIES',3,0,1,2,'EXPORTED GOOD SUPPLIES',NULL,0,0,'2014-05-10 11:02:03',NULL,'2014-08-13 00:56:43'),(5,'ES43','INCIDENTAL EXEMPT SUPPLIES',4,0,1,2,'INCIDENTAL EXEMPT SUPPLIES',NULL,0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 00:56:43'),(6,'ES','EXEMPT SUPPLIES UNDER GST',4,0,1,2,'EXEMPT SUPPLIES UNDER GST',NULL,0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 00:56:43'),(7,'OS','OUT-OF-SCOPE SUPPLIES',5,0,1,2,'OUT-OF-SCOPE SUPPLIES',NULL,0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 00:56:43'),(8,'RS','RELIEF SUPPLIES UNDER GST',6,0,1,2,'RELIEF SUPPLIES UNDER GST',NULL,0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 00:56:43'),(9,'GS','DISREGARDED SUPPLIES',7,0,1,2,'DupdaISREGARDED SUPPLIES',NULL,0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 00:56:43'),(10,'AJS','ANY ADJUSTMENT MADE TO OUTPUT TAX',8,6,1,2,'ANY ADJUSTMENT MADE TO OUTPUT TAX','330010000',0,0,'2014-05-11 17:36:01',NULL,'2014-08-11 23:40:46'),(11,'ST-MF','SALES TAX FOR GOODS MANUFACTURING ',9,10,2,2,'SALES TAX FOR GOODS MANUFACTURING ','330040000',0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 03:01:53'),(12,'ST','SALES TAX FOR GENERAL',9,5,2,2,'SALES TAX FOR GENERAL','330040000',0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 02:22:57'),(13,'SERT','SERVICE TAX FOR GENERAL',10,6,2,2,'SERVICE TAX FOR GENERAL','330050000',0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 02:21:38'),(14,'TX','PURCHASE WITH GST INCURRED AT 6% AND DIRECTLY ATTRIBUTABLE TO TAXABLE SUPPLIES',11,6,1,1,'PURCHASE WITH GST INCURRED AT 6% AND DIRECTLY ATTRIBUTABLE TO TAXABLE SUPPLIES','260010000',0,0,'2014-05-11 17:36:01',NULL,'2014-08-18 20:48:26'),(15,'IM','GST INCURRED FOR IMPORT OF GOODS',11,6,1,1,'GST INCURRED FOR IMPORT OF GOODS','260010000',0,0,'2014-05-11 17:36:01',NULL,'2014-08-11 23:40:22'),(16,'IMS','GST INCURRED FOR IMPORT OF SERVICES (REVERSED MECHANISM)',11,6,1,1,'GST INCURRED FOR IMPORT OF SERVICES (REVERSED MECHANISM)','260010000',0,0,'2014-05-11 17:36:01',NULL,'2014-08-11 23:40:22'),(17,'IS','IMPORTED UNDER SPECIAL SCHEME WITH NO GST INCURRED',12,0,1,1,'IMPORTED UNDER SPECIAL SCHEME WITH NO GST INCURRED',NULL,0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 00:56:43'),(18,'BL','PURCHASE WITH GST INCURRED BUT NOT CLAIMBLE',13,6,1,1,'PURCHASE WITH GST INCURRED BUT NOT CLAIMBLE','810040000',0,0,'2014-05-11 17:36:01',NULL,'2014-08-11 23:40:22'),(19,'NR','PURCHASE FROM NON GST-REGISTERED SUPPLIER WITH NO GST INCURRED',14,0,1,1,'PURCHASE FROM NON GST-REGISTERED SUPPLIER WITH NO GST INCURRED',NULL,0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 00:56:43'),(20,'ZP','PURCHASE FROM GST-REGISTERED SUPPLIER WITH NO GST INCURRED',15,0,1,1,'PURCHASE FROM GST-REGISTERED SUPPLIER WITH NO GST INCURRED',NULL,0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 00:56:43'),(21,'EP','PURCHASE EXEMPTED FROM GST',16,0,1,1,'PURCHASE EXEMPTED FROM GST',NULL,0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 00:56:43'),(22,'OP','PURCHASE TRANSACTIONS WHICH IS OUT OF THE SCOPE OF GST LEGISLATION',5,0,1,1,'PURCHASE TRANSACTIONS WHICH IS OUT OF THE SCOPE',NULL,0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 00:56:43'),(23,'TX-E43','GST INCURRED DIRECTLY ATTRIBUTABLE TO INCIDENTAL EXEMPT SUPPLIES',11,6,1,1,'GST INCURRED DIRECTLY ATTRIBUTABLE TO INCIDENTAL EXEMPT SUPPLIES','260010000',0,0,'2014-05-11 17:36:01',NULL,'2014-08-11 23:40:22'),(24,'TX-N43','GST  INCURRED DIRECTLY ATTRIBUTABLE TO NON-INCIDENTAL EXEMPT SUPPLIES',11,6,1,1,'GST  INCURRED DIRECTLY ATTRIBUTABLE TO NON-INCIDENTAL EXEMPT SUPPLIES','260010000',0,0,'2014-05-11 17:36:01',NULL,'2014-08-11 23:40:22'),(25,'TX-RE','GST INCURRED THAT IS NOT DIRECTLY ATTRIBUTABLE TO TAXABLE OR EXEMPT SUPPLIES',11,6,1,1,'GST INCURRED THAT IS NOT DIRECTLY ATTRIBUTABLE TO TAXABLE OR EXEMPT SUPPLIES','260010000',0,0,'2014-05-11 17:36:01',NULL,'2014-08-11 23:40:22'),(26,'GP','PURCHASE TRANSACTION WHICH LEGISLATION',19,0,1,1,'PURCHASE TRANSACTION WHICH LEGISLATION',NULL,0,0,'2014-05-11 17:36:01',NULL,'2014-08-18 20:35:41'),(27,'AJP','ANY ADJUSTMENT MADE TO INPUT TAX',20,6,1,1,'ANY ADJUSTMENT MADE TO INPUT TAX','260010000',0,0,'2014-05-11 17:36:01',NULL,'2014-08-18 20:43:39'),(28,'ST-1','SALES TAX FOR GOODS MANUFACTURING ',9,10,2,1,'SALES TAX FOR GOODS MANUFACTURING ','810031000',0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 03:01:05'),(29,'ST-2','SALES TAX FOR GENERAL',9,10,2,1,'SALES TAX FOR GENERAL','810031000',0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 03:01:21'),(30,'SERT-1','SERVICE TAX FOR GENERAL',10,6,2,1,'SERVICE TAX FOR GENERAL','330050000',0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 02:22:12'),(31,'IMPD-1','IMPORT DUTY FOR CUSTOMS IMPORTED GOODS',17,0,2,1,'IMPORT DUTY FOR CUSTOMS IMPORTED GOODS',NULL,0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 00:56:43'),(32,'IMPD-2','IMPORT DUTY FOR CUSTOMS OPEN AP',17,0,2,1,'IMPORT DUTY FOR CUSTOMS OPEN AP',NULL,0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 00:56:43'),(33,'IMPD-3','IMPORT DUTY FOR CUTOMS FRANCHAISE AP',17,0,2,1,'IMPORT DUTY FOR CUTOMS FRANCHAISE AP',NULL,0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 00:56:43'),(34,'EXD','EXCISE DUTY CUSTOMS',18,0,2,1,'EXCISE DUTY CUSTOMS',NULL,0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 00:56:43');
/*!40000 ALTER TABLE `_ref_tax_master` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_ref_web`
--

DROP TABLE IF EXISTS `_ref_web`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_ref_web` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `userID` varchar(64) NOT NULL,
  `webPageName` varchar(32) NOT NULL,
  `namaSyarikat` varchar(32) NOT NULL,
  `mukaDepan` longtext,
  `menu1` varchar(32) NOT NULL,
  `menu2` varchar(32) NOT NULL,
  `menu3` varchar(32) NOT NULL,
  `menu4` varchar(32) NOT NULL,
  `menu5` varchar(32) NOT NULL,
  `menu1Link` varchar(64) NOT NULL,
  `menu2Link` varchar(64) NOT NULL,
  `menu3Link` varchar(64) NOT NULL,
  `menu4Link` varchar(64) NOT NULL,
  `menu5Link` varchar(64) NOT NULL,
  `selamatDatang` varchar(32) NOT NULL,
  `moto` varchar(128) NOT NULL,
  `linkLabel` varchar(32) NOT NULL,
  `link` varchar(64) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `mengapaTajuk` varchar(32) NOT NULL,
  `mengapaKeterangan` text NOT NULL,
  `mengapa1` varchar(32) NOT NULL,
  `mengapa12` text NOT NULL,
  `mengapa2` varchar(32) NOT NULL,
  `mengapa22` text NOT NULL,
  `mengapa3` varchar(32) NOT NULL,
  `mengapa32` text NOT NULL,
  `mengapa4` varchar(32) NOT NULL,
  `mengapa42` text NOT NULL,
  `mengapa5` varchar(32) NOT NULL,
  `mengapa52` text NOT NULL,
  `mengapa6` varchar(32) NOT NULL,
  `mengapa62` text NOT NULL,
  `portfolio` varchar(32) NOT NULL,
  `portfolioSub` varchar(128) NOT NULL,
  `portfolio1` varchar(32) NOT NULL,
  `portfolioSub1` varchar(128) NOT NULL,
  `portfolio2` varchar(32) NOT NULL,
  `portfolioSub2` varchar(128) NOT NULL,
  `portfolio3` varchar(32) NOT NULL,
  `portfolioSub3` varchar(128) NOT NULL,
  `portfolio4` varchar(32) NOT NULL,
  `portfolioSub4` varchar(128) NOT NULL,
  `portfolio5` varchar(32) NOT NULL,
  `portfolioSub5` varchar(128) NOT NULL,
  `portfolio6` varchar(32) NOT NULL,
  `portfolioSub6` varchar(128) NOT NULL,
  `portfolioImage1` longtext,
  `portfolioImage2` longtext,
  `portfolioImage3` longtext,
  `portfolioImage4` longtext,
  `portfolioImage5` longtext,
  `portfolioImage6` longtext,
  `portfolioText1` text NOT NULL,
  `portfolioText2` text NOT NULL,
  `portfolioText3` text NOT NULL,
  `portfolioText4` text NOT NULL,
  `portfolioText5` text NOT NULL,
  `portfolioText6` text NOT NULL,
  `about` varchar(32) NOT NULL,
  `aboutSub` varchar(128) NOT NULL,
  `aboutText` text NOT NULL,
  `about1` varchar(32) NOT NULL,
  `aboutSub1` varchar(128) NOT NULL,
  `aboutText1` text NOT NULL,
  `about2` varchar(32) NOT NULL,
  `aboutSub2` varchar(128) NOT NULL,
  `aboutText2` text NOT NULL,
  `about3` varchar(32) NOT NULL,
  `aboutSub3` varchar(128) NOT NULL,
  `aboutText3` text NOT NULL,
  `about4` varchar(32) NOT NULL,
  `aboutSub4` varchar(128) NOT NULL,
  `aboutText4` text NOT NULL,
  `aboutImage1` longtext,
  `aboutImage2` longtext,
  `aboutImage3` longtext,
  `aboutImage4` longtext,
  `aboutBulat` varchar(32) NOT NULL,
  `team` varchar(32) NOT NULL,
  `teamSub` varchar(128) NOT NULL,
  `teamFb` varchar(64) NOT NULL,
  `team1` varchar(32) NOT NULL,
  `teamSub1` varchar(128) NOT NULL,
  `teamFb1` varchar(64) NOT NULL,
  `team2` varchar(32) NOT NULL,
  `teamSub2` varchar(128) NOT NULL,
  `teamFb2` varchar(64) NOT NULL,
  `team3` varchar(32) NOT NULL,
  `teamSub3` varchar(128) NOT NULL,
  `teamFb3` varchar(64) NOT NULL,
  `teamTw1` varchar(64) NOT NULL,
  `teamTw2` varchar(64) NOT NULL,
  `teamTw3` varchar(64) NOT NULL,
  `teamLn1` varchar(64) NOT NULL,
  `teamLn2` varchar(64) NOT NULL,
  `teamLn3` varchar(64) NOT NULL,
  `teamImage1` longtext,
  `teamImage2` longtext,
  `teamImage3` longtext,
  `teamBawah` varchar(128) NOT NULL,
  `clientImage1` longtext,
  `clientImage2` longtext,
  `clientImage3` longtext,
  `clientImage4` longtext,
  `clientLink1` varchar(128) NOT NULL,
  `clientLink2` varchar(128) NOT NULL,
  `clientLink3` varchar(128) NOT NULL,
  `clientLink4` varchar(128) NOT NULL,
  `hubungiKami` text NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_ref_web`
--

LOCK TABLES `_ref_web` WRITE;
/*!40000 ALTER TABLE `_ref_web` DISABLE KEYS */;
INSERT INTO `_ref_web` VALUES (1,'akmaluddin@salihin.com.my','akmal','SPS Lite','','Mengapa SPS Lite ?','Ciri-ciri','Testimoni','Langgan SPS Lite','Hubungi Kami','#services','#portfolio','#about-section','#team-section','#contact','Selamat Datang ke SPS Lite','Memudahkan Perniagaan Anda','Free Trial / Login','http://demo.spslite.my/login',0,0,'2016-07-20 11:36:48','Mengapa SPS Lite?','Mengapa SPS Lite','Responsif','Responsive dengan semua device termasuk tablet dan smartphone','Dwibahasa','Dalam Bahasa Malaysia dan Inggeris','Mesra Pengguna','','Untung dan Rugi','Laporan Untung dan Rugi semudah ABC','Kewangan','Laporan Kewangan semudah ABC','Pengkomputeran Awam','Membawa anda ke era Digital','Perkhidmatan Kami','Contoh-contoh Skrin dan Laporan','Jualan','Rekod Jualan','Perbelanjaan','Rekod Perbelanjaan','Umum','Ketetapan Umum','Laporan','Contoh-contoh laporan','Tetapan','Ketetapan setup Pentadbir','Pautan','Pautan Tambahan','','','','','','','','','','','','','testimoni','','','','','','','','','','','','','','','','','','','','Team Kami','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','Untuk melanggan SPS Lite, hubungi kami di talian +03-6185 9970 atau emel ke info@salihinpremier.com.');
/*!40000 ALTER TABLE `_ref_web` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_ref_web_old`
--

DROP TABLE IF EXISTS `_ref_web_old`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_ref_web_old` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `userID` varchar(64) NOT NULL,
  `namaSyarikat` varchar(32) NOT NULL,
  `mukaDepan` longtext,
  `menu1` varchar(32) NOT NULL,
  `menu2` varchar(32) NOT NULL,
  `menu3` varchar(32) NOT NULL,
  `menu4` varchar(32) NOT NULL,
  `menu5` varchar(32) NOT NULL,
  `menu1Link` varchar(64) NOT NULL,
  `menu2Link` varchar(64) NOT NULL,
  `menu3Link` varchar(64) NOT NULL,
  `menu4Link` varchar(64) NOT NULL,
  `menu5Link` varchar(64) NOT NULL,
  `selamatDatang` varchar(32) NOT NULL,
  `moto` varchar(128) NOT NULL,
  `linkLabel` varchar(32) NOT NULL,
  `link` varchar(64) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `mengapaTajuk` varchar(32) NOT NULL,
  `mengapaKeterangan` text NOT NULL,
  `mengapa1` varchar(32) NOT NULL,
  `mengapa12` text NOT NULL,
  `mengapa2` varchar(32) NOT NULL,
  `mengapa22` text NOT NULL,
  `mengapa3` varchar(32) NOT NULL,
  `mengapa32` text NOT NULL,
  `mengapa4` varchar(32) NOT NULL,
  `mengapa42` text NOT NULL,
  `mengapa5` varchar(32) NOT NULL,
  `mengapa52` text NOT NULL,
  `mengapa6` varchar(32) NOT NULL,
  `mengapa62` text NOT NULL,
  `portfolio` varchar(32) NOT NULL,
  `portfolioSub` varchar(128) NOT NULL,
  `portfolio1` varchar(32) NOT NULL,
  `portfolioSub1` varchar(128) NOT NULL,
  `portfolio2` varchar(32) NOT NULL,
  `portfolioSub2` varchar(128) NOT NULL,
  `portfolio3` varchar(32) NOT NULL,
  `portfolioSub3` varchar(128) NOT NULL,
  `portfolio4` varchar(32) NOT NULL,
  `portfolioSub4` varchar(128) NOT NULL,
  `portfolio5` varchar(32) NOT NULL,
  `portfolioSub5` varchar(128) NOT NULL,
  `portfolio6` varchar(32) NOT NULL,
  `portfolioSub6` varchar(128) NOT NULL,
  `portfolioImage1` varchar(64) NOT NULL,
  `portfolioImage2` varchar(64) NOT NULL,
  `portfolioImage3` varchar(64) NOT NULL,
  `portfolioImage4` varchar(64) NOT NULL,
  `portfolioImage5` varchar(64) NOT NULL,
  `portfolioImage6` longtext NOT NULL,
  `portfolioText1` text NOT NULL,
  `portfolioText2` text NOT NULL,
  `portfolioText3` text NOT NULL,
  `portfolioText4` text NOT NULL,
  `portfolioText5` text NOT NULL,
  `portfolioText6` text NOT NULL,
  `about` varchar(32) NOT NULL,
  `aboutSub` varchar(128) NOT NULL,
  `aboutText` text NOT NULL,
  `about1` varchar(32) NOT NULL,
  `aboutSub1` varchar(128) NOT NULL,
  `aboutText1` text NOT NULL,
  `about2` varchar(32) NOT NULL,
  `aboutSub2` varchar(128) NOT NULL,
  `aboutText2` text NOT NULL,
  `about3` varchar(32) NOT NULL,
  `aboutSub3` varchar(128) NOT NULL,
  `aboutText3` text NOT NULL,
  `about4` varchar(32) NOT NULL,
  `aboutSub4` varchar(128) NOT NULL,
  `aboutText4` text NOT NULL,
  `aboutImage1` varchar(64) NOT NULL,
  `aboutImage2` varchar(64) NOT NULL,
  `aboutImage3` varchar(64) NOT NULL,
  `aboutImage4` varchar(64) NOT NULL,
  `aboutBulat` varchar(32) NOT NULL,
  `team` varchar(32) NOT NULL,
  `teamSub` varchar(128) NOT NULL,
  `teamFb` varchar(64) NOT NULL,
  `team1` varchar(32) NOT NULL,
  `teamSub1` varchar(128) NOT NULL,
  `teamFb1` varchar(64) NOT NULL,
  `team2` varchar(32) NOT NULL,
  `teamSub2` varchar(128) NOT NULL,
  `teamFb2` varchar(64) NOT NULL,
  `team3` varchar(32) NOT NULL,
  `teamSub3` varchar(128) NOT NULL,
  `teamFb3` varchar(64) NOT NULL,
  `teamTw1` varchar(64) NOT NULL,
  `teamTw2` varchar(64) NOT NULL,
  `teamTw3` varchar(64) NOT NULL,
  `teamLn1` varchar(64) NOT NULL,
  `teamLn2` varchar(64) NOT NULL,
  `teamLn3` varchar(64) NOT NULL,
  `teamImage1` varchar(64) NOT NULL,
  `teamImage2` varchar(64) NOT NULL,
  `teamImage3` varchar(64) NOT NULL,
  `teamBawah` varchar(128) NOT NULL,
  `clientImage1` varchar(64) NOT NULL,
  `clientImage2` varchar(64) NOT NULL,
  `clientImage3` varchar(64) NOT NULL,
  `clientImage4` varchar(64) NOT NULL,
  `clientLink1` varchar(128) NOT NULL,
  `clientLink2` varchar(128) NOT NULL,
  `clientLink3` varchar(128) NOT NULL,
  `clientLink4` varchar(128) NOT NULL,
  `hubungiKami` text NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_ref_web_old`
--

LOCK TABLES `_ref_web_old` WRITE;
/*!40000 ALTER TABLE `_ref_web_old` DISABLE KEYS */;
INSERT INTO `_ref_web_old` VALUES (1,'akmaluddin@salihin.com.my','SPS Lite','','Mengapa SPS Lite ?','Ciri-ciri','Testimoni','Langgan SPS Lite','Hubungi Kami','#services','#portfolio','#about-section','#team-section','#contact','Selamat Datang ke SPS Lite','Memudahkan Perniagaan Anda','Free Trial','http://spslite.my/spsLiteDemo',0,0,'2016-07-20 11:36:48','Mengapa SPS Lite?','Mengapa SPS Lite','Responsif','Responsive dengan semua device termasuk tablet dan smartphone','Dwibahasa','Dalam Bahasa Malaysia dan Inggeris','Mesra Pengguna','','Untung dan Rugi','Laporan Untung dan Rugi semudah ABC','Kewangan','Laporan Kewangan semudah ABC','Pengkomputeran Awam','Membawa anda ke era Digital','Perkhidmatan Kami','Contoh-contoh Skrin dan Laporan','Jualan','Rekod Jualan','Perbelanjaan','Rekod Perbelanjaan','Umum','Ketetapan Umum','Laporan','Contoh-contoh laporan','Tetapan','Ketetapan setup Pentadbir','Pautan','Pautan Tambahan','','','','','','','','','','','','','testimoni','','','','','','','','','','','','','','','','','','','','Team Kami','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','Untuk melanggan SPS Lite, hubungi kami di talian +03-6185 9970 atau emel ke info@salihinpremier.com.');
/*!40000 ALTER TABLE `_ref_web_old` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_ref_zakat_group`
--

DROP TABLE IF EXISTS `_ref_zakat_group`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_ref_zakat_group` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `defaultAcctCode` varchar(9) NOT NULL,
  `name` varchar(64) CHARACTER SET utf8 DEFAULT NULL,
  `description` varchar(128) CHARACTER SET utf8 DEFAULT NULL,
  `parentID` int(11) DEFAULT '0',
  `sequence` int(11) DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_ref_zakat_group`
--

LOCK TABLES `_ref_zakat_group` WRITE;
/*!40000 ALTER TABLE `_ref_zakat_group` DISABLE KEYS */;
/*!40000 ALTER TABLE `_ref_zakat_group` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_sys_menu`
--

DROP TABLE IF EXISTS `_sys_menu`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_sys_menu` (
  `fldid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(8) DEFAULT NULL,
  `name` varchar(30) DEFAULT NULL,
  `parents` varchar(8) DEFAULT '0',
  `module` varchar(8) DEFAULT '0',
  `submenu` smallint(1) DEFAULT '0',
  `urls` varchar(100) DEFAULT '0',
  `urls2` varchar(100) DEFAULT '0',
  `access` varchar(100) DEFAULT NULL,
  `seq` int(11) NOT NULL,
  `display` smallint(1) DEFAULT '1',
  `icons` varchar(32) DEFAULT 'i-film',
  `language` varchar(3) DEFAULT 'EN',
  PRIMARY KEY (`fldid`)
) ENGINE=InnoDB AUTO_INCREMENT=391 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_sys_menu`
--

LOCK TABLES `_sys_menu` WRITE;
/*!40000 ALTER TABLE `_sys_menu` DISABLE KEYS */;
INSERT INTO `_sys_menu` VALUES (1,'DB','Dashboard','0','0',0,'home','home','ALL',1,1,'icondashboard.png','EN'),(5,'STP','GeneralSetup','0','10',1,'#','0','ALL',90,1,'iconsetup.png','EN'),(6,'UM','UserMaster','12','9',0,'admin/usermasterlist','0','ALL',1,1,'icon-usermaster.png','EN'),(7,'UML','UserMasterList','12','9',0,'admin/usermasterlist','0','ALL',2,0,'icon-usermaster.png','EN'),(12,'ADM','Admin','0','9',1,'#','0','ADMIN',100,1,'iconadmin.png','EN'),(14,'MUL','MenuList','12','9',0,'admin/menumasterlist','0','ALL',4,0,'icon-menulist.png','EN'),(41,'MSLM','LocationMaster','91','4',0,'ItemSetup/locationlist','0','ALL',70,1,'icon-active.png','EN'),(45,'GLM','GeneralLedger','0','1',1,'#','0','ALL',10,1,'icongeneralledger.png','EN'),(46,'GLSETUP','Setup','45','1',1,'#','0','ALL',90,1,'iconsubsetup.png','EN'),(50,'PUR','Purchasing','0','8',1,'#','0','ALL',50,1,'iconpurchasing.png','EN'),(51,'PURSETUP','Setup','50','8',1,'#','0','ALL',90,1,'iconsubsetup.png','EN'),(52,'PURRPT','Reports','50','8',1,'#','0','ALL',70,1,'iconsubreport.png','EN'),(54,'PURSTSPL','Supplierslist','51','5',0,'supplier/supplierList','0','ALL',51,1,'icon-active.png','EN'),(80,'ARDASHB','AccountReceivables','0','2',1,'#','0','ALL',20,1,'iconaccountreceivables.png','EN'),(81,'APDASHB','AccountPayables','0','3',1,'#','0','ALL',30,1,'iconaccountpayables.png','EN'),(82,'SALES','SalesOrders','0','5',1,'#','0','ALL',40,1,'iconsalesorder.png','EN'),(83,'GST','GST','0','6',1,'#','0','ALL',70,1,'icongoodserviestax.png','EN'),(84,'ZAKAT','Zakat','0','7',1,'#','0','ALL',80,1,'iconzakatwakaf.png','EN'),(85,'APSETUP','Setup','81','3',1,'#','0','ALL',90,1,'iconsubsetup.png','EN'),(86,'ARSETUP','Setup','80','2',1,'#','0','ALL',90,1,'iconsubsetup.png','EN'),(87,'APRPT','Reports','81','3',1,'#','0','ALL',80,1,'iconsubreport.png','EN'),(88,'GLRPT','Reports','45','1',1,'#','0','ALL',80,1,'iconsubreport.png','EN'),(89,'ARRPT','Reports','80','2',1,'#','0','ALL',80,1,'iconsubreport.png','EN'),(90,'INVCTRL','InventoryControl','0','4',1,'#','0','ALL',60,1,'iconinventorycontrol.png','EN'),(91,'ICSETUP','Setup','90','4',1,'#','0','ALL',90,1,'iconsubsetup.png','EN'),(92,'ICRPT','Reports','90','4',1,'#','0','ALL',80,1,'iconsubreport.png','EN'),(93,'MSTRCOMP','CompanySetup','5','10',1,'company/setup','0','ALL',5,1,'icon-com-setup.png','EN'),(94,'GLMCAL','Fycalendar','46','1',0,'glsetting/createCalendar','0','ALL',10,1,'icon-active.png','EN'),(95,'GLHOME','Home','45','1',0,'GeneralLedger','0','ALL',1,1,'iconsubhome.png','EN'),(96,'ARHOME','Home','80','2',0,'AccountReceivables','0','ALL',1,1,'iconsubhome.png','EN'),(97,'APHOME','Home','81','3',0,'AccountPayables','0','ALL',1,1,'iconsubhome.png','EN'),(98,'ICHOME','Home','90','4',0,'#','0','ALL',1,1,'iconsubhome.png','EN'),(99,'PURHOME','Home','50','5',0,'#','0','ALL',1,1,'iconsubhome.png','EN'),(100,'GSTHOME','Home','83','6',0,'#','0','ALL',1,1,'iconsubhome.png','EN'),(102,'GSTSETUP','Setup','83','6',1,'#','0','ALL',90,1,'iconsubsetup.png','EN'),(103,'GSTRPT','Reports','83','6',1,'#','0','ALL',80,1,'iconsubreport.png','EN'),(104,'SOHOME','Home','82','5',0,'SalesOrder','0','ALL',1,1,'iconsubhome.png','EN'),(105,'SOSETUP','Setup','82','5',1,'#','0','ALL',90,1,'iconsubsetup.png','EN'),(106,'SORPT','Reports','82','5',1,'#','0','ALL',80,1,'iconsubreport.png','EN'),(107,'ZKTHOME','Home','84','7',0,'#','0','ALL',1,1,'iconsubhome.png','EN'),(108,'ZKTSETUP','Setup','84','7',1,'#','0','ALL',90,1,'iconsubsetup.png','EN'),(109,'ZKTRPT','Reports','84','7',1,'#','0','ALL',80,1,'iconsubreport.png','EN'),(110,'MSTRCOML','List','93','10',0,'setting/companyList','0','ALL',5,1,'iconcompanysetup.png','EN'),(114,'MSTRSUPP','SupplierSetup','85','3',0,'Apsetting/supplierList','0','ALL',11,1,'icon-active.png','EN'),(124,'APTRANS','Transaction','81','3',1,'#','0','ALL',10,1,'iconsubtransaction.png','EN'),(129,'APSUPPAY','SupplierPayment','124','3',0,'aptransaction/payment','0','ALL',50,1,'icon-active.png','EN'),(130,'ARSETCUS','CustomerSetup','86','2',0,'customerSetup/customerList','0','ALL',5,1,'icon-active.png','EN'),(131,'ARTRANS','Transaction','80','2',1,'#','0','ALL',10,1,'iconsubtransaction.png','EN'),(141,'APPURDN','PurchaseDebitNote','124','3',0,'aptransaction/newDebitNote','0','ALL',23,1,'icon-active.png','EN'),(142,'APPURCN','PurchaseCreditNote','124','3',0,'aptransaction/newCreditNote','0','ALL',25,1,'icon-active.png','EN'),(143,'ITEMCAT','ItemCategory','91','4',0,'icsetting/itemCategoryList','0','ALL',5,1,'icon-active.png','EN'),(144,'ITEMTYP','ItemType','91','4',0,'icsetting/itemTypeList','0','ALL',10,1,'icon-active.png','EN'),(145,'ITEMSET','ItemSetup','91','4',0,'icsetting/itemList','0','ALL',25,1,'icon-active.png','EN'),(147,'PURTRANS','Transaction','50','8',1,'#','0','ALL',5,1,'iconsubtransaction.png','EN'),(148,'ICTRANS','Transaction','90','4',1,'#','0','ALL',5,1,'iconsubtransaction.png','EN'),(150,'GLTRANS','Transaction','45','1',1,'#','0','ALL',5,1,'iconsubtransaction.png','EN'),(151,'GSTTRANS','Transaction','83','6',1,'#','0','ALL',5,1,'iconsubtransaction.png','EN'),(152,'SOTRANS','Transaction','82','5',1,'#','0','ALL',5,1,'iconsubtransaction.png','EN'),(153,'SOQUOT','SalesQuotation','152','5',0,'sotransaction/SalesQuotationList','0','ALL',1,1,'icon-active.png','EN'),(154,'GLTRJRNL','JlEntry','150','1',0,'gltransaction/journal','0','',5,1,'icon-active.png','EN'),(155,'GLMCALL','Fycalendarlist','46','1',0,'glsetting/financialCalendarList','0','ALL',10,1,'icon-active.png','EN'),(156,'PROJECT','ProjectList','5','0',0,'project/projectlist','0','ALL',50,1,'icon-project.png','EN'),(157,'TERM','Terms','5','0',0,'term/termlist','0','ALL',60,1,'icon-term.png','EN'),(158,'GSTMSTR','Gsttable','102','6',0,'tax/taxtableList','0','ALL',1,1,'icon-active.png','EN'),(159,'GSTCLASS','taxclass','102','6',0,'tax/classList','0','ALL',30,1,'icon-active.png','EN'),(160,'GSTGROUP','taxgroup','102','6',0,'tax/groupList','0','ALL',31,1,'icon-active.png','EN'),(161,'GSTTYPE','taxtype','102','6',0,'tax/typeList','0','ALL',32,1,'icon-active.png','EN'),(162,'INVUM','invuom','91','4',0,'icsetting/umconversionlist','0','ALL',70,1,'iconsetupsub.png','EN'),(166,'GLRPBS','Financialposition','88','1',0,'glreports/financialposition','0','',20,1,'icon-active.png','EN'),(167,'GLRPTB','Trialbalance','88','1',0,'glreports/trialBalance','0','ALL',5,1,'icon-active.png','EN'),(168,'GLSTCOA','ChartOfAccount','46','1',0,'glsetting/chartOfAcctList','0','ALL',60,1,'icon-active.png','EN'),(169,'MSMTRCD','Mastercode','5','1',0,'setting/masterCodeSetupList','0','',40,1,'icon-general-setup-sub.png','EN'),(171,'GLTRJlCY','JlCopy','150','1',0,'Gltransaction/journalCopy','0','',20,0,'icon-active.png','EN'),(172,'GLTRJlRV','JlReverse','150','1',0,'Gltransaction/reverse','0','',30,0,'icon-active.png','EN'),(173,'GLTRPOST','Posting','150','1',0,'Gltransaction/posting','0','',40,1,'icon-active.png','EN'),(174,'GLRPJLPS','Jlpost','88','1',0,'glreports/postedjournal','0','',40,1,'icon-active.png','EN'),(175,'GLRPJLUP','Jlunposted','88','1',0,'glreports/unpostedjournal','0','',35,1,'icon-active.png','EN'),(176,'GLRPTBFC','Trialbalancefc','88','1',0,'glreports/trialbalanceFiscalyear','0','',7,1,'icon-active.png','EN'),(178,'GLRPABSM','Accountbalancesummary','88','1',0,'glreports/accountBalanceSummary','0','',2,1,'icon-active.png','EN'),(179,'EMP','employeeSetup','5','0',0,'employeeSetup/employeeList','0','',7,1,'icon-employee2.png','EN'),(180,'APPURDNL','PurchaseDebitNoteList','87','3',0,'apreports/debitnoteList','0','',26,1,'icon-active.png','EN'),(181,'APPURDNC','PurchaseDebitNoteConfirm','124','3',0,'aptransaction/debitnotePost','0','',24,1,'icon-active.png','EN'),(184,'APPURCNL','PurchaseCreditNoteList','87','3',0,'apreports/creditnoteList','0','',27,1,'icon-active.png','EN'),(185,'APPURCNC','PurchaseCreditNoteConfirm','124','3',0,'aptransaction/creditnotePost','0','',27,1,'icon-active.png','EN'),(186,'APPAYCFM','SupplierPaymentConfirm','124','3',0,'aptransaction/supplierpaymentList','0','',51,1,'icon-active.png','EN'),(187,'APSUPPAY','SupplierPaymentList','87','3',0,'apreports/supplierpaymentlist','0','',52,1,'icon-active.png','EN'),(189,'GLRPPNLM','Profitnloss','88','1',0,'glreports/profitNloss','0','',30,1,'icon-active.png','EN'),(190,'FORMSTP','formSetup','93','10',0,'companySetup/formSetup','0','',30,1,'i-pen.png','EN'),(191,'GLSTBDGT','Budget','46','1',0,'glsetting/budgetEntry','0','',20,1,'icon-active.png','EN'),(192,'APOPWI','NewOtherPaymentWithItem','124','3',0,'othersPayment/newPayWithItem','0','',54,1,'icon-active.png','EN'),(193,'APPAYICM','NewOtherPaymentWithItemConfirm','124','3',0,'aptransaction/otherpaywithItemPost','0','',55,1,'icon-active.png','EN'),(194,'APOPWOI','NewOtherPaymentWithoutItem','150','1',0,'gltransaction/newPayWithoutItem','0','',56,1,'icon-active.png','EN'),(196,'APRPTOPW','OtherPaymentWithItemList','87','3',0,'othersPayment/otherpaywithList','0','',58,1,'icon-active.png','EN'),(197,'APRPTOPW','OtherPaymentWithoutItemList','88','1',0,'glreports/otherpaywithoutList','0','',59,1,'icon-active.png','EN'),(198,'GLRPBGLT','Budgetlist','88','1',0,'glreports/budgetList','0','',70,1,'icon-active.png','EN'),(200,'SOTRNWSO','SalesOrder','152','5',0,'sotransaction/salesOrderList','0','',10,1,'icon-active.png','EN'),(201,'INVLOCTR','LocationTransfer','148','4',0,'locationtransfer/add','0','',6,1,'icon-active.png','EN'),(203,'INVPURPR','PurchasePricing','51','8',0,'purchasepricing','0','',10,1,'icon-active.png','EN'),(204,'INVITEMC','ItemCountAdjust','148','4',0,'itemcountadjust/add','0','',8,1,'icon-active.png','EN'),(207,'CSSYSGEN','SystemGeneral','93','0',0,'systemgeneral/generalSetup','0','',29,1,'i-pen.png','EN'),(208,'APRPTSTL','SupplierStatementList','87','3',0,'supplierStatement/supplierList','0','',53,1,'icon-active.png','EN'),(209,'SOTRQOLT','Salesquotelist','106','5',0,'soreport/SalesQuotationList','0','ALL',17,1,'icon-active.png','EN'),(210,'SOSTSLPC','Salesprice','105','5',0,'sosetup/SalesPriceList','0','',10,1,'icon-active.png','EN'),(211,'SORPPCLT','Salesprice','106','5',0,'soreport/SalesPrice','0','',10,1,'icon-active.png','EN'),(212,'CHAOFACC','ChartOfAccountSetup','93','10',0,'setting/chartOfAccountsSetup','0','',28,1,'i-film.png','EN'),(216,'SOTRDOLT','DeliveryOrderList','106','5',0,'sotransaction/SalesDOList','0','ALL',19,1,'icon-active.png','EN'),(217,'SOTRDO','DeliveryOrder','152','5',0,'sotransaction/SalesDO','0','ALL',40,1,'icon-active.png','EN'),(218,'PURORDER','PurchaseOrder','147','5',0,'PO_Transaction/newPO','0','',6,1,'icon-active.png','EN'),(219,'PURORLST','PurchaseOrderList','52','5',0,'purchaseReports/poList','0','',7,1,'icon-active.png','EN'),(220,'PURRCV','PurchaseReceive','147','5',0,'receiveItems/newITemReceived','0','',9,1,'icon-active.png','EN'),(224,'APPURINV','PurchaseInvoice','124','3',0,'aptransaction/purchaseinvoice','0','',19,1,'icon-active.png','EN'),(225,'APDIRINV','DirectPurchaseInvoice','124','3',0,'Aptransaction/invoices','0','',20,1,'icon-active.png','EN'),(226,'APDRINVC','PurchaseInvoiceConfirm','124','3',0,'aptransaction/invoicesConfirm','0','',22,1,'icon-active.png','EN'),(227,'ARSALINV','SalesInvoice','131','2',0,'artransaction/salesinvoice','0','',10,1,'icon-active.png','EN'),(229,'ARSDBN','SalesDebitNote','131','2',0,'artransaction/newSaleDebitNote','0','',19,1,'icon-active.png','EN'),(230,'ARDBNC','SalesDebitNoteConfirm','131','2',0,'artransaction/salesdebitnotePost','0','',20,1,'icon-active.png','EN'),(231,'ARSCN','SalesCreditNote','131','2',0,'artransaction/newSaleCreditNote','0','',21,1,'icon-active.png','EN'),(232,'ARSCNC','SalesCreditNoteConfirm','131','2',0,'artransaction/salescreditnotePost','0','',22,1,'icon-active.png','EN'),(233,'ARRCVP','ReceivePayment','131','2',0,'artransaction/newReceivePayment','0','',23,1,'icon-active.png','EN'),(234,'ARRCVPC','ReceivePaymentConfirm','131','2',0,'artransaction/receivedPaymentPost','0','',24,1,'icon-active.png','EN'),(235,'ARINVLST','DirectSalesInvoiceList','89','2',0,'arReports/salesInvoiceList','0','',18,1,'icon-active.png','EN'),(236,'ARDBNLST','SalesDebitNoteList','89','2',0,'arReports/salesdebitnotelist','0','',26,1,'icon-active.png','EN'),(237,'ARCDNLST','SalesCreditNoteList','89','2',0,'arreports/salescreditnoteList','0','',27,1,'icon-active.png','EN'),(238,'ARRCVPLS','ReceivePaymentList','89','2',0,'arReports/compRecPaymentList','0','',28,1,'icon-active.png','EN'),(239,'ARDSLINV','NewDirectSaleInvoice','131','2',0,'arTransaction/newDirectSaleInvoice','0','',13,1,'icon-active.png','EN'),(240,'AGENTSTP','AgentSetup','5','0',0,'saleagentSetup/agentList','0','',32,1,'icon-agent.png','EN'),(241,'SOTRSOLT','Saleslist','106','5',0,'soreport/SalesOrderList','0','ALL',18,1,'icon-active.png','EN'),(243,'INVPLNRP','InventoryPlanningReport','92','4',0,'inventory/rptstatus/all','0','',81,1,'icon-active.png','EN'),(244,'INVVALRP','InventoryValuationReport','92','4',0,'inventory/rptinventorysummary','0','',82,1,'icon-active.png','EN'),(245,'INVSTORP','StockCheckReport','92','4',0,'inventory/stocklist','0','',84,1,'icon-active.png','EN'),(248,'INVOUTRP','OutstandingGRNReport','92','4',0,'inventory/rptgrnvaluationFromInventory','0','',87,1,'icon-active.png','EN'),(249,'INVMOVRP','InventoryMovementReport','92','4',0,'inventory/rptmovement','0','',88,1,'icon-active.png','EN'),(250,'INVLSTRP','InventoryList','92','4',0,'inventory/rptbylocation','0','',89,1,'icon-active.png','EN'),(251,'PURORDCF','PurchaseOrderConfirm','147','5',0,'po_transaction/poList','0','',8,1,'icon-active.png','EN'),(252,'PURRCVC','PurchaseReceiveConfirm','147','5',0,'purchasetransaction/receiveItemPosting','0','',10,1,'icon-active.png','EN'),(253,'PURRCVLS','PurchaseReceiveList','52','5',0,'receiveItems/receiveItemList2','0','',8,1,'icon-active.png','EN'),(255,'GLSTCURC','Currencyconversion','46','1',0,'glsetting/currencyConvertion','0','',50,1,'icon-active.png','EN'),(256,'ARDRSINV','SaleInvoiceConfirm','131','2',0,'artransaction/directsalesinvPost','0','',15,1,'icon-active.png','EN'),(257,'TXTRPROC','GAFFiles','151','6',0,'taxTransaction/processGAF','0','',10,1,'icon-active.png','EN'),(258,'APPURINV','PurchaseInvoiceList','87','3',0,'apreports/purchaseinvoicelist','0','',25,1,'icon-active.png','EN'),(259,'SORPSOCU','Salesbycustomer','106','5',0,'soreport/SalesByCustomer','0','',20,1,'icon-active.png','EN'),(260,'DELCNFRM','DeliveryOrderConfirm','152','5',0,'sotransaction/salesDOPost','0','',42,1,'icon-active.png','EN'),(261,'SORPYRSL','SalesbycustomerYears','106','5',0,'soreport/SalesByCustomerYears','0','',25,1,'icon-active.png','EN'),(263,'SORPSLIT','Salesbyitem','106','5',0,'soreport/SalesByItem','0','',26,1,'icon-active.png','EN'),(264,'INVLOCTC','LocationTransferConfirm','148','4',0,'locationtransfer/locationtransfer','0','',7,1,'icon-active.png','EN'),(265,'INVITCC','ItemCountAdjustConfirm','148','4',0,'itemcountadjust/confirm','0','',9,1,'icon-active.png','EN'),(268,'IVSTCKCS','StockCountSheet','92','4',0,'countsheet','0','',83,1,'icon-active.png','EN'),(269,'LTL','LocationTransferList','92','4',0,'locationtransfer/report','0','',10,1,'icon-active.png','EN'),(270,'ICAA','ItemCountAndAdjustmentList','92','4',0,'itemcountadjust/report','0','',20,1,'icon-active.png','EN'),(272,'BNKSETUP','BankSetup','5','10',0,'bankSetup/bankList','0','',78,1,'icon-bank.png','EN'),(274,'ZKTSTGRP','Zakatgroup','108','7',0,'zakatsetup/Group','0','',30,1,'icon-active.png','EN'),(275,'ZKTSTNSB','nisab','108','7',0,'zakatsetup/nisabsetup','0',NULL,20,1,'icon-active.png','EN'),(276,'ZKTRGPLT','Zakatgrouplist','109','7',0,'zakatreport/groupList','0','',20,1,'icon-active.png','EN'),(277,'ZKTSTNSD','Nisabdetails','108','7',0,'zakatsetup/NisabDetails','0','',10,1,'icon-active.png','EN'),(278,'ZKTTRANS','Transaction','84','7',1,'#','0','',20,1,'iconsubtransaction.png','EN'),(279,'ZKTTRCAL','Zakatcalculate','278','7',0,'zakatTransaction/Calculation','0','',10,1,'icon-active.png','EN'),(280,'ZKSTCNTR','Zakatcenter','108','7',0,'zakatSetup/zakatcentersetup','0','',55,1,'icon-active.png','EN'),(281,'ZKRPCTRL','Zakatcenter','109','7',0,'zakatreport/centerList','0','',10,1,'icon-active.png','EN'),(282,'ZKRPNBLT','Zakatnisab','109','7',0,'zakatreport/nisabList','0','',5,1,'icon-active.png','EN'),(283,'ZKRPSMLT','Zakatsummary','109','7',0,'zakatreport/zakatSummaryList','0','',80,1,'icon-active.png','EN'),(284,'PUROUTGR','OutstandingGRNReport','52','5',0,'inventory/rptgrnvaluationFromPurchase','0','',10,1,'icon-active.png','EN'),(285,'WKSTMSTR','Wakafsetup','108','7',0,'wakafsetup/wakaf_acrual_list','0','',60,1,'icon-active.png','EN'),(286,'ARCUSTST','CustomerStatement','89','2',0,'customerStatement/customerList','0','',29,1,'icon-active.png','EN'),(287,'ARCPYSI','copySalesInvoice','131','2',0,'arinvoiceclone','0','',14,1,'icon-active.png','EN'),(288,'APCPYPI','copyPurchaseInvoice','124','3',0,'apinvoiceclone','0','',21,1,'icon-active.png','EN'),(289,'SORPORCT','Salesorderbycustomer','106','5',0,'soreport/SalesOrderByCustomer','0','',60,1,'icon-active.png','EN'),(290,'SORPSOIT','Salesorderbyitem','106','5',0,'soreport/SalesOrderByItem','0','',65,1,'icon-active.png','EN'),(292,'SORPOROT','Salesorderoutstandingbyitem','106','5',0,'soreport/SalesOrderOutstandingByItem','0','',75,1,'icon-active.png','EN'),(294,'APBANKRE','BankReconciliation','88','1',0,'BankReconciliation','0','',57,1,'icon-active.png','EN'),(295,'WCQCNTR','WaqafCenter','108','7',0,'waqafsetup/waqaflist','0','',61,1,'icon-active.png','EN'),(297,'WKFCAL','wakafCalculation','278','7',0,'wakafSetup/newwakaf','0','',11,1,'icon-active.png','EN'),(298,'WKFLST','wakafList','109','7',0,'wakafSetup/wakafList','0','',81,1,'icon-active.png','EN'),(299,'APDRNOTE','PurchaseDebitNoteEdit','124','3',0,'aptransaction/editDebitNote','0','',100,0,'icon-transaction.png','EN'),(302,'GLTRYECL','YearEndClose','150','1',0,'Gltransaction/YearEndClose','0','0',90,1,'icon-active.png','EN'),(304,'LOGRPT','LogReport','12','9',0,'logreport','0','0',5,1,'icon-log.png','EN'),(305,'USRGD','UserGuide','0','0',0,'userguide','0','0',1000,1,'iconuserguide.png','EN'),(306,'APTRETCR','EditCreditNote','124','3',0,'aptransaction/editCreditNote/19','0','0',55,0,'i-film.png','EN'),(307,'APTRPYIE','EditOtherPaymentWithItem','124','3',0,'othersPayment/editpaywithitem','0','0',70,0,'i-film.png','EN'),(308,'APTRPYOE','EditOtherPaymentWithoutItem','124','3',0,'othersPayment/editpaywithoutitem','0','0',71,0,'i-film.png','EN'),(309,'UMACCSS','Useraccess','12','9',0,'admin/user_access','0','0',3,0,'i-film.png','EN'),(310,'ADMMENU','Menumaster','12','9',0,'admin/menumaster','0','0',30,0,'i-film.png','EN'),(311,'ARTRINED','EditDirectSaleInvoice','131','2',0,'artransaction/editDirectSaleInvoice','0','0',20,0,'i-film.png','EN'),(312,'AREDSLDR','EditSalesDebitNote','131','2',0,'artransaction/editSaleDebitNote','0','0',50,0,'i-film.png','EN'),(313,'AREDCR','EditSalesCreditNote','131','2',0,'artransaction/editSaleCreditNote','0','0',50,0,'i-film.png','EN'),(314,'ARPAYEDT','EditPayment','131','2',0,'artransaction/editReceivePayment','0','0',70,0,'i-film.png','EN'),(316,'ARNWCUST','NewCustomer','86','2',0,'customerSetup/CustomerNew','0','0',70,0,'i-film.png','EN'),(317,'ARSHIP2L','ShiptoList','86','2',0,'customerSetup/shiptolist','0','0',40,0,'i-film.png','EN'),(318,'ARSHIP2N','NewShipto','86','2',0,'CustomerSetup/shiptoNew','0','0',42,0,'i-film.png','EN'),(319,'INEDITEM','EditItem','91','4',0,'icsetting/item_id','0','0',40,0,'i-film.png','EN'),(320,'INNWITEM','NewItem','91','4',0,'icsetting/itemNew','0','0',40,0,'i-film.png','EN'),(321,'GST03','gst03','103','6',0,'gst03','0','0',83,1,'icon-active.png','EN'),(322,'ARCUSTAG','CustomerAging','89','2',0,'arreports/customerAging','0','0',30,1,'icon-active.png','EN'),(323,'GSTRPT01','gstReport','103','6',0,'gstReport','0','0',81,1,'icon-active.png','EN'),(325,'APNEWSUP','NewSupplier','85','3',0,'supplier/SupplierNew','0','0',50,0,'i-film.png','EN'),(326,'APNWSHP2','SupplierShipto','85','3',0,'supplier/shiptoNew','0','0',53,0,'i-film.png','EN'),(327,'ItemDetR','Itemdetails','92','4',0,'icsetting/ItemDetails','0','0',6,1,'icon-active.png','EN'),(328,'UMCONVNW','UMConversion','51','8',0,'purchasesetting/umconversion','0','0',70,0,'i-film.png','EN'),(330,'PUPRRPT','purchasePricingReport','52','5',0,'purchasepricing/report','0',NULL,5,1,'icon-active.png','EN'),(332,'ARCASH','CashSale','131','2',0,'arTransaction/newcashsale','0','0',25,1,'icon-active.png','EN'),(337,'PURCNCL','purchaseOrderCancel','52','8',0,'purchaseReports/poCancelList','0','0',10,1,'icon-active.png','EN'),(338,'PURPRCAD','purchasePricingAdd','50','8',0,'purchasePricing/add','0','0',56,0,'i-film','EN'),(340,'ARCASHSC','CashSalesConfirm','131','2',0,'artransaction/cashsalePost','0','0',26,1,'icon-active.png','EN'),(341,'ARCSHS','CashSalesRpt','89','2',0,'arreports/cashsalelist','0','0',31,1,'icon-active.png','EN'),(344,'USRADD','usermasterAdd','12','9',0,'admin/usermaster','0','0',3,0,'i-film','EN'),(345,'LOCEDT','locationedit','90','4',0,'ItemSetup/location','0','0',72,0,'i-film','EN'),(346,'COMPSTP','compsetup','93','10',0,'setting/companysetup','0','0',6,0,'i-film','EN'),(347,'PURRCVCA','purchaseReceiveCancel','52','8',0,'receiveItems/receivecancel','0','0',9,1,'icon-active.png','EN'),(348,'ShipToST','shiptosetup','5','1',0,'setting/shiptoList','0','0',79,1,'icon-ship.png','EN'),(351,'BACKUP','backup','12','9',0,'backup','0','0',6,1,'icon-backup.png','EN'),(353,'OTRPAY','otherpaymentconfirm','150','1',0,'gltransaction/otherpaymentConfirm','0','0',57,1,'icon-active.png','EN'),(354,'OTHRCV','othersReceive','150','1',0,'gltransaction/newotherreceive','0','0',58,1,'icon-active.png','EN'),(355,'OTRCVCON','othersReceiveConfirm','150','1',0,'gltransaction/otherreceiveConfirm','0','0',59,1,'icon-active.png','EN'),(356,'OTRCVLST','othersReceiveList','88','1',0,'glreports/othersreceiveList','0','0',71,1,'icon-active.png','EN'),(357,'GSBADRLF','baddebtrelief','151','6',0,'gstReport/badDebtRelief','0','0',11,1,'icon-active.png','EN'),(358,'BADBTRLC','baddebtreliefcon','151','6',0,'gstReport/badDebtReliefConfirm','0','0',12,1,'icon-active.png','EN'),(359,'GSBADBTR','baddebtrecover','151','6',0,'gstreport/badDebtRecover','0','0',13,1,'icon-active.png','EN'),(360,'BDEBRCCO','baddebtrecovercon','151','6',0,'gstreport/DebtRecoverConfirm','0','0',14,1,'icon-active.png','EN'),(361,'BDRETRPT','baddebtreliefrpt','103','6',0,'#','0','0',85,1,'i-film','EN'),(362,'BDRCVRPT','baddebtrecoverrpt','103','6',0,'#','0','0',86,1,'i-film','EN'),(365,'PURUOMLS','UMConversionList','51','8',0,'icsetting/umconversionlist','0','0',52,1,'icon-active.png','EN'),(368,'GLBNKRCL','bankreconlist','88','1',0,'bankreconciliation/concilelist','0','0',58,1,'icon-active.png','EN'),(369,'IVUNTMSR','unitmeasures','91','4',1,'icsetting/unitmeasurelist','0',NULL,71,1,'icon-active.png','EN'),(370,'TRSCSUMM','transactionsummary','88','1',0,'glreports/transactionSummaryList','0','0',72,1,'icon-active.png','EN'),(371,'GLOPNBAL','glopeningbalance','46','1',0,'glsetting/openingBalance','0','0',61,1,'icon-active.png','EN'),(372,'OPNBALIN','openbalanceinventory','91','4',0,'inventory/addinventory','0','0',26,1,'icon-active.png','EN'),(373,'GLUNPRES','unpresentSetup','46','1',0,'bankreconciliation/unpresented_list','0','0',62,1,'icon-active.png','EN'),(374,'updversi','updversion','12','9',0,'admin/spsversion','0','0',110,1,'icon-license.png','EN'),(375,'upgraden','upgradenouser','12','9',0,'admin/updatekey','0','0',111,1,'icon-version.png','EN'),(376,'GTSJNL','gstjournal','151','6',0,'gltransaction/gstjournal','0',NULL,15,1,'icon-active.png','EN'),(378,'GSTJCNF','gstjournalconfirm','151','6',0,'gltransaction/gstjournalconfirm','0',NULL,16,1,'icon-active.png','EN'),(379,'GSTRTSUM','gstReportSummary','103','6',0,'gstReport/gstReportSummary','0','0',82,1,'icon-active.png','EN'),(380,'GST03SUM','gst03Summary','103','6',0,'gst03/gst03Summary','0','0',84,1,'icon-active.png','EN'),(381,'SUPBDRLF','supplierbadDebtrelief','151','6',0,'gstreport/supplierbadDebtrelief','0',NULL,17,1,'icon-active.png','EN'),(382,'SPBDRLC','suppbadDebtreliefconfirm','151','6',0,'gstreport/suppbadDebtreliefconfirm','0',NULL,18,1,'icon-active.png','EN'),(383,'SBDEBRCV','suppbadDebtRecover','151','6',0,'gstreport/suppbadDebtRecover','0',NULL,19,1,'icon-active.png','EN'),(384,'SPBDRCNF','suppbadDebtRecoverConfirm','151','6',0,'gstreport/suppDebtRecoverConfirm','0',NULL,20,1,'icon-active.png','EN'),(386,'GSPRJNW','ProjectNew','156','0',0,'project/ProjectSetup','0','ALL',50,0,'icon-project.png','EN'),(387,'GSTTXMP','gsttaxmapping','102','6',0,'gstsetting/GSTtaxMapping','0',NULL,33,1,'icon-active.png','EN'),(389,'ARHISTCU','HistoricalCustomerInvoice','86','2',0,'historicalinvoice/historicalCustomerInvoice','0',NULL,10,1,'icon-active.png','EN'),(390,'APHISTSU','HistoricalSupplierInvoice','85','3',0,'historicalinvoice/HistoricalSupplierInvoice','0',NULL,15,1,'icon-active.png','EN');
/*!40000 ALTER TABLE `_sys_menu` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_sys_um`
--

DROP TABLE IF EXISTS `_sys_um`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_sys_um` (
  `fldid` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `code` varchar(10) DEFAULT NULL,
  `desc` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`fldid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_sys_um`
--

LOCK TABLES `_sys_um` WRITE;
/*!40000 ALTER TABLE `_sys_um` DISABLE KEYS */;
/*!40000 ALTER TABLE `_sys_um` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_sys_um_conv`
--

DROP TABLE IF EXISTS `_sys_um_conv`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_sys_um_conv` (
  `fldid` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `itemID` int(11) DEFAULT NULL,
  `from_um` int(11) DEFAULT NULL,
  `to_um` int(11) DEFAULT NULL,
  `unitm` decimal(10,5) DEFAULT NULL,
  `factor` decimal(10,5) DEFAULT NULL,
  `create_by` varchar(50) DEFAULT NULL,
  `create_dt` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `modified_by` varchar(50) DEFAULT NULL,
  `modified_dt` datetime DEFAULT NULL,
  PRIMARY KEY (`fldid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_sys_um_conv`
--

LOCK TABLES `_sys_um_conv` WRITE;
/*!40000 ALTER TABLE `_sys_um_conv` DISABLE KEYS */;
/*!40000 ALTER TABLE `_sys_um_conv` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_sys_um_conv_bak`
--

DROP TABLE IF EXISTS `_sys_um_conv_bak`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_sys_um_conv_bak` (
  `fldid` int(11) NOT NULL DEFAULT '0',
  `companyID` int(11) NOT NULL,
  `itemID` int(11) DEFAULT NULL,
  `from_um` int(11) DEFAULT NULL,
  `to_um` int(11) DEFAULT NULL,
  `unitm` decimal(10,5) DEFAULT NULL,
  `factor` decimal(10,5) DEFAULT NULL,
  `create_by` varchar(50) CHARACTER SET utf8 DEFAULT NULL,
  `create_dt` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `modified_by` varchar(50) CHARACTER SET utf8 DEFAULT NULL,
  `modified_dt` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_sys_um_conv_bak`
--

LOCK TABLES `_sys_um_conv_bak` WRITE;
/*!40000 ALTER TABLE `_sys_um_conv_bak` DISABLE KEYS */;
/*!40000 ALTER TABLE `_sys_um_conv_bak` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `acount_type`
--

DROP TABLE IF EXISTS `acount_type`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `acount_type` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `accountTypeName` varchar(64) CHARACTER SET utf8 NOT NULL,
  `createdBy` int(11) NOT NULL,
  `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `acount_type`
--

LOCK TABLES `acount_type` WRITE;
/*!40000 ALTER TABLE `acount_type` DISABLE KEYS */;
/*!40000 ALTER TABLE `acount_type` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `chat`
--

DROP TABLE IF EXISTS `chat`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `chat` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `userID` int(11) NOT NULL,
  `userType` int(2) NOT NULL COMMENT '1=user,2=admin',
  `message` text NOT NULL,
  `sent` datetime NOT NULL,
  `url` varchar(128) NOT NULL,
  `ip` varchar(32) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`),
  KEY `to` (`userID`),
  KEY `from` (`userType`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `chat`
--

LOCK TABLES `chat` WRITE;
/*!40000 ALTER TABLE `chat` DISABLE KEYS */;
/*!40000 ALTER TABLE `chat` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `chat_message`
--

DROP TABLE IF EXISTS `chat_message`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `chat_message` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `sessionID` int(11) NOT NULL,
  `msgFrom` smallint(1) NOT NULL COMMENT '0 = admin, 1 = user',
  `message` varchar(128) NOT NULL,
  `status` smallint(1) NOT NULL DEFAULT '0' COMMENT '1= read, 0 = non read',
  `msgTime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`),
  KEY `session` (`sessionID`)
) ENGINE=InnoDB AUTO_INCREMENT=612 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `chat_message`
--

LOCK TABLES `chat_message` WRITE;
/*!40000 ALTER TABLE `chat_message` DISABLE KEYS */;
INSERT INTO `chat_message` VALUES (313,40,1,'Yes',1,'2015-12-08 11:30:13'),(314,40,0,'no',0,'2015-12-08 11:30:16'),(315,41,1,'test1',1,'2015-12-08 11:31:52'),(316,40,1,'issaaaa....',1,'2015-12-08 11:31:18'),(317,40,0,'ye ada apa',0,'2015-12-08 11:31:27'),(318,40,1,'ada masalah',1,'2015-12-08 11:31:37'),(319,39,0,'yer incik',0,'2015-12-08 11:31:57'),(320,39,0,'ada kaa',0,'2015-12-08 11:32:01'),(321,39,0,'ke tara ada',0,'2015-12-08 11:32:07'),(322,40,0,'yee',0,'2015-12-08 11:32:30'),(323,40,1,'new ',1,'2015-12-08 11:32:54'),(324,40,0,'yes',0,'2015-12-08 11:33:01'),(325,40,1,'apa',1,'2015-12-08 11:33:06'),(326,40,1,'hello apa kabar',1,'2015-12-08 11:33:49'),(327,40,0,'kabar baik',0,'2015-12-08 11:34:02'),(328,40,1,'nak tanya',1,'2015-12-08 11:34:09'),(329,40,1,'salam',1,'2015-12-08 11:35:04'),(330,40,0,'assalam',0,'2015-12-08 11:35:14'),(331,40,1,'may i',1,'2015-12-08 11:35:29'),(332,40,0,'????',0,'2015-12-08 11:35:39'),(333,40,1,'sent to admin',1,'2015-12-08 11:35:48'),(334,40,0,'hello',0,'2015-12-08 11:36:00'),(335,40,1,'why',1,'2015-12-08 11:36:07'),(336,40,0,'yes',0,'2015-12-08 11:36:10'),(337,40,1,'apo',1,'2015-12-08 11:36:14'),(338,40,0,'???',0,'2015-12-08 11:36:28'),(339,40,1,'apo',1,'2015-12-08 11:36:32'),(340,40,0,'???',0,'2015-12-08 11:36:37'),(341,40,1,'apo',1,'2015-12-08 11:36:47'),(342,40,1,'hello',1,'2015-12-08 11:36:49'),(343,40,1,'hello',1,'2015-12-08 11:36:52'),(344,40,0,'??',0,'2015-12-08 11:36:56'),(345,40,1,'tes',1,'2015-12-08 11:42:37'),(346,40,1,'yes',1,'2015-12-08 12:10:42'),(347,40,0,'please',0,'2015-12-08 12:10:47'),(348,40,1,'hello',1,'2015-12-08 12:10:52'),(349,40,0,'aaaa',0,'2015-12-08 12:10:57'),(350,40,1,'can',1,'2015-12-08 12:11:02'),(351,41,1,'a',1,'2015-12-09 01:21:48'),(352,41,0,'b',0,'2015-12-09 01:22:04'),(353,41,1,'c',1,'2015-12-09 01:22:18'),(354,41,0,'d',0,'2015-12-09 01:22:22'),(355,41,1,'e',1,'2015-12-09 01:22:33'),(356,41,1,'f',1,'2015-12-09 01:22:38'),(357,41,0,'g',0,'2015-12-09 01:22:52'),(358,41,0,'h',0,'2015-12-09 01:22:55'),(359,41,1,'i',1,'2015-12-09 01:23:08'),(360,41,1,'j',1,'2015-12-09 01:23:08'),(361,41,0,'k',0,'2015-12-09 01:23:10'),(362,41,0,'l',0,'2015-12-09 01:23:13'),(363,41,1,'m',1,'2015-12-09 01:23:23'),(364,41,1,'s d',1,'2015-12-09 01:23:23'),(365,41,1,'ssd',1,'2015-12-09 01:23:23'),(366,41,1,'sd',1,'2015-12-09 01:23:23'),(367,41,1,'hello',1,'2015-12-09 01:24:03'),(368,41,0,'a',0,'2015-12-09 01:24:41'),(369,41,1,'b',1,'2015-12-09 01:24:48'),(370,41,0,'c',0,'2015-12-09 01:24:51'),(371,41,1,'d',1,'2015-12-09 01:24:58'),(372,41,0,'e',0,'2015-12-09 01:25:04'),(373,41,0,'f',0,'2015-12-09 01:25:05'),(374,41,1,'f',1,'2015-12-09 01:25:08'),(375,41,1,'g',1,'2015-12-09 01:25:13'),(376,41,0,'h',0,'2015-12-09 01:25:19'),(377,41,1,'i',1,'2015-12-09 01:25:23'),(378,41,0,'l',0,'2015-12-09 01:25:25'),(379,41,0,'m',0,'2015-12-09 01:25:26'),(380,41,1,'j',1,'2015-12-09 01:25:33'),(381,41,0,'d',0,'2015-12-09 01:25:31'),(382,41,1,'k',1,'2015-12-09 01:25:33'),(383,41,1,'1',1,'2015-12-09 01:26:58'),(384,41,0,'2',0,'2015-12-09 01:27:02'),(385,41,0,'3',0,'2015-12-09 01:27:10'),(386,41,0,'4',0,'2015-12-09 01:27:12'),(387,41,0,'5',0,'2015-12-09 01:27:13'),(388,41,0,'6',0,'2015-12-09 01:27:14'),(389,41,1,'7',1,'2015-12-09 01:27:18'),(390,41,1,'8',1,'2015-12-09 01:27:18'),(391,41,1,'9',1,'2015-12-09 01:27:23'),(392,41,1,'10',1,'2015-12-09 01:27:23'),(393,41,1,'11',1,'2015-12-09 01:27:23'),(394,41,1,'12',1,'2015-12-09 01:27:23'),(395,41,0,'13',0,'2015-12-09 01:27:43'),(396,41,1,'14',1,'2015-12-09 01:27:48'),(397,41,1,'15',1,'2015-12-09 01:27:58'),(398,41,1,'1',1,'2015-12-09 01:29:33'),(399,41,0,'2',0,'2015-12-09 01:29:39'),(400,41,1,'3',1,'2015-12-09 01:29:48'),(401,41,1,'4',1,'2015-12-09 01:29:48'),(402,41,1,'5',1,'2015-12-09 01:29:48'),(403,41,1,'6',1,'2015-12-09 01:29:48'),(404,41,1,'7',1,'2015-12-09 01:29:48'),(405,40,1,'Hello.. Boleh bantu??',1,'2015-12-09 02:15:30'),(406,40,0,'ye..',0,'2015-12-09 02:15:30'),(407,40,1,'hello',1,'2015-12-10 08:26:50'),(408,41,1,'hello.. sy nak tanya',1,'2015-12-10 08:26:12'),(409,41,0,'ye saya',0,'2015-12-10 08:26:24'),(410,41,1,'ok bai',1,'2015-12-10 08:26:32'),(411,41,0,'asa',0,'2015-12-14 02:50:38'),(412,41,1,'asa',1,'2015-12-14 02:51:52'),(413,41,0,'asa',0,'2015-12-14 02:52:01'),(414,41,0,'asa',0,'2015-12-14 02:52:08'),(415,41,0,'asa',0,'2015-12-14 05:10:19'),(416,40,0,'asa',0,'2015-12-14 05:10:22'),(417,41,1,'hi',1,'2015-12-14 05:18:17'),(418,41,1,'hi',1,'2015-12-14 09:23:22'),(419,41,1,'hgkhgkl\'',1,'2015-12-14 09:23:22'),(420,41,0,'as',0,'2015-12-14 09:23:40'),(421,41,0,'asa',0,'2015-12-14 09:46:39'),(422,40,0,'asa',0,'2015-12-14 09:46:42'),(423,40,0,'sasa',0,'2015-12-14 09:46:44'),(424,41,0,'wqehda',0,'2015-12-14 09:46:48'),(425,41,0,'as',0,'2015-12-15 01:48:13'),(426,40,0,'asas',0,'2015-12-15 01:48:19'),(427,42,1,'hello. this is akmal',1,'2015-12-15 03:09:01'),(428,41,1,'soalan dari admin',1,'2015-12-15 03:08:35'),(429,42,0,'hello, this is admin',0,'2015-12-15 03:09:10'),(430,41,0,'admin = demo of demo',0,'2015-12-15 03:09:31'),(431,41,1,'salam',1,'2015-12-15 03:23:23'),(432,41,0,'w.salam',0,'2015-12-15 03:23:45'),(433,41,1,'ok',1,'2015-12-15 03:24:09'),(434,41,0,'not ok',0,'2015-12-15 03:24:27'),(435,41,1,'why',1,'2015-12-15 03:24:34'),(436,41,0,'I don\'t know',0,'2015-12-15 03:24:43'),(437,41,1,'try to find out',1,'2015-12-15 03:24:54'),(438,41,0,'sure will',0,'2015-12-15 03:25:02'),(439,41,1,'..',1,'2015-12-15 03:25:14'),(440,40,0,'hello',0,'2015-12-15 03:58:50'),(441,41,0,'hello',0,'2015-12-15 03:59:07'),(442,41,1,'asdasd',1,'2015-12-15 04:57:24'),(443,41,0,'hello',0,'2015-12-15 04:57:34'),(444,41,0,'wassap',0,'2015-12-15 04:57:36'),(445,41,0,'yo',0,'2015-12-15 04:57:40'),(446,41,0,'yo',0,'2015-12-15 04:57:40'),(447,41,0,'yo',0,'2015-12-15 04:57:41'),(448,41,1,'testing',1,'2015-12-15 08:41:22'),(449,41,0,'hi',0,'2015-12-15 08:41:41'),(450,41,1,'hello world',1,'2015-12-15 08:42:03'),(451,41,1,'nothing to write',1,'2015-12-15 08:42:25'),(452,41,1,'yes yes no no',1,'2015-12-15 08:42:41'),(453,41,1,'nothing to write',1,'2015-12-15 08:42:48'),(454,41,1,'asdf',1,'2015-12-15 08:42:50'),(455,41,1,'asdfasdf',1,'2015-12-15 08:42:50'),(456,41,1,'asdfasdf',1,'2015-12-15 08:42:52'),(457,41,1,'asdfsadf',1,'2015-12-15 08:42:53'),(458,41,1,'asdfasdf',1,'2015-12-15 08:42:54'),(459,41,1,'1',1,'2015-12-15 08:43:03'),(460,41,1,'2',1,'2015-12-15 08:43:03'),(461,41,1,'3',1,'2015-12-15 08:43:03'),(462,41,1,'4',1,'2015-12-15 08:43:03'),(463,41,1,'5',1,'2015-12-15 08:43:05'),(464,41,1,'6',1,'2015-12-15 08:43:05'),(465,41,1,'7',1,'2015-12-15 08:43:05'),(466,41,1,'1',1,'2015-12-15 08:44:35'),(467,41,1,'2',1,'2015-12-15 08:44:35'),(468,41,1,'3',1,'2015-12-15 08:44:35'),(469,41,1,'4',1,'2015-12-15 08:44:37'),(470,41,1,'5',1,'2015-12-15 08:44:37'),(471,41,1,'6',1,'2015-12-15 08:44:37'),(472,41,1,'7',1,'2015-12-15 08:44:39'),(473,41,1,'dfasdfasdf',1,'2015-12-15 08:44:51'),(474,41,1,'noyhinh',1,'2015-12-15 08:44:59'),(475,41,1,';ohlkjhkljh;',1,'2015-12-15 08:45:27'),(476,42,1,'soalan cepumas',1,'2015-12-15 11:27:59'),(477,42,0,'ye',0,'2015-12-15 11:28:02'),(478,42,0,'tak de duplicate',0,'2015-12-15 11:28:25'),(479,42,1,'ye ke',1,'2015-12-15 11:28:39'),(480,42,0,'cubalah',0,'2015-12-15 11:28:46'),(481,42,1,'moh kita',1,'2015-12-15 11:28:57'),(482,42,0,'alahai',0,'2015-12-15 11:29:08'),(483,42,0,'sfgdsfgh',0,'2015-12-15 11:30:25'),(484,41,0,'gfhjkghkj',0,'2015-12-15 11:30:29'),(485,41,0,'ni akmal',0,'2015-12-15 11:30:42'),(486,42,0,'ni akmal',0,'2015-12-15 11:30:49'),(487,41,0,'ni demo',0,'2015-12-15 11:30:57'),(488,42,1,'nak makan apa',1,'2015-12-15 11:31:09'),(489,41,1,'hai',1,'2015-12-16 08:40:56'),(490,41,0,'asdasdasd',0,'2015-12-16 08:41:03'),(491,41,0,'reasasdasda',0,'2015-12-16 08:41:08'),(492,41,1,'asdsadasdasd',1,'2015-12-17 07:04:12'),(493,41,0,'asdasd',0,'2015-12-17 07:04:15'),(494,41,1,'1',1,'2015-12-28 06:43:13'),(495,43,1,'sdgdfsg',1,'2015-12-28 07:30:02'),(496,41,1,'jhsds',1,'2015-12-28 06:43:13'),(497,41,1,'asdasdasd',1,'2015-12-28 06:43:13'),(498,41,0,'hi',0,'2015-12-28 06:43:22'),(499,41,0,'1',0,'2015-12-28 06:43:36'),(500,41,1,'2',1,'2015-12-28 06:43:39'),(501,41,0,'3',0,'2015-12-28 06:43:42'),(502,41,0,'4',0,'2015-12-28 06:43:43'),(503,41,0,'5',0,'2015-12-28 06:43:46'),(504,41,1,'56',1,'2015-12-28 06:43:47'),(505,41,1,'7',1,'2015-12-28 06:43:49'),(506,41,0,'5',0,'2015-12-28 06:43:49'),(507,41,0,'34',0,'2015-12-28 06:43:50'),(508,41,1,'8',1,'2015-12-28 06:43:51'),(509,41,1,'9',1,'2015-12-28 06:43:53'),(510,41,0,'343',0,'2015-12-28 06:43:53'),(511,41,1,'10',1,'2015-12-28 06:43:55'),(512,41,0,'34',0,'2015-12-28 06:43:53'),(513,41,0,'3',0,'2015-12-28 06:43:56'),(514,41,0,'34',0,'2015-12-28 06:43:57'),(515,41,1,'1',1,'2015-12-28 06:43:59'),(516,41,1,'2',1,'2015-12-28 06:43:59'),(517,41,0,'34',0,'2015-12-28 06:43:59'),(518,41,0,'34',0,'2015-12-28 06:43:59'),(519,41,1,'3',1,'2015-12-28 06:44:01'),(520,41,1,'4',1,'2015-12-28 06:44:01'),(521,41,1,'5',1,'2015-12-28 06:44:03'),(522,41,1,'6',1,'2015-12-28 06:44:03'),(523,41,1,'7',1,'2015-12-28 06:44:05'),(524,41,1,'8',1,'2015-12-28 06:44:05'),(525,41,1,'9',1,'2015-12-28 06:44:05'),(526,41,0,'343',0,'2015-12-28 06:44:07'),(527,41,0,'34',0,'2015-12-28 06:44:08'),(528,41,0,'zxz',0,'2015-12-28 06:55:49'),(529,41,1,'1',1,'2015-12-28 06:56:05'),(530,41,0,'ok',0,'2015-12-28 06:56:40'),(531,41,1,'1',1,'2015-12-28 06:56:46'),(532,41,1,'2',1,'2015-12-28 06:56:46'),(533,41,1,'1',1,'2015-12-28 06:56:50'),(534,41,1,'2',1,'2015-12-28 06:56:50'),(535,41,1,'3',1,'2015-12-28 06:56:52'),(536,41,1,'4',1,'2015-12-28 06:56:52'),(537,41,1,'5',1,'2015-12-28 06:56:52'),(538,41,1,'6',1,'2015-12-28 06:56:52'),(539,41,1,'7',1,'2015-12-28 06:56:52'),(540,41,1,'8',1,'2015-12-28 06:56:54'),(541,41,1,'9',1,'2015-12-28 06:56:54'),(542,41,1,'0',1,'2015-12-28 06:56:54'),(543,41,1,'hello',1,'2015-12-28 06:58:05'),(544,41,0,'OK',0,'2015-12-28 06:58:08'),(545,41,1,'1',1,'2015-12-28 06:58:15'),(546,41,1,'2',1,'2015-12-28 06:58:15'),(547,41,1,'3',1,'2015-12-28 06:58:15'),(548,41,1,'4',1,'2015-12-28 06:58:15'),(549,41,1,'5',1,'2015-12-28 06:58:15'),(550,41,1,'6',1,'2015-12-28 06:58:15'),(551,41,1,'7',1,'2015-12-28 06:58:17'),(552,41,1,'8',1,'2015-12-28 06:58:17'),(553,41,1,'9',1,'2015-12-28 06:58:17'),(554,41,1,'0',1,'2015-12-28 06:58:17'),(555,41,0,'1',0,'2015-12-28 06:59:18'),(556,41,0,'1',0,'2015-12-28 06:59:23'),(557,41,0,'2',0,'2015-12-28 06:59:23'),(558,41,0,'4',0,'2015-12-28 06:59:25'),(559,41,0,'45',0,'2015-12-28 06:59:25'),(560,41,0,'7',0,'2015-12-28 06:59:26'),(561,41,0,'9',0,'2015-12-28 06:59:27'),(562,41,1,'hi',1,'2015-12-28 07:11:45'),(563,41,1,'hi',1,'2015-12-28 07:12:53'),(564,41,0,'1',0,'2015-12-28 07:13:47'),(565,41,0,'2',0,'2015-12-28 07:13:47'),(566,41,0,'33',0,'2015-12-28 07:13:48'),(567,41,0,'4',0,'2015-12-28 07:13:49'),(568,41,0,'44',0,'2015-12-28 07:13:49'),(569,41,0,'445',0,'2015-12-28 07:13:49'),(570,41,0,'6',0,'2015-12-28 07:13:49'),(571,41,0,'7',0,'2015-12-28 07:13:51'),(572,41,0,'7',0,'2015-12-28 07:13:51'),(573,41,0,'7',0,'2015-12-28 07:13:52'),(574,41,0,'7',0,'2015-12-28 07:13:52'),(575,41,1,'1',1,'2015-12-28 07:14:48'),(576,41,0,'1',0,'2015-12-28 07:14:54'),(577,41,0,'2',0,'2015-12-28 07:15:14'),(578,41,0,'5',0,'2015-12-28 07:15:16'),(579,41,0,'6',0,'2015-12-28 07:15:16'),(580,41,0,'8',0,'2015-12-28 07:15:17'),(581,41,0,'0',0,'2015-12-28 07:15:18'),(582,41,0,'9',0,'2015-12-28 07:15:20'),(583,41,0,'7',0,'2015-12-28 07:15:21'),(584,41,0,'6',0,'2015-12-28 07:15:21'),(585,41,0,'5',0,'2015-12-28 07:15:22'),(586,41,0,'4',0,'2015-12-28 07:15:22'),(587,41,0,'3',0,'2015-12-28 07:15:23'),(588,41,0,'1',0,'2015-12-28 07:15:24'),(589,41,0,'dssssssssss',0,'2015-12-28 07:21:20'),(590,41,0,'1',0,'2015-12-28 07:21:29'),(591,41,0,'3',0,'2015-12-28 07:21:29'),(592,41,0,'4',0,'2015-12-28 07:21:30'),(593,41,0,'6',0,'2015-12-28 07:21:30'),(594,41,0,'7',0,'2015-12-28 07:21:31'),(595,41,0,'8',0,'2015-12-28 07:21:31'),(596,41,0,'9',0,'2015-12-28 07:21:32'),(597,41,0,'pppppp',0,'2015-12-28 07:24:14'),(598,41,0,'1',0,'2015-12-28 07:24:26'),(599,41,0,'2',0,'2015-12-28 07:24:26'),(600,41,0,'23',0,'2015-12-28 07:24:27'),(601,41,0,'4',0,'2015-12-28 07:24:27'),(602,41,0,'5',0,'2015-12-28 07:24:28'),(603,41,0,'6',0,'2015-12-28 07:24:28'),(604,41,0,'7',0,'2015-12-28 07:24:29'),(605,41,0,'8',0,'2015-12-28 07:24:29'),(606,41,0,'9',0,'2015-12-28 07:24:30'),(607,41,1,'hi',1,'2015-12-28 07:46:33'),(608,41,0,'hi',0,'2015-12-28 07:47:04'),(609,41,1,'1',1,'2015-12-28 08:02:39'),(610,41,1,'S',1,'2015-12-28 08:22:57'),(611,41,1,'hi',1,'2015-12-30 05:05:24');
/*!40000 ALTER TABLE `chat_message` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `chat_session`
--

DROP TABLE IF EXISTS `chat_session`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `chat_session` (
  `id` int(5) unsigned NOT NULL AUTO_INCREMENT,
  `userID` int(11) NOT NULL,
  `question` varchar(128) NOT NULL,
  `adminID` int(11) DEFAULT NULL,
  `startTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `status` int(11) NOT NULL COMMENT '0=new,1=attending,2=closed',
  `userType` int(11) NOT NULL COMMENT '0=user,1=admin',
  `ip` varchar(64) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `userID` (`userID`)
) ENGINE=InnoDB AUTO_INCREMENT=44 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `chat_session`
--

LOCK TABLES `chat_session` WRITE;
/*!40000 ALTER TABLE `chat_session` DISABLE KEYS */;
INSERT INTO `chat_session` VALUES (40,93,'hello',92,'2015-12-08 11:30:03',2,0,'192.228.169.202'),(41,1,'hi',1,'2015-12-08 11:30:51',1,0,'192.168.1.101'),(42,84,'soalan cepumas',1,'2015-12-15 03:06:37',2,0,'192.168.1.123'),(43,106,'sdgdfsg',1,'2015-12-28 05:08:23',2,0,'192.168.1.140');
/*!40000 ALTER TABLE `chat_session` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ci_sessions`
--

DROP TABLE IF EXISTS `ci_sessions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ci_sessions` (
  `session_id` varchar(40) NOT NULL DEFAULT '0',
  `ip_address` varchar(16) NOT NULL DEFAULT '0',
  `user_agent` varchar(50) NOT NULL,
  `last_activity` int(10) unsigned NOT NULL DEFAULT '0',
  `user_data` text NOT NULL,
  PRIMARY KEY (`session_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ci_sessions`
--

LOCK TABLES `ci_sessions` WRITE;
/*!40000 ALTER TABLE `ci_sessions` DISABLE KEYS */;
/*!40000 ALTER TABLE `ci_sessions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ci_users`
--

DROP TABLE IF EXISTS `ci_users`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ci_users` (
  `user_id` int(11) NOT NULL AUTO_INCREMENT,
  `user_name` varchar(255) NOT NULL,
  `user_email` varchar(255) NOT NULL,
  `user_password` varchar(255) NOT NULL,
  `registered_date` datetime NOT NULL,
  `status` int(5) NOT NULL,
  `online` int(5) NOT NULL,
  PRIMARY KEY (`user_id`,`user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ci_users`
--

LOCK TABLES `ci_users` WRITE;
/*!40000 ALTER TABLE `ci_users` DISABLE KEYS */;
/*!40000 ALTER TABLE `ci_users` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_acc_det`
--

DROP TABLE IF EXISTS `comp_acc_det`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_acc_det` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) DEFAULT NULL,
  `acctGroupID` int(11) DEFAULT NULL,
  `acctID` int(11) DEFAULT NULL,
  `year` int(11) DEFAULT NULL,
  `period` varchar(2) DEFAULT NULL,
  `amountdr` double DEFAULT NULL,
  `amountcr` double DEFAULT NULL,
  `total` double DEFAULT '0',
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` smallint(6) DEFAULT NULL,
  PRIMARY KEY (`ID`),
  KEY `Index 2` (`companyID`,`acctID`,`year`,`period`)
) ENGINE=InnoDB AUTO_INCREMENT=1233 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_acc_det`
--

LOCK TABLES `comp_acc_det` WRITE;
/*!40000 ALTER TABLE `comp_acc_det` DISABLE KEYS */;
INSERT INTO `comp_acc_det` VALUES (774,1,3,32518,2015,'11',12670,10344,2326,1,'2015-11-25 19:11:31',93,'2015-11-26 02:39:31',NULL),(775,1,4,32525,2015,'11',47127,0,47127,1,'2015-11-25 19:11:31',1,'2015-11-26 02:39:31',NULL),(776,1,4,32522,2015,'11',100,0,100,1,'2015-11-25 19:11:31',1,'2015-11-26 02:39:31',NULL),(777,1,3,32515,2015,'11',0,2260,-2260,1,'2015-11-25 19:11:13',1,'2015-11-26 02:50:13',NULL),(778,1,10,32530,2015,'11',200,0,200,1,'2015-11-25 19:11:13',1,'2015-11-26 02:50:13',NULL),(779,1,10,32532,2015,'11',800,0,800,1,'2015-11-25 20:11:30',1,'2015-11-26 03:45:30',NULL),(780,1,3,32517,2015,'11',0,2880,-2880,1,'2015-11-25 20:11:06',1,'2015-11-26 03:54:06',NULL),(781,1,10,32533,2015,'11',975,0,975,1,'2015-11-25 20:11:06',1,'2015-11-26 03:54:06',NULL),(782,1,4,32523,2015,'11',100,0,100,1,'2015-11-25 21:11:49',1,'2015-11-26 04:18:49',NULL),(783,1,3,32516,2015,'11',0,900,-900,1,'2015-11-25 23:11:47',1,'2015-11-26 06:29:47',NULL),(784,1,10,32531,2015,'11',2000,0,2000,1,'2015-11-25 23:11:47',1,'2015-11-26 06:29:47',NULL),(785,1,10,32535,2015,'11',547,0,547,1,'2015-11-25 23:11:47',1,'2015-11-26 06:29:47',NULL),(786,1,2,32506,2015,'11',2000,0,2000,1,'2015-11-25 23:11:03',93,'2015-11-26 06:36:03',NULL),(787,1,2,32510,2015,'11',1,0,1,1,'2015-11-25 23:11:03',1,'2015-11-26 06:36:03',NULL),(788,1,4,32524,2015,'11',10,0,10,1,'2015-11-25 23:11:16',1,'2015-11-26 06:37:16',NULL),(789,1,8,32527,2015,'11',3741,0,3741,1,'2015-11-26 00:11:11',1,'2015-11-26 07:24:11',NULL),(790,1,7,32526,2015,'11',0,12670,-12670,1,'2015-11-26 02:11:14',1,'2015-11-26 09:36:14',NULL),(791,1,2,32505,2015,'11',1956,0,1956,1,'2015-11-26 02:11:36',1,'2015-11-26 09:55:36',NULL),(792,1,2,32504,2015,'11',1789,0,1789,1,'2015-11-26 03:11:50',1,'2015-11-26 10:03:50',NULL),(793,1,2,32508,2015,'11',456,0,456,1,'2015-11-26 03:11:52',1,'2015-11-26 10:08:52',NULL),(794,1,2,32507,2015,'11',300,0,300,1,'2015-11-26 03:11:44',1,'2015-11-26 10:19:44',NULL),(795,1,2,32511,2015,'11',600,0,600,1,'2015-11-26 03:11:25',1,'2015-11-26 10:21:25',NULL),(796,1,2,32513,2015,'11',10,0,10,1,'2015-11-26 03:11:09',1,'2015-11-26 10:22:09',NULL),(797,1,10,32549,2015,'11',52,0,52,1,'2015-11-26 04:11:57',NULL,'2015-11-26 11:51:57',NULL),(798,1,10,32529,2015,'11',500,0,500,1,'2015-11-26 19:11:31',1,'2015-11-27 02:35:31',NULL),(799,1,10,32536,2015,'11',700,0,700,1,'2015-11-26 19:11:56',1,'2015-11-27 02:45:56',NULL),(800,1,10,32534,2015,'11',80,0,80,1,'2015-11-26 19:11:22',1,'2015-11-27 02:47:22',NULL),(801,1,10,32542,2015,'11',20,0,20,1,'2015-11-26 19:11:51',1,'2015-11-27 02:51:51',NULL),(802,1,10,32537,2015,'11',10,0,10,1,'2015-11-26 21:11:04',1,'2015-11-27 04:29:04',NULL),(803,1,10,32540,2015,'11',40,0,40,1,'2015-11-26 23:11:14',1,'2015-11-27 06:47:14',NULL),(804,1,10,32539,2015,'11',123,0,123,1,'2015-11-26 23:11:01',1,'2015-11-27 06:48:01',NULL),(805,1,10,32541,2015,'11',985,0,985,1,'2015-11-26 23:11:19',1,'2015-11-27 06:48:19',NULL),(806,1,3,32515,2015,'2',0,100,-100,1,'2015-11-26 23:11:06',1,'2015-11-27 06:56:06',NULL),(807,1,8,32527,2015,'2',2726,0,2726,1,'2015-11-26 23:11:06',1,'2015-11-27 06:56:06',NULL),(808,1,3,32517,2010,'1',0,250,-250,1,'2015-11-27 00:11:37',NULL,'2015-11-27 07:11:37',NULL),(809,1,8,32527,2010,'1',250,0,250,1,'2015-11-27 00:11:37',NULL,'2015-11-27 07:11:37',NULL),(810,1,3,32517,2015,'2',0,2790,-2790,1,'2015-11-27 00:11:43',1,'2015-11-27 07:16:43',NULL),(811,1,3,32519,2015,'11',0,2000,-2000,1,'2015-11-27 01:11:23',1,'2015-11-27 08:32:23',NULL),(812,1,3,32519,2009,'1',0,3411,-3411,1,'2015-11-27 01:11:49',1,'2015-11-27 08:35:49',NULL),(813,1,8,32527,2009,'1',3411,0,3411,1,'2015-11-27 01:11:49',1,'2015-11-27 08:35:49',NULL),(814,1,3,32515,2009,'1',0,3411,-3411,1,'2015-11-27 01:11:08',1,'2015-11-27 08:36:08',NULL),(815,1,3,32516,2009,'1',0,3411,-3411,1,'2015-11-27 01:11:19',1,'2015-11-27 08:36:19',NULL),(816,1,3,32517,2009,'1',0,3411,-3411,1,'2015-11-27 01:11:30',1,'2015-11-27 08:36:30',NULL),(817,1,3,32518,2009,'1',0,3411,-3411,1,'2015-11-27 01:11:43',1,'2015-11-27 08:36:43',NULL),(818,1,3,32516,2015,'1',0,102773,-102773,1,'2015-11-27 02:11:59',1,'2015-11-27 09:18:59',NULL),(819,1,10,32529,2015,'1',2000,0,2000,1,'2015-11-27 02:11:59',NULL,'2015-11-27 09:18:59',NULL),(820,1,3,32519,2013,'1',0,59080,-59080,1,'2015-11-27 02:11:43',1,'2015-11-27 09:37:43',NULL),(821,1,10,32530,2013,'1',200,0,200,1,'2015-11-27 02:11:43',1,'2015-11-27 09:37:43',NULL),(822,1,10,32532,2013,'1',58880,0,58880,1,'2015-11-27 02:11:43',1,'2015-11-27 09:37:43',NULL),(823,1,3,32517,2014,'10',0,34555,-34555,1,'2015-11-27 02:11:09',NULL,'2015-11-27 09:39:09',NULL),(824,1,10,32531,2014,'10',34555,0,34555,1,'2015-11-27 02:11:09',NULL,'2015-11-27 09:39:09',NULL),(825,1,3,32515,2015,'6',0,2939,-2939,1,'2015-11-27 19:11:16',1,'2015-11-28 02:41:16',NULL),(826,1,8,32527,2015,'6',3654,0,3654,1,'2015-11-27 19:11:16',1,'2015-11-28 02:41:16',NULL),(827,1,3,32518,2015,'6',13800,8247,5553,1,'2015-11-27 19:11:18',93,'2015-11-28 02:44:18',NULL),(828,1,3,32516,2015,'6',0,1950,-1950,1,'2015-11-27 19:11:55',1,'2015-11-28 02:44:55',NULL),(829,1,3,32516,2015,'10',0,1820,-1820,1,'2015-11-27 19:11:45',1,'2015-11-28 02:55:45',NULL),(830,1,8,32527,2015,'10',4554,0,4554,1,'2015-11-27 19:11:45',1,'2015-11-28 02:55:45',NULL),(831,1,3,32517,2015,'10',0,3700,-3700,1,'2015-11-27 19:11:20',1,'2015-11-28 02:59:20',NULL),(832,1,3,32515,2014,'10',0,600,-600,1,'2015-11-27 20:11:41',NULL,'2015-11-28 03:46:41',NULL),(833,1,10,32533,2014,'10',600,0,600,1,'2015-11-27 20:11:41',NULL,'2015-11-28 03:46:41',NULL),(834,1,4,32521,2015,'11',100,0,100,1,'2015-11-27 21:11:02',1,'2015-11-28 04:49:02',NULL),(835,1,3,32514,2015,'11',0,3712,-3712,1,'2015-11-29 21:11:11',1,'2015-11-30 04:33:11',NULL),(836,1,NULL,82,2015,'11',800,0,800,1,'2015-11-29 21:11:11',NULL,'2015-11-30 04:33:11',NULL),(837,1,NULL,81,2015,'11',80,0,80,1,'2015-11-29 22:11:01',NULL,'2015-11-30 05:48:01',NULL),(838,1,NULL,0,2015,'11',70,0,70,1,'2015-11-30 01:11:44',NULL,'2015-11-30 08:13:44',NULL),(839,1,3,32515,2015,'12',15332,7278,8054,1,'2015-11-30 18:12:27',1,'2015-12-01 01:10:27',NULL),(840,1,8,32527,2015,'12',3337,0,3337,1,'2015-11-30 18:12:27',1,'2015-12-01 01:10:27',NULL),(841,1,3,32516,2015,'12',2122,6204,-4082,1,'2015-11-30 18:12:30',84,'2015-12-01 01:13:30',NULL),(842,1,3,32517,2015,'12',0,5817,-5817,1,'2015-11-30 18:12:16',1,'2015-12-01 01:14:16',NULL),(843,1,3,32519,2015,'12',800,0,800,1,'2015-11-30 19:12:26',1,'2015-12-01 02:35:26',NULL),(844,1,3,32518,2015,'12',13020,7532,5488,1,'2015-11-30 19:12:39',93,'2015-12-01 02:56:39',NULL),(845,1,7,32526,2015,'12',0,25352,-25352,1,'2015-11-30 21:12:17',1,'2015-12-01 04:43:17',NULL),(846,1,2,32508,2015,'12',36.8,0,36.8,1,'2015-11-30 22:12:12',1,'2015-12-01 05:41:12',NULL),(847,1,2,32506,2015,'12',1969,0,1969,1,'2015-11-30 22:12:43',1,'2015-12-01 05:41:43',NULL),(848,1,10,32529,2015,'12',3289,0,3289,1,'2015-12-01 21:12:03',1,'2015-12-02 04:31:03',NULL),(849,1,10,32535,2015,'12',900,0,900,1,'2015-12-01 21:12:03',1,'2015-12-02 04:31:03',NULL),(850,1,10,32532,2015,'12',1200,0,1200,1,'2015-12-01 21:12:05',92,'2015-12-02 04:36:05',NULL),(851,1,4,32522,2015,'12',102,0,102,1,'2015-12-01 22:12:27',1,'2015-12-02 05:43:27',NULL),(852,1,4,32524,2015,'12',100,0,100,1,'2015-12-01 22:12:27',1,'2015-12-02 05:43:27',NULL),(853,1,4,32521,2015,'12',100,2922,-2822,1,'2015-12-02 21:12:01',84,'2015-12-03 04:31:01',NULL),(854,1,3,32516,2015,'2',35000,2723,32277,1,'2015-12-02 22:12:51',1,'2015-12-03 05:23:51',NULL),(855,1,10,32531,2015,'2',333,0,333,1,'2015-12-02 22:12:51',NULL,'2015-12-03 05:23:51',NULL),(856,1,3,32515,2015,'1',4000,2928,1072,1,'2015-12-02 22:12:24',93,'2015-12-03 05:33:24',NULL),(857,1,3,32517,2015,'4',0,2785,-2785,1,'2015-12-02 23:12:23',1,'2015-12-03 06:08:23',NULL),(858,1,3,32518,2015,'4',14956,8895,6061,1,'2015-12-02 23:12:23',1,'2015-12-03 06:08:23',NULL),(859,1,3,32519,2015,'4',10000,0,10000,1,'2015-12-02 23:12:45',1,'2015-12-03 06:22:45',NULL),(860,1,7,32526,2015,'1',0,17660,-17660,1,'2015-12-03 00:12:00',93,'2015-12-03 07:39:00',NULL),(861,1,3,32518,2015,'1',17660,13378,4282,1,'2015-12-03 00:12:00',93,'2015-12-03 07:39:00',NULL),(862,1,7,32526,2015,'2',0,14152,-14152,1,'2015-12-03 00:12:57',1,'2015-12-03 07:59:57',NULL),(863,1,3,32518,2015,'2',14152,18072,-3920,1,'2015-12-03 00:12:57',93,'2015-12-03 07:59:57',NULL),(864,1,3,32519,2015,'1',100,0,100,1,'2015-12-03 01:12:42',NULL,'2015-12-03 08:05:42',NULL),(865,1,10,32533,2015,'1',890,0,890,1,'2015-12-03 01:12:49',1,'2015-12-03 08:06:49',NULL),(866,1,NULL,NULL,2015,'12',NULL,NULL,NULL,1,'2015-12-03 01:12:23',1,'2015-12-03 08:26:23',NULL),(867,1,NULL,0,2015,'12',1600,0,1600,1,'2015-12-03 01:12:23',1,'2015-12-03 08:26:23',NULL),(868,1,7,32526,2015,'3',0,14424,-14424,1,'2015-12-03 01:12:52',1,'2015-12-03 08:50:52',NULL),(869,1,3,32518,2015,'3',14424,8247,6177,1,'2015-12-03 01:12:52',1,'2015-12-03 08:50:52',NULL),(870,1,7,32526,2015,'4',0,14956,-14956,1,'2015-12-03 01:12:48',1,'2015-12-03 08:52:48',NULL),(871,1,7,32526,2015,'5',0,19512,-19512,1,'2015-12-03 01:12:07',1,'2015-12-03 08:55:07',NULL),(872,1,3,32518,2015,'5',19512,10513,8999,1,'2015-12-03 01:12:07',1,'2015-12-03 08:55:07',NULL),(873,1,7,32526,2015,'6',0,13800,-13800,1,'2015-12-03 02:12:25',1,'2015-12-03 09:05:25',NULL),(874,1,7,32526,2015,'7',0,14060,-14060,1,'2015-12-03 02:12:41',1,'2015-12-03 09:07:41',NULL),(875,1,3,32518,2015,'7',14060,8031,6029,1,'2015-12-03 02:12:41',1,'2015-12-03 09:07:41',NULL),(876,1,8,32527,2015,'1',5290,0,5290,1,'2015-12-03 02:12:29',93,'2015-12-03 09:10:29',NULL),(877,1,7,32526,2015,'8',0,17628,-17628,1,'2015-12-03 02:12:16',1,'2015-12-03 09:16:16',NULL),(878,1,3,32518,2015,'8',17628,12379,5249,1,'2015-12-03 02:12:16',1,'2015-12-03 09:16:16',NULL),(879,1,7,32526,2015,'9',0,14580,-14580,1,'2015-12-03 02:12:22',1,'2015-12-03 09:20:22',NULL),(880,1,3,32518,2015,'9',14580,10126,4454,1,'2015-12-03 02:12:22',1,'2015-12-03 09:20:22',NULL),(881,1,7,32526,2015,'10',0,17565,-17565,1,'2015-12-03 02:12:53',1,'2015-12-03 09:23:53',NULL),(882,1,3,32518,2015,'10',17565,8442,9123,1,'2015-12-03 02:12:53',1,'2015-12-03 09:23:53',NULL),(883,1,3,32517,2015,'1',99999,4690,95309,1,'2015-12-03 17:12:12',1,'2015-12-04 00:43:12',NULL),(884,1,10,32533,2015,'2',971,0,971,1,'2015-12-03 19:12:21',1,'2015-12-04 02:02:21',NULL),(885,1,10,32533,2015,'12',910,0,910,1,'2015-12-03 19:12:55',1,'2015-12-04 02:10:55',NULL),(886,1,3,32516,2015,'3',0,4034,-4034,1,'2015-12-03 19:12:50',1,'2015-12-04 02:11:50',NULL),(887,1,10,32533,2015,'3',989,0,989,1,'2015-12-03 19:12:50',NULL,'2015-12-04 02:11:50',NULL),(888,1,10,32533,2015,'4',870,0,870,1,'2015-12-03 19:12:27',NULL,'2015-12-04 02:12:27',NULL),(889,1,3,32516,2015,'5',0,2040,-2040,1,'2015-12-03 19:12:59',1,'2015-12-04 02:12:59',NULL),(890,1,10,32533,2015,'5',990,0,990,1,'2015-12-03 19:12:59',NULL,'2015-12-04 02:12:59',NULL),(891,1,10,32533,2015,'6',864,0,864,1,'2015-12-03 19:12:36',NULL,'2015-12-04 02:13:36',NULL),(892,1,8,32527,2015,'3',3617,0,3617,1,'2015-12-03 19:12:46',1,'2015-12-04 02:14:46',NULL),(893,1,3,32517,2015,'7',0,3860,-3860,1,'2015-12-03 19:12:16',1,'2015-12-04 02:15:16',NULL),(894,1,10,32533,2015,'7',988,0,988,1,'2015-12-03 19:12:16',NULL,'2015-12-04 02:15:16',NULL),(895,1,3,32517,2015,'8',0,6250,-6250,1,'2015-12-03 19:12:05',1,'2015-12-04 02:16:05',NULL),(896,1,10,32533,2015,'8',900,0,900,1,'2015-12-03 19:12:05',NULL,'2015-12-04 02:16:05',NULL),(897,1,3,32517,2015,'9',0,3700,-3700,1,'2015-12-03 19:12:08',1,'2015-12-04 02:19:08',NULL),(898,1,10,32533,2015,'9',985,0,985,1,'2015-12-03 19:12:08',NULL,'2015-12-04 02:19:08',NULL),(899,1,8,32527,2015,'4',3675,0,3675,1,'2015-12-03 19:12:51',1,'2015-12-04 02:19:51',NULL),(900,1,3,32515,2015,'10',0,1830,-1830,1,'2015-12-03 19:12:20',1,'2015-12-04 02:21:20',NULL),(901,1,10,32533,2015,'10',843,0,843,1,'2015-12-03 19:12:20',NULL,'2015-12-04 02:21:20',NULL),(902,1,8,32527,2015,'5',4568,0,4568,1,'2015-12-03 19:12:36',1,'2015-12-04 02:22:36',NULL),(903,1,10,32541,2015,'1',988,0,988,1,'2015-12-03 19:12:19',NULL,'2015-12-04 02:31:19',NULL),(904,1,10,32541,2015,'2',867,0,867,1,'2015-12-03 19:12:53',NULL,'2015-12-04 02:31:53',NULL),(905,1,3,32517,2015,'3',0,1828,-1828,1,'2015-12-03 19:12:28',1,'2015-12-04 02:32:28',NULL),(906,1,10,32541,2015,'3',978,0,978,1,'2015-12-03 19:12:28',NULL,'2015-12-04 02:32:28',NULL),(907,1,10,32541,2015,'4',995,0,995,1,'2015-12-03 19:12:13',NULL,'2015-12-04 02:33:13',NULL),(908,1,3,32515,2015,'5',0,1197,-1197,1,'2015-12-03 19:12:50',1,'2015-12-04 02:33:50',NULL),(909,1,10,32541,2015,'5',897,0,897,1,'2015-12-03 19:12:50',NULL,'2015-12-04 02:33:50',NULL),(910,1,10,32541,2015,'6',855,0,855,1,'2015-12-03 19:12:27',NULL,'2015-12-04 02:34:27',NULL),(911,1,3,32515,2015,'7',0,859,-859,1,'2015-12-03 19:12:56',NULL,'2015-12-04 02:34:56',NULL),(912,1,10,32541,2015,'7',859,0,859,1,'2015-12-03 19:12:57',NULL,'2015-12-04 02:34:57',NULL),(913,1,10,32541,2015,'8',978,0,978,1,'2015-12-03 19:12:34',NULL,'2015-12-04 02:35:34',NULL),(914,1,10,32541,2015,'9',958,0,958,1,'2015-12-03 19:12:12',NULL,'2015-12-04 02:37:12',NULL),(915,1,10,32541,2015,'10',987,0,987,1,'2015-12-03 19:12:00',NULL,'2015-12-04 02:38:00',NULL),(916,1,10,32541,2015,'12',997,0,997,1,'2015-12-03 19:12:02',1,'2015-12-04 02:40:02',NULL),(917,1,10,32545,2015,'1',800,0,800,1,'2015-12-03 19:12:06',NULL,'2015-12-04 02:42:06',NULL),(918,1,10,32545,2015,'2',800,0,800,1,'2015-12-03 19:12:49',NULL,'2015-12-04 02:42:49',NULL),(919,1,10,32545,2015,'3',800,0,800,1,'2015-12-03 19:12:28',NULL,'2015-12-04 02:43:28',NULL),(920,1,3,32516,2015,'4',0,6200,-6200,1,'2015-12-03 19:12:23',1,'2015-12-04 02:44:23',NULL),(921,1,10,32545,2015,'4',800,0,800,1,'2015-12-03 19:12:23',NULL,'2015-12-04 02:44:23',NULL),(922,1,3,32517,2015,'5',0,2700,-2700,1,'2015-12-03 19:12:59',1,'2015-12-04 02:44:59',NULL),(923,1,10,32545,2015,'5',800,0,800,1,'2015-12-03 19:12:59',NULL,'2015-12-04 02:44:59',NULL),(924,1,10,32545,2015,'6',800,0,800,1,'2015-12-03 19:12:51',NULL,'2015-12-04 02:45:51',NULL),(925,1,10,32545,2015,'7',800,0,800,1,'2015-12-03 19:12:29',NULL,'2015-12-04 02:46:29',NULL),(926,1,10,32545,2015,'8',800,0,800,1,'2015-12-03 19:12:40',NULL,'2015-12-04 02:47:40',NULL),(927,1,10,32545,2015,'9',800,0,800,1,'2015-12-03 19:12:09',NULL,'2015-12-04 02:48:09',NULL),(928,1,10,32545,2015,'10',800,0,800,1,'2015-12-03 19:12:54',NULL,'2015-12-04 02:48:54',NULL),(929,1,10,32545,2015,'11',800,0,800,1,'2015-12-03 19:12:37',NULL,'2015-12-04 02:49:37',NULL),(930,1,10,32545,2015,'12',800,0,800,1,'2015-12-03 19:12:06',1,'2015-12-04 02:50:06',NULL),(931,1,10,32546,2015,'1',950,0,950,1,'2015-12-03 19:12:24',NULL,'2015-12-04 02:51:24',NULL),(932,1,10,32546,2015,'2',950,0,950,1,'2015-12-03 19:12:02',NULL,'2015-12-04 02:52:02',NULL),(933,1,10,32546,2015,'3',950,0,950,1,'2015-12-03 19:12:54',NULL,'2015-12-04 02:52:54',NULL),(934,1,10,32546,2015,'4',950,0,950,1,'2015-12-03 19:12:30',NULL,'2015-12-04 02:53:30',NULL),(935,1,8,32527,2015,'7',3628,0,3628,1,'2015-12-03 19:12:40',1,'2015-12-04 02:53:40',NULL),(936,1,10,32546,2015,'5',950,0,950,1,'2015-12-03 19:12:22',NULL,'2015-12-04 02:54:22',NULL),(937,1,3,32517,2015,'6',0,2655,-2655,1,'2015-12-03 19:12:44',1,'2015-12-04 02:58:44',NULL),(938,1,10,32546,2015,'6',950,0,950,1,'2015-12-03 19:12:44',NULL,'2015-12-04 02:58:44',NULL),(939,1,8,32527,2015,'8',4555,0,4555,1,'2015-12-03 20:12:17',1,'2015-12-04 03:09:17',NULL),(940,1,3,32516,2015,'7',0,1110,-1110,1,'2015-12-03 20:12:01',1,'2015-12-04 03:18:01',NULL),(941,1,10,32546,2015,'7',950,0,950,1,'2015-12-03 20:12:01',NULL,'2015-12-04 03:18:01',NULL),(942,1,3,32516,2015,'8',0,2799,-2799,1,'2015-12-03 20:12:07',1,'2015-12-04 03:19:07',NULL),(943,1,10,32546,2015,'8',950,0,950,1,'2015-12-03 20:12:07',NULL,'2015-12-04 03:19:07',NULL),(944,1,10,32546,2015,'9',950,0,950,1,'2015-12-03 20:12:08',NULL,'2015-12-04 03:20:08',NULL),(945,1,10,32546,2015,'10',950,0,950,1,'2015-12-03 20:12:46',NULL,'2015-12-04 03:22:46',NULL),(946,1,10,32546,2015,'11',950,0,950,1,'2015-12-03 20:12:29',NULL,'2015-12-04 03:23:29',NULL),(947,1,10,32546,2015,'12',950,0,950,1,'2015-12-03 20:12:49',NULL,'2015-12-04 03:24:49',NULL),(948,1,8,32527,2015,'9',3556,0,3556,1,'2015-12-03 20:12:26',1,'2015-12-04 03:41:26',NULL),(949,1,10,32547,2015,'7',850,0,850,1,'2015-12-03 20:12:59',NULL,'2015-12-04 03:42:59',NULL),(950,1,10,32547,2015,'8',850,0,850,1,'2015-12-03 20:12:36',NULL,'2015-12-04 03:43:36',NULL),(951,1,3,32516,2015,'9',0,1700,-1700,1,'2015-12-03 20:12:28',1,'2015-12-04 03:44:28',NULL),(952,1,10,32547,2015,'9',850,0,850,1,'2015-12-03 20:12:28',NULL,'2015-12-04 03:44:28',NULL),(953,1,10,32547,2015,'10',850,0,850,1,'2015-12-03 20:12:59',NULL,'2015-12-04 03:44:59',NULL),(954,1,10,32547,2015,'11',850,0,850,1,'2015-12-03 20:12:33',NULL,'2015-12-04 03:45:33',NULL),(955,1,10,32547,2015,'12',855,0,855,1,'2015-12-03 20:12:11',93,'2015-12-04 03:46:11',NULL),(956,1,10,32550,2015,'1',975,0,975,1,'2015-12-03 20:12:14',NULL,'2015-12-04 03:48:14',NULL),(957,1,10,32550,2015,'2',865,0,865,1,'2015-12-03 20:12:59',NULL,'2015-12-04 03:48:59',NULL),(958,1,10,32550,2015,'3',995,0,995,1,'2015-12-03 20:12:50',NULL,'2015-12-04 03:49:50',NULL),(959,1,10,32550,2015,'4',840,0,840,1,'2015-12-03 20:12:44',NULL,'2015-12-04 03:50:44',NULL),(960,1,10,32550,2015,'5',988,0,988,1,'2015-12-03 20:12:25',NULL,'2015-12-04 03:53:25',NULL),(961,1,10,32550,2015,'6',855,0,855,1,'2015-12-03 20:12:59',NULL,'2015-12-04 03:53:59',NULL),(962,1,10,32550,2015,'7',972,0,972,1,'2015-12-03 20:12:34',NULL,'2015-12-04 03:54:34',NULL),(963,1,10,32550,2015,'8',990,0,990,1,'2015-12-03 20:12:06',NULL,'2015-12-04 03:55:06',NULL),(964,1,10,32550,2015,'9',865,0,865,1,'2015-12-03 20:12:51',NULL,'2015-12-04 03:55:51',NULL),(965,1,10,32550,2015,'10',840,0,840,1,'2015-12-03 20:12:40',NULL,'2015-12-04 03:56:40',NULL),(966,1,10,32550,2015,'11',858,0,858,1,'2015-12-03 20:12:08',NULL,'2015-12-04 03:57:08',NULL),(967,1,10,32550,2015,'12',1000,0,1000,1,'2015-12-03 20:12:42',1,'2015-12-04 03:57:42',NULL),(968,1,10,32552,2015,'1',1000,0,1000,1,'2015-12-03 21:12:08',NULL,'2015-12-04 04:02:08',NULL),(969,1,10,32552,2015,'2',1000,0,1000,1,'2015-12-03 21:12:53',NULL,'2015-12-04 04:02:53',NULL),(970,1,10,32552,2015,'3',1000,0,1000,1,'2015-12-03 21:12:23',NULL,'2015-12-04 04:03:23',NULL),(971,1,10,32552,2015,'4',1000,0,1000,1,'2015-12-03 21:12:02',NULL,'2015-12-04 04:04:02',NULL),(972,1,10,32552,2015,'5',1000,0,1000,1,'2015-12-03 21:12:36',NULL,'2015-12-04 04:04:36',NULL),(973,1,10,32552,2015,'6',1000,0,1000,1,'2015-12-03 21:12:36',NULL,'2015-12-04 04:05:36',NULL),(974,1,10,32552,2015,'7',1000,0,1000,1,'2015-12-03 21:12:10',NULL,'2015-12-04 04:06:10',NULL),(975,1,10,32552,2015,'8',1000,0,1000,1,'2015-12-03 21:12:47',NULL,'2015-12-04 04:06:47',NULL),(976,1,10,32552,2015,'9',1000,0,1000,1,'2015-12-03 21:12:17',NULL,'2015-12-04 04:07:17',NULL),(977,1,10,32552,2015,'10',1000,0,1000,1,'2015-12-03 21:12:05',NULL,'2015-12-04 04:08:05',NULL),(978,1,10,32552,2015,'11',1000,0,1000,1,'2015-12-03 21:12:36',NULL,'2015-12-04 04:08:36',NULL),(979,1,10,32552,2015,'12',1000,0,1000,1,'2015-12-03 21:12:11',NULL,'2015-12-04 04:09:11',NULL),(980,1,10,32553,2015,'1',100,0,100,1,'2015-12-03 21:12:20',NULL,'2015-12-04 04:19:20',NULL),(981,1,10,32553,2015,'2',100,0,100,1,'2015-12-03 21:12:59',NULL,'2015-12-04 04:19:59',NULL),(982,1,10,32553,2015,'3',100,0,100,1,'2015-12-03 21:12:31',NULL,'2015-12-04 04:20:31',NULL),(983,1,10,32553,2015,'4',100,0,100,1,'2015-12-03 21:12:03',NULL,'2015-12-04 04:25:03',NULL),(984,1,10,32553,2015,'5',100,0,100,1,'2015-12-03 21:12:41',NULL,'2015-12-04 04:25:41',NULL),(985,1,10,32553,2015,'6',100,0,100,1,'2015-12-03 21:12:52',NULL,'2015-12-04 04:26:52',NULL),(986,1,10,32553,2015,'7',100,0,100,1,'2015-12-03 21:12:55',NULL,'2015-12-04 04:34:55',NULL),(987,1,3,32515,2015,'8',0,1050,-1050,1,'2015-12-03 21:12:23',1,'2015-12-04 04:35:23',NULL),(988,1,10,32553,2015,'8',100,0,100,1,'2015-12-03 21:12:23',NULL,'2015-12-04 04:35:23',NULL),(989,1,10,32553,2015,'9',100,0,100,1,'2015-12-03 21:12:51',NULL,'2015-12-04 04:35:51',NULL),(990,1,10,32553,2015,'10',100,0,100,1,'2015-12-03 21:12:34',NULL,'2015-12-04 04:36:34',NULL),(991,1,10,32553,2015,'11',100,0,100,1,'2015-12-03 21:12:13',NULL,'2015-12-04 04:37:13',NULL),(992,1,10,32553,2015,'12',100,0,100,1,'2015-12-03 21:12:53',NULL,'2015-12-04 04:37:53',NULL),(993,1,10,32530,2015,'4',1000,0,1000,1,'2015-12-03 21:12:48',NULL,'2015-12-04 04:53:48',NULL),(994,1,10,32530,2015,'8',1000,0,1000,1,'2015-12-03 21:12:17',NULL,'2015-12-04 04:54:17',NULL),(995,1,10,32530,2015,'12',1000,0,1000,1,'2015-12-03 21:12:49',NULL,'2015-12-04 04:54:49',NULL),(996,1,10,32531,2015,'4',800,0,800,1,'2015-12-03 21:12:44',NULL,'2015-12-04 04:55:44',NULL),(997,1,10,32531,2015,'8',800,0,800,1,'2015-12-03 21:12:19',NULL,'2015-12-04 04:56:19',NULL),(998,1,10,32531,2015,'12',800,0,800,1,'2015-12-03 21:12:48',NULL,'2015-12-04 04:56:48',NULL),(999,1,4,32525,2015,'12',456,0,456,1,'2015-12-04 00:12:28',1,'2015-12-04 07:49:28',NULL),(1000,1,10,32535,2015,'4',900,0,900,1,'2015-12-04 01:12:52',NULL,'2015-12-04 08:00:52',NULL),(1001,1,10,32535,2015,'8',900,0,900,1,'2015-12-04 01:12:21',NULL,'2015-12-04 08:01:21',NULL),(1002,1,10,32537,2015,'4',850,0,850,1,'2015-12-04 01:12:17',NULL,'2015-12-04 08:03:17',NULL),(1003,1,10,32537,2015,'8',850,0,850,1,'2015-12-04 01:12:50',NULL,'2015-12-04 08:03:50',NULL),(1004,1,10,32537,2015,'12',850,0,850,1,'2015-12-04 01:12:23',NULL,'2015-12-04 08:04:23',NULL),(1005,1,10,32539,2015,'6',900,0,900,1,'2015-12-04 01:12:14',NULL,'2015-12-04 08:05:14',NULL),(1006,1,10,32539,2015,'12',958,0,958,1,'2015-12-04 01:12:50',NULL,'2015-12-04 08:05:50',NULL),(1007,1,10,32543,2015,'8',800,0,800,1,'2015-12-04 01:12:14',NULL,'2015-12-04 08:10:14',NULL),(1008,1,10,32542,2015,'3',850,0,850,1,'2015-12-04 01:12:37',NULL,'2015-12-04 08:11:37',NULL),(1009,1,10,32542,2015,'6',850,0,850,1,'2015-12-04 01:12:06',NULL,'2015-12-04 08:12:06',NULL),(1010,1,10,32542,2015,'9',850,0,850,1,'2015-12-04 01:12:40',NULL,'2015-12-04 08:12:40',NULL),(1011,1,10,32542,2015,'12',850,0,850,1,'2015-12-04 01:12:07',NULL,'2015-12-04 08:13:07',NULL),(1012,1,10,32544,2015,'5',900,0,900,1,'2015-12-04 01:12:05',NULL,'2015-12-04 08:14:05',NULL),(1013,1,10,32548,2015,'4',900,0,900,1,'2015-12-04 01:12:51',NULL,'2015-12-04 08:14:51',NULL),(1014,1,10,32548,2015,'8',900,0,900,1,'2015-12-04 01:12:28',NULL,'2015-12-04 08:15:28',NULL),(1015,1,10,32548,2015,'12',900,0,900,1,'2015-12-04 01:12:58',NULL,'2015-12-04 08:15:58',NULL),(1016,1,3,32515,2015,'3',0,1300,-1300,1,'2015-12-04 01:12:35',1,'2015-12-04 08:16:35',NULL),(1017,1,10,32551,2015,'3',1000,0,1000,1,'2015-12-04 01:12:35',NULL,'2015-12-04 08:16:35',NULL),(1018,1,10,32551,2015,'6',850,0,850,1,'2015-12-04 01:12:08',NULL,'2015-12-04 08:17:08',NULL),(1019,1,10,32554,2015,'2',20,0,20,1,'2015-12-04 01:12:55',NULL,'2015-12-04 08:17:55',NULL),(1020,1,10,32554,2015,'6',20,0,20,1,'2015-12-04 01:12:31',NULL,'2015-12-04 08:18:31',NULL),(1021,1,4,32525,2015,'2',0,35000,-35000,1,'2015-12-04 01:12:20',NULL,'2015-12-04 08:21:20',NULL),(1022,1,10,32534,2015,'2',40,0,40,1,'2015-12-04 01:12:25',NULL,'2015-12-04 08:21:25',NULL),(1023,1,10,32534,2015,'7',90,0,90,1,'2015-12-04 01:12:03',NULL,'2015-12-04 08:22:03',NULL),(1024,1,10,32536,2015,'1',90,0,90,1,'2015-12-04 01:12:16',NULL,'2015-12-04 08:24:16',NULL),(1025,1,10,32536,2015,'7',70,0,70,1,'2015-12-04 01:12:50',NULL,'2015-12-04 08:24:50',NULL),(1026,1,10,32538,2015,'10',980,0,980,1,'2015-12-04 01:12:01',NULL,'2015-12-04 08:26:01',NULL),(1027,1,10,32538,2015,'9',850,0,850,1,'2015-12-04 01:12:32',NULL,'2015-12-04 08:26:32',NULL),(1028,1,10,32540,2015,'4',850,0,850,1,'2015-12-04 01:12:25',NULL,'2015-12-04 08:31:25',NULL),(1029,1,10,32540,2015,'8',849,0,849,1,'2015-12-04 01:12:58',NULL,'2015-12-04 08:31:58',NULL),(1030,1,10,32540,2015,'12',980,0,980,1,'2015-12-04 01:12:25',1,'2015-12-04 08:32:25',NULL),(1031,1,10,32549,2015,'1',3600,0,3600,1,'2015-12-04 01:12:04',1,'2015-12-04 08:33:04',NULL),(1032,1,10,32549,2015,'5',970,0,970,1,'2015-12-04 01:12:52',NULL,'2015-12-04 08:33:52',NULL),(1033,1,10,32549,2015,'9',870,0,870,1,'2015-12-04 01:12:30',NULL,'2015-12-04 08:34:30',NULL),(1034,1,10,32556,2015,'8',1000,0,1000,1,'2015-12-04 01:12:59',NULL,'2015-12-04 08:40:59',NULL),(1035,1,2,32504,2015,'1',1999,0,1999,1,'2015-12-07 02:12:48',NULL,'2015-12-07 09:23:48',NULL),(1036,1,2,32505,2015,'1',1789,0,1789,1,'2015-12-07 02:12:37',NULL,'2015-12-07 09:24:37',NULL),(1037,1,2,32506,2015,'2',2046,0,2046,1,'2015-12-07 02:12:21',1,'2015-12-07 09:25:21',NULL),(1038,1,2,32507,2015,'2',14450,0,14450,1,'2015-12-07 02:12:55',1,'2015-12-07 09:25:55',NULL),(1039,1,2,32508,2015,'3',1830,0,1830,1,'2015-12-07 02:12:49',NULL,'2015-12-07 09:26:49',NULL),(1040,1,2,32509,2015,'3',2000,0,2000,1,'2015-12-07 02:12:32',NULL,'2015-12-07 09:27:32',NULL),(1041,1,2,32510,2015,'4',1650,0,1650,1,'2015-12-07 02:12:47',NULL,'2015-12-07 09:28:47',NULL),(1042,1,2,32511,2015,'4',1700,0,1700,1,'2015-12-07 02:12:31',NULL,'2015-12-07 09:29:31',NULL),(1043,1,2,32512,2015,'5',1989,0,1989,1,'2015-12-07 02:12:16',NULL,'2015-12-07 09:30:16',NULL),(1044,1,2,32513,2015,'5',1998,0,1998,1,'2015-12-07 02:12:56',NULL,'2015-12-07 09:30:56',NULL),(1045,1,2,32504,2015,'6',1997,0,1997,1,'2015-12-07 02:12:54',NULL,'2015-12-07 09:31:54',NULL),(1046,1,2,32505,2015,'6',1596,0,1596,1,'2015-12-07 02:12:41',NULL,'2015-12-07 09:46:41',NULL),(1047,1,2,32506,2015,'7',1290,0,1290,1,'2015-12-07 02:12:48',NULL,'2015-12-07 09:47:48',NULL),(1048,1,2,32507,2015,'7',1963,0,1963,1,'2015-12-07 02:12:20',NULL,'2015-12-07 09:49:20',NULL),(1049,1,2,32508,2015,'8',2000,0,2000,1,'2015-12-07 02:12:15',NULL,'2015-12-07 09:50:15',NULL),(1050,1,2,32509,2015,'8',1956,0,1956,1,'2015-12-07 02:12:51',NULL,'2015-12-07 09:50:51',NULL),(1051,1,2,32510,2015,'9',1234,0,1234,1,'2015-12-07 02:12:31',NULL,'2015-12-07 09:51:31',NULL),(1052,1,2,32511,2015,'9',1358,0,1358,1,'2015-12-07 02:12:26',NULL,'2015-12-07 09:52:26',NULL),(1053,1,2,32512,2015,'10',1991,0,1991,1,'2015-12-07 02:12:05',NULL,'2015-12-07 09:53:05',NULL),(1054,1,2,32513,2015,'10',1597,0,1597,1,'2015-12-07 02:12:45',NULL,'2015-12-07 09:53:45',NULL),(1055,1,2,32507,2015,'12',1989,0,1989,1,'2015-12-07 18:12:01',1,'2015-12-08 01:10:01',NULL),(1056,1,4,32521,2015,'1',100,0,100,1,'2015-12-07 19:12:00',NULL,'2015-12-08 02:08:00',NULL),(1057,1,4,32522,2015,'1',100,0,100,1,'2015-12-07 19:12:27',NULL,'2015-12-08 02:08:27',NULL),(1058,1,4,32523,2015,'1',100,0,100,1,'2015-12-07 19:12:58',NULL,'2015-12-08 02:08:58',NULL),(1059,1,4,32521,2015,'2',100,0,100,1,'2015-12-07 19:12:18',NULL,'2015-12-08 02:12:18',NULL),(1060,1,4,32522,2015,'2',100,0,100,1,'2015-12-07 19:12:13',NULL,'2015-12-08 02:20:13',NULL),(1061,1,4,32523,2015,'2',100,0,100,1,'2015-12-07 19:12:23',NULL,'2015-12-08 02:23:23',NULL),(1062,1,4,32521,2015,'3',100,0,100,1,'2015-12-07 19:12:03',NULL,'2015-12-08 02:24:03',NULL),(1063,1,4,32522,2015,'3',100,0,100,1,'2015-12-07 19:12:38',NULL,'2015-12-08 02:24:38',NULL),(1064,1,4,32523,2015,'3',100,0,100,1,'2015-12-07 19:12:07',NULL,'2015-12-08 02:25:07',NULL),(1065,1,3,32515,2015,'4',0,300,-300,1,'2015-12-07 19:12:06',1,'2015-12-08 02:26:06',NULL),(1066,1,4,32521,2015,'4',100,0,100,1,'2015-12-07 19:12:06',NULL,'2015-12-08 02:26:06',NULL),(1067,1,4,32522,2015,'4',100,0,100,1,'2015-12-07 19:12:36',NULL,'2015-12-08 02:26:36',NULL),(1068,1,4,32523,2015,'4',100,0,100,1,'2015-12-07 19:12:23',NULL,'2015-12-08 02:27:23',NULL),(1069,1,4,32521,2015,'5',100,0,100,1,'2015-12-07 19:12:07',NULL,'2015-12-08 02:32:07',NULL),(1070,1,4,32522,2015,'5',100,0,100,1,'2015-12-07 19:12:33',NULL,'2015-12-08 02:32:33',NULL),(1071,1,4,32523,2015,'5',100,0,100,1,'2015-12-07 19:12:21',NULL,'2015-12-08 02:33:21',NULL),(1072,1,4,32521,2015,'6',300,0,300,1,'2015-12-07 19:12:09',93,'2015-12-08 02:34:09',NULL),(1073,1,4,32522,2015,'6',100,0,100,1,'2015-12-07 19:12:43',NULL,'2015-12-08 02:34:43',NULL),(1074,1,4,32523,2015,'6',100,0,100,1,'2015-12-07 19:12:17',NULL,'2015-12-08 02:39:17',NULL),(1075,1,4,32521,2015,'7',100,0,100,1,'2015-12-07 19:12:18',NULL,'2015-12-08 02:41:18',NULL),(1076,1,4,32522,2015,'7',100,0,100,1,'2015-12-07 19:12:51',NULL,'2015-12-08 02:44:51',NULL),(1077,1,4,32523,2015,'7',100,0,100,1,'2015-12-07 19:12:39',NULL,'2015-12-08 02:45:39',NULL),(1078,1,4,32521,2015,'8',100,0,100,1,'2015-12-07 19:12:58',NULL,'2015-12-08 02:47:58',NULL),(1079,1,4,32522,2015,'8',100,0,100,1,'2015-12-07 19:12:32',NULL,'2015-12-08 02:48:32',NULL),(1080,1,4,32523,2015,'8',100,0,100,1,'2015-12-07 19:12:02',NULL,'2015-12-08 02:50:02',NULL),(1081,1,4,32521,2015,'9',100,0,100,1,'2015-12-07 19:12:29',NULL,'2015-12-08 02:56:29',NULL),(1082,1,4,32522,2015,'9',100,0,100,1,'2015-12-07 19:12:53',NULL,'2015-12-08 02:57:53',NULL),(1083,1,4,32523,2015,'9',100,0,100,1,'2015-12-07 20:12:01',NULL,'2015-12-08 03:11:01',NULL),(1084,1,4,32521,2015,'10',100,0,100,1,'2015-12-07 20:12:23',NULL,'2015-12-08 03:17:23',NULL),(1085,1,4,32522,2015,'10',100,0,100,1,'2015-12-07 20:12:05',NULL,'2015-12-08 03:18:05',NULL),(1086,1,4,32523,2015,'10',100,0,100,1,'2015-12-07 20:12:37',NULL,'2015-12-08 03:18:37',NULL),(1087,1,4,32523,2015,'12',100,0,100,1,'2015-12-07 20:12:12',NULL,'2015-12-08 03:25:12',NULL),(1088,1,3,32516,2016,'2',0,300,-300,1,'2015-12-07 21:12:52',1,'2015-12-08 04:03:52',NULL),(1089,1,2,32504,2016,'2',300,0,300,1,'2015-12-07 21:12:52',1,'2015-12-08 04:03:52',NULL),(1090,1,10,32534,2015,'12',7,0,7,1,'2015-12-07 21:12:04',1,'2015-12-08 04:24:04',NULL),(1091,1,3,32515,2016,'2',0,202,-202,1,'2015-12-07 22:12:43',1,'2015-12-08 05:17:43',NULL),(1092,1,4,32521,2016,'2',100,0,100,1,'2015-12-07 22:12:43',1,'2015-12-08 05:17:43',NULL),(1093,1,4,32522,2016,'2',102,0,102,1,'2015-12-07 23:12:12',NULL,'2015-12-08 06:53:12',NULL),(1094,1,10,32547,2015,'2',400,0,400,93,'2015-12-08 18:12:49',NULL,'2015-12-09 01:42:49',NULL),(1095,4,3,32515,2015,'12',0,144,-144,106,'2015-12-27 21:12:47',106,'2015-12-28 04:20:47',NULL),(1096,4,4,32524,2015,'12',144,0,144,106,'2015-12-27 21:12:47',106,'2015-12-28 04:20:47',NULL),(1097,4,4,32525,2015,'12',70,0,70,106,'2015-12-27 21:12:05',106,'2015-12-28 04:21:05',NULL),(1098,1,7,32526,2016,'1',0,212,-212,84,'2016-01-19 01:01:22',NULL,'2016-01-19 08:34:22',NULL),(1099,1,3,32515,2016,'1',212,0,212,84,'2016-01-19 01:01:22',NULL,'2016-01-19 08:34:22',NULL),(1100,1,3,32515,2016,'4',301068,304400,-3332,1,'2016-04-14 20:04:24',1,'2016-04-15 02:33:24',NULL),(1101,1,3,32516,2016,'4',758,1300,-542,1,'2016-04-14 20:04:24',1,'2016-04-15 02:33:24',NULL),(1102,1,3,32517,2016,'4',0,3,-3,1,'2016-04-14 21:04:32',1,'2016-04-15 03:08:32',NULL),(1103,1,8,32527,2016,'4',130,0,130,1,'2016-04-14 21:04:32',1,'2016-04-15 03:08:32',NULL),(1104,1,7,32526,2016,'4',0,826,-826,1,'2016-04-20 19:04:19',115,'2016-04-21 01:07:19',NULL),(1105,1,3,32518,2016,'4',0,340,-340,1,'2016-04-24 21:04:39',1,'2016-04-25 03:56:39',NULL),(1106,1,10,32537,2016,'4',20,0,20,1,'2016-04-24 22:04:27',NULL,'2016-04-25 04:00:27',NULL),(1107,1,10,32546,2016,'4',200,0,200,1,'2016-04-24 22:04:27',NULL,'2016-04-25 04:00:27',NULL),(1108,1,2,32510,2016,'4',1000,0,1000,1,'2016-04-24 22:04:18',NULL,'2016-04-25 04:02:18',NULL),(1109,1,10,32533,2016,'4',500,0,500,1,'2016-04-25 20:04:30',1,'2016-04-26 02:25:30',NULL),(1110,1,4,32521,2016,'4',0,300000,-300000,1,'2016-04-25 20:04:16',1,'2016-04-26 02:30:16',NULL),(1111,1,4,32522,2016,'4',300,15000000,-14999700,1,'2016-04-25 20:04:46',1,'2016-04-26 02:31:46',NULL),(1112,1,2,32507,2016,'4',300000,0,300000,1,'2016-04-25 20:04:09',1,'2016-04-26 02:39:09',NULL),(1113,1,4,32524,2016,'4',300,0,300,1,'2016-04-25 20:04:46',1,'2016-04-26 02:44:46',NULL),(1114,1,2,32506,2016,'4',3600,0,3600,1,'2016-04-26 19:04:09',NULL,'2016-04-27 01:39:09',NULL),(1115,1,7,32526,2016,'5',0,118.5,-118.5,1,'2016-05-09 21:05:44',1,'2016-05-10 03:38:44',NULL),(1116,1,3,32515,2016,'5',118.5,150,-31.5,1,'2016-05-09 21:05:44',1,'2016-05-10 03:38:44',NULL),(1117,1,8,32527,2016,'5',150,0,150,1,'2016-05-31 02:05:45',1,'2016-05-31 08:38:45',NULL),(1118,1,3,32515,2016,'6',260,1897,-1637,1,'2016-06-01 00:06:34',0,'2016-06-01 06:56:34',NULL),(1119,1,8,32527,2016,'6',1494,0,1494,1,'2016-06-01 00:06:34',0,'2016-06-01 06:56:34',NULL),(1120,1,3,32518,2016,'6',100,280,-180,1,'2016-06-01 00:06:12',1,'2016-06-01 06:57:12',NULL),(1121,1,7,32526,2016,'6',0,260,-260,1,'2016-06-01 00:06:52',0,'2016-06-01 06:59:52',NULL),(1122,1,10,32547,2016,'6',250,0,250,1,'2016-06-01 01:06:27',1,'2016-06-01 07:02:27',NULL),(1123,1,3,32516,2016,'6',0,73556,-73556,84,'2016-06-02 21:06:42',84,'2016-06-03 03:34:42',NULL),(1124,1,10,32545,2016,'6',589,0,589,84,'2016-06-02 21:06:40',NULL,'2016-06-03 03:35:40',NULL),(1125,1,2,32504,2016,'6',2300,0,2300,84,'2016-06-02 21:06:57',NULL,'2016-06-03 03:40:57',NULL),(1126,1,2,32507,2016,'6',70000,0,70000,84,'2016-06-02 21:06:57',84,'2016-06-03 03:40:57',NULL),(1127,13,3,32761,2016,'6',13089,729,12360,0,'2016-06-12 22:06:37',0,'2016-06-13 04:45:37',NULL),(1128,13,8,32773,2016,'6',868,0,868,0,'2016-06-12 22:06:37',0,'2016-06-13 04:45:37',NULL),(1129,13,10,32775,2016,'6',396,0,396,0,'2016-06-12 22:06:16',0,'2016-06-13 04:46:16',NULL),(1130,13,7,32772,2016,'6',0,13656,-13656,0,'2016-06-12 22:06:25',0,'2016-06-13 04:56:25',NULL),(1131,13,3,32762,2016,'6',1199,928,271,0,'2016-06-13 00:06:09',0,'2016-06-13 06:14:09',NULL),(1132,13,3,32763,2016,'6',658,721,-63,0,'2016-06-13 01:06:23',0,'2016-06-13 07:44:23',NULL),(1133,13,3,32764,2016,'6',500,77,423,0,'2016-06-14 02:06:54',0,'2016-06-14 08:22:54',NULL),(1134,12,7,32583,2016,'6',0,212,-212,0,'2016-06-14 19:06:12',0,'2016-06-15 01:01:12',NULL),(1135,12,3,32575,2016,'6',212,148,64,0,'2016-06-14 19:06:12',0,'2016-06-15 01:01:12',NULL),(1136,12,7,32583,2016,'5',0,99,-99,0,'2016-06-14 19:06:05',NULL,'2016-06-15 01:13:05',NULL),(1137,12,3,32575,2016,'5',99,0,99,0,'2016-06-14 19:06:05',NULL,'2016-06-15 01:13:05',NULL),(1138,13,2,32750,2016,'6',477,0,477,0,'2016-06-14 19:06:34',0,'2016-06-15 01:29:34',NULL),(1139,1,10,32539,2016,'6',800,0,800,0,'2016-06-14 20:06:14',NULL,'2016-06-15 02:53:14',NULL),(1140,1,10,32541,2016,'6',200,0,200,0,'2016-06-14 20:06:14',NULL,'2016-06-15 02:53:14',NULL),(1141,1,10,32550,2016,'6',100,0,100,0,'2016-06-14 20:06:14',NULL,'2016-06-15 02:53:14',NULL),(1142,12,3,32573,2016,'6',0,36,-36,0,'2016-06-14 22:06:12',NULL,'2016-06-15 04:27:12',NULL),(1143,12,2,32561,2016,'6',36,0,36,0,'2016-06-14 22:06:12',NULL,'2016-06-15 04:27:12',NULL),(1144,13,2,32752,2016,'6',258,0,258,0,'2016-06-14 22:06:27',NULL,'2016-06-15 04:47:27',NULL),(1145,12,8,32584,2016,'6',25,0,25,0,'2016-06-15 21:06:31',NULL,'2016-06-16 03:06:31',NULL),(1146,12,10,32590,2016,'6',123,0,123,0,'2016-06-15 21:06:48',NULL,'2016-06-16 03:51:48',NULL),(1147,13,4,32767,2016,'6',100,999,-899,0,'2016-06-20 18:06:10',0,'2016-06-21 00:55:10',NULL),(1148,13,3,32762,2017,'7',0,770,-770,0,'2016-06-20 21:06:57',NULL,'2016-06-21 03:45:57',NULL),(1149,13,2,32755,2017,'7',5,0,5,0,'2016-06-20 21:06:57',0,'2016-06-21 03:45:57',NULL),(1150,13,2,32755,2016,'6',721,0,721,0,'2016-06-20 22:06:07',0,'2016-06-21 04:36:07',NULL),(1151,13,3,32763,2017,'7',0,5,-5,0,'2016-06-20 22:06:50',NULL,'2016-06-21 04:38:50',NULL),(1152,13,3,32762,2015,'6',0,2345,-2345,0,'2016-06-21 00:06:24',NULL,'2016-06-21 06:27:24',NULL),(1153,13,2,32755,2015,'6',2345,0,2345,0,'2016-06-21 00:06:24',NULL,'2016-06-21 06:27:24',NULL),(1154,13,3,32762,2016,'8',0,358,-358,0,'2016-06-21 01:06:01',NULL,'2016-06-21 07:34:01',NULL),(1155,13,2,32755,2016,'8',358,0,358,0,'2016-06-21 01:06:01',NULL,'2016-06-21 07:34:01',NULL),(1156,13,4,32769,2016,'6',0,658,-658,0,'2016-06-21 21:06:33',NULL,'2016-06-22 03:31:33',NULL),(1157,13,4,32768,2016,'6',455,0,455,0,'2016-06-21 22:06:40',NULL,'2016-06-22 04:58:40',NULL),(1158,13,4,32770,2016,'6',100,100,0,0,'2016-06-22 01:06:08',0,'2016-06-22 07:07:08',NULL),(1159,13,3,32762,2017,'6',0,200,-200,0,'2016-06-22 01:06:55',NULL,'2016-06-22 07:27:55',NULL),(1160,13,4,32770,2017,'6',200,0,200,0,'2016-06-22 01:06:55',NULL,'2016-06-22 07:27:55',NULL),(1161,13,10,32796,2016,'6',20,0,20,0,'2016-06-26 19:06:21',NULL,'2016-06-27 01:46:21',NULL),(1162,2,7,32709,2016,'6',0,250,-250,4,'2016-06-29 21:06:44',NULL,'2016-06-30 03:51:44',NULL),(1163,2,3,32698,2016,'6',250,0,250,4,'2016-06-29 21:06:44',NULL,'2016-06-30 03:51:44',NULL),(1164,5,7,32955,2016,'7',0,12987.8,-12987.8,7,'2016-07-10 20:07:27',7,'2016-07-11 02:23:27',NULL),(1165,5,3,32946,2016,'7',209.79999999999998,0,209.79999999999998,7,'2016-07-10 20:07:27',7,'2016-07-11 02:23:28',NULL),(1166,5,3,32947,2016,'7',700,9.9,690.1,7,'2016-07-10 20:07:23',7,'2016-07-11 02:25:23',NULL),(1167,5,8,32956,2016,'7',9.9,0,9.9,7,'2016-07-10 20:07:23',7,'2016-07-11 02:25:23',NULL),(1168,5,4,32950,2016,'6',0,2500,-2500,7,'2016-07-10 20:07:10',NULL,'2016-07-11 02:27:10',NULL),(1169,5,3,32944,2016,'6',2500,0,2500,7,'2016-07-10 20:07:10',NULL,'2016-07-11 02:27:10',NULL),(1170,5,3,32944,2016,'7',12078,850,11228,7,'2016-07-10 20:07:09',7,'2016-07-11 02:30:09',NULL),(1171,5,4,32950,2016,'7',850,0,850,7,'2016-07-10 20:07:57',NULL,'2016-07-11 02:31:57',NULL),(1172,7,7,33012,2016,'7',0,100,-100,9,'2016-07-25 02:07:07',9,'2016-07-25 08:15:07',NULL),(1173,7,3,33001,2016,'7',100,1823.9,-1723.9,9,'2016-07-25 02:07:07',9,'2016-07-25 08:15:07',NULL),(1174,7,8,33013,2016,'7',70,0,70,9,'2016-07-25 19:07:46',9,'2016-07-26 01:07:46',NULL),(1175,7,10,33019,2016,'7',47.099999999999994,0,47.099999999999994,9,'2016-07-25 19:07:01',9,'2016-07-26 01:32:01',NULL),(1176,7,2,32993,2016,'7',1748,0,1748,9,'2016-07-25 19:07:08',9,'2016-07-26 01:36:08',NULL),(1177,8,3,33064,2016,'7',270000,10000,260000,10,'2016-07-29 01:07:08',10,'2016-07-29 07:07:08',NULL),(1178,8,3,33065,2016,'7',10000,20000,-10000,10,'2016-07-29 01:07:08',10,'2016-07-29 07:07:08',NULL),(1179,8,4,33070,2016,'7',0,250000,-250000,10,'2016-07-29 01:07:43',10,'2016-07-29 07:21:43',NULL),(1180,8,4,33071,2016,'7',10000,100000,-90000,10,'2016-07-29 01:07:23',10,'2016-07-29 07:22:23',NULL),(1181,9,7,33138,2016,'1',0,200,-200,11,'2016-08-01 02:08:12',11,'2016-08-01 08:21:12',NULL),(1182,9,3,33127,2016,'1',200,115,85,11,'2016-08-01 02:08:12',11,'2016-08-01 08:21:12',NULL),(1183,9,3,33127,2016,'2',0,50,-50,11,'2016-08-03 01:08:26',11,'2016-08-03 07:27:26',NULL),(1184,9,8,33139,2016,'2',50,0,50,11,'2016-08-03 01:08:26',11,'2016-08-03 07:27:26',NULL),(1185,2,7,32709,2016,'8',0,109,-109,4,'2016-08-03 01:08:07',4,'2016-08-03 07:29:07',NULL),(1186,2,3,32701,2016,'8',109,159.8,-50.80000000000001,4,'2016-08-03 01:08:07',4,'2016-08-03 07:29:07',NULL),(1187,2,8,32710,2016,'8',96.8,0,96.8,4,'2016-08-03 01:08:31',4,'2016-08-03 07:31:31',NULL),(1188,2,10,32733,2016,'8',63,0,63,4,'2016-08-03 01:08:58',NULL,'2016-08-03 07:32:58',NULL),(1189,9,3,33127,2016,'8',290,710,-420,11,'2016-08-03 22:08:15',11,'2016-08-04 04:06:15',NULL),(1190,9,7,33138,2016,'8',0,200,-200,11,'2016-08-03 22:08:15',11,'2016-08-04 04:06:15',NULL),(1191,9,8,33139,2016,'1',95,0,95,11,'2016-08-04 03:08:55',11,'2016-08-04 09:23:55',NULL),(1192,9,10,33145,2016,'8',100,0,100,11,'2016-08-04 03:08:34',11,'2016-08-04 09:35:34',NULL),(1193,9,10,33152,2016,'8',20,0,20,11,'2016-08-04 03:08:24',11,'2016-08-04 09:36:24',NULL),(1194,9,3,33128,2016,'8',310,90,220,11,'2016-08-04 03:08:22',11,'2016-08-04 09:38:22',NULL),(1195,9,8,33139,2016,'8',50,0,50,11,'2016-08-04 03:08:22',11,'2016-08-04 09:46:22',NULL),(1196,9,10,33141,2016,'8',30,0,30,11,'2016-08-04 03:08:38',NULL,'2016-08-04 09:52:38',NULL),(1197,9,3,33128,2016,'1',20,0,20,11,'2016-08-04 20:08:12',NULL,'2016-08-05 02:45:12',NULL),(1198,9,4,33133,2016,'6',0,2500,-2500,11,'2016-08-04 21:08:53',NULL,'2016-08-05 03:37:53',NULL),(1199,9,3,33127,2016,'6',2500,0,2500,11,'2016-08-04 21:08:53',NULL,'2016-08-05 03:37:53',NULL),(1200,9,4,33135,2016,'7',0,100000,-100000,11,'2016-08-04 21:08:26',NULL,'2016-08-05 03:38:26',NULL),(1201,9,3,33127,2016,'7',100000,0,100000,11,'2016-08-04 21:08:26',NULL,'2016-08-05 03:38:26',NULL),(1202,9,4,33135,2016,'8',200,0,200,11,'2016-08-04 21:08:00',NULL,'2016-08-05 03:52:00',NULL),(1203,12,7,33384,2016,'9',0,100,-100,14,'2016-09-04 23:09:33',NULL,'2016-09-05 05:11:33',NULL),(1204,12,3,33373,2016,'9',0,100,-100,14,'2016-09-04 23:09:33',14,'2016-09-05 05:11:33',NULL),(1205,12,8,33385,2016,'9',100,0,100,14,'2016-09-05 00:09:21',NULL,'2016-09-05 06:22:21',NULL),(1206,11,7,33321,2016,'9',0,2000,-2000,13,'2016-09-05 00:09:43',NULL,'2016-09-05 06:48:43',NULL),(1207,11,3,33310,2016,'9',2000,0,2000,13,'2016-09-05 00:09:43',NULL,'2016-09-05 06:48:43',NULL),(1208,9,7,33138,2016,'9',0,120,-120,11,'2016-09-05 02:09:34',11,'2016-09-05 08:15:34',NULL),(1209,9,3,33127,2016,'9',120,0,120,11,'2016-09-05 02:09:34',11,'2016-09-05 08:15:34',NULL),(1210,16,3,33436,2016,'10',96600,29500,67100,1,'2016-10-03 21:10:42',1,'2016-10-04 03:37:42',NULL),(1211,16,3,33439,2016,'10',29500,28935,565,1,'2016-10-03 21:10:42',1,'2016-10-04 03:37:42',NULL),(1212,16,8,33448,2016,'10',28040,0,28040,1,'2016-10-03 21:10:30',1,'2016-10-04 03:46:30',NULL),(1213,16,2,33425,2016,'10',500,0,500,1,'2016-10-03 21:10:35',NULL,'2016-10-04 03:49:35',NULL),(1214,16,7,33447,2016,'10',0,96600,-96600,1,'2016-10-03 21:10:19',1,'2016-10-04 03:51:19',NULL),(1215,16,10,33462,2016,'10',270,0,270,1,'2016-10-03 22:10:17',1,'2016-10-04 04:56:17',NULL),(1216,16,10,33472,2016,'10',125,0,125,1,'2016-10-03 22:10:17',1,'2016-10-04 04:56:17',NULL),(1217,16,3,33437,2016,'10',0,1200,-1200,1,'2016-10-04 02:10:02',NULL,'2016-10-04 08:40:02',NULL),(1218,16,4,33443,2016,'10',1200,0,1200,1,'2016-10-04 02:10:02',NULL,'2016-10-04 08:40:02',NULL),(1219,20,3,33557,2016,'10',0,300,-300,4,'2016-10-09 20:10:01',4,'2016-10-10 02:18:01',NULL),(1220,20,8,33568,2016,'10',300,0,300,4,'2016-10-09 20:10:01',4,'2016-10-10 02:18:01',NULL),(1221,20,3,33614,2016,'10',0,400,-400,5,'2016-10-10 00:10:46',5,'2016-10-10 06:47:46',NULL),(1222,20,8,33625,2016,'10',400,0,400,5,'2016-10-10 00:10:46',5,'2016-10-10 06:47:46',NULL),(1223,21,3,33671,2016,'10',0,3100,-3100,6,'2016-10-10 02:10:57',6,'2016-10-10 08:07:57',NULL),(1224,21,8,33682,2016,'10',3100,0,3100,6,'2016-10-10 02:10:57',6,'2016-10-10 08:07:57',NULL),(1225,21,7,33681,2016,'10',0,16900,-16900,6,'2016-10-12 19:10:53',6,'2016-10-13 01:32:53',NULL),(1226,21,3,33670,2016,'10',7000,10900,-3900,6,'2016-10-12 19:10:53',6,'2016-10-13 01:32:53',NULL),(1227,21,10,33688,2016,'10',4000,0,4000,6,'2016-10-13 02:10:49',NULL,'2016-10-13 08:59:49',NULL),(1228,21,10,33692,2016,'10',6900,0,6900,6,'2016-10-13 02:10:49',NULL,'2016-10-13 08:59:49',NULL),(1229,21,3,33673,2016,'10',9900,0,9900,6,'2016-10-14 04:10:45',6,'2016-10-14 10:03:45',NULL),(1230,22,7,33738,2016,'11',0,120000,-120000,7,'2016-11-10 10:11:55',NULL,'2016-11-10 10:03:55',NULL),(1231,22,3,33727,2016,'11',120000,100000,20000,7,'2016-11-10 10:11:55',7,'2016-11-10 10:03:55',NULL),(1232,22,8,33739,2016,'11',100000,0,100000,7,'2016-11-10 10:11:08',NULL,'2016-11-10 10:06:08',NULL);
/*!40000 ALTER TABLE `comp_acc_det` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_acct_group_bak`
--

DROP TABLE IF EXISTS `comp_acct_group_bak`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_acct_group_bak` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `acctTypeID` int(11) NOT NULL,
  `acctGroupName` varchar(128) NOT NULL,
  `acctCode` char(9) NOT NULL,
  `orderNo` int(11) NOT NULL,
  `parentID` int(11) NOT NULL,
  `title` tinyint(1) DEFAULT '0',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `refID` int(11) NOT NULL COMMENT '_ref_acct_group.ID',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_acct_group_bak`
--

LOCK TABLES `comp_acct_group_bak` WRITE;
/*!40000 ALTER TABLE `comp_acct_group_bak` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_acct_group_bak` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_acct_type`
--

DROP TABLE IF EXISTS `comp_acct_type`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_acct_type` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `acctTypeName` varchar(128) NOT NULL,
  `acctClass` smallint(6) NOT NULL,
  `balance` smallint(1) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_acct_type`
--

LOCK TABLES `comp_acct_type` WRITE;
/*!40000 ALTER TABLE `comp_acct_type` DISABLE KEYS */;
INSERT INTO `comp_acct_type` VALUES (1,'Assets',0,0,1,'2015-11-24 10:58:11',0,'0000-00-00 00:00:00'),(2,'Liability',0,0,1,'2015-11-24 10:58:11',0,'0000-00-00 00:00:00'),(3,'Income',1,0,1,'2015-11-24 10:58:11',0,'0000-00-00 00:00:00'),(4,'Expences',1,0,1,'2015-11-24 10:58:11',0,'0000-00-00 00:00:00'),(5,'Equity',0,0,1,'2015-11-24 10:58:11',0,'0000-00-00 00:00:00');
/*!40000 ALTER TABLE `comp_acct_type` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_address`
--

DROP TABLE IF EXISTS `comp_address`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_address` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `addressName` varchar(128) NOT NULL,
  `line1` varchar(128) NOT NULL,
  `line2` varchar(128) NOT NULL,
  `line3` varchar(128) NOT NULL,
  `city` varchar(128) NOT NULL,
  `postCode` varchar(8) NOT NULL,
  `stateID` int(11) NOT NULL,
  `countryID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_address`
--

LOCK TABLES `comp_address` WRITE;
/*!40000 ALTER TABLE `comp_address` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_address` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_alert_table`
--

DROP TABLE IF EXISTS `comp_alert_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_alert_table` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `acctTypeID` int(11) NOT NULL,
  `badRelief` tinyint(1) NOT NULL,
  `registration` tinyint(1) NOT NULL,
  `gstReturn` tinyint(1) NOT NULL,
  `accountReceivable` tinyint(1) NOT NULL,
  `accountPayable` tinyint(1) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_alert_table`
--

LOCK TABLES `comp_alert_table` WRITE;
/*!40000 ALTER TABLE `comp_alert_table` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_alert_table` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_bank`
--

DROP TABLE IF EXISTS `comp_bank`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_bank` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `bankName` varchar(64) NOT NULL,
  `bankShortName` varchar(8) NOT NULL,
  `branch` varchar(64) NOT NULL,
  `bankAccountNo` varchar(32) NOT NULL,
  `currentBalance` double NOT NULL,
  `line1` varchar(64) NOT NULL,
  `line2` varchar(64) NOT NULL,
  `line3` varchar(64) NOT NULL,
  `city` varchar(64) NOT NULL,
  `PostCode` varchar(8) NOT NULL,
  `bankStateID` int(11) NOT NULL,
  `bankCountryID` int(11) NOT NULL,
  `attention` varchar(32) NOT NULL,
  `phoneNumber1` varchar(64) NOT NULL,
  `phoneNumber2` varchar(64) NOT NULL,
  `fax` varchar(64) NOT NULL,
  `generalNote` varchar(255) NOT NULL,
  `creditLimit` int(8) NOT NULL,
  `creditLimitAlert` tinyint(1) NOT NULL,
  `linkAccountID` int(11) NOT NULL,
  `createdDate` date NOT NULL,
  `currencyID` int(11) NOT NULL,
  `email` varchar(32) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` int(16) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=218 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_bank`
--

LOCK TABLES `comp_bank` WRITE;
/*!40000 ALTER TABLE `comp_bank` DISABLE KEYS */;
INSERT INTO `comp_bank` VALUES (81,1,'Bank & Cash Balance','','','123',0,'','','','','',0,0,'','','','','',0,0,32514,'0000-00-00',1,'',0,'2015-11-23 16:00:00',0,'2015-12-01 03:18:09',0),(82,1,'CIMB','','','234',1000,'','','','','',0,0,'','','','','',0,0,32515,'0000-00-00',1,'',0,'2014-12-31 16:00:00',0,'2015-12-08 08:52:20',0),(83,1,'Bank Rakyat','','','345',500,'','','','','',0,0,'','','','','',0,0,32516,'0000-00-00',1,'',0,'2014-12-31 16:00:00',0,'2015-12-08 08:52:29',0),(84,1,'Affin Bank ','','','456',200,'','','','','',0,0,'','','','','',0,0,32517,'0000-00-00',1,'',0,'2014-12-31 16:00:00',0,'2015-12-08 09:36:30',0),(85,1,'Petty Cash (Store)','','','567',-100,'','','','','',0,0,'','','','','',0,0,32518,'0000-00-00',1,'',0,'2014-12-31 16:00:00',0,'2015-12-08 09:40:28',0),(86,1,'Advancement/Drawing','','','678',-200,'','','','','',0,0,'','','','','',0,0,32519,'0000-00-00',1,'',0,'2014-12-31 16:00:00',0,'2015-12-08 08:13:48',0),(108,12,'Bank1 	','','','',0,'','','','','',0,0,'','','','','',0,0,32572,'0000-00-00',0,'',0,'2016-06-09 09:52:58',0,'0000-00-00 00:00:00',0),(109,12,'Bank2	','','','',0,'','','','','',0,0,'','','','','',0,0,32573,'0000-00-00',0,'',0,'2016-06-09 09:52:58',0,'0000-00-00 00:00:00',0),(110,12,'Bank3	','','','',0,'','','','','',0,0,'','','','','',0,0,32574,'0000-00-00',0,'',0,'2016-06-09 09:52:58',0,'0000-00-00 00:00:00',0),(111,12,'Petty Cash 1	','','','',0,'','','','','',0,0,'','','','','',0,0,32575,'0000-00-00',0,'',0,'2016-06-09 09:52:58',0,'0000-00-00 00:00:00',0),(112,12,'Petty Cash 2	','','','',0,'','','','','',0,0,'','','','','',0,0,32576,'0000-00-00',0,'',0,'2016-06-09 09:52:58',0,'0000-00-00 00:00:00',0),(115,3,'Bank1 	','','','',0,'','','','','',0,0,'','','','','',0,0,32635,'0000-00-00',0,'',0,'2016-06-10 02:41:33',0,'0000-00-00 00:00:00',0),(116,3,'Bank2	','','','',0,'','','','','',0,0,'','','','','',0,0,32636,'0000-00-00',0,'',0,'2016-06-10 02:41:33',0,'0000-00-00 00:00:00',0),(117,3,'Bank3	','','','',0,'','','','','',0,0,'','','','','',0,0,32637,'0000-00-00',0,'',0,'2016-06-10 02:41:33',0,'0000-00-00 00:00:00',0),(118,3,'Petty Cash 1	','','','',0,'','','','','',0,0,'','','','','',0,0,32638,'0000-00-00',0,'',0,'2016-06-10 02:41:33',0,'0000-00-00 00:00:00',0),(119,3,'Petty Cash 2	','','','',0,'','','','','',0,0,'','','','','',0,0,32639,'0000-00-00',0,'',0,'2016-06-10 02:41:33',0,'0000-00-00 00:00:00',0),(122,13,'Maybank','','','',1000,'','','','','',0,0,'','','','','',0,0,32761,'0000-00-00',0,'',0,'2016-05-31 16:00:00',0,'2016-06-13 04:34:26',0),(123,13,'Bank2	','','','',0,'','','','','',0,0,'','','','','',0,0,32762,'0000-00-00',0,'',0,'2016-06-13 04:12:21',0,'0000-00-00 00:00:00',0),(124,13,'Bank3	','','','',0,'','','','','',0,0,'','','','','',0,0,32763,'0000-00-00',0,'',0,'2016-06-13 04:12:21',0,'0000-00-00 00:00:00',0),(125,13,'Petty Cash 1	','','','',0,'','','','','',0,0,'','','','','',0,0,32764,'0000-00-00',0,'',0,'2016-06-13 04:12:21',0,'0000-00-00 00:00:00',0),(126,13,'Petty Cash 2	','','','',0,'','','','','',0,0,'','','','','',0,0,32765,'0000-00-00',0,'',0,'2016-06-13 04:12:21',0,'0000-00-00 00:00:00',0),(127,2,'Bank1 	','','','',0,'','','','','',0,0,'','','','','',0,0,32698,'0000-00-00',0,'',0,'2016-06-28 06:37:04',0,'0000-00-00 00:00:00',0),(128,2,'Bank2	','','','',0,'','','','','',0,0,'','','','','',0,0,32699,'0000-00-00',0,'',0,'2016-06-28 06:37:04',0,'0000-00-00 00:00:00',0),(129,2,'Bank3	','','','',0,'','','','','',0,0,'','','','','',0,0,32700,'0000-00-00',0,'',0,'2016-06-28 06:37:04',0,'0000-00-00 00:00:00',0),(130,2,'tabung buluh','','','',0,'','','','','',0,0,'','','','','',0,0,32701,'0000-00-00',0,'',0,'2016-06-27 16:00:00',0,'2016-08-03 07:33:28',0),(131,2,'Petty Cash 2	','','','',0,'','','','','',0,0,'','','','','',0,0,32702,'0000-00-00',0,'',0,'2016-06-28 06:37:04',0,'0000-00-00 00:00:00',0),(134,4,'Bank1 	','','','',0,'','','','','',0,0,'','','','','',0,0,32881,'0000-00-00',0,'',0,'2016-06-29 07:49:49',0,'0000-00-00 00:00:00',0),(135,4,'Bank2	','','','',0,'','','','','',0,0,'','','','','',0,0,32882,'0000-00-00',0,'',0,'2016-06-29 07:49:49',0,'0000-00-00 00:00:00',0),(136,4,'Bank3	','','','',0,'','','','','',0,0,'','','','','',0,0,32883,'0000-00-00',0,'',0,'2016-06-29 07:49:49',0,'0000-00-00 00:00:00',0),(137,4,'Petty Cash 1	','','','',0,'','','','','',0,0,'','','','','',0,0,32884,'0000-00-00',0,'',0,'2016-06-29 07:49:49',0,'0000-00-00 00:00:00',0),(138,4,'Petty Cash 2	','','','',0,'','','','','',0,0,'','','','','',0,0,32885,'0000-00-00',0,'',0,'2016-06-29 07:49:49',0,'0000-00-00 00:00:00',0),(141,5,'Bank1 	','','','',0,'','','','','',0,0,'','','','','',0,0,32944,'0000-00-00',0,'',0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(142,5,'Bank2	','','','',0,'','','','','',0,0,'','','','','',0,0,32945,'0000-00-00',0,'',0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(143,5,'Bank3	','','','',0,'','','','','',0,0,'','','','','',0,0,32946,'0000-00-00',0,'',0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(144,5,'Petty Cash 1	','','','',0,'','','','','',0,0,'','','','','',0,0,32947,'0000-00-00',0,'',0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(145,5,'Petty Cash 2	','','','',0,'','','','','',0,0,'','','','','',0,0,32948,'0000-00-00',0,'',0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(146,7,'MAYBANK','','','',0,'','','','','',0,0,'','','','','',0,0,33001,'0000-00-00',0,'',0,'2016-07-24 16:00:00',0,'2016-07-25 08:13:20',0),(147,7,'Bank2	','','','',0,'','','','','',0,0,'','','','','',0,0,33002,'0000-00-00',0,'',0,'2016-07-25 08:13:01',0,'0000-00-00 00:00:00',0),(148,7,'Bank3	','','','',0,'','','','','',0,0,'','','','','',0,0,33003,'0000-00-00',0,'',0,'2016-07-25 08:13:01',0,'0000-00-00 00:00:00',0),(149,7,'Petty Cash 1	','','','',0,'','','','','',0,0,'','','','','',0,0,33004,'0000-00-00',0,'',0,'2016-07-25 08:13:01',0,'0000-00-00 00:00:00',0),(150,7,'Petty Cash 2	','','','',0,'','','','','',0,0,'','','','','',0,0,33005,'0000-00-00',0,'',0,'2016-07-25 08:13:01',0,'0000-00-00 00:00:00',0),(153,8,'MAYBANK','','','',0,'','','','','',0,0,'','','','','',0,0,33064,'0000-00-00',0,'',0,'2016-07-28 16:00:00',0,'2016-07-29 07:06:15',0),(154,8,'Bank2	','','','',0,'','','','','',0,0,'','','','','',0,0,33065,'0000-00-00',0,'',0,'2016-07-29 07:05:40',0,'0000-00-00 00:00:00',0),(155,8,'Bank3	','','','',0,'','','','','',0,0,'','','','','',0,0,33066,'0000-00-00',0,'',0,'2016-07-29 07:05:40',0,'0000-00-00 00:00:00',0),(156,8,'Petty Cash 1	','','','',0,'','','','','',0,0,'','','','','',0,0,33067,'0000-00-00',0,'',0,'2016-07-29 07:05:40',0,'0000-00-00 00:00:00',0),(157,8,'Petty Cash 2	','','','',0,'','','','','',0,0,'','','','','',0,0,33068,'0000-00-00',0,'',0,'2016-07-29 07:05:40',0,'0000-00-00 00:00:00',0),(160,9,'Bank1 	','','','',0,'','','','','',0,0,'','','','','',0,0,33127,'0000-00-00',0,'',0,'2016-08-01 07:56:44',0,'0000-00-00 00:00:00',0),(161,9,'Bank2	','','','',0,'','','','','',0,0,'','','','','',0,0,33128,'0000-00-00',0,'',0,'2016-08-01 07:56:44',0,'0000-00-00 00:00:00',0),(162,9,'Bank3	','','','',0,'','','','','',0,0,'','','','','',0,0,33129,'0000-00-00',0,'',0,'2016-08-01 07:56:44',0,'0000-00-00 00:00:00',0),(163,9,'Petty Cash 1	','','','',0,'','','','','',0,0,'','','','','',0,0,33130,'0000-00-00',0,'',0,'2016-08-01 07:56:44',0,'0000-00-00 00:00:00',0),(164,9,'Petty Cash 2	','','','',0,'','','','','',0,0,'','','','','',0,0,33131,'0000-00-00',0,'',0,'2016-08-01 07:56:44',0,'0000-00-00 00:00:00',0),(167,10,'Bank1 	','','','',0,'','','','','',0,0,'','','','','',0,0,33190,'0000-00-00',0,'',0,'2016-08-02 01:36:15',0,'0000-00-00 00:00:00',0),(168,10,'Bank2	','','','',0,'','','','','',0,0,'','','','','',0,0,33191,'0000-00-00',0,'',0,'2016-08-02 01:36:15',0,'0000-00-00 00:00:00',0),(169,10,'Bank3	','','','',0,'','','','','',0,0,'','','','','',0,0,33192,'0000-00-00',0,'',0,'2016-08-02 01:36:15',0,'0000-00-00 00:00:00',0),(170,10,'Petty Cash 1	','','','',0,'','','','','',0,0,'','','','','',0,0,33193,'0000-00-00',0,'',0,'2016-08-02 01:36:15',0,'0000-00-00 00:00:00',0),(171,10,'Petty Cash 2	','','','',0,'','','','','',0,0,'','','','','',0,0,33194,'0000-00-00',0,'',0,'2016-08-02 01:36:15',0,'0000-00-00 00:00:00',0),(172,12,'MAYBANK BERHAD','','','',10000,'','','','','',0,0,'','','','','',0,0,33373,'0000-00-00',0,'',0,'2015-12-31 16:00:00',0,'2016-09-05 05:07:12',0),(173,12,'Bank2	','','','',0,'','','','','',0,0,'','','','','',0,0,33374,'0000-00-00',0,'',0,'2016-09-05 05:06:27',0,'0000-00-00 00:00:00',0),(174,12,'Bank3	','','','',0,'','','','','',0,0,'','','','','',0,0,33375,'0000-00-00',0,'',0,'2016-09-05 05:06:27',0,'0000-00-00 00:00:00',0),(175,12,'Petty Cash 1	','','','',0,'','','','','',0,0,'','','','','',0,0,33376,'0000-00-00',0,'',0,'2016-09-05 05:06:27',0,'0000-00-00 00:00:00',0),(176,12,'Petty Cash 2	','','','',0,'','','','','',0,0,'','','','','',0,0,33377,'0000-00-00',0,'',0,'2016-09-05 05:06:27',0,'0000-00-00 00:00:00',0),(179,11,'Bank1 	','','','',0,'','','','','',0,0,'','','','','',0,0,33310,'0000-00-00',0,'',0,'2016-09-05 06:48:22',0,'0000-00-00 00:00:00',0),(180,11,'Bank2	','','','',0,'','','','','',0,0,'','','','','',0,0,33311,'0000-00-00',0,'',0,'2016-09-05 06:48:22',0,'0000-00-00 00:00:00',0),(181,11,'Bank3	','','','',0,'','','','','',0,0,'','','','','',0,0,33312,'0000-00-00',0,'',0,'2016-09-05 06:48:22',0,'0000-00-00 00:00:00',0),(182,11,'Petty Cash 1	','','','',0,'','','','','',0,0,'','','','','',0,0,33313,'0000-00-00',0,'',0,'2016-09-05 06:48:22',0,'0000-00-00 00:00:00',0),(183,11,'Petty Cash 2	','','','',0,'','','','','',0,0,'','','','','',0,0,33314,'0000-00-00',0,'',0,'2016-09-05 06:48:22',0,'0000-00-00 00:00:00',0),(186,16,'MBB','','','',50000,'','','','','',0,0,'','','','','',0,0,33436,'0000-00-00',0,'',0,'2015-12-31 16:00:00',0,'2016-09-30 08:10:34',0),(187,16,'BIMB','','','',30000,'','','','','',0,0,'','','','','',0,0,33437,'0000-00-00',0,'',0,'2015-12-31 16:00:00',0,'2016-09-30 08:10:49',0),(188,16,'Bank3	','','','',0,'','','','','',0,0,'','','','','',0,0,33438,'0000-00-00',0,'',0,'2016-09-29 16:00:00',0,'2016-10-04 03:20:54',1),(189,16,'DUIT KOCEK','','','',2000,'','','','','',0,0,'','','','','',0,0,33439,'0000-00-00',0,'',0,'2016-09-29 16:00:00',0,'2016-10-04 03:31:38',0),(190,16,'Petty Cash 2	','','','',0,'','','','','',0,0,'','','','','',0,0,33440,'0000-00-00',0,'',0,'2016-09-29 16:00:00',0,'2016-10-04 03:20:58',1),(203,20,'Bank1 	','','','',0,'','','','','',0,0,'','','','','',0,0,33613,'0000-00-00',1,'',0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(204,20,'Bank2	','','','',0,'','','','','',0,0,'','','','','',0,0,33614,'0000-00-00',1,'',0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(205,20,'Bank3	','','','',0,'','','','','',0,0,'','','','','',0,0,33615,'0000-00-00',1,'',0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(206,20,'Petty Cash 1	','','','',0,'','','','','',0,0,'','','','','',0,0,33616,'0000-00-00',1,'',0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(207,20,'Petty Cash 2	','','','',0,'','','','','',0,0,'','','','','',0,0,33617,'0000-00-00',1,'',0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(208,21,'Bank1 	','','','',0,'','','','','',0,0,'','','','','',0,0,33670,'0000-00-00',1,'',0,'2016-10-10 08:06:25',0,'0000-00-00 00:00:00',0),(209,21,'Bank2	','','','',0,'','','','','',0,0,'','','','','',0,0,33671,'0000-00-00',1,'',0,'2016-10-10 08:06:25',0,'0000-00-00 00:00:00',0),(210,21,'Bank3	','','','',0,'','','','','',0,0,'','','','','',0,0,33672,'0000-00-00',1,'',0,'2016-10-10 08:06:25',0,'0000-00-00 00:00:00',0),(211,21,'Petty Cash 1	','','','',0,'','','','','',0,0,'','','','','',0,0,33673,'0000-00-00',1,'',0,'2016-10-10 08:06:25',0,'0000-00-00 00:00:00',0),(212,21,'Petty Cash 2	','','','',0,'','','','','',0,0,'','','','','',0,0,33674,'0000-00-00',1,'',0,'2016-10-10 08:06:25',0,'0000-00-00 00:00:00',0),(213,22,'MAYBANK ISLAMIC BERHAD','','','',300000,'','','','','',0,0,'','','','','',0,0,33727,'0000-00-00',1,'',0,'2016-11-09 16:00:00',0,'2016-11-10 10:12:58',0),(214,22,'CIMB ISLAMIC BERHAD','','','',400000,'','','','','',0,0,'','','','','',0,0,33728,'0000-00-00',1,'',0,'2016-11-09 16:00:00',0,'2016-11-10 10:13:34',0),(215,22,'Bank3	','','','',0,'','','','','',0,0,'','','','','',0,0,33729,'0000-00-00',1,'',0,'2016-11-10 09:54:11',0,'0000-00-00 00:00:00',0),(216,22,'Petty Cash 1	','','','',0,'','','','','',0,0,'','','','','',0,0,33730,'0000-00-00',1,'',0,'2016-11-10 09:54:11',0,'0000-00-00 00:00:00',0),(217,22,'Petty Cash 2	','','','',0,'','','','','',0,0,'','','','','',0,0,33731,'0000-00-00',1,'',0,'2016-11-10 09:54:11',0,'0000-00-00 00:00:00',0);
/*!40000 ALTER TABLE `comp_bank` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_bank_reconcile`
--

DROP TABLE IF EXISTS `comp_bank_reconcile`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_bank_reconcile` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `bankLinkAcctCode` int(11) NOT NULL,
  `reconcileDate` date NOT NULL,
  `reconcileBalance` double NOT NULL,
  `concileDebit` double NOT NULL,
  `concileCredit` double NOT NULL,
  `glBalance` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_bank_reconcile`
--

LOCK TABLES `comp_bank_reconcile` WRITE;
/*!40000 ALTER TABLE `comp_bank_reconcile` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_bank_reconcile` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_bank_reconcile_track_back`
--

DROP TABLE IF EXISTS `comp_bank_reconcile_track_back`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_bank_reconcile_track_back` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `reconID` int(11) NOT NULL,
  `transDate` date NOT NULL,
  `refNo` varchar(255) NOT NULL,
  `description` varchar(255) NOT NULL,
  `debitAmount` double NOT NULL,
  `creditAmount` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_bank_reconcile_track_back`
--

LOCK TABLES `comp_bank_reconcile_track_back` WRITE;
/*!40000 ALTER TABLE `comp_bank_reconcile_track_back` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_bank_reconcile_track_back` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_budget`
--

DROP TABLE IF EXISTS `comp_budget`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_budget` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) DEFAULT NULL,
  `acctGroupID` int(11) DEFAULT NULL,
  `acctID` int(11) DEFAULT NULL,
  `year` int(11) DEFAULT NULL,
  `period` int(2) DEFAULT NULL,
  `amountdr` double DEFAULT NULL,
  `amountcr` double DEFAULT NULL,
  `total` double DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` smallint(6) DEFAULT NULL,
  PRIMARY KEY (`ID`),
  KEY `Index 2` (`companyID`,`acctID`,`year`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_budget`
--

LOCK TABLES `comp_budget` WRITE;
/*!40000 ALTER TABLE `comp_budget` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_budget` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_cash_in_`
--

DROP TABLE IF EXISTS `comp_cash_in_`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_cash_in_` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `salesInvoiceDate` date NOT NULL,
  `locationID` int(11) NOT NULL,
  `projectID` int(11) NOT NULL,
  `paymentMethodID` int(11) NOT NULL,
  `termsID` int(11) NOT NULL,
  `memo` text NOT NULL,
  `paymentFrom` varchar(128) NOT NULL,
  `totalAmountIncludeTax` double NOT NULL,
  `totalTaxAmount` double NOT NULL,
  `totalamountExcludeTax` double NOT NULL,
  `discount` double NOT NULL,
  `outOfBalance` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(6) NOT NULL DEFAULT '0',
  `updateAble` smallint(6) NOT NULL DEFAULT '1',
  `journalNo` varchar(32) NOT NULL,
  `bankID` int(11) NOT NULL,
  `amountReceived` double NOT NULL,
  `referenceNo` varchar(32) NOT NULL,
  `bankReconcileID` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_cash_in_`
--

LOCK TABLES `comp_cash_in_` WRITE;
/*!40000 ALTER TABLE `comp_cash_in_` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_cash_in_` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_cash_in_detail_item_`
--

DROP TABLE IF EXISTS `comp_cash_in_detail_item_`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_cash_in_detail_item_` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `cashInID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `itemname` varchar(64) NOT NULL,
  `itemdescription` text NOT NULL,
  `quantity` int(11) NOT NULL,
  `umID` int(11) NOT NULL,
  `unitPrice` double NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `accountID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `is_delete` smallint(16) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_cash_in_detail_item_`
--

LOCK TABLES `comp_cash_in_detail_item_` WRITE;
/*!40000 ALTER TABLE `comp_cash_in_detail_item_` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_cash_in_detail_item_` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_cash_in_detail_service_`
--

DROP TABLE IF EXISTS `comp_cash_in_detail_service_`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_cash_in_detail_service_` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `cashInID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `accountID` int(11) NOT NULL,
  `itemdescription` text NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_cash_in_detail_service_`
--

LOCK TABLES `comp_cash_in_detail_service_` WRITE;
/*!40000 ALTER TABLE `comp_cash_in_detail_service_` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_cash_in_detail_service_` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_cash_sales`
--

DROP TABLE IF EXISTS `comp_cash_sales`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_cash_sales` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `salesInvoiceDate` date NOT NULL,
  `locationID` int(11) NOT NULL,
  `projectID` int(11) NOT NULL,
  `paymentMethodID` int(11) NOT NULL,
  `termsID` int(11) NOT NULL,
  `memo` text NOT NULL,
  `paymentFrom` varchar(128) NOT NULL,
  `totalAmountIncludeTax` double NOT NULL,
  `totalTaxAmount` double NOT NULL,
  `totalamountExcludeTax` double NOT NULL,
  `discount` double NOT NULL,
  `outOfBalance` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(6) NOT NULL DEFAULT '0',
  `updateAble` smallint(6) NOT NULL DEFAULT '1',
  `journalNo` varchar(32) NOT NULL,
  `bankID` int(11) NOT NULL,
  `amountReceived` double NOT NULL,
  `referenceNo` varchar(32) NOT NULL,
  `bankReconcileID` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_cash_sales`
--

LOCK TABLES `comp_cash_sales` WRITE;
/*!40000 ALTER TABLE `comp_cash_sales` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_cash_sales` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `triger_cash_sales` BEFORE INSERT ON `comp_cash_sales`
 FOR EACH ROW set new.serialNo = (select nextSerialNo 

			   from view_serial_comp_cash_sales

                    where companyID = new.companyID) */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_cash_sales_charges`
--

DROP TABLE IF EXISTS `comp_cash_sales_charges`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_cash_sales_charges` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `cashSaleID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `accountNoID` int(11) NOT NULL,
  `chargeDescription` text NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `drAccountID` int(11) NOT NULL,
  `crAccountID` int(11) NOT NULL,
  `drTaxAccountID` int(11) NOT NULL,
  `crTaxAccountID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_cash_sales_charges`
--

LOCK TABLES `comp_cash_sales_charges` WRITE;
/*!40000 ALTER TABLE `comp_cash_sales_charges` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_cash_sales_charges` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_cash_sales_detail`
--

DROP TABLE IF EXISTS `comp_cash_sales_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_cash_sales_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `lineNo` int(11) NOT NULL,
  `invoiceID` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `quantity` int(11) NOT NULL,
  `umID` int(11) NOT NULL,
  `unitPrice` double NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `accountID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_cash_sales_detail`
--

LOCK TABLES `comp_cash_sales_detail` WRITE;
/*!40000 ALTER TABLE `comp_cash_sales_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_cash_sales_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_chart_of_acct`
--

DROP TABLE IF EXISTS `comp_chart_of_acct`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_chart_of_acct` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `acctGroupID` int(11) NOT NULL,
  `acctCode` char(9) NOT NULL,
  `acctName` varchar(128) NOT NULL,
  `acctDesc` varchar(128) NOT NULL,
  `openingBalanceDr` double NOT NULL,
  `openingBalanceCr` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(6) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=33769 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_chart_of_acct`
--

LOCK TABLES `comp_chart_of_acct` WRITE;
/*!40000 ALTER TABLE `comp_chart_of_acct` DISABLE KEYS */;
INSERT INTO `comp_chart_of_acct` VALUES (32683,2,1,'100000000','Advancement/(Drawing)	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32684,2,1,'120000000','Retained Profit/(Loss) B/F ','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32685,2,1,'130000000','Current Retained Profit/(Loss)  ','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32686,2,2,'200000000','Fixed Asset	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32687,2,2,'200000100','Furniture & Fixtures	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32688,2,2,'200000200','Office Equipment	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32689,2,2,'200000300','Computer & Software	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32690,2,2,'200000400','Motor Vehicle	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32691,2,2,'200000500','Machinery & Engine	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32692,2,2,'200000600','Renovation	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32693,2,2,'200000700','Store Equipment	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32694,2,2,'200000800','Asset 8	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32695,2,2,'200000900','Asset 9	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32696,2,2,'200001000','Other Asset	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32697,2,3,'220000000','Bank & Cash Balance	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32698,2,3,'220000100','Bank1 	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32699,2,3,'220000200','Bank2	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32700,2,3,'220000300','Bank3	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32701,2,3,'220000400','tabung buluh','',0,0,0,'2016-06-27 16:00:00',0,'2016-08-03 07:33:28',0),(32702,2,3,'220000500','Petty Cash 2	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32703,2,4,'370000000','Borrowing	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32704,2,4,'370000100','Loan 1	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32705,2,4,'370000200','Loan 2	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32706,2,4,'370000300','Loan 3	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32707,2,4,'370000400','Loan 4	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32708,2,4,'370000500','Loan 5	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32709,2,7,'400000000','Sales	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32710,2,8,'500000000','Cost of Goods Sold	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32711,2,35,'700000000','Others Income 	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32712,2,10,'810000100','Accounting & Legal	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32713,2,10,'810000200','Advertising & Marketing	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32714,2,10,'810000300','Commissions	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32715,2,10,'810000400','Depreciation Expense	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32716,2,10,'810000500','Electricity & water	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32717,2,10,'810000600','GST- Non Claimable	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32718,2,10,'810000700','Insurance Premium	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32719,2,10,'810000800','Late Payment Charges	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32720,2,10,'810000900','Medical fee	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32721,2,10,'810001000','Miscellaneous Expenses	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32722,2,10,'810001100','Motor Vehicle Repair & maintenance	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32723,2,10,'810001200','Office expenses	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32724,2,10,'810001300','Petrol,Parking & Toll	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32725,2,10,'810001400','Postage & Courier	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32726,2,10,'810001500','Quit Rent & Assessment	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32727,2,10,'810001600','Registration Fee	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32728,2,10,'810001700','Rental of Equipment	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32729,2,10,'810001800','Rental of office	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32730,2,10,'810001900','Rental of store	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32731,2,10,'810002000','Seminar & Training	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32732,2,10,'810002100','Store expenses	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32733,2,10,'810002200','Telephone	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32734,2,10,'810002300','Travel, Meals & Entertainment	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32735,2,10,'810002400','Salary & wages	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32736,2,10,'810002500','EPF & Socso	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32737,2,10,'850010000','Bank Charges	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32738,2,10,'850020000','Interest on loan	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32739,2,10,'860000000','Income Tax Expense	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32803,3,1,'100000000','Advancement/(Drawing)	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32804,3,1,'120000000','Retained Profit/(Loss) B/F ','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32805,3,1,'130000000','Current Retained Profit/(Loss)  ','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32806,3,2,'200000000','Fixed Asset	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32807,3,2,'200000100','Furniture & Fixtures	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32808,3,2,'200000200','Office Equipment	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32809,3,2,'200000300','Computer & Software	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32810,3,2,'200000400','Motor Vehicle	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32811,3,2,'200000500','Machinery & Engine	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32812,3,2,'200000600','Renovation	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32813,3,2,'200000700','Store Equipment	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32814,3,2,'200000800','Asset 8	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32815,3,2,'200000900','Asset 9	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32816,3,2,'200001000','Other Asset	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32817,3,3,'220000000','Bank & Cash Balance	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32818,3,3,'220000100','Bank1 	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32819,3,3,'220000200','Bank2	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32820,3,3,'220000300','Bank3	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32821,3,3,'220000400','Petty Cash 1	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32822,3,3,'220000500','Petty Cash 2	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32823,3,4,'370000000','Borrowing	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32824,3,4,'370000100','Loan 1	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32825,3,4,'370000200','Loan 2	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32826,3,4,'370000300','Loan 3	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32827,3,4,'370000400','Loan 4	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32828,3,4,'370000500','Loan 5	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32829,3,7,'400000000','Sales	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32830,3,8,'500000000','Cost of Goods Sold	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32831,3,35,'700000000','Others Income 	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32832,3,10,'810000100','Accounting & Legal	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32833,3,10,'810000200','Advertising & Marketing	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32834,3,10,'810000300','Commissions	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32835,3,10,'810000400','Depreciation Expense	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32836,3,10,'810000500','Electricity & water	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32837,3,10,'810000600','GST- Non Claimable	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32838,3,10,'810000700','Insurance Premium	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32839,3,10,'810000800','Late Payment Charges	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32840,3,10,'810000900','Medical fee	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32841,3,10,'810001000','Miscellaneous Expenses	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32842,3,10,'810001100','Motor Vehicle Repair & maintenance	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32843,3,10,'810001200','Office expenses	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32844,3,10,'810001300','Petrol,Parking & Toll	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32845,3,10,'810001400','Postage & Courier	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32846,3,10,'810001500','Quit Rent & Assessment	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32847,3,10,'810001600','Registration Fee	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32848,3,10,'810001700','Rental of Equipment	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32849,3,10,'810001800','Rental of office	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32850,3,10,'810001900','Rental of store	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32851,3,10,'810002000','Seminar & Training	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32852,3,10,'810002100','Store expenses	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32853,3,10,'810002200','Telephone	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32854,3,10,'810002300','Travel, Meals & Entertainment	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32855,3,10,'810002400','Salary & wages	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32856,3,10,'810002500','EPF & Socso	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32857,3,10,'850010000','Bank Charges	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32858,3,10,'850020000','Interest on loan	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32859,3,10,'860000000','Income Tax Expense	','',0,0,0,'2016-06-28 07:27:49',0,'0000-00-00 00:00:00',0),(32866,4,1,'100000000','Advancement/(Drawing)	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32867,4,1,'120000000','Retained Profit/(Loss) B/F ','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32868,4,1,'130000000','Current Retained Profit/(Loss)  ','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32869,4,2,'200000000','Fixed Asset	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32870,4,2,'200000100','Furniture & Fixtures	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32871,4,2,'200000200','Office Equipment	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32872,4,2,'200000300','Computer & Software	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32873,4,2,'200000400','Motor Vehicle	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32874,4,2,'200000500','Machinery & Engine	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32875,4,2,'200000600','Renovation	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32876,4,2,'200000700','Store Equipment	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32877,4,2,'200000800','Asset 8	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32878,4,2,'200000900','Asset 9	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32879,4,2,'200001000','Other Asset	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32880,4,3,'220000000','Bank & Cash Balance	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32881,4,3,'220000100','Bank1 	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32882,4,3,'220000200','Bank2	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32883,4,3,'220000300','Bank3	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32884,4,3,'220000400','Petty Cash 1	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32885,4,3,'220000500','Petty Cash 2	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32886,4,4,'370000000','Borrowing	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32887,4,4,'370000100','Loan 1	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32888,4,4,'370000200','Loan 2	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32889,4,4,'370000300','Loan 3	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32890,4,4,'370000400','Loan 4	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32891,4,4,'370000500','Loan 5	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32892,4,7,'400000000','Sales	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32893,4,8,'500000000','Cost of Goods Sold	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32894,4,35,'700000000','Others Income 	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32895,4,10,'810000100','Accounting & Legal	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32896,4,10,'810000200','Advertising & Marketing	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32897,4,10,'810000300','Commissions	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32898,4,10,'810000400','Depreciation Expense	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32899,4,10,'810000500','Electricity & water	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32900,4,10,'810000600','GST- Non Claimable	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32901,4,10,'810000700','Insurance Premium	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32902,4,10,'810000800','Late Payment Charges	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32903,4,10,'810000900','Medical fee	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32904,4,10,'810001000','Miscellaneous Expenses	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32905,4,10,'810001100','Motor Vehicle Repair & maintenance	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32906,4,10,'810001200','Office expenses	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32907,4,10,'810001300','Petrol,Parking & Toll	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32908,4,10,'810001400','Postage & Courier	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32909,4,10,'810001500','Quit Rent & Assessment	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32910,4,10,'810001600','Registration Fee	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32911,4,10,'810001700','Rental of Equipment	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32912,4,10,'810001800','Rental of office	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32913,4,10,'810001900','Rental of store	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32914,4,10,'810002000','Seminar & Training	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32915,4,10,'810002100','Store expenses	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32916,4,10,'810002200','Telephone	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32917,4,10,'810002300','Travel, Meals & Entertainment	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32918,4,10,'810002400','Salary & wages	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32919,4,10,'810002500','EPF & Socso	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32920,4,10,'850010000','Bank Charges	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32921,4,10,'850020000','Interest on loan	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32922,4,10,'860000000','Income Tax Expense	','',0,0,0,'2016-06-29 07:49:44',0,'0000-00-00 00:00:00',0),(32929,5,1,'100000000','Advancement/(Drawing)	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32930,5,1,'120000000','Retained Profit/(Loss) B/F ','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32931,5,1,'130000000','Current Retained Profit/(Loss)  ','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32932,5,2,'200000000','Fixed Asset	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32933,5,2,'200000100','Furniture & Fixtures	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32934,5,2,'200000200','Office Equipment	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32935,5,2,'200000300','Computer & Software	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32936,5,2,'200000400','Motor Vehicle	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32937,5,2,'200000500','Machinery & Engine	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32938,5,2,'200000600','Renovation	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32939,5,2,'200000700','Store Equipment	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32940,5,2,'200000800','Asset 8	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32941,5,2,'200000900','Asset 9	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32942,5,2,'200001000','Other Asset	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32943,5,3,'220000000','Bank & Cash Balance	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32944,5,3,'220000100','Bank1 	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32945,5,3,'220000200','Bank2	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32946,5,3,'220000300','Bank3	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32947,5,3,'220000400','Petty Cash 1	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32948,5,3,'220000500','Petty Cash 2	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32949,5,4,'370000000','Borrowing	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32950,5,4,'370000100','Loan 1	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32951,5,4,'370000200','Loan 2	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32952,5,4,'370000300','Loan 3	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32953,5,4,'370000400','Loan 4	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32954,5,4,'370000500','Loan 5	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32955,5,7,'400000000','Sales	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32956,5,8,'500000000','Cost of Goods Sold	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32957,5,35,'700000000','Others Income 	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32958,5,10,'810000100','Accounting & Legal	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32959,5,10,'810000200','Advertising & Marketing	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32960,5,10,'810000300','Commissions	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32961,5,10,'810000400','Depreciation Expense	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32962,5,10,'810000500','Electricity & water	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32963,5,10,'810000600','GST- Non Claimable	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32964,5,10,'810000700','Insurance Premium	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32965,5,10,'810000800','Late Payment Charges	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32966,5,10,'810000900','Medical fee	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32967,5,10,'810001000','Miscellaneous Expenses	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32968,5,10,'810001100','Motor Vehicle Repair & maintenance	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32969,5,10,'810001200','Office expenses	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32970,5,10,'810001300','Petrol,Parking & Toll	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32971,5,10,'810001400','Postage & Courier	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32972,5,10,'810001500','Quit Rent & Assessment	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32973,5,10,'810001600','Registration Fee	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32974,5,10,'810001700','Rental of Equipment	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32975,5,10,'810001800','Rental of office	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32976,5,10,'810001900','Rental of store	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32977,5,10,'810002000','Seminar & Training	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32978,5,10,'810002100','Store expenses	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32979,5,10,'810002200','Telephone	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32980,5,10,'810002300','Travel, Meals & Entertainment	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32981,5,10,'810002400','Salary & wages	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32982,5,10,'810002500','EPF & Socso	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32983,5,10,'850010000','Bank Charges	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32984,5,10,'850020000','Interest on loan	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32985,5,10,'860000000','Income Tax Expense	','',0,0,0,'2016-06-30 01:08:03',0,'0000-00-00 00:00:00',0),(32986,7,1,'100000000','Advancement/(Drawing)	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(32987,7,1,'120000000','Retained Profit/(Loss) B/F ','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(32988,7,1,'130000000','Current Retained Profit/(Loss)  ','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(32989,7,2,'200000000','Fixed Asset	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(32990,7,2,'200000100','Furniture & Fixtures	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(32991,7,2,'200000200','Office Equipment	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(32992,7,2,'200000300','Computer & Software	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(32993,7,2,'200000400','Motor Vehicle	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(32994,7,2,'200000500','Machinery & Engine	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(32995,7,2,'200000600','Renovation	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(32996,7,2,'200000700','Store Equipment	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(32997,7,2,'200000800','Asset 8	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(32998,7,2,'200000900','Asset 9	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(32999,7,2,'200001000','Other Asset	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33000,7,3,'220000000','Bank & Cash Balance	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33001,7,3,'220000100','MAYBANK','',0,0,0,'2016-07-24 16:00:00',0,'2016-07-25 08:13:20',0),(33002,7,3,'220000200','Bank2	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33003,7,3,'220000300','Bank3	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33004,7,3,'220000400','Petty Cash 1	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33005,7,3,'220000500','Petty Cash 2	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33006,7,4,'370000000','Borrowing	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33007,7,4,'370000100','Loan 1	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33008,7,4,'370000200','Loan 2	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33009,7,4,'370000300','Loan 3	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33010,7,4,'370000400','Loan 4	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33011,7,4,'370000500','Loan 5	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33012,7,7,'400000000','Sales	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33013,7,8,'500000000','Cost of Goods Sold	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33014,7,35,'700000000','Others Income 	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33015,7,10,'810000100','Accounting & Legal	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33016,7,10,'810000200','Advertising & Marketing	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33017,7,10,'810000300','Commissions	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33018,7,10,'810000400','Depreciation Expense	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33019,7,10,'810000500','Electricity & water	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33020,7,10,'810000600','GST- Non Claimable	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33021,7,10,'810000700','Insurance Premium	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33022,7,10,'810000800','Late Payment Charges	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33023,7,10,'810000900','Medical fee	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33024,7,10,'810001000','Miscellaneous Expenses	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33025,7,10,'810001100','Motor Vehicle Repair & maintenance	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33026,7,10,'810001200','Office expenses	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33027,7,10,'810001300','Petrol,Parking & Toll	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33028,7,10,'810001400','Postage & Courier	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33029,7,10,'810001500','Quit Rent & Assessment	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33030,7,10,'810001600','Registration Fee	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33031,7,10,'810001700','Rental of Equipment	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33032,7,10,'810001800','Rental of office	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33033,7,10,'810001900','Rental of store	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33034,7,10,'810002000','Seminar & Training	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33035,7,10,'810002100','Store expenses	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33036,7,10,'810002200','Telephone	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33037,7,10,'810002300','Travel, Meals & Entertainment	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33038,7,10,'810002400','Salary & wages	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33039,7,10,'810002500','EPF & Socso	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33040,7,10,'850010000','Bank Charges	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33041,7,10,'850020000','Interest on loan	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33042,7,10,'860000000','Income Tax Expense	','',0,0,0,'2016-07-25 08:12:45',0,'0000-00-00 00:00:00',0),(33049,8,1,'100000000','Advancement/(Drawing)	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33050,8,1,'120000000','Retained Profit/(Loss) B/F ','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33051,8,1,'130000000','Current Retained Profit/(Loss)  ','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33052,8,2,'200000000','Fixed Asset	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33053,8,2,'200000100','Furniture & Fixtures	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33054,8,2,'200000200','Office Equipment	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33055,8,2,'200000300','Computer & Software	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33056,8,2,'200000400','Motor Vehicle	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33057,8,2,'200000500','Machinery & Engine	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33058,8,2,'200000600','Renovation	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33059,8,2,'200000700','Store Equipment	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33060,8,2,'200000800','Asset 8	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33061,8,2,'200000900','Asset 9	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33062,8,2,'200001000','Other Asset	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33063,8,3,'220000000','Bank & Cash Balance	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33064,8,3,'220000100','MAYBANK','',0,0,0,'2016-07-28 16:00:00',0,'2016-07-29 07:06:15',0),(33065,8,3,'220000200','Bank2	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33066,8,3,'220000300','Bank3	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33067,8,3,'220000400','Petty Cash 1	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33068,8,3,'220000500','Petty Cash 2	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33069,8,4,'370000000','Borrowing	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33070,8,4,'370000100','Loan 1	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33071,8,4,'370000200','Loan 2	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33072,8,4,'370000300','Loan 3	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33073,8,4,'370000400','Loan 4	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33074,8,4,'370000500','Loan 5	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33075,8,7,'400000000','Sales	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33076,8,8,'500000000','Cost of Goods Sold	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33077,8,35,'700000000','Others Income 	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33078,8,10,'810000100','Accounting & Legal	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33079,8,10,'810000200','Advertising & Marketing	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33080,8,10,'810000300','Commissions	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33081,8,10,'810000400','Depreciation Expense	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33082,8,10,'810000500','Electricity & water	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33083,8,10,'810000600','GST- Non Claimable	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33084,8,10,'810000700','Insurance Premium	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33085,8,10,'810000800','Late Payment Charges	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33086,8,10,'810000900','Medical fee	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33087,8,10,'810001000','Miscellaneous Expenses	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33088,8,10,'810001100','Motor Vehicle Repair & maintenance	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33089,8,10,'810001200','Office expenses	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33090,8,10,'810001300','Petrol,Parking & Toll	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33091,8,10,'810001400','Postage & Courier	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33092,8,10,'810001500','Quit Rent & Assessment	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33093,8,10,'810001600','Registration Fee	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33094,8,10,'810001700','Rental of Equipment	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33095,8,10,'810001800','Rental of office	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33096,8,10,'810001900','Rental of store	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33097,8,10,'810002000','Seminar & Training	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33098,8,10,'810002100','Store expenses	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33099,8,10,'810002200','Telephone	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33100,8,10,'810002300','Travel, Meals & Entertainment	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33101,8,10,'810002400','Salary & wages	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33102,8,10,'810002500','EPF & Socso	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33103,8,10,'850010000','Bank Charges	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33104,8,10,'850020000','Interest on loan	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33105,8,10,'860000000','Income Tax Expense	','',0,0,0,'2016-07-29 07:05:35',0,'0000-00-00 00:00:00',0),(33112,9,1,'100000000','Advancement/(Drawing)	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33113,9,1,'120000000','Retained Profit/(Loss) B/F ','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33114,9,1,'130000000','Current Retained Profit/(Loss)  ','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33115,9,2,'200000000','Fixed Asset	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33116,9,2,'200000100','Furniture & Fixtures	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33117,9,2,'200000200','Office Equipment	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33118,9,2,'200000300','Computer & Software	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33119,9,2,'200000400','Motor Vehicle	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33120,9,2,'200000500','Machinery & Engine	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33121,9,2,'200000600','Renovation	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33122,9,2,'200000700','Store Equipment	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33123,9,2,'200000800','Asset 8	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33124,9,2,'200000900','Asset 9	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33125,9,2,'200001000','Other Asset	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33126,9,3,'220000000','Bank & Cash Balance	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33127,9,3,'220000100','Bank1 	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33128,9,3,'220000200','Bank2	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33129,9,3,'220000300','Bank3	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33130,9,3,'220000400','Petty Cash 1	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33131,9,3,'220000500','Petty Cash 2	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33132,9,4,'370000000','Borrowing	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33133,9,4,'370000100','Loan 1	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33134,9,4,'370000200','Loan 2	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33135,9,4,'370000300','Loan 3	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33136,9,4,'370000400','Loan 4	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33137,9,4,'370000500','Loan 5	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33138,9,7,'400000000','Sales	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33139,9,8,'500000000','Cost of Goods Sold	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33140,9,35,'700000000','Others Income 	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33141,9,10,'810000100','Accounting & Legal	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33142,9,10,'810000200','Advertising & Marketing	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33143,9,10,'810000300','Commissions	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33144,9,10,'810000400','Depreciation Expense	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33145,9,10,'810000500','Electricity & water	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33146,9,10,'810000600','GST- Non Claimable	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33147,9,10,'810000700','Insurance Premium	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33148,9,10,'810000800','Late Payment Charges	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33149,9,10,'810000900','Medical fee	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33150,9,10,'810001000','Miscellaneous Expenses	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33151,9,10,'810001100','Motor Vehicle Repair & maintenance	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33152,9,10,'810001200','Office expenses	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33153,9,10,'810001300','Petrol,Parking & Toll	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33154,9,10,'810001400','Postage & Courier	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33155,9,10,'810001500','Quit Rent & Assessment	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33156,9,10,'810001600','Registration Fee	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33157,9,10,'810001700','Rental of Equipment	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33158,9,10,'810001800','Rental of office	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33159,9,10,'810001900','Rental of store	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33160,9,10,'810002000','Seminar & Training	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33161,9,10,'810002100','Store expenses	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33162,9,10,'810002200','Telephone	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33163,9,10,'810002300','Travel, Meals & Entertainment	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33164,9,10,'810002400','Salary & wages	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33165,9,10,'810002500','EPF & Socso	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33166,9,10,'850010000','Bank Charges	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33167,9,10,'850020000','Interest on loan	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33168,9,10,'860000000','Income Tax Expense	','',0,0,0,'2016-08-01 07:56:40',0,'0000-00-00 00:00:00',0),(33175,10,1,'100000000','Advancement/(Drawing)	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33176,10,1,'120000000','Retained Profit/(Loss) B/F ','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33177,10,1,'130000000','Current Retained Profit/(Loss)  ','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33178,10,2,'200000000','Fixed Asset	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33179,10,2,'200000100','Furniture & Fixtures	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33180,10,2,'200000200','Office Equipment	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33181,10,2,'200000300','Computer & Software	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33182,10,2,'200000400','Motor Vehicle	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33183,10,2,'200000500','Machinery & Engine	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33184,10,2,'200000600','Renovation	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33185,10,2,'200000700','Store Equipment	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33186,10,2,'200000800','Asset 8	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33187,10,2,'200000900','Asset 9	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33188,10,2,'200001000','Other Asset	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33189,10,3,'220000000','Bank & Cash Balance	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33190,10,3,'220000100','Bank1 	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33191,10,3,'220000200','Bank2	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33192,10,3,'220000300','Bank3	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33193,10,3,'220000400','Petty Cash 1	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33194,10,3,'220000500','Petty Cash 2	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33195,10,4,'370000000','Borrowing	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33196,10,4,'370000100','Loan 1	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33197,10,4,'370000200','Loan 2	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33198,10,4,'370000300','Loan 3	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33199,10,4,'370000400','Loan 4	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33200,10,4,'370000500','Loan 5	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33201,10,7,'400000000','Sales	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33202,10,8,'500000000','Cost of Goods Sold	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33203,10,35,'700000000','Others Income 	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33204,10,10,'810000100','Accounting & Legal	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33205,10,10,'810000200','Advertising & Marketing	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33206,10,10,'810000300','Commissions	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33207,10,10,'810000400','Depreciation Expense	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33208,10,10,'810000500','Electricity & water	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33209,10,10,'810000600','GST- Non Claimable	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33210,10,10,'810000700','Insurance Premium	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33211,10,10,'810000800','Late Payment Charges	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33212,10,10,'810000900','Medical fee	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33213,10,10,'810001000','Miscellaneous Expenses	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33214,10,10,'810001100','Motor Vehicle Repair & maintenance	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33215,10,10,'810001200','Office expenses	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33216,10,10,'810001300','Petrol,Parking & Toll	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33217,10,10,'810001400','Postage & Courier	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33218,10,10,'810001500','Quit Rent & Assessment	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33219,10,10,'810001600','Registration Fee	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33220,10,10,'810001700','Rental of Equipment	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33221,10,10,'810001800','Rental of office	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33222,10,10,'810001900','Rental of store	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33223,10,10,'810002000','Seminar & Training	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33224,10,10,'810002100','Store expenses	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33225,10,10,'810002200','Telephone	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33226,10,10,'810002300','Travel, Meals & Entertainment	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33227,10,10,'810002400','Salary & wages	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33228,10,10,'810002500','EPF & Socso	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33229,10,10,'850010000','Bank Charges	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33230,10,10,'850020000','Interest on loan	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33231,10,10,'860000000','Income Tax Expense	','',0,0,0,'2016-08-02 01:36:11',0,'0000-00-00 00:00:00',0),(33232,23,1,'100000000','Advancement/(Drawing)	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33233,23,1,'120000000','Retained Profit/(Loss) B/F ','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33234,23,1,'130000000','Current Retained Profit/(Loss)  ','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33235,23,2,'200000000','Fixed Asset	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33236,23,2,'200000100','Furniture & Fixtures	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33237,23,2,'200000200','Office Equipment	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33238,23,2,'200000300','Computer & Software	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33239,23,2,'200000400','Motor Vehicle	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33240,23,2,'200000500','Machinery & Engine	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33241,23,2,'200000600','Renovation	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33242,23,2,'200000700','Store Equipment	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33243,23,2,'200000800','Asset 8	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33244,23,2,'200000900','Asset 9	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33245,23,2,'200001000','Other Asset	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33246,23,3,'220000000','Bank & Cash Balance	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33247,23,3,'220000100','Bank1 	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33248,23,3,'220000200','Bank2	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33249,23,3,'220000300','Bank3	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33250,23,3,'220000400','Petty Cash 1	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33251,23,3,'220000500','Petty Cash 2	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33252,23,4,'370000000','Borrowing	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33253,23,4,'370000100','Loan 1	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33254,23,4,'370000200','Loan 2	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33255,23,4,'370000300','Loan 3	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33256,23,4,'370000400','Loan 4	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33257,23,4,'370000500','Loan 5	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33258,23,7,'400000000','Sales	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33259,23,8,'500000000','Cost of Goods Sold	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33260,23,35,'700000000','Others Income 	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33261,23,10,'810000100','Accounting & Legal	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33262,23,10,'810000200','Advertising & Marketing	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33263,23,10,'810000300','Commissions	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33264,23,10,'810000400','Depreciation Expense	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33265,23,10,'810000500','Electricity & water	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33266,23,10,'810000600','GST- Non Claimable	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33267,23,10,'810000700','Insurance Premium	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33268,23,10,'810000800','Late Payment Charges	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33269,23,10,'810000900','Medical fee	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33270,23,10,'810001000','Miscellaneous Expenses	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33271,23,10,'810001100','Motor Vehicle Repair & maintenance	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33272,23,10,'810001200','Office expenses	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33273,23,10,'810001300','Petrol,Parking & Toll	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33274,23,10,'810001400','Postage & Courier	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33275,23,10,'810001500','Quit Rent & Assessment	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33276,23,10,'810001600','Registration Fee	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33277,23,10,'810001700','Rental of Equipment	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33278,23,10,'810001800','Rental of office	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33279,23,10,'810001900','Rental of store	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33280,23,10,'810002000','Seminar & Training	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33281,23,10,'810002100','Store expenses	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33282,23,10,'810002200','Telephone	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33283,23,10,'810002300','Travel, Meals & Entertainment	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33284,23,10,'810002400','Salary & wages	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33285,23,10,'810002500','EPF & Socso	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33286,23,10,'850010000','Bank Charges	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33287,23,10,'850020000','Interest on loan	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33288,23,10,'860000000','Income Tax Expense	','',0,0,0,'2016-09-05 05:00:52',0,'0000-00-00 00:00:00',0),(33295,11,1,'100000000','Advancement/(Drawing)	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33296,11,1,'120000000','Retained Profit/(Loss) B/F ','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33297,11,1,'130000000','Current Retained Profit/(Loss)  ','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33298,11,2,'200000000','Fixed Asset	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33299,11,2,'200000100','Furniture & Fixtures	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33300,11,2,'200000200','Office Equipment	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33301,11,2,'200000300','Computer & Software	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33302,11,2,'200000400','Motor Vehicle	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33303,11,2,'200000500','Machinery & Engine	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33304,11,2,'200000600','Renovation	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33305,11,2,'200000700','Store Equipment	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33306,11,2,'200000800','Asset 8	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33307,11,2,'200000900','Asset 9	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33308,11,2,'200001000','Other Asset	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33309,11,3,'220000000','Bank & Cash Balance	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33310,11,3,'220000100','Bank1 	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33311,11,3,'220000200','Bank2	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33312,11,3,'220000300','Bank3	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33313,11,3,'220000400','Petty Cash 1	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33314,11,3,'220000500','Petty Cash 2	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33315,11,4,'370000000','Borrowing	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33316,11,4,'370000100','Loan 1	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33317,11,4,'370000200','Loan 2	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33318,11,4,'370000300','Loan 3	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33319,11,4,'370000400','Loan 4	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33320,11,4,'370000500','Loan 5	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33321,11,7,'400000000','Sales	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33322,11,8,'500000000','Cost of Goods Sold	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33323,11,35,'700000000','Others Income 	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33324,11,10,'810000100','Accounting & Legal	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33325,11,10,'810000200','Advertising & Marketing	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33326,11,10,'810000300','Commissions	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33327,11,10,'810000400','Depreciation Expense	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33328,11,10,'810000500','Electricity & water	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33329,11,10,'810000600','GST- Non Claimable	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33330,11,10,'810000700','Insurance Premium	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33331,11,10,'810000800','Late Payment Charges	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33332,11,10,'810000900','Medical fee	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33333,11,10,'810001000','Miscellaneous Expenses	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33334,11,10,'810001100','Motor Vehicle Repair & maintenance	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33335,11,10,'810001200','Office expenses	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33336,11,10,'810001300','Petrol,Parking & Toll	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33337,11,10,'810001400','Postage & Courier	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33338,11,10,'810001500','Quit Rent & Assessment	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33339,11,10,'810001600','Registration Fee	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33340,11,10,'810001700','Rental of Equipment	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33341,11,10,'810001800','Rental of office	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33342,11,10,'810001900','Rental of store	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33343,11,10,'810002000','Seminar & Training	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33344,11,10,'810002100','Store expenses	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33345,11,10,'810002200','Telephone	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33346,11,10,'810002300','Travel, Meals & Entertainment	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33347,11,10,'810002400','Salary & wages	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33348,11,10,'810002500','EPF & Socso	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33349,11,10,'850010000','Bank Charges	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33350,11,10,'850020000','Interest on loan	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33351,11,10,'860000000','Income Tax Expense	','',0,0,0,'2016-09-05 05:02:08',0,'0000-00-00 00:00:00',0),(33358,12,1,'100000000','Advancement/(Drawing)	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33359,12,1,'120000000','Retained Profit/(Loss) B/F ','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33360,12,1,'130000000','Current Retained Profit/(Loss)  ','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33361,12,2,'200000000','Fixed Asset	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33362,12,2,'200000100','Furniture & Fixtures	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33363,12,2,'200000200','Office Equipment	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33364,12,2,'200000300','Computer & Software	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33365,12,2,'200000400','Motor Vehicle	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33366,12,2,'200000500','Machinery & Engine	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33367,12,2,'200000600','Renovation	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33368,12,2,'200000700','Store Equipment	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33369,12,2,'200000800','Asset 8	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33370,12,2,'200000900','Asset 9	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33371,12,2,'200001000','Other Asset	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33372,12,3,'220000000','Bank & Cash Balance	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33373,12,3,'220000100','MAYBANK BERHAD','',10000,0,0,'2015-12-31 16:00:00',0,'2016-09-05 05:07:12',0),(33374,12,3,'220000200','Bank2	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33375,12,3,'220000300','Bank3	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33376,12,3,'220000400','Petty Cash 1	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33377,12,3,'220000500','Petty Cash 2	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33378,12,4,'370000000','Borrowing	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33379,12,4,'370000100','Loan 1	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33380,12,4,'370000200','Loan 2	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33381,12,4,'370000300','Loan 3	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33382,12,4,'370000400','Loan 4	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33383,12,4,'370000500','Loan 5	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33384,12,7,'400000000','Sales	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33385,12,8,'500000000','Cost of Goods Sold	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33386,12,35,'700000000','Others Income 	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33387,12,10,'810000100','Accounting & Legal	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33388,12,10,'810000200','Advertising & Marketing	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33389,12,10,'810000300','Commissions	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33390,12,10,'810000400','Depreciation Expense	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33391,12,10,'810000500','Electricity & water	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33392,12,10,'810000600','GST- Non Claimable	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33393,12,10,'810000700','Insurance Premium	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33394,12,10,'810000800','Late Payment Charges	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33395,12,10,'810000900','Medical fee	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33396,12,10,'810001000','Miscellaneous Expenses	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33397,12,10,'810001100','Motor Vehicle Repair & maintenance	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33398,12,10,'810001200','Office expenses	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33399,12,10,'810001300','Petrol,Parking & Toll	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33400,12,10,'810001400','Postage & Courier	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33401,12,10,'810001500','Quit Rent & Assessment	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33402,12,10,'810001600','Registration Fee	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33403,12,10,'810001700','Rental of Equipment	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33404,12,10,'810001800','Rental of office	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33405,12,10,'810001900','Rental of store	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33406,12,10,'810002000','Seminar & Training	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33407,12,10,'810002100','Store expenses	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33408,12,10,'810002200','Telephone	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33409,12,10,'810002300','Travel, Meals & Entertainment	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33410,12,10,'810002400','Salary & wages	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33411,12,10,'810002500','EPF & Socso	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33412,12,10,'850010000','Bank Charges	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33413,12,10,'850020000','Interest on loan	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33414,12,10,'860000000','Income Tax Expense	','',0,0,0,'2016-09-05 05:06:23',0,'0000-00-00 00:00:00',0),(33421,16,1,'100000000','Advancement/(Drawing)	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33422,16,1,'120000000','Retained Profit/(Loss) B/F ','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33423,16,1,'130000000','Current Retained Profit/(Loss)  ','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33424,16,2,'200000000','Fixed Asset	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33425,16,2,'200000100','Furniture & Fixtures	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33426,16,2,'200000200','Office Equipment	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33427,16,2,'200000300','Computer & Software	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33428,16,2,'200000400','Motor Vehicle	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33429,16,2,'200000500','Machinery & Engine	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33430,16,2,'200000600','Renovation	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33431,16,2,'200000700','Store Equipment	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33432,16,2,'200000800','Asset 8	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33433,16,2,'200000900','Asset 9	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33434,16,2,'200001000','Other Asset	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33435,16,3,'220000000','Bank & Cash Balance	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33436,16,3,'220000100','MBB','',50000,0,0,'2015-12-31 16:00:00',0,'2016-09-30 08:10:34',0),(33437,16,3,'220000200','BIMB','',30000,0,0,'2015-12-31 16:00:00',0,'2016-09-30 08:10:49',0),(33438,16,3,'220000300','Bank3	','',0,0,0,'2016-09-29 16:00:00',0,'2016-10-04 03:20:54',1),(33439,16,3,'220000400','DUIT KOCEK','',2000,0,0,'2016-09-29 16:00:00',0,'2016-10-04 03:31:38',0),(33440,16,3,'220000500','Petty Cash 2	','',0,0,0,'2016-09-29 16:00:00',0,'2016-10-04 03:20:58',1),(33441,16,4,'370000000','Borrowing	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33442,16,4,'370000100','SME BANK','',0,100000,0,'2015-12-31 16:00:00',0,'2016-10-04 03:24:33',0),(33443,16,4,'370000200','HIRE PURCHASE(HR-V)','',0,125000,0,'2015-12-31 16:00:00',0,'2016-10-04 03:25:09',0),(33444,16,4,'370000300','Loan 3	','',0,0,0,'2015-12-31 16:00:00',0,'2016-10-04 03:25:49',1),(33445,16,4,'370000400','Loan 4	','',0,0,0,'2015-12-31 16:00:00',0,'2016-10-04 03:25:54',1),(33446,16,4,'370000500','Loan 5	','',0,0,0,'2015-12-31 16:00:00',0,'2016-10-04 03:26:00',1),(33447,16,7,'400000000','Sales	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33448,16,8,'500000000','Cost of Goods Sold	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33449,16,35,'700000000','Others Income 	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33450,16,10,'810000100','Accounting & Legal	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33451,16,10,'810000200','Advertising & Marketing	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33452,16,10,'810000300','Commissions	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33453,16,10,'810000400','Depreciation Expense	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33454,16,10,'810000500','Electricity & water	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33455,16,10,'810000600','GST- Non Claimable	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33456,16,10,'810000700','Insurance Premium	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33457,16,10,'810000800','Late Payment Charges	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33458,16,10,'810000900','Medical fee	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33459,16,10,'810001000','Miscellaneous Expenses	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33460,16,10,'810001100','Motor Vehicle Repair & maintenance	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33461,16,10,'810001200','Office expenses	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33462,16,10,'810001300','Petrol,Parking & Toll	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33463,16,10,'810001400','Postage & Courier	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33464,16,10,'810001500','Quit Rent & Assessment	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33465,16,10,'810001600','Registration Fee	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33466,16,10,'810001700','Rental of Equipment	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33467,16,10,'810001800','Rental of office	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33468,16,10,'810001900','Rental of store	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33469,16,10,'810002000','Seminar & Training	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33470,16,10,'810002100','Store expenses	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33471,16,10,'810002200','Telephone	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33472,16,10,'810002300','Travel, Meals & Entertainment	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33473,16,10,'810002400','Salary & wages	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33474,16,10,'810002500','EPF & Socso	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33475,16,10,'850010000','Bank Charges	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33476,16,10,'850020000','Interest on loan	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33477,16,10,'860000000','Income Tax Expense	','',0,0,0,'2016-09-30 04:41:05',0,'0000-00-00 00:00:00',0),(33484,17,1,'100000000','Advancement/(Drawing)	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33485,17,1,'120000000','Retained Profit/(Loss) B/F ','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33486,17,1,'130000000','Current Retained Profit/(Loss)  ','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33487,17,2,'200000000','Fixed Asset	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33488,17,2,'200000100','Furniture & Fixtures	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33489,17,2,'200000200','Office Equipment	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33490,17,2,'200000300','Computer & Software	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33491,17,2,'200000400','Motor Vehicle	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33492,17,2,'200000500','Machinery & Engine	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33493,17,2,'200000600','Renovation	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33494,17,2,'200000700','Store Equipment	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33495,17,2,'200000800','Asset 8	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33496,17,2,'200000900','Asset 9	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33497,17,2,'200001000','Other Asset	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33498,17,3,'220000000','Bank & Cash Balance	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33499,17,3,'220000100','Bank1 	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33500,17,3,'220000200','Bank2	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33501,17,3,'220000300','Bank3	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33502,17,3,'220000400','Petty Cash 1	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33503,17,3,'220000500','Petty Cash 2	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33504,17,4,'370000000','Borrowing	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33505,17,4,'370000100','Loan 1	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33506,17,4,'370000200','Loan 2	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33507,17,4,'370000300','Loan 3	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33508,17,4,'370000400','Loan 4	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33509,17,4,'370000500','Loan 5	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33510,17,7,'400000000','Sales	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33511,17,8,'500000000','Cost of Goods Sold	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33512,17,35,'700000000','Others Income 	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33513,17,10,'810000100','Accounting & Legal	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33514,17,10,'810000200','Advertising & Marketing	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33515,17,10,'810000300','Commissions	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33516,17,10,'810000400','Depreciation Expense	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33517,17,10,'810000500','Electricity & water	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33518,17,10,'810000600','GST- Non Claimable	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33519,17,10,'810000700','Insurance Premium	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33520,17,10,'810000800','Late Payment Charges	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33521,17,10,'810000900','Medical fee	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33522,17,10,'810001000','Miscellaneous Expenses	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33523,17,10,'810001100','Motor Vehicle Repair & maintenance	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33524,17,10,'810001200','Office expenses	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33525,17,10,'810001300','Petrol,Parking & Toll	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33526,17,10,'810001400','Postage & Courier	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33527,17,10,'810001500','Quit Rent & Assessment	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33528,17,10,'810001600','Registration Fee	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33529,17,10,'810001700','Rental of Equipment	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33530,17,10,'810001800','Rental of office	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33531,17,10,'810001900','Rental of store	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33532,17,10,'810002000','Seminar & Training	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33533,17,10,'810002100','Store expenses	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33534,17,10,'810002200','Telephone	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33535,17,10,'810002300','Travel, Meals & Entertainment	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33536,17,10,'810002400','Salary & wages	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33537,17,10,'810002500','EPF & Socso	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33538,17,10,'850010000','Bank Charges	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33539,17,10,'850020000','Interest on loan	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33540,17,10,'860000000','Income Tax Expense	','',0,0,0,'2016-09-30 05:01:29',0,'0000-00-00 00:00:00',0),(33598,20,1,'100000000','Advancement/(Drawing)	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33599,20,1,'120000000','Retained Profit/(Loss) B/F ','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33600,20,1,'130000000','Current Retained Profit/(Loss)  ','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33601,20,2,'200000000','Fixed Asset	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33602,20,2,'200000100','Furniture & Fixtures	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33603,20,2,'200000200','Office Equipment	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33604,20,2,'200000300','Computer & Software	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33605,20,2,'200000400','Motor Vehicle	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33606,20,2,'200000500','Machinery & Engine	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33607,20,2,'200000600','Renovation	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33608,20,2,'200000700','Store Equipment	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33609,20,2,'200000800','Asset 8	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33610,20,2,'200000900','Asset 9	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33611,20,2,'200001000','Other Asset	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33612,20,3,'220000000','Bank & Cash Balance	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33613,20,3,'220000100','Bank1 	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33614,20,3,'220000200','Bank2	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33615,20,3,'220000300','Bank3	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33616,20,3,'220000400','Petty Cash 1	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33617,20,3,'220000500','Petty Cash 2	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33618,20,4,'370000000','Borrowing	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33619,20,4,'370000100','Loan 1	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33620,20,4,'370000200','Loan 2	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33621,20,4,'370000300','Loan 3	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33622,20,4,'370000400','Loan 4	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33623,20,4,'370000500','Loan 5	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33624,20,7,'400000000','Sales	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33625,20,8,'500000000','Cost of Goods Sold	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33626,20,35,'700000000','Others Income 	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33627,20,10,'810000100','Accounting & Legal	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33628,20,10,'810000200','Advertising & Marketing	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33629,20,10,'810000300','Commissions	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33630,20,10,'810000400','Depreciation Expense	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33631,20,10,'810000500','Electricity & water	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33632,20,10,'810000600','GST- Non Claimable	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33633,20,10,'810000700','Insurance Premium	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33634,20,10,'810000800','Late Payment Charges	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33635,20,10,'810000900','Medical fee	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33636,20,10,'810001000','Miscellaneous Expenses	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33637,20,10,'810001100','Motor Vehicle Repair & maintenance	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33638,20,10,'810001200','Office expenses	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33639,20,10,'810001300','Petrol,Parking & Toll	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33640,20,10,'810001400','Postage & Courier	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33641,20,10,'810001500','Quit Rent & Assessment	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33642,20,10,'810001600','Registration Fee	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33643,20,10,'810001700','Rental of Equipment	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33644,20,10,'810001800','Rental of office	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33645,20,10,'810001900','Rental of store	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33646,20,10,'810002000','Seminar & Training	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33647,20,10,'810002100','Store expenses	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33648,20,10,'810002200','Telephone	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33649,20,10,'810002300','Travel, Meals & Entertainment	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33650,20,10,'810002400','Salary & wages	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33651,20,10,'810002500','EPF & Socso	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33652,20,10,'850010000','Bank Charges	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33653,20,10,'850020000','Interest on loan	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33654,20,10,'860000000','Income Tax Expense	','',0,0,0,'2016-10-10 06:39:40',0,'0000-00-00 00:00:00',0),(33655,21,1,'100000000','Advancement/(Drawing)	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33656,21,1,'120000000','Retained Profit/(Loss) B/F ','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33657,21,1,'130000000','Current Retained Profit/(Loss)  ','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33658,21,2,'200000000','Fixed Asset	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33659,21,2,'200000100','Furniture & Fixtures	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33660,21,2,'200000200','Office Equipment	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33661,21,2,'200000300','Computer & Software	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33662,21,2,'200000400','Motor Vehicle	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33663,21,2,'200000500','Machinery & Engine	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33664,21,2,'200000600','Renovation	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33665,21,2,'200000700','Store Equipment	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33666,21,2,'200000800','Asset 8	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33667,21,2,'200000900','Asset 9	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33668,21,2,'200001000','Other Asset	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33669,21,3,'220000000','Bank & Cash Balance	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33670,21,3,'220000100','Bank1 	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33671,21,3,'220000200','Bank2	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33672,21,3,'220000300','Bank3	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33673,21,3,'220000400','Petty Cash 1	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33674,21,3,'220000500','Petty Cash 2	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33675,21,4,'370000000','Borrowing	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33676,21,4,'370000100','Loan 1	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33677,21,4,'370000200','Loan 2	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33678,21,4,'370000300','Loan 3	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33679,21,4,'370000400','Loan 4	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33680,21,4,'370000500','Loan 5	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33681,21,7,'400000000','Sales	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33682,21,8,'500000000','Cost of Goods Sold	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33683,21,35,'700000000','Others Income 	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33684,21,10,'810000100','Accounting & Legal	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33685,21,10,'810000200','Advertising & Marketing	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33686,21,10,'810000300','Commissions	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33687,21,10,'810000400','Depreciation Expense	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33688,21,10,'810000500','Electricity & water	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33689,21,10,'810000600','GST- Non Claimable	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33690,21,10,'810000700','Insurance Premium	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33691,21,10,'810000800','Late Payment Charges	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33692,21,10,'810000900','Medical fee	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33693,21,10,'810001000','Miscellaneous Expenses	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33694,21,10,'810001100','Motor Vehicle Repair & maintenance	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33695,21,10,'810001200','Office expenses	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33696,21,10,'810001300','Petrol,Parking & Toll	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33697,21,10,'810001400','Postage & Courier	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33698,21,10,'810001500','Quit Rent & Assessment	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33699,21,10,'810001600','Registration Fee	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33700,21,10,'810001700','Rental of Equipment	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33701,21,10,'810001800','Rental of office	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33702,21,10,'810001900','Rental of store	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33703,21,10,'810002000','Seminar & Training	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33704,21,10,'810002100','Store expenses	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33705,21,10,'810002200','Telephone	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33706,21,10,'810002300','Travel, Meals & Entertainment	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33707,21,10,'810002400','Salary & wages	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33708,21,10,'810002500','EPF & Socso	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33709,21,10,'850010000','Bank Charges	','',0,0,0,'2016-10-10 08:06:24',0,'0000-00-00 00:00:00',0),(33710,21,10,'850020000','Interest on loan	','',0,0,0,'2016-10-10 08:06:25',0,'0000-00-00 00:00:00',0),(33711,21,10,'860000000','Income Tax Expense	','',0,0,0,'2016-10-10 08:06:25',0,'0000-00-00 00:00:00',0),(33712,22,1,'100000000','Advancement/(Drawing)	','',0,0,0,'2016-11-10 09:54:10',0,'0000-00-00 00:00:00',0),(33713,22,1,'120000000','Retained Profit/(Loss) B/F ','',0,0,0,'2016-11-10 09:54:10',0,'0000-00-00 00:00:00',0),(33714,22,1,'130000000','Current Retained Profit/(Loss)  ','',0,0,0,'2016-11-10 09:54:10',0,'0000-00-00 00:00:00',0),(33715,22,2,'200000000','Fixed Asset	','',0,0,0,'2016-11-10 09:54:10',0,'0000-00-00 00:00:00',0),(33716,22,2,'200000100','Furniture & Fixtures	','',0,0,0,'2016-11-10 09:54:10',0,'0000-00-00 00:00:00',0),(33717,22,2,'200000200','Office Equipment	','',0,0,0,'2016-11-10 09:54:10',0,'0000-00-00 00:00:00',0),(33718,22,2,'200000300','Computer & Software	','',0,0,0,'2016-11-10 09:54:10',0,'0000-00-00 00:00:00',0),(33719,22,2,'200000400','Motor Vehicle	','',0,0,0,'2016-11-10 09:54:10',0,'0000-00-00 00:00:00',0),(33720,22,2,'200000500','Machinery & Engine	','',0,0,0,'2016-11-10 09:54:10',0,'0000-00-00 00:00:00',0),(33721,22,2,'200000600','Renovation	','',0,0,0,'2016-11-10 09:54:10',0,'0000-00-00 00:00:00',0),(33722,22,2,'200000700','Store Equipment	','',0,0,0,'2016-11-10 09:54:10',0,'0000-00-00 00:00:00',0),(33723,22,2,'200000800','Asset 8	','',0,0,0,'2016-11-10 09:54:10',0,'0000-00-00 00:00:00',0),(33724,22,2,'200000900','Asset 9	','',0,0,0,'2016-11-10 09:54:10',0,'0000-00-00 00:00:00',0),(33725,22,2,'200001000','Other Asset	','',0,0,0,'2016-11-10 09:54:10',0,'0000-00-00 00:00:00',0),(33726,22,3,'220000000','Bank & Cash Balance	','',0,0,0,'2016-11-10 09:54:10',0,'0000-00-00 00:00:00',0),(33727,22,3,'220000100','MAYBANK ISLAMIC BERHAD','',300000,0,0,'2016-11-09 16:00:00',0,'2016-11-10 10:12:58',0),(33728,22,3,'220000200','CIMB ISLAMIC BERHAD','',400000,0,0,'2016-11-09 16:00:00',0,'2016-11-10 10:13:34',0),(33729,22,3,'220000300','Bank3	','',0,0,0,'2016-11-10 09:54:10',0,'0000-00-00 00:00:00',0),(33730,22,3,'220000400','Petty Cash 1	','',0,0,0,'2016-11-10 09:54:10',0,'0000-00-00 00:00:00',0),(33731,22,3,'220000500','Petty Cash 2	','',0,0,0,'2016-11-10 09:54:10',0,'0000-00-00 00:00:00',0),(33732,22,4,'370000000','Borrowing	','',0,0,0,'2016-11-10 09:54:10',0,'0000-00-00 00:00:00',0),(33733,22,4,'370000100','Loan 1	','',0,0,0,'2016-11-10 09:54:10',0,'0000-00-00 00:00:00',0),(33734,22,4,'370000200','Loan 2	','',0,0,0,'2016-11-10 09:54:10',0,'0000-00-00 00:00:00',0),(33735,22,4,'370000300','Loan 3	','',0,0,0,'2016-11-10 09:54:10',0,'0000-00-00 00:00:00',0),(33736,22,4,'370000400','Loan 4	','',0,0,0,'2016-11-10 09:54:10',0,'0000-00-00 00:00:00',0),(33737,22,4,'370000500','Loan 5	','',0,0,0,'2016-11-10 09:54:10',0,'0000-00-00 00:00:00',0),(33738,22,7,'400000000','Sales	','',0,0,0,'2016-11-10 09:54:10',0,'0000-00-00 00:00:00',0),(33739,22,8,'500000000','Cost of Goods Sold	','',0,0,0,'2016-11-10 09:54:10',0,'0000-00-00 00:00:00',0),(33740,22,35,'700000000','Others Income 	','',0,0,0,'2016-11-10 09:54:10',0,'0000-00-00 00:00:00',0),(33741,22,10,'810000100','Accounting & Legal	','',0,0,0,'2016-11-10 09:54:10',0,'0000-00-00 00:00:00',0),(33742,22,10,'810000200','Advertising & Marketing	','',0,0,0,'2016-11-10 09:54:10',0,'0000-00-00 00:00:00',0),(33743,22,10,'810000300','Commissions	','',0,0,0,'2016-11-10 09:54:11',0,'0000-00-00 00:00:00',0),(33744,22,10,'810000400','Depreciation Expense	','',0,0,0,'2016-11-10 09:54:11',0,'0000-00-00 00:00:00',0),(33745,22,10,'810000500','Electricity & water	','',0,0,0,'2016-11-10 09:54:11',0,'0000-00-00 00:00:00',0),(33746,22,10,'810000600','GST- Non Claimable	','',0,0,0,'2016-11-10 09:54:11',0,'0000-00-00 00:00:00',0),(33747,22,10,'810000700','Insurance Premium	','',0,0,0,'2016-11-10 09:54:11',0,'0000-00-00 00:00:00',0),(33748,22,10,'810000800','Late Payment Charges	','',0,0,0,'2016-11-10 09:54:11',0,'0000-00-00 00:00:00',0),(33749,22,10,'810000900','Medical fee	','',0,0,0,'2016-11-10 09:54:11',0,'0000-00-00 00:00:00',0),(33750,22,10,'810001000','Miscellaneous Expenses	','',0,0,0,'2016-11-10 09:54:11',0,'0000-00-00 00:00:00',0),(33751,22,10,'810001100','Motor Vehicle Repair & maintenance	','',0,0,0,'2016-11-10 09:54:11',0,'0000-00-00 00:00:00',0),(33752,22,10,'810001200','Office expenses	','',0,0,0,'2016-11-10 09:54:11',0,'0000-00-00 00:00:00',0),(33753,22,10,'810001300','Petrol,Parking & Toll	','',0,0,0,'2016-11-10 09:54:11',0,'0000-00-00 00:00:00',0),(33754,22,10,'810001400','Postage & Courier	','',0,0,0,'2016-11-10 09:54:11',0,'0000-00-00 00:00:00',0),(33755,22,10,'810001500','Quit Rent & Assessment	','',0,0,0,'2016-11-10 09:54:11',0,'0000-00-00 00:00:00',0),(33756,22,10,'810001600','Registration Fee	','',0,0,0,'2016-11-10 09:54:11',0,'0000-00-00 00:00:00',0),(33757,22,10,'810001700','Rental of Equipment	','',0,0,0,'2016-11-10 09:54:11',0,'0000-00-00 00:00:00',0),(33758,22,10,'810001800','Rental of office	','',0,0,0,'2016-11-10 09:54:11',0,'0000-00-00 00:00:00',0),(33759,22,10,'810001900','Rental of store	','',0,0,0,'2016-11-10 09:54:11',0,'0000-00-00 00:00:00',0),(33760,22,10,'810002000','Seminar & Training	','',0,0,0,'2016-11-10 09:54:11',0,'0000-00-00 00:00:00',0),(33761,22,10,'810002100','Store expenses	','',0,0,0,'2016-11-10 09:54:11',0,'0000-00-00 00:00:00',0),(33762,22,10,'810002200','Telephone	','',0,0,0,'2016-11-10 09:54:11',0,'0000-00-00 00:00:00',0),(33763,22,10,'810002300','Travel, Meals & Entertainment	','',0,0,0,'2016-11-10 09:54:11',0,'0000-00-00 00:00:00',0),(33764,22,10,'810002400','Salary & wages	','',0,0,0,'2016-11-10 09:54:11',0,'0000-00-00 00:00:00',0),(33765,22,10,'810002500','EPF & Socso	','',0,0,0,'2016-11-10 09:54:11',0,'0000-00-00 00:00:00',0),(33766,22,10,'850010000','Bank Charges	','',0,0,0,'2016-11-10 09:54:11',0,'0000-00-00 00:00:00',0),(33767,22,10,'850020000','Interest on loan	','',0,0,0,'2016-11-10 09:54:11',0,'0000-00-00 00:00:00',0),(33768,22,10,'860000000','Income Tax Expense	','',0,0,0,'2016-11-10 09:54:11',0,'0000-00-00 00:00:00',0);
/*!40000 ALTER TABLE `comp_chart_of_acct` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_chart_of_acct_bak`
--

DROP TABLE IF EXISTS `comp_chart_of_acct_bak`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_chart_of_acct_bak` (
  `ID` int(11) NOT NULL DEFAULT '0',
  `companyID` int(11) NOT NULL,
  `acctGroupID` int(11) NOT NULL,
  `acctCode` char(9) NOT NULL,
  `acctName` varchar(128) NOT NULL,
  `acctDesc` varchar(128) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(6) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_chart_of_acct_bak`
--

LOCK TABLES `comp_chart_of_acct_bak` WRITE;
/*!40000 ALTER TABLE `comp_chart_of_acct_bak` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_chart_of_acct_bak` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_contact`
--

DROP TABLE IF EXISTS `comp_contact`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_contact` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `company_contact_name` varchar(128) NOT NULL,
  `position` varchar(32) NOT NULL,
  `telOffice` varchar(32) NOT NULL,
  `telHp` varchar(32) NOT NULL,
  `email` varchar(64) NOT NULL,
  `remaks` text NOT NULL,
  `createdID` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_contact`
--

LOCK TABLES `comp_contact` WRITE;
/*!40000 ALTER TABLE `comp_contact` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_contact` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_control_acct_setup`
--

DROP TABLE IF EXISTS `comp_control_acct_setup`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_control_acct_setup` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `refID` int(11) NOT NULL,
  `groupDisplay` int(11) NOT NULL,
  `companyID` int(11) NOT NULL,
  `accountCode` varchar(64) NOT NULL,
  `updateable` smallint(6) NOT NULL DEFAULT '1',
  `accountID` int(11) NOT NULL DEFAULT '0',
  `orderNo` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(16) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_control_acct_setup`
--

LOCK TABLES `comp_control_acct_setup` WRITE;
/*!40000 ALTER TABLE `comp_control_acct_setup` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_control_acct_setup` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_currency_conv`
--

DROP TABLE IF EXISTS `comp_currency_conv`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_currency_conv` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) DEFAULT NULL,
  `currencyFrom` int(11) DEFAULT NULL,
  `currencyTo` int(11) DEFAULT NULL,
  `startDate` date DEFAULT NULL,
  `endDate` date DEFAULT NULL,
  `rateConv` double DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` smallint(6) DEFAULT NULL,
  PRIMARY KEY (`ID`),
  KEY `Index 2` (`companyID`,`currencyFrom`,`startDate`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_currency_conv`
--

LOCK TABLES `comp_currency_conv` WRITE;
/*!40000 ALTER TABLE `comp_currency_conv` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_currency_conv` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_delivery_detail`
--

DROP TABLE IF EXISTS `comp_delivery_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_delivery_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `deliveryID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `orderID` int(11) NOT NULL,
  `invoiceID` int(11) NOT NULL DEFAULT '0',
  `soDetailsLine` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `unitPrice` double NOT NULL,
  `quantityOrdered` int(11) NOT NULL,
  `requiredDate` date NOT NULL,
  `totalQuantitySent` int(11) NOT NULL,
  `quantitySent` int(11) NOT NULL,
  `amount` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `standUM` int(11) NOT NULL,
  `salesID` int(11) NOT NULL,
  `umID` int(11) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_delivery_detail`
--

LOCK TABLES `comp_delivery_detail` WRITE;
/*!40000 ALTER TABLE `comp_delivery_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_delivery_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_delivery_order`
--

DROP TABLE IF EXISTS `comp_delivery_order`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_delivery_order` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `deliveryCode` varchar(32) NOT NULL,
  `salesOrderID` int(11) NOT NULL,
  `customerID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `deliveryOrderDate` date NOT NULL,
  `locationID` int(11) NOT NULL,
  `deliverToID` text NOT NULL,
  `toAddress` varchar(200) NOT NULL,
  `currencyID` int(11) NOT NULL,
  `employeeID` int(11) NOT NULL,
  `memo` text NOT NULL,
  `shippingMethodID` int(11) NOT NULL,
  `totalAmount` double NOT NULL,
  `exchangeRate` double NOT NULL,
  `totalReceivable` double NOT NULL,
  `updateAble` int(11) NOT NULL DEFAULT '1',
  `isDelete` int(11) NOT NULL DEFAULT '0',
  `journalNo` varchar(32) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_delivery_order`
--

LOCK TABLES `comp_delivery_order` WRITE;
/*!40000 ALTER TABLE `comp_delivery_order` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_delivery_order` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `trigger_before_insert_donn1_add_serialNo` BEFORE INSERT ON `comp_delivery_order`
 FOR EACH ROW set new.serialNo = (select nextSerialNo 

			   from view_serial_comp_delivery_order 

			   where companyID = new.companyID) */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_department`
--

DROP TABLE IF EXISTS `comp_department`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_department` (
  `fldid` int(11) NOT NULL DEFAULT '0',
  `code` varchar(18) CHARACTER SET utf8 DEFAULT NULL,
  `description` varchar(100) CHARACTER SET utf8 DEFAULT NULL,
  `dept_head` varchar(50) CHARACTER SET utf8 DEFAULT NULL,
  PRIMARY KEY (`fldid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_department`
--

LOCK TABLES `comp_department` WRITE;
/*!40000 ALTER TABLE `comp_department` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_department` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_employee`
--

DROP TABLE IF EXISTS `comp_employee`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_employee` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `employeeCode` varchar(16) NOT NULL,
  `employeeName` varchar(64) NOT NULL,
  `employeePosition` varchar(32) NOT NULL,
  `line1` varchar(64) NOT NULL,
  `line2` varchar(64) NOT NULL,
  `line3` varchar(64) NOT NULL,
  `postCode` varchar(8) NOT NULL,
  `city` varchar(32) NOT NULL,
  `stateID` int(11) NOT NULL,
  `countryID` int(11) NOT NULL,
  `phoneNo` varchar(32) NOT NULL,
  `email` varchar(128) NOT NULL,
  `dateOfJoin` date NOT NULL,
  `gender` smallint(6) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `is_delete` smallint(6) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_employee`
--

LOCK TABLES `comp_employee` WRITE;
/*!40000 ALTER TABLE `comp_employee` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_employee` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_financial_year`
--

DROP TABLE IF EXISTS `comp_financial_year`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_financial_year` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `financialYear` int(4) NOT NULL,
  `startDate` date NOT NULL,
  `endDate` date NOT NULL,
  `period` smallint(2) NOT NULL,
  `status` smallint(1) NOT NULL COMMENT '0=Open, 1=close',
  `yearEnd` smallint(1) NOT NULL DEFAULT '1',
  `updateAble` tinyint(1) DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(6) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_financial_year`
--

LOCK TABLES `comp_financial_year` WRITE;
/*!40000 ALTER TABLE `comp_financial_year` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_financial_year` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_form_control`
--

DROP TABLE IF EXISTS `comp_form_control`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_form_control` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `formID` int(11) NOT NULL,
  `formCode` varchar(8) NOT NULL,
  `formYear` tinyint(1) NOT NULL,
  `formMonth` tinyint(1) NOT NULL,
  `formDay` tinyint(1) NOT NULL,
  `formInitial` varchar(16) NOT NULL,
  `formInitialNo` int(11) NOT NULL DEFAULT '1',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `orderNo` int(11) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_form_control`
--

LOCK TABLES `comp_form_control` WRITE;
/*!40000 ALTER TABLE `comp_form_control` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_form_control` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_gl`
--

DROP TABLE IF EXISTS `comp_gl`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_gl` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) DEFAULT '0',
  `acctCode` char(9) DEFAULT '0',
  `acctGroupID` int(11) DEFAULT '0',
  `description` varchar(128) DEFAULT '0',
  `amount_cr` double DEFAULT '0',
  `amount_dr` double DEFAULT '0',
  `period` smallint(2) DEFAULT '0',
  `year` year(4) DEFAULT NULL,
  `createdID` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_gl`
--

LOCK TABLES `comp_gl` WRITE;
/*!40000 ALTER TABLE `comp_gl` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_gl` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_gst_field_mapping`
--

DROP TABLE IF EXISTS `comp_gst_field_mapping`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_gst_field_mapping` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `item` varchar(255) NOT NULL,
  `description` text NOT NULL,
  `taxCode` varchar(255) NOT NULL,
  `changeable` tinyint(1) NOT NULL DEFAULT '1',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_gst_field_mapping`
--

LOCK TABLES `comp_gst_field_mapping` WRITE;
/*!40000 ALTER TABLE `comp_gst_field_mapping` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_gst_field_mapping` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_gst_preference`
--

DROP TABLE IF EXISTS `comp_gst_preference`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_gst_preference` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `GSTTaxablePeriod` int(11) NOT NULL,
  `badDebtReliefMinMonth` int(11) NOT NULL,
  `MaxInputTaxClaim` int(11) NOT NULL,
  `DaysLimits` int(11) NOT NULL,
  `Totalexemptsuppliesnotexceed` int(11) NOT NULL,
  `TotalexemptsuppliesnotexceedPercentage` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_gst_preference`
--

LOCK TABLES `comp_gst_preference` WRITE;
/*!40000 ALTER TABLE `comp_gst_preference` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_gst_preference` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_gst_report`
--

DROP TABLE IF EXISTS `comp_gst_report`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_gst_report` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) DEFAULT NULL,
  `ammendment` int(2) DEFAULT '0',
  `A1` varchar(12) NOT NULL DEFAULT '0',
  `A2` varchar(64) NOT NULL DEFAULT '0',
  `B3a` date DEFAULT NULL,
  `B3b` date DEFAULT NULL,
  `B4` date DEFAULT NULL,
  `B5a` double DEFAULT NULL,
  `B5b` double DEFAULT NULL,
  `B6a` double DEFAULT NULL,
  `B6b` double DEFAULT NULL,
  `B7` double DEFAULT NULL,
  `B8` double DEFAULT NULL,
  `B9` double DEFAULT NULL,
  `C10` double DEFAULT NULL,
  `C11` double DEFAULT NULL,
  `C12` double DEFAULT NULL,
  `C13` double DEFAULT NULL,
  `C14` double DEFAULT NULL,
  `C15` double DEFAULT NULL,
  `C16` double DEFAULT NULL,
  `C17` double DEFAULT NULL,
  `C18` double DEFAULT NULL,
  `C19a1` varchar(32) DEFAULT NULL,
  `C19a2` double DEFAULT NULL,
  `C19b1` varchar(32) DEFAULT NULL,
  `C19b2` double DEFAULT NULL,
  `C19c1` varchar(32) DEFAULT NULL,
  `C19c2` double DEFAULT NULL,
  `C19d1` varchar(32) DEFAULT NULL,
  `C19d2` double DEFAULT NULL,
  `C19e1` varchar(32) DEFAULT NULL,
  `C19e2` double DEFAULT NULL,
  `C19f` double DEFAULT NULL,
  `C19g` double DEFAULT NULL,
  `D20` varchar(128) DEFAULT NULL,
  `D21a` varchar(16) DEFAULT NULL,
  `D21b` varchar(16) DEFAULT NULL,
  `D22` varchar(32) DEFAULT NULL,
  `D23` varchar(128) DEFAULT NULL,
  `D24` date DEFAULT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updateAble` tinyint(4) NOT NULL DEFAULT '1',
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_gst_report`
--

LOCK TABLES `comp_gst_report` WRITE;
/*!40000 ALTER TABLE `comp_gst_report` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_gst_report` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_gst_transaction`
--

DROP TABLE IF EXISTS `comp_gst_transaction`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_gst_transaction` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL,
  `companyID` int(11) NOT NULL,
  `formNo` varchar(255) NOT NULL,
  `vendor_cust_name` varchar(255) NOT NULL,
  `type` varchar(255) NOT NULL,
  `gst_number` varchar(255) NOT NULL,
  `Description` text NOT NULL,
  `date` date NOT NULL,
  `reference` varchar(255) NOT NULL,
  `based_amount` double NOT NULL,
  `updateAble` tinyint(1) NOT NULL DEFAULT '1',
  `journalNo` varchar(255) NOT NULL,
  `reverse` tinyint(1) NOT NULL DEFAULT '0',
  `isDelete` int(11) NOT NULL DEFAULT '0',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_gst_transaction`
--

LOCK TABLES `comp_gst_transaction` WRITE;
/*!40000 ALTER TABLE `comp_gst_transaction` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_gst_transaction` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_gst_transaction_detail`
--

DROP TABLE IF EXISTS `comp_gst_transaction_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_gst_transaction_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `gstTransID` int(11) NOT NULL,
  `accountID` int(11) NOT NULL,
  `description` varchar(255) NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmountDr` double NOT NULL DEFAULT '0',
  `taxAmountCr` double NOT NULL DEFAULT '0',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_gst_transaction_detail`
--

LOCK TABLES `comp_gst_transaction_detail` WRITE;
/*!40000 ALTER TABLE `comp_gst_transaction_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_gst_transaction_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_historical_customer_invoice`
--

DROP TABLE IF EXISTS `comp_historical_customer_invoice`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_historical_customer_invoice` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `customerID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `salesInvoiceDate` date NOT NULL,
  `customerPoNo` varchar(32) NOT NULL,
  `taxID` int(11) NOT NULL,
  `currencyID` int(11) NOT NULL,
  `exchangeRate` double NOT NULL,
  `amount` double NOT NULL,
  `totalTaxAmount` double NOT NULL,
  `totalReceivable` double NOT NULL,
  `totalAmount` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(6) NOT NULL,
  `updateAble` smallint(6) NOT NULL DEFAULT '1',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_historical_customer_invoice`
--

LOCK TABLES `comp_historical_customer_invoice` WRITE;
/*!40000 ALTER TABLE `comp_historical_customer_invoice` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_historical_customer_invoice` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `trigger_before_insert_historicalcusinv_add_serialNo` BEFORE INSERT ON `comp_historical_customer_invoice`
 FOR EACH ROW set new.serialNo = (select nextSerialNo from view_serial_comp_historical_customer_invoice where companyID = new.companyID) */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_historical_supplier_invoice`
--

DROP TABLE IF EXISTS `comp_historical_supplier_invoice`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_historical_supplier_invoice` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `supplierID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `invoiceDate` date NOT NULL,
  `supplierInvoiceNo` varchar(32) NOT NULL,
  `currencyID` int(11) NOT NULL,
  `exchangeRate` double NOT NULL,
  `totalAmount` double NOT NULL,
  `amountPaid` double NOT NULL,
  `totalTaxAmount` double NOT NULL,
  `totalPayable` double NOT NULL,
  `total` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(16) NOT NULL,
  `updateAble` tinyint(1) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_historical_supplier_invoice`
--

LOCK TABLES `comp_historical_supplier_invoice` WRITE;
/*!40000 ALTER TABLE `comp_historical_supplier_invoice` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_historical_supplier_invoice` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `trigger_before_insert_historicalsupinv_add_serialNo` BEFORE INSERT ON `comp_historical_supplier_invoice`
 FOR EACH ROW set new.serialNo = (select nextSerialNo from view_serial_comp_historical_supplier_invoice where companyID = new.companyID) */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_industry`
--

DROP TABLE IF EXISTS `comp_industry`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_industry` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `industryID` int(11) NOT NULL,
  `businessTypeID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`),
  KEY `companyID` (`companyID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_industry`
--

LOCK TABLES `comp_industry` WRITE;
/*!40000 ALTER TABLE `comp_industry` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_industry` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_item_category`
--

DROP TABLE IF EXISTS `comp_item_category`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_item_category` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `code` varchar(4) NOT NULL,
  `name` varchar(64) NOT NULL,
  `shortName` varchar(8) NOT NULL,
  `description` varchar(128) NOT NULL,
  `orderNo` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updateBy` int(11) NOT NULL,
  `updateTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(6) NOT NULL,
  PRIMARY KEY (`ID`),
  KEY `companyID` (`companyID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_item_category`
--

LOCK TABLES `comp_item_category` WRITE;
/*!40000 ALTER TABLE `comp_item_category` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_item_category` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_jl_seq`
--

DROP TABLE IF EXISTS `comp_jl_seq`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_jl_seq` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `compID` int(11) DEFAULT NULL,
  `moduleID` int(11) DEFAULT NULL,
  `initial` varchar(2) CHARACTER SET utf8 DEFAULT NULL,
  `year` year(4) NOT NULL,
  `period` int(2) NOT NULL,
  `seqNo` int(11) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=311 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_jl_seq`
--

LOCK TABLES `comp_jl_seq` WRITE;
/*!40000 ALTER TABLE `comp_jl_seq` DISABLE KEYS */;
INSERT INTO `comp_jl_seq` VALUES (237,1,3,'AP',2015,11,305),(238,1,2,'AR',2015,11,67),(239,1,3,'AP',2015,2,35),(240,1,3,'AP',2010,1,1),(241,1,3,'AP',2009,1,6),(242,1,3,'AP',2015,1,44),(243,1,3,'AP',2013,1,2),(244,1,3,'AP',2014,10,2),(245,1,3,'AP',2015,6,25),(246,1,3,'AP',2015,10,23),(247,1,3,'AP',2015,12,206),(248,1,2,'AR',2015,12,19),(249,1,3,'AP',2015,4,25),(250,1,2,'AR',2015,1,23),(251,1,2,'AR',2015,2,10),(252,1,3,'AP',1970,1,5),(253,1,2,'AR',2015,3,8),(254,1,2,'AR',2015,4,8),(255,1,2,'AR',2015,5,11),(256,1,2,'AR',2015,6,8),(257,1,2,'AR',2015,7,8),(258,1,2,'AR',2015,8,11),(259,1,2,'AR',2015,9,8),(260,1,2,'AR',2015,10,8),(261,1,3,'AP',2015,3,18),(262,1,3,'AP',2015,5,19),(263,1,3,'AP',2015,7,19),(264,1,3,'AP',2015,8,26),(265,1,3,'AP',2015,9,20),(266,1,3,'AP',2016,2,5),(267,4,3,'AP',2015,12,5),(268,1,2,'AR',2016,1,1),(269,1,3,'AP',2016,4,24),(270,1,2,'AR',2016,4,10),(271,1,2,'AR',2016,5,1),(272,1,3,'AP',2016,5,1),(273,1,3,'AP',2016,6,21),(274,1,2,'AR',2016,6,5),(275,13,3,'AP',2016,6,82),(276,13,2,'AR',2016,6,16),(277,12,2,'AR',2016,6,4),(278,12,2,'AR',2016,5,1),(279,12,3,'AP',2016,6,3),(280,13,3,'AP',2017,7,2),(281,13,3,'AP',2015,6,1),(282,13,3,'AP',2016,8,1),(283,13,3,'AP',2017,6,1),(284,2,2,'AR',2016,6,1),(285,5,2,'AR',2016,7,5),(286,5,3,'AP',2016,7,3),(287,5,3,'AP',2016,6,1),(288,7,2,'AR',2016,7,4),(289,7,3,'AP',2016,7,6),(290,8,3,'AP',2016,7,17),(291,9,2,'AR',2016,1,3),(292,9,3,'AP',2016,2,2),(293,2,2,'AR',2016,8,2),(294,2,3,'AP',2016,8,2),(295,9,2,'AR',2016,8,2),(296,9,3,'AP',2016,1,6),(297,9,3,'AP',2016,8,13),(298,9,3,'AP',2016,6,1),(299,9,3,'AP',2016,7,1),(300,12,2,'AR',2016,9,1),(301,12,3,'AP',2016,9,1),(302,11,2,'AR',2016,9,1),(303,9,2,'AR',2016,9,2),(304,16,3,'AP',2016,10,26),(305,16,2,'AR',2016,10,7),(306,20,3,'AP',2016,10,2),(307,21,3,'AP',2016,10,3),(308,21,2,'AR',2016,10,2),(309,22,2,'AR',2016,11,1),(310,22,3,'AP',2016,11,1);
/*!40000 ALTER TABLE `comp_jl_seq` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_journal`
--

DROP TABLE IF EXISTS `comp_journal`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_journal` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) DEFAULT NULL,
  `journalID` varchar(50) DEFAULT NULL,
  `description` varchar(128) DEFAULT NULL,
  `referrence` varchar(128) DEFAULT NULL,
  `batch` varchar(50) DEFAULT NULL,
  `module` int(11) DEFAULT NULL,
  `effective_date` date DEFAULT NULL,
  `entered_date` date DEFAULT NULL,
  `period` smallint(2) DEFAULT NULL,
  `year` year(4) DEFAULT NULL,
  `total_amount_dr` double DEFAULT NULL,
  `total_amount_cr` double DEFAULT NULL,
  `total_amount` double DEFAULT '0',
  `status` tinyint(4) DEFAULT '0' COMMENT 'unposted = 0, posted = 1',
  `remarks` varchar(128) DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `formNo` varchar(100) DEFAULT NULL,
  `is_delete` smallint(16) NOT NULL,
  PRIMARY KEY (`ID`),
  KEY `status` (`status`),
  KEY `journalID` (`journalID`)
) ENGINE=InnoDB AUTO_INCREMENT=117 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_journal`
--

LOCK TABLES `comp_journal` WRITE;
/*!40000 ALTER TABLE `comp_journal` DISABLE KEYS */;
INSERT INTO `comp_journal` VALUES (1,2,'AR20160600000001','Sales [ OR[00000001] ]','',NULL,2,'2016-06-30',NULL,6,2016,250,250,0,1,NULL,4,'2016-06-30 03:51:44','OR[00000001]',0),(8,5,'AR20160700000004','Sales [ OR[00000002] ]','',NULL,2,'2016-07-11',NULL,7,2016,12078,12078,0,1,NULL,7,'2016-07-11 02:30:25','OR[00000002]',0),(10,5,'AR20160700000005','Sales [ OR[00000003] ]','',NULL,2,'2016-07-11',NULL,7,2016,700,700,0,1,NULL,7,'2016-07-11 06:32:30','OR[00000003]',0),(14,7,'AR20160700000004','Sales [ OR[00000001] ]','',NULL,2,'2016-07-26',NULL,7,2016,100,100,0,1,NULL,9,'2016-07-26 01:06:41','OR[00000001]',0),(15,7,'AP160700000001','Cost of Goods Sold [OP-C[00000001]]','',NULL,3,'2016-07-26',NULL,7,2016,50,50,0,1,NULL,9,'2016-07-26 01:07:46','Cost of Goods Sold [OP-C[00000001]]',0),(28,8,'AP20160700000008','Bank Transfer [  [TT[00000002]]] ]','',NULL,3,'2016-07-29',NULL,7,2016,20000,20000,0,1,NULL,10,'2016-07-29 07:14:52',' [TT[00000002]]]',0),(30,8,'AP20160700000010','Loan Repayment [OP-L[00000003]]','',NULL,3,'2016-07-29',NULL,7,2016,10000,10000,0,1,NULL,10,'2016-07-29 07:22:23','Loan Repayment [OP-L[00000003]]',0),(40,9,'AR20160100000003','Sales [ OR[00000001] ]','',NULL,2,'2016-01-04',NULL,1,2016,200,200,0,1,NULL,11,'2016-08-03 02:57:41','OR[00000001]',0),(43,2,'AP160800000001','Cost of Goods Sold [OP-C[00000001]]','',NULL,3,'2016-08-03',NULL,8,2016,96.8,96.8,0,1,NULL,4,'2016-08-03 07:31:31','Cost of Goods Sold [OP-C[00000001]]',0),(44,2,'AP20160800000002','Operating Expenses [OP-E[00000002]]','',NULL,3,'2016-08-03',NULL,8,2016,63,63,0,1,NULL,4,'2016-08-03 07:32:58','Operating Expenses [OP-E[00000002]]',0),(46,9,'AR20160800000002','Sales [ OR[00000002] ]','',NULL,2,'2016-08-04',NULL,8,2016,200,200,0,1,NULL,11,'2016-08-04 04:08:44','OR[00000002]',0),(47,2,'AR20160800000002','Sales [ OR[00000002] ]','',NULL,2,'2016-08-03',NULL,8,2016,109,109,0,1,NULL,4,'2016-08-04 04:17:49','OR[00000002]',0),(49,9,'AP20160100000002','Cost of Goods Sold [OP-C[00000002]]','',NULL,3,'2016-01-05',NULL,1,2016,50,50,0,1,NULL,11,'2016-08-04 09:24:19','Cost of Goods Sold [OP-C[00000002]]',0),(54,9,'AP20160800000003','Bank Transfer [  [TT[00000005]]] ]','',NULL,3,'2016-08-04',NULL,8,2016,100,100,0,1,NULL,11,'2016-08-04 09:38:21',' [TT[00000005]]]',0),(55,9,'AP20160800000004','Bank Transfer [  [TT[00000006]]] ]','',NULL,3,'2016-08-04',NULL,8,2016,90,90,0,1,NULL,11,'2016-08-04 09:39:20',' [TT[00000006]]]',0),(56,9,'AP20160100000005','Cost of Goods Sold [OP-C[00000003]]','',NULL,3,'2016-01-05',NULL,1,2016,45,45,0,1,NULL,11,'2016-08-04 09:44:16','Cost of Goods Sold [OP-C[00000003]]',0),(58,9,'AP20160800000006','Cost of Goods Sold [OP-C[00000007]]','',NULL,3,'2016-08-04',NULL,8,2016,50,50,0,1,NULL,11,'2016-08-04 09:46:35','Cost of Goods Sold [OP-C[00000007]]',0),(59,9,'AP20160800000007','Operating Expenses [OP-E[00000004]]','',NULL,3,'2016-08-04',NULL,8,2016,150,150,0,1,NULL,11,'2016-08-04 09:52:38','Operating Expenses [OP-E[00000004]]',0),(60,9,'AP20160200000002','Cost of Goods Sold [OP-C[00000001]]','',NULL,3,'2016-02-02',NULL,2,2016,50,50,0,1,NULL,11,'2016-08-04 09:53:25','Cost of Goods Sold [OP-C[00000001]]',0),(62,9,'AP20160800000009','Bank Transfer [  [TT[00000008]]] ]','',NULL,3,'2016-08-04',NULL,8,2016,50,50,0,1,NULL,11,'2016-08-04 09:54:46',' [TT[00000008]]]',0),(63,9,'AP20160800000010','Bank Transfer [  [TT[00000009]]] ]','',NULL,3,'2016-08-04',NULL,8,2016,50,50,0,1,NULL,11,'2016-08-04 10:06:06',' [TT[00000009]]]',0),(64,9,'AP20160800000011','Bank Transfer [  [TT[00000010]]] ]','',NULL,3,'2016-08-05',NULL,8,2016,100,100,0,1,NULL,11,'2016-08-05 02:43:07',' [TT[00000010]]]',0),(65,9,'AP20160100000006','Bank Transfer [  [TT[00000011]]] ]','',NULL,3,'2016-01-01',NULL,1,2016,20,20,0,1,NULL,11,'2016-08-05 02:45:12',' [TT[00000011]]]',0),(66,9,'AP20160600000001','Loan Received [  [LR[00000002]]] ]','',NULL,3,'2016-06-02',NULL,6,2016,2500,2500,0,1,NULL,11,'2016-08-05 03:37:53',' [LR[00000002]]]',0),(67,9,'AP20160700000001','Loan Received [  [LR[00000005]]] ]','',NULL,3,'2016-07-29',NULL,7,2016,100000,100000,0,1,NULL,11,'2016-08-05 03:38:26',' [LR[00000005]]]',0),(68,9,'AP20160800000012','Loan Repayment [OP-L[00000012]]','',NULL,3,'2016-08-05',NULL,8,2016,200,200,0,1,NULL,11,'2016-08-05 03:52:00','Loan Repayment [OP-L[00000012]]',0),(69,9,'AP20160800000013','Bank Transfer [  [TT[00000013]]] ]','',NULL,3,'2016-08-05',NULL,8,2016,10,10,0,1,NULL,11,'2016-08-05 03:53:51',' [TT[00000013]]]',0),(80,16,'AP20161000000006','Cost of Goods Sold [OP-C[00000002]]','',NULL,3,'2016-10-01',NULL,10,2016,2807,2807,0,1,NULL,1,'2016-10-04 03:48:04','Cost of Goods Sold [OP-C[00000002]]',0),(81,16,'AP20161000000007','Purchase of Fixed Asset [OP-A[00000003]]','',NULL,3,'2016-10-04',NULL,10,2016,500,500,0,1,NULL,1,'2016-10-04 03:49:34','Purchase of Fixed Asset [OP-A[00000003]]',0),(82,16,'AR20161000000001','Sales [ OR[00000001] ]','',NULL,2,'2016-10-02',NULL,10,2016,13500,13500,0,1,NULL,1,'2016-10-04 03:51:19','OR[00000001]',0),(83,16,'AP20161000000008','Bank Transfer [  [TT[00000004]]] ]','',NULL,3,'2016-10-07',NULL,10,2016,2000,2000,0,1,NULL,1,'2016-10-04 03:55:25',' [TT[00000004]]]',0),(86,16,'AP20161000000010','Cost of Goods Sold [OP-C[00000005]]','',NULL,3,'2016-10-07',NULL,10,2016,2500,2500,0,1,NULL,1,'2016-10-04 03:58:00','Cost of Goods Sold [OP-C[00000005]]',0),(87,16,'AP20161000000011','Bank Transfer [  [TT[00000006]]] ]','',NULL,3,'2016-10-08',NULL,10,2016,5000,5000,0,1,NULL,1,'2016-10-04 03:59:43',' [TT[00000006]]]',0),(88,16,'AP20161000000012','Cost of Goods Sold [OP-C[00000007]]','',NULL,3,'2016-10-08',NULL,10,2016,3500,3500,0,1,NULL,1,'2016-10-04 04:00:27','Cost of Goods Sold [OP-C[00000007]]',0),(89,16,'AR20161000000003','Sales [ OR[00000003] ]','',NULL,2,'2016-10-09',NULL,10,2016,16200,16200,0,1,NULL,1,'2016-10-04 04:01:31','OR[00000003]',0),(90,16,'AR20161000000004','Sales [ OR[00000002] ]','',NULL,2,'2016-10-08',NULL,10,2016,13500,13500,0,1,NULL,1,'2016-10-04 04:05:48','OR[00000002]',0),(91,16,'AP20161000000013','Bank Transfer [  [TT[00000008]]] ]','',NULL,3,'2016-10-13',NULL,10,2016,10000,10000,0,1,NULL,1,'2016-10-04 04:06:59',' [TT[00000008]]]',0),(93,16,'AP20161000000015','Cost of Goods Sold [OP-C[00000009]]','',NULL,3,'2016-10-13',NULL,10,2016,12000,12000,0,1,NULL,1,'2016-10-04 04:08:13','Cost of Goods Sold [OP-C[00000009]]',0),(94,16,'AP20161000000016','Bank Transfer [  [TT[00000001]]] ]','',NULL,3,'2016-10-01',NULL,10,2016,2500,2500,0,1,NULL,1,'2016-10-04 04:22:43',' [TT[00000001]]]',0),(95,16,'AR20161000000005','Sales [ OR[00000004] ]','',NULL,2,'2016-10-15',NULL,10,2016,32500,32500,0,1,NULL,1,'2016-10-04 04:49:59','OR[00000004]',0),(96,16,'AP20161000000017','Bank Transfer [  [TT[00000010]]] ]','',NULL,3,'2016-10-15',NULL,10,2016,10000,10000,0,1,NULL,1,'2016-10-04 04:52:17',' [TT[00000010]]]',0),(97,16,'AP20161000000018','Cost of Goods Sold [OP-C[00000011]]','',NULL,3,'2016-10-15',NULL,10,2016,7233,7233,0,1,NULL,1,'2016-10-04 04:53:34','Cost of Goods Sold [OP-C[00000011]]',0),(98,16,'AR20161000000006','Sales [ OR[00000005] ]','',NULL,2,'2016-10-16',NULL,10,2016,18900,18900,0,1,NULL,1,'2016-10-04 04:54:19','OR[00000005]',0),(101,16,'AP20161000000021','Operating Expenses [OP-E[00000012]]','',NULL,3,'2016-10-02',NULL,10,2016,85,85,0,1,NULL,1,'2016-10-04 04:59:45','Operating Expenses [OP-E[00000012]]',0),(102,16,'AP20161000000022','Operating Expenses [OP-E[00000013]]','',NULL,3,'2016-10-08',NULL,10,2016,75,75,0,1,NULL,1,'2016-10-04 05:00:34','Operating Expenses [OP-E[00000013]]',0),(103,16,'AP20161000000023','Operating Expenses [OP-E[00000014]]','',NULL,3,'2016-10-09',NULL,10,2016,80,80,0,1,NULL,1,'2016-10-04 05:01:32','Operating Expenses [OP-E[00000014]]',0),(104,16,'AP20161000000024','Operating Expenses [OP-E[00000015]]','',NULL,3,'2016-10-15',NULL,10,2016,90,90,0,1,NULL,1,'2016-10-04 05:02:28','Operating Expenses [OP-E[00000015]]',0),(105,16,'AP20161000000025','Operating Expenses [OP-E[00000016]]','',NULL,3,'2016-10-16',NULL,10,2016,65,65,0,1,NULL,1,'2016-10-04 05:03:16','Operating Expenses [OP-E[00000016]]',0),(106,16,'AP20161000000026','Loan Repayment [OP-L[00000017]]','',NULL,3,'2016-10-04',NULL,10,2016,1200,1200,0,1,NULL,1,'2016-10-04 08:40:02','Loan Repayment [OP-L[00000017]]',0),(107,16,'AR20161000000007','Sales [ OR[00000006] ]','',NULL,2,'2016-10-06',NULL,10,2016,2000,2000,0,1,NULL,1,'2016-10-06 08:15:50','OR[00000006]',0),(108,20,'AP161000000001','Cost of Goods Sold [OP-C[00000001]]','',NULL,3,'2016-10-10',NULL,10,2016,300,300,0,1,NULL,4,'2016-10-10 02:18:00','Cost of Goods Sold [OP-C[00000001]]',0),(109,20,'AP20161000000002','Cost of Goods Sold [OP-C[00000002]]','',NULL,3,'2016-10-10',NULL,10,2016,400,400,0,1,NULL,5,'2016-10-10 06:47:45','Cost of Goods Sold [OP-C[00000002]]',0),(110,21,'AP161000000001','Cost of Goods Sold [OP-C[00000001]]','',NULL,3,'2016-10-10',NULL,10,2016,1050,1050,0,1,NULL,6,'2016-10-10 08:07:57','Cost of Goods Sold [OP-C[00000001]]',0),(111,21,'AR20161000000001','Sales [ OR[00000001] ]','',NULL,2,'2016-10-13',NULL,10,2016,7000,7000,0,1,NULL,6,'2016-10-13 01:32:53','OR[00000001]',0),(112,21,'AP20161000000002','Cost of Goods Sold [OP-C[00000001]]','',NULL,3,'2016-10-13',NULL,10,2016,2050,2050,0,1,NULL,6,'2016-10-13 01:35:37','Cost of Goods Sold [OP-C[00000001]]',0),(113,21,'AP20161000000003','Operating Expenses [OP-E[00000002]]','',NULL,3,'2016-10-13',NULL,10,2016,10900,10900,0,1,NULL,6,'2016-10-13 08:59:48','Operating Expenses [OP-E[00000002]]',0),(114,21,'AR20161000000002','Sales [ OR[00000002] ]','',NULL,2,'2016-10-14',NULL,10,2016,9900,9900,0,1,NULL,6,'2016-10-14 10:03:45','OR[00000002]',0),(115,22,'AR20161100000001','Sales [ OR[00000001] ]','',NULL,2,'2016-11-10',NULL,11,2016,120000,120000,0,1,NULL,7,'2016-11-10 10:03:54','OR[00000001]',0),(116,22,'AP161100000001','Cost of Goods Sold [OP-C[00000001]]','',NULL,3,'2016-11-10',NULL,11,2016,100000,100000,0,1,NULL,7,'2016-11-10 10:06:08','Cost of Goods Sold [OP-C[00000001]]',0);
/*!40000 ALTER TABLE `comp_journal` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_journal_detail`
--

DROP TABLE IF EXISTS `comp_journal_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_journal_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) DEFAULT '0',
  `journalID` varchar(50) DEFAULT '0',
  `sequence` int(11) DEFAULT '0',
  `acctCode` int(11) DEFAULT '0',
  `projectID` int(11) DEFAULT '0',
  `description` varchar(200) DEFAULT '0',
  `amount_cr` double DEFAULT '0',
  `amount_dr` double DEFAULT '0',
  `currencyID` int(11) DEFAULT '0',
  `currency_amount` double DEFAULT '0',
  `exchange_rate` double DEFAULT '0',
  `enter_exchange_rate` double DEFAULT '0',
  `period` smallint(2) DEFAULT '0',
  `year` year(4) DEFAULT NULL,
  `formNo` varchar(50) DEFAULT NULL,
  `supplier` varchar(200) DEFAULT NULL,
  `line` int(11) DEFAULT NULL,
  `status` smallint(2) DEFAULT '0',
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(16) NOT NULL,
  `bankReconcileID` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`),
  KEY `journalID` (`journalID`),
  KEY `comp_acc_det` (`companyID`,`acctCode`,`period`,`year`,`status`,`is_delete`),
  KEY `acctCode` (`acctCode`)
) ENGINE=InnoDB AUTO_INCREMENT=395 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_journal_detail`
--

LOCK TABLES `comp_journal_detail` WRITE;
/*!40000 ALTER TABLE `comp_journal_detail` DISABLE KEYS */;
INSERT INTO `comp_journal_detail` VALUES (1,2,'AR20160600000001',1,32709,0,'ikan kembung',250,0,1,250,1,0,6,2016,'OR[00000001]','',NULL,1,4,'2016-06-30 03:51:44',NULL,'2016-06-30 03:51:44',0,0),(2,2,'AR20160600000001',2,32698,0,'ikan kembung',0,250,1,250,1,0,6,2016,'OR[00000001]','',NULL,1,4,'2016-06-30 03:51:44',NULL,'2016-06-30 03:51:44',0,0),(37,5,'AR20160700000004',1,32955,0,'Flower Fan',299,0,1,299,1,0,7,2016,'OR[00000002]','',NULL,1,7,'2016-07-11 02:30:25',NULL,'2016-07-11 02:30:26',0,0),(38,5,'AR20160700000004',2,32944,0,'Flower Fan',0,299,1,299,1,0,7,2016,'OR[00000002]','',NULL,1,7,'2016-07-11 02:30:26',NULL,'2016-07-11 02:30:26',0,0),(39,5,'AR20160700000004',3,32955,0,' lawn mower',1280,0,1,1280,1,0,7,2016,'OR[00000002]','',NULL,1,7,'2016-07-11 02:30:26',NULL,'2016-07-11 02:30:26',0,0),(40,5,'AR20160700000004',4,32944,0,' lawn mower',0,1280,1,1280,1,0,7,2016,'OR[00000002]','',NULL,1,7,'2016-07-11 02:30:26',NULL,'2016-07-11 02:30:26',0,0),(41,5,'AR20160700000004',5,32955,0,'Flymo  lawn mower',2500,0,1,2500,1,0,7,2016,'OR[00000002]','',NULL,1,7,'2016-07-11 02:30:26',NULL,'2016-07-11 02:30:26',0,0),(42,5,'AR20160700000004',6,32944,0,'Flymo  lawn mower',0,2500,1,2500,1,0,7,2016,'OR[00000002]','',NULL,1,7,'2016-07-11 02:30:26',NULL,'2016-07-11 02:30:26',0,0),(43,5,'AR20160700000004',7,32955,0,'MTD  lawn mower',7999,0,1,7999,1,0,7,2016,'OR[00000002]','',NULL,1,7,'2016-07-11 02:30:26',NULL,'2016-07-11 02:30:26',0,0),(44,5,'AR20160700000004',8,32944,0,'MTD  lawn mower',0,7999,1,7999,1,0,7,2016,'OR[00000002]','',NULL,1,7,'2016-07-11 02:30:26',NULL,'2016-07-11 02:30:26',0,0),(47,5,'AR20160700000005',1,32955,0,'repair toilet',700,0,1,700,1,0,7,2016,'OR[00000003]','',NULL,1,7,'2016-07-11 06:32:30',NULL,'2016-07-11 06:32:30',0,0),(48,5,'AR20160700000005',2,32947,0,'repair toilet',0,700,1,700,1,0,7,2016,'OR[00000003]','',NULL,1,7,'2016-07-11 06:32:30',NULL,'2016-07-11 06:32:30',0,0),(57,7,'AR20160700000004',1,33012,0,'harini',100,0,1,100,1,0,7,2016,'OR[00000001]','',NULL,1,9,'2016-07-26 01:06:41',NULL,'2016-07-26 01:06:41',0,0),(58,7,'AR20160700000004',2,33001,0,'harini',0,100,1,100,1,0,7,2016,'OR[00000001]','',NULL,1,9,'2016-07-26 01:06:41',NULL,'2016-07-26 01:06:41',0,0),(59,7,'AP160700000001',1,33001,0,'today',50,0,1,50,1,0,7,2016,'OP-C[00000001]',NULL,1,1,9,'2016-07-26 01:07:46',NULL,'2016-07-26 01:07:46',0,0),(60,7,'AP160700000001',2,33013,0,'today',0,50,1,50,1,0,7,2016,'OP-C[00000001]',NULL,1,1,9,'2016-07-26 01:07:46',NULL,'2016-07-26 01:07:46',0,0),(85,8,'AP20160700000008',1,33065,0,'pindahan',20000,0,1,20000,1,0,7,2016,'TT[00000002]',NULL,0,1,10,'2016-07-29 07:14:52',NULL,'2016-07-29 07:14:52',0,0),(86,8,'AP20160700000008',2,33064,0,'pindahan',0,20000,1,20000,1,0,7,2016,'TT[00000002]',NULL,0,1,10,'2016-07-29 07:14:52',NULL,'2016-07-29 07:14:52',0,0),(89,8,'AP20160700000010',1,33064,0,'Loan',10000,0,1,10000,1,0,7,2016,'OP-L[00000003]',NULL,1,1,10,'2016-07-29 07:22:23',NULL,'2016-07-29 07:22:23',0,0),(90,8,'AP20160700000010',2,33071,0,'Loan',0,10000,1,10000,1,0,7,2016,'OP-L[00000003]',NULL,1,1,10,'2016-07-29 07:22:23',NULL,'2016-07-29 07:22:23',0,0),(111,9,'AR20160100000003',1,33138,0,'seluar xxxx',100,0,1,100,1,0,1,2016,'OR[00000001]','',NULL,1,11,'2016-08-03 02:57:41',NULL,'2016-08-03 02:57:41',0,0),(112,9,'AR20160100000003',2,33127,0,'seluar xxxx',0,100,1,100,1,0,1,2016,'OR[00000001]','',NULL,1,11,'2016-08-03 02:57:41',NULL,'2016-08-03 02:57:41',0,0),(113,9,'AR20160100000003',3,33138,0,'baju',100,0,1,100,1,0,1,2016,'OR[00000001]','',NULL,1,11,'2016-08-03 02:57:41',NULL,'2016-08-03 02:57:41',0,0),(114,9,'AR20160100000003',4,33127,0,'baju',0,100,1,100,1,0,1,2016,'OR[00000001]','',NULL,1,11,'2016-08-03 02:57:41',NULL,'2016-08-03 02:57:41',0,0),(133,9,'AR20160800000002',1,33138,0,'gege',200,0,1,200,1,0,8,2016,'OR[00000002]','',1,1,11,'2016-08-04 04:08:44',NULL,'2016-08-04 04:08:44',0,0),(134,9,'AR20160800000002',2,33127,0,'gege',0,200,1,200,1,0,8,2016,'OR[00000002]','',1,1,11,'2016-08-04 04:08:44',NULL,'2016-08-04 04:08:44',0,0),(135,2,'AR20160800000002',1,32709,0,'karipap',25,0,1,25,1,0,8,2016,'OR[00000002]','',1,1,4,'2016-08-04 04:17:49',NULL,'2016-08-04 04:17:50',0,0),(136,2,'AR20160800000002',2,32701,0,'karipap',0,25,1,25,1,0,8,2016,'OR[00000002]','',1,1,4,'2016-08-04 04:17:49',NULL,'2016-08-04 04:17:50',0,0),(137,2,'AR20160800000002',3,32709,0,'karipap gulung',25,0,1,25,1,0,8,2016,'OR[00000002]','',2,1,4,'2016-08-04 04:17:49',NULL,'2016-08-04 04:17:50',0,0),(138,2,'AR20160800000002',4,32701,0,'karipap gulung',0,25,1,25,1,0,8,2016,'OR[00000002]','',2,1,4,'2016-08-04 04:17:49',NULL,'2016-08-04 04:17:50',0,0),(139,2,'AR20160800000002',5,32709,0,'air buah tembikai',25,0,1,25,1,0,8,2016,'OR[00000002]','',3,1,4,'2016-08-04 04:17:49',NULL,'2016-08-04 04:17:50',0,0),(140,2,'AR20160800000002',6,32701,0,'air buah tembikai',0,25,1,25,1,0,8,2016,'OR[00000002]','',3,1,4,'2016-08-04 04:17:50',NULL,'2016-08-04 04:17:50',0,0),(141,2,'AR20160800000002',7,32709,0,'cekodok',34,0,1,34,1,0,8,2016,'OR[00000002]','',4,1,4,'2016-08-04 04:17:50',NULL,'2016-08-04 04:17:50',0,0),(142,2,'AR20160800000002',8,32701,0,'cekodok',0,34,1,34,1,0,8,2016,'OR[00000002]','',4,1,4,'2016-08-04 04:17:50',NULL,'2016-08-04 04:17:50',0,0),(145,9,'AP20160100000002',1,33127,0,'kasut',40,0,1,40,1,0,1,2016,'OP-C[00000002]',NULL,1,1,11,'2016-08-04 09:24:19',NULL,'2016-08-04 09:24:19',0,0),(146,9,'AP20160100000002',2,33139,0,'kasut',0,40,1,40,1,0,1,2016,'OP-C[00000002]',NULL,1,1,11,'2016-08-04 09:24:19',NULL,'2016-08-04 09:24:19',0,0),(147,9,'AP20160100000002',3,33127,0,'tapak',10,0,1,10,1,0,1,2016,'OP-C[00000002]',NULL,1,1,11,'2016-08-04 09:24:19',NULL,'2016-08-04 09:24:19',0,0),(148,9,'AP20160100000002',4,33139,0,'tapak',0,10,1,10,1,0,1,2016,'OP-C[00000002]',NULL,1,1,11,'2016-08-04 09:24:19',NULL,'2016-08-04 09:24:19',0,0),(161,9,'AP20160800000003',1,33127,0,'Transfer',100,0,1,100,1,0,8,2016,'TT[00000005]',NULL,0,1,11,'2016-08-04 09:38:21',NULL,'2016-08-04 09:38:21',0,0),(162,9,'AP20160800000003',2,33128,0,'Transfer',0,100,1,100,1,0,8,2016,'TT[00000005]',NULL,0,1,11,'2016-08-04 09:38:21',NULL,'2016-08-04 09:38:21',0,0),(163,9,'AP20160800000004',1,33128,0,'transferization',90,0,1,90,1,0,8,2016,'TT[00000006]',NULL,0,1,11,'2016-08-04 09:39:20',NULL,'2016-08-04 09:39:20',0,0),(164,9,'AP20160800000004',2,33127,0,'transferization',0,90,1,90,1,0,8,2016,'TT[00000006]',NULL,0,1,11,'2016-08-04 09:39:20',NULL,'2016-08-04 09:39:20',0,0),(165,9,'AP20160100000005',1,33127,0,'tapak',20,0,1,20,1,0,1,2016,'OP-C[00000003]',NULL,1,1,11,'2016-08-04 09:44:16',NULL,'2016-08-04 09:44:16',0,0),(166,9,'AP20160100000005',2,33139,0,'tapak',0,20,1,20,1,0,1,2016,'OP-C[00000003]',NULL,1,1,11,'2016-08-04 09:44:16',NULL,'2016-08-04 09:44:16',0,0),(167,9,'AP20160100000005',3,33127,0,'tali',10,0,1,10,1,0,1,2016,'OP-C[00000003]',NULL,1,1,11,'2016-08-04 09:44:16',NULL,'2016-08-04 09:44:16',0,0),(168,9,'AP20160100000005',4,33139,0,'tali',0,10,1,10,1,0,1,2016,'OP-C[00000003]',NULL,1,1,11,'2016-08-04 09:44:16',NULL,'2016-08-04 09:44:16',0,0),(169,9,'AP20160100000005',5,33127,0,'TEST',15,0,1,15,1,0,1,2016,'OP-C[00000003]',NULL,1,1,11,'2016-08-04 09:44:16',NULL,'2016-08-04 09:44:16',0,0),(170,9,'AP20160100000005',6,33139,0,'TEST',0,15,1,15,1,0,1,2016,'OP-C[00000003]',NULL,1,1,11,'2016-08-04 09:44:16',NULL,'2016-08-04 09:44:16',0,0),(173,9,'AP20160800000006',1,33127,0,'selesai',20,0,1,20,1,0,8,2016,'OP-C[00000007]',NULL,1,1,11,'2016-08-04 09:46:35',NULL,'2016-08-04 09:46:35',0,0),(174,9,'AP20160800000006',2,33139,0,'selesai',0,20,1,20,1,0,8,2016,'OP-C[00000007]',NULL,1,1,11,'2016-08-04 09:46:35',NULL,'2016-08-04 09:46:35',0,0),(175,9,'AP20160800000006',3,33127,0,'aduhai',30,0,1,30,1,0,8,2016,'OP-C[00000007]',NULL,1,1,11,'2016-08-04 09:46:35',NULL,'2016-08-04 09:46:35',0,0),(176,9,'AP20160800000006',4,33139,0,'aduhai',0,30,1,30,1,0,8,2016,'OP-C[00000007]',NULL,1,1,11,'2016-08-04 09:46:35',NULL,'2016-08-04 09:46:35',0,0),(177,9,'AP20160800000007',1,33127,0,'Monthly Bill',100,0,1,100,1,0,8,2016,'OP-E[00000004]',NULL,1,1,11,'2016-08-04 09:52:38',NULL,'2016-08-04 09:52:38',0,0),(178,9,'AP20160800000007',2,33145,0,'Monthly Bill',0,100,1,100,1,0,8,2016,'OP-E[00000004]',NULL,1,1,11,'2016-08-04 09:52:38',NULL,'2016-08-04 09:52:38',0,0),(179,9,'AP20160800000007',3,33127,0,'Biskut',20,0,1,20,1,0,8,2016,'OP-E[00000004]',NULL,1,1,11,'2016-08-04 09:52:38',NULL,'2016-08-04 09:52:38',0,0),(180,9,'AP20160800000007',4,33152,0,'Biskut',0,20,1,20,1,0,8,2016,'OP-E[00000004]',NULL,1,1,11,'2016-08-04 09:52:38',NULL,'2016-08-04 09:52:38',0,0),(181,9,'AP20160800000007',5,33127,0,'ssaya',30,0,1,30,1,0,8,2016,'OP-E[00000004]',NULL,1,1,11,'2016-08-04 09:52:38',NULL,'2016-08-04 09:52:38',0,0),(182,9,'AP20160800000007',6,33141,0,'ssaya',0,30,1,30,1,0,8,2016,'OP-E[00000004]',NULL,1,1,11,'2016-08-04 09:52:38',NULL,'2016-08-04 09:52:38',0,0),(183,9,'AP20160200000002',1,33127,0,'kapur',10,0,1,10,1,0,2,2016,'OP-C[00000001]',NULL,1,1,11,'2016-08-04 09:53:25',NULL,'2016-08-04 09:53:25',0,0),(184,9,'AP20160200000002',2,33139,0,'kapur',0,10,1,10,1,0,2,2016,'OP-C[00000001]',NULL,1,1,11,'2016-08-04 09:53:25',NULL,'2016-08-04 09:53:25',0,0),(185,9,'AP20160200000002',3,33127,0,'semalam',40,0,1,40,1,0,2,2016,'OP-C[00000001]',NULL,1,1,11,'2016-08-04 09:53:25',NULL,'2016-08-04 09:53:25',0,0),(186,9,'AP20160200000002',4,33139,0,'semalam',0,40,1,40,1,0,2,2016,'OP-C[00000001]',NULL,1,1,11,'2016-08-04 09:53:25',NULL,'2016-08-04 09:53:25',0,0),(189,9,'AP20160800000009',1,33127,0,'try',50,0,1,50,1,0,8,2016,'TT[00000008]',NULL,0,1,11,'2016-08-04 09:54:46',NULL,'2016-08-04 09:54:46',0,0),(190,9,'AP20160800000009',2,33128,0,'try',0,50,1,50,1,0,8,2016,'TT[00000008]',NULL,0,1,11,'2016-08-04 09:54:46',NULL,'2016-08-04 09:54:46',0,0),(191,9,'AP20160800000010',1,33127,0,'semalam',50,0,1,50,1,0,8,2016,'TT[00000009]',NULL,0,1,11,'2016-08-04 10:06:06',NULL,'2016-08-04 10:06:06',0,0),(192,9,'AP20160800000010',2,33128,0,'semalam',0,50,1,50,1,0,8,2016,'TT[00000009]',NULL,0,1,11,'2016-08-04 10:06:06',NULL,'2016-08-04 10:06:06',0,0),(193,9,'AP20160800000011',1,33127,0,'terai',100,0,1,100,1,0,8,2016,'TT[00000010]',NULL,0,1,11,'2016-08-05 02:43:07',NULL,'2016-08-05 02:43:07',0,0),(194,9,'AP20160800000011',2,33128,0,'terai',0,100,1,100,1,0,8,2016,'TT[00000010]',NULL,0,1,11,'2016-08-05 02:43:07',NULL,'2016-08-05 02:43:07',0,0),(195,9,'AP20160100000006',1,33127,0,'jan',20,0,1,20,1,0,1,2016,'TT[00000011]',NULL,0,1,11,'2016-08-05 02:45:12',NULL,'2016-08-05 02:45:12',0,0),(196,9,'AP20160100000006',2,33128,0,'jan',0,20,1,20,1,0,1,2016,'TT[00000011]',NULL,0,1,11,'2016-08-05 02:45:12',NULL,'2016-08-05 02:45:12',0,0),(197,9,'AP20160600000001',1,33133,0,'',2500,0,1,2500,1,0,6,2016,'LR[00000002]',NULL,0,1,11,'2016-08-05 03:37:53',NULL,'2016-08-05 03:37:53',0,0),(198,9,'AP20160600000001',2,33127,0,'',0,2500,1,2500,1,0,6,2016,'LR[00000002]',NULL,0,1,11,'2016-08-05 03:37:53',NULL,'2016-08-05 03:37:53',0,0),(199,9,'AP20160700000001',1,33135,0,'pemindahan',100000,0,1,100000,1,0,7,2016,'LR[00000005]',NULL,0,1,11,'2016-08-05 03:38:26',NULL,'2016-08-05 03:38:26',0,0),(200,9,'AP20160700000001',2,33127,0,'pemindahan',0,100000,1,100000,1,0,7,2016,'LR[00000005]',NULL,0,1,11,'2016-08-05 03:38:26',NULL,'2016-08-05 03:38:26',0,0),(201,9,'AP20160800000012',1,33127,0,'Loan',200,0,1,200,1,0,8,2016,'OP-L[00000012]',NULL,1,1,11,'2016-08-05 03:52:00',NULL,'2016-08-05 03:52:00',0,0),(202,9,'AP20160800000012',2,33135,0,'Loan',0,200,1,200,1,0,8,2016,'OP-L[00000012]',NULL,1,1,11,'2016-08-05 03:52:00',NULL,'2016-08-05 03:52:00',0,0),(203,9,'AP20160800000013',1,33127,0,'BFDAY AZ',10,0,1,10,1,0,8,2016,'TT[00000013]',NULL,0,1,11,'2016-08-05 03:53:51',NULL,'2016-08-05 03:53:51',0,0),(204,9,'AP20160800000013',2,33128,0,'BFDAY AZ',0,10,1,10,1,0,8,2016,'TT[00000013]',NULL,0,1,11,'2016-08-05 03:53:51',NULL,'2016-08-05 03:53:51',0,0),(267,16,'AP20161000000006',1,33439,0,'AYAM',889,0,1,889,1,0,10,2016,'OP-C[00000002]',NULL,1,1,1,'2016-10-04 03:48:04',NULL,'2016-10-04 03:48:04',0,0),(268,16,'AP20161000000006',2,33448,0,'AYAM',0,889,1,889,1,0,10,2016,'OP-C[00000002]',NULL,1,1,1,'2016-10-04 03:48:04',NULL,'2016-10-04 03:48:04',0,0),(269,16,'AP20161000000006',3,33439,0,'DAGING',1055,0,1,1055,1,0,10,2016,'OP-C[00000002]',NULL,1,1,1,'2016-10-04 03:48:04',NULL,'2016-10-04 03:48:04',0,0),(270,16,'AP20161000000006',4,33448,0,'DAGING',0,1055,1,1055,1,0,10,2016,'OP-C[00000002]',NULL,1,1,1,'2016-10-04 03:48:04',NULL,'2016-10-04 03:48:04',0,0),(271,16,'AP20161000000006',5,33439,0,'TEMPE',50,0,1,50,1,0,10,2016,'OP-C[00000002]',NULL,1,1,1,'2016-10-04 03:48:04',NULL,'2016-10-04 03:48:04',0,0),(272,16,'AP20161000000006',6,33448,0,'TEMPE',0,50,1,50,1,0,10,2016,'OP-C[00000002]',NULL,1,1,1,'2016-10-04 03:48:04',NULL,'2016-10-04 03:48:04',0,0),(273,16,'AP20161000000006',7,33439,0,'SUHOON',25,0,1,25,1,0,10,2016,'OP-C[00000002]',NULL,1,1,1,'2016-10-04 03:48:04',NULL,'2016-10-04 03:48:04',0,0),(274,16,'AP20161000000006',8,33448,0,'SUHOON',0,25,1,25,1,0,10,2016,'OP-C[00000002]',NULL,1,1,1,'2016-10-04 03:48:04',NULL,'2016-10-04 03:48:04',0,0),(275,16,'AP20161000000006',9,33439,0,'CILI2',50,0,1,50,1,0,10,2016,'OP-C[00000002]',NULL,1,1,1,'2016-10-04 03:48:04',NULL,'2016-10-04 03:48:04',0,0),(276,16,'AP20161000000006',10,33448,0,'CILI2',0,50,1,50,1,0,10,2016,'OP-C[00000002]',NULL,1,1,1,'2016-10-04 03:48:04',NULL,'2016-10-04 03:48:04',0,0),(277,16,'AP20161000000006',11,33439,0,'REMPAH2',150,0,1,150,1,0,10,2016,'OP-C[00000002]',NULL,1,1,1,'2016-10-04 03:48:04',NULL,'2016-10-04 03:48:04',0,0),(278,16,'AP20161000000006',12,33448,0,'REMPAH2',0,150,1,150,1,0,10,2016,'OP-C[00000002]',NULL,1,1,1,'2016-10-04 03:48:04',NULL,'2016-10-04 03:48:04',0,0),(279,16,'AP20161000000006',13,33439,0,'BERAS 50KG',128,0,1,128,1,0,10,2016,'OP-C[00000002]',NULL,1,1,1,'2016-10-04 03:48:04',NULL,'2016-10-04 03:48:04',0,0),(280,16,'AP20161000000006',14,33448,0,'BERAS 50KG',0,128,1,128,1,0,10,2016,'OP-C[00000002]',NULL,1,1,1,'2016-10-04 03:48:04',NULL,'2016-10-04 03:48:04',0,0),(281,16,'AP20161000000006',15,33439,0,'BERAS BASMATHI',179.5,0,1,179.5,1,0,10,2016,'OP-C[00000002]',NULL,1,1,1,'2016-10-04 03:48:04',NULL,'2016-10-04 03:48:04',0,0),(282,16,'AP20161000000006',16,33448,0,'BERAS BASMATHI',0,179.5,1,179.5,1,0,10,2016,'OP-C[00000002]',NULL,1,1,1,'2016-10-04 03:48:04',NULL,'2016-10-04 03:48:04',0,0),(283,16,'AP20161000000006',17,33439,0,'BUAH2 JERUK ACAR',100,0,1,100,1,0,10,2016,'OP-C[00000002]',NULL,1,1,1,'2016-10-04 03:48:04',NULL,'2016-10-04 03:48:04',0,0),(284,16,'AP20161000000006',18,33448,0,'BUAH2 JERUK ACAR',0,100,1,100,1,0,10,2016,'OP-C[00000002]',NULL,1,1,1,'2016-10-04 03:48:04',NULL,'2016-10-04 03:48:04',0,0),(285,16,'AP20161000000006',19,33439,0,'TEMBIKAI & SUNKIST',75,0,1,75,1,0,10,2016,'OP-C[00000002]',NULL,1,1,1,'2016-10-04 03:48:04',NULL,'2016-10-04 03:48:04',0,0),(286,16,'AP20161000000006',20,33448,0,'TEMBIKAI & SUNKIST',0,75,1,75,1,0,10,2016,'OP-C[00000002]',NULL,1,1,1,'2016-10-04 03:48:04',NULL,'2016-10-04 03:48:04',0,0),(287,16,'AP20161000000006',21,33439,0,'GULA',25.5,0,1,25.5,1,0,10,2016,'OP-C[00000002]',NULL,1,1,1,'2016-10-04 03:48:04',NULL,'2016-10-04 03:48:04',0,0),(288,16,'AP20161000000006',22,33448,0,'GULA',0,25.5,1,25.5,1,0,10,2016,'OP-C[00000002]',NULL,1,1,1,'2016-10-04 03:48:04',NULL,'2016-10-04 03:48:04',0,0),(289,16,'AP20161000000006',23,33439,0,'SIRAP',10,0,1,10,1,0,10,2016,'OP-C[00000002]',NULL,1,1,1,'2016-10-04 03:48:04',NULL,'2016-10-04 03:48:04',0,0),(290,16,'AP20161000000006',24,33448,0,'SIRAP',0,10,1,10,1,0,10,2016,'OP-C[00000002]',NULL,1,1,1,'2016-10-04 03:48:04',NULL,'2016-10-04 03:48:04',0,0),(291,16,'AP20161000000006',25,33439,0,'SUSU CAIR',50,0,1,50,1,0,10,2016,'OP-C[00000002]',NULL,1,1,1,'2016-10-04 03:48:04',NULL,'2016-10-04 03:48:04',0,0),(292,16,'AP20161000000006',26,33448,0,'SUSU CAIR',0,50,1,50,1,0,10,2016,'OP-C[00000002]',NULL,1,1,1,'2016-10-04 03:48:04',NULL,'2016-10-04 03:48:04',0,0),(293,16,'AP20161000000006',27,33439,0,'TEH SERBUK',20,0,1,20,1,0,10,2016,'OP-C[00000002]',NULL,1,1,1,'2016-10-04 03:48:04',NULL,'2016-10-04 03:48:04',0,0),(294,16,'AP20161000000006',28,33448,0,'TEH SERBUK',0,20,1,20,1,0,10,2016,'OP-C[00000002]',NULL,1,1,1,'2016-10-04 03:48:04',NULL,'2016-10-04 03:48:04',0,0),(295,16,'AP20161000000007',1,33439,0,'TRAY & BEKAS NASI',500,0,1,500,1,0,10,2016,'OP-A[00000003]',NULL,1,1,1,'2016-10-04 03:49:34',NULL,'2016-10-04 03:49:35',0,0),(296,16,'AP20161000000007',2,33425,0,'TRAY & BEKAS NASI',0,500,1,500,1,0,10,2016,'OP-A[00000003]',NULL,1,1,1,'2016-10-04 03:49:35',NULL,'2016-10-04 03:49:35',0,0),(297,16,'AR20161000000001',1,33447,0,'PAKEJ BRONZE',13500,0,1,13500,1,0,10,2016,'OR[00000001]','',1,1,1,'2016-10-04 03:51:19',NULL,'2016-10-04 03:51:19',0,0),(298,16,'AR20161000000001',2,33436,0,'PAKEJ BRONZE',0,13500,1,13500,1,0,10,2016,'OR[00000001]','',1,1,1,'2016-10-04 03:51:19',NULL,'2016-10-04 03:51:19',0,0),(299,16,'AP20161000000008',1,33436,0,'MODAL 8/10/2016',2000,0,1,2000,1,0,10,2016,'TT[00000004]',NULL,0,1,1,'2016-10-04 03:55:25',NULL,'2016-10-04 03:55:25',0,0),(300,16,'AP20161000000008',2,33439,0,'MODAL 8/10/2016',0,2000,1,2000,1,0,10,2016,'TT[00000004]',NULL,0,1,1,'2016-10-04 03:55:25',NULL,'2016-10-04 03:55:25',0,0),(305,16,'AP20161000000010',1,33439,0,'ITEM AS AT 1/10/2016',2500,0,1,2500,1,0,10,2016,'OP-C[00000005]',NULL,1,1,1,'2016-10-04 03:58:00',NULL,'2016-10-04 03:58:00',0,0),(306,16,'AP20161000000010',2,33448,0,'ITEM AS AT 1/10/2016',0,2500,1,2500,1,0,10,2016,'OP-C[00000005]',NULL,1,1,1,'2016-10-04 03:58:00',NULL,'2016-10-04 03:58:00',0,0),(307,16,'AP20161000000011',1,33436,0,'MODAL 9/10/2016',5000,0,1,5000,1,0,10,2016,'TT[00000006]',NULL,0,1,1,'2016-10-04 03:59:43',NULL,'2016-10-04 03:59:43',0,0),(308,16,'AP20161000000011',2,33439,0,'MODAL 9/10/2016',0,5000,1,5000,1,0,10,2016,'TT[00000006]',NULL,0,1,1,'2016-10-04 03:59:43',NULL,'2016-10-04 03:59:43',0,0),(309,16,'AP20161000000012',1,33439,0,'ITEM AS AT 1/10/2016',3500,0,1,3500,1,0,10,2016,'OP-C[00000007]',NULL,1,1,1,'2016-10-04 04:00:27',NULL,'2016-10-04 04:00:27',0,0),(310,16,'AP20161000000012',2,33448,0,'ITEM AS AT 1/10/2016',0,3500,1,3500,1,0,10,2016,'OP-C[00000007]',NULL,1,1,1,'2016-10-04 04:00:27',NULL,'2016-10-04 04:00:27',0,0),(311,16,'AR20161000000003',1,33447,0,'PAKEJ SILVER',16200,0,1,16200,1,0,10,2016,'OR[00000003]','',1,1,1,'2016-10-04 04:01:31',NULL,'2016-10-04 04:01:31',0,0),(312,16,'AR20161000000003',2,33436,0,'PAKEJ SILVER',0,16200,1,16200,1,0,10,2016,'OR[00000003]','',1,1,1,'2016-10-04 04:01:31',NULL,'2016-10-04 04:01:31',0,0),(313,16,'AR20161000000004',1,33447,0,'PAKEJ BRONZE',13500,0,1,13500,1,0,10,2016,'OR[00000002]','',1,1,1,'2016-10-04 04:05:48',NULL,'2016-10-04 04:05:49',0,0),(314,16,'AR20161000000004',2,33436,0,'PAKEJ BRONZE',0,13500,1,13500,1,0,10,2016,'OR[00000002]','',1,1,1,'2016-10-04 04:05:48',NULL,'2016-10-04 04:05:49',0,0),(315,16,'AP20161000000013',1,33436,0,'MODAL 15/10/2016',10000,0,1,10000,1,0,10,2016,'TT[00000008]',NULL,0,1,1,'2016-10-04 04:06:59',NULL,'2016-10-04 04:06:59',0,0),(316,16,'AP20161000000013',2,33439,0,'MODAL 15/10/2016',0,10000,1,10000,1,0,10,2016,'TT[00000008]',NULL,0,1,1,'2016-10-04 04:06:59',NULL,'2016-10-04 04:06:59',0,0),(319,16,'AP20161000000015',1,33439,0,'ITEM AS AT 7/10/2016',12000,0,1,12000,1,0,10,2016,'OP-C[00000009]',NULL,1,1,1,'2016-10-04 04:08:13',NULL,'2016-10-04 04:08:13',0,0),(320,16,'AP20161000000015',2,33448,0,'ITEM AS AT 7/10/2016',0,12000,1,12000,1,0,10,2016,'OP-C[00000009]',NULL,1,1,1,'2016-10-04 04:08:13',NULL,'2016-10-04 04:08:13',0,0),(321,16,'AP20161000000016',1,33436,0,'MODAL 1.10.2016',2500,0,1,2500,1,0,10,2016,'TT[00000001]',NULL,0,1,1,'2016-10-04 04:22:43',NULL,'2016-10-04 04:22:43',0,0),(322,16,'AP20161000000016',2,33439,0,'MODAL 1.10.2016',0,2500,1,2500,1,0,10,2016,'TT[00000001]',NULL,0,1,1,'2016-10-04 04:22:43',NULL,'2016-10-04 04:22:43',0,0),(323,16,'AR20161000000005',1,33447,0,'PAKEJ ARABIAN',32500,0,1,32500,1,0,10,2016,'OR[00000004]','',1,1,1,'2016-10-04 04:49:59',NULL,'2016-10-04 04:49:59',0,0),(324,16,'AR20161000000005',2,33436,0,'PAKEJ ARABIAN',0,32500,1,32500,1,0,10,2016,'OR[00000004]','',1,1,1,'2016-10-04 04:49:59',NULL,'2016-10-04 04:49:59',0,0),(325,16,'AP20161000000017',1,33436,0,'MODAL 16/10/2016',10000,0,1,10000,1,0,10,2016,'TT[00000010]',NULL,0,1,1,'2016-10-04 04:52:17',NULL,'2016-10-04 04:52:17',0,0),(326,16,'AP20161000000017',2,33439,0,'MODAL 16/10/2016',0,10000,1,10000,1,0,10,2016,'TT[00000010]',NULL,0,1,1,'2016-10-04 04:52:17',NULL,'2016-10-04 04:52:17',0,0),(327,16,'AP20161000000018',1,33439,0,'ITEM AS AT 1/10/2016',7233,0,1,7233,1,0,10,2016,'OP-C[00000011]',NULL,1,1,1,'2016-10-04 04:53:34',NULL,'2016-10-04 04:53:34',0,0),(328,16,'AP20161000000018',2,33448,0,'ITEM AS AT 1/10/2016',0,7233,1,7233,1,0,10,2016,'OP-C[00000011]',NULL,1,1,1,'2016-10-04 04:53:34',NULL,'2016-10-04 04:53:34',0,0),(329,16,'AR20161000000006',1,33447,0,'PAKEJ GOLD',18900,0,1,18900,1,0,10,2016,'OR[00000005]','',1,1,1,'2016-10-04 04:54:19',NULL,'2016-10-04 04:54:19',0,0),(330,16,'AR20161000000006',2,33436,0,'PAKEJ GOLD',0,18900,1,18900,1,0,10,2016,'OR[00000005]','',1,1,1,'2016-10-04 04:54:19',NULL,'2016-10-04 04:54:19',0,0),(339,16,'AP20161000000021',1,33439,0,'MINUM2',25,0,1,25,1,0,10,2016,'OP-E[00000012]',NULL,1,1,1,'2016-10-04 04:59:45',NULL,'2016-10-04 04:59:45',0,0),(340,16,'AP20161000000021',2,33472,0,'MINUM2',0,25,1,25,1,0,10,2016,'OP-E[00000012]',NULL,1,1,1,'2016-10-04 04:59:45',NULL,'2016-10-04 04:59:45',0,0),(341,16,'AP20161000000021',3,33439,0,'KOS PERJALANAN',60,0,1,60,1,0,10,2016,'OP-E[00000012]',NULL,1,1,1,'2016-10-04 04:59:45',NULL,'2016-10-04 04:59:45',0,0),(342,16,'AP20161000000021',4,33462,0,'KOS PERJALANAN',0,60,1,60,1,0,10,2016,'OP-E[00000012]',NULL,1,1,1,'2016-10-04 04:59:45',NULL,'2016-10-04 04:59:45',0,0),(343,16,'AP20161000000022',1,33439,0,'KOS PERJALANAN',50,0,1,50,1,0,10,2016,'OP-E[00000013]',NULL,1,1,1,'2016-10-04 05:00:34',NULL,'2016-10-04 05:00:34',0,0),(344,16,'AP20161000000022',2,33462,0,'KOS PERJALANAN',0,50,1,50,1,0,10,2016,'OP-E[00000013]',NULL,1,1,1,'2016-10-04 05:00:34',NULL,'2016-10-04 05:00:34',0,0),(345,16,'AP20161000000022',3,33439,0,'MINUM2',25,0,1,25,1,0,10,2016,'OP-E[00000013]',NULL,1,1,1,'2016-10-04 05:00:34',NULL,'2016-10-04 05:00:34',0,0),(346,16,'AP20161000000022',4,33472,0,'MINUM2',0,25,1,25,1,0,10,2016,'OP-E[00000013]',NULL,1,1,1,'2016-10-04 05:00:34',NULL,'2016-10-04 05:00:34',0,0),(347,16,'AP20161000000023',1,33439,0,'KOS PERJALANAN',55,0,1,55,1,0,10,2016,'OP-E[00000014]',NULL,1,1,1,'2016-10-04 05:01:32',NULL,'2016-10-04 05:01:32',0,0),(348,16,'AP20161000000023',2,33462,0,'KOS PERJALANAN',0,55,1,55,1,0,10,2016,'OP-E[00000014]',NULL,1,1,1,'2016-10-04 05:01:32',NULL,'2016-10-04 05:01:32',0,0),(349,16,'AP20161000000023',3,33439,0,'MINUM2 SIKIT',25,0,1,25,1,0,10,2016,'OP-E[00000014]',NULL,1,1,1,'2016-10-04 05:01:32',NULL,'2016-10-04 05:01:32',0,0),(350,16,'AP20161000000023',4,33472,0,'MINUM2 SIKIT',0,25,1,25,1,0,10,2016,'OP-E[00000014]',NULL,1,1,1,'2016-10-04 05:01:32',NULL,'2016-10-04 05:01:32',0,0),(351,16,'AP20161000000024',1,33439,0,'KOS PERJALANAN',60,0,1,60,1,0,10,2016,'OP-E[00000015]',NULL,1,1,1,'2016-10-04 05:02:28',NULL,'2016-10-04 05:02:28',0,0),(352,16,'AP20161000000024',2,33462,0,'KOS PERJALANAN',0,60,1,60,1,0,10,2016,'OP-E[00000015]',NULL,1,1,1,'2016-10-04 05:02:28',NULL,'2016-10-04 05:02:28',0,0),(353,16,'AP20161000000024',3,33439,0,'MINUM2 SIKIT',30,0,1,30,1,0,10,2016,'OP-E[00000015]',NULL,1,1,1,'2016-10-04 05:02:28',NULL,'2016-10-04 05:02:28',0,0),(354,16,'AP20161000000024',4,33472,0,'MINUM2 SIKIT',0,30,1,30,1,0,10,2016,'OP-E[00000015]',NULL,1,1,1,'2016-10-04 05:02:28',NULL,'2016-10-04 05:02:28',0,0),(355,16,'AP20161000000025',1,33439,0,'KOS PERJALANAN',45,0,1,45,1,0,10,2016,'OP-E[00000016]',NULL,1,1,1,'2016-10-04 05:03:16',NULL,'2016-10-04 05:03:17',0,0),(356,16,'AP20161000000025',2,33462,0,'KOS PERJALANAN',0,45,1,45,1,0,10,2016,'OP-E[00000016]',NULL,1,1,1,'2016-10-04 05:03:16',NULL,'2016-10-04 05:03:17',0,0),(357,16,'AP20161000000025',3,33439,0,'MINUM2 SIKIT',20,0,1,20,1,0,10,2016,'OP-E[00000016]',NULL,1,1,1,'2016-10-04 05:03:16',NULL,'2016-10-04 05:03:17',0,0),(358,16,'AP20161000000025',4,33472,0,'MINUM2 SIKIT',0,20,1,20,1,0,10,2016,'OP-E[00000016]',NULL,1,1,1,'2016-10-04 05:03:17',NULL,'2016-10-04 05:03:17',0,0),(359,16,'AP20161000000026',1,33437,0,'Kereta',1200,0,1,1200,1,0,10,2016,'OP-L[00000017]',NULL,1,1,1,'2016-10-04 08:40:02',NULL,'2016-10-04 08:40:02',0,0),(360,16,'AP20161000000026',2,33443,0,'Kereta',0,1200,1,1200,1,0,10,2016,'OP-L[00000017]',NULL,1,1,1,'2016-10-04 08:40:02',NULL,'2016-10-04 08:40:02',0,0),(361,16,'AR20161000000007',1,33447,0,'KATERING OFFICE KECIK',2000,0,1,2000,1,0,10,2016,'OR[00000006]','',1,1,1,'2016-10-06 08:15:50',NULL,'2016-10-06 08:15:50',0,0),(362,16,'AR20161000000007',2,33436,0,'KATERING OFFICE KECIK',0,2000,1,2000,1,0,10,2016,'OR[00000006]','',1,1,1,'2016-10-06 08:15:50',NULL,'2016-10-06 08:15:50',0,0),(363,20,'AP161000000001',1,33557,0,'10/10/2016',100,0,1,100,1,0,10,2016,'OP-C[00000001]',NULL,1,1,4,'2016-10-10 02:18:00',NULL,'2016-10-10 02:18:00',0,0),(364,20,'AP161000000001',2,33568,0,'10/10/2016',0,100,1,100,1,0,10,2016,'OP-C[00000001]',NULL,1,1,4,'2016-10-10 02:18:00',NULL,'2016-10-10 02:18:00',0,0),(365,20,'AP161000000001',3,33557,0,'10/10/2016-2',200,0,1,200,1,0,10,2016,'OP-C[00000001]',NULL,1,1,4,'2016-10-10 02:18:00',NULL,'2016-10-10 02:18:00',0,0),(366,20,'AP161000000001',4,33568,0,'10/10/2016-2',0,200,1,200,1,0,10,2016,'OP-C[00000001]',NULL,1,1,4,'2016-10-10 02:18:00',NULL,'2016-10-10 02:18:00',0,0),(367,20,'AP20161000000002',1,33614,0,'garfield10/10/2016',100,0,1,100,1,0,10,2016,'OP-C[00000002]',NULL,1,1,5,'2016-10-10 06:47:45',NULL,'2016-10-10 06:47:46',0,0),(368,20,'AP20161000000002',2,33625,0,'garfield10/10/2016',0,100,1,100,1,0,10,2016,'OP-C[00000002]',NULL,1,1,5,'2016-10-10 06:47:45',NULL,'2016-10-10 06:47:46',0,0),(369,20,'AP20161000000002',3,33614,0,'garfield10/10/2016-2',300,0,1,300,1,0,10,2016,'OP-C[00000002]',NULL,1,1,5,'2016-10-10 06:47:45',NULL,'2016-10-10 06:47:46',0,0),(370,20,'AP20161000000002',4,33625,0,'garfield10/10/2016-2',0,300,1,300,1,0,10,2016,'OP-C[00000002]',NULL,1,1,5,'2016-10-10 06:47:45',NULL,'2016-10-10 06:47:46',0,0),(371,21,'AP161000000001',1,33671,0,'eminem01',450,0,1,450,1,0,10,2016,'OP-C[00000001]',NULL,1,1,6,'2016-10-10 08:07:57',NULL,'2016-10-10 08:07:57',0,0),(372,21,'AP161000000001',2,33682,0,'eminem01',0,450,1,450,1,0,10,2016,'OP-C[00000001]',NULL,1,1,6,'2016-10-10 08:07:57',NULL,'2016-10-10 08:07:57',0,0),(373,21,'AP161000000001',3,33671,0,'eminem02',600,0,1,600,1,0,10,2016,'OP-C[00000001]',NULL,1,1,6,'2016-10-10 08:07:57',NULL,'2016-10-10 08:07:57',0,0),(374,21,'AP161000000001',4,33682,0,'eminem02',0,600,1,600,1,0,10,2016,'OP-C[00000001]',NULL,1,1,6,'2016-10-10 08:07:57',NULL,'2016-10-10 08:07:57',0,0),(375,21,'AR20161000000001',1,33681,0,'eminem yo1',3000,0,1,3000,1,0,10,2016,'OR[00000001]','',1,1,6,'2016-10-13 01:32:53',NULL,'2016-10-13 01:32:53',0,0),(376,21,'AR20161000000001',2,33670,0,'eminem yo1',0,3000,1,3000,1,0,10,2016,'OR[00000001]','',1,1,6,'2016-10-13 01:32:53',NULL,'2016-10-13 01:32:53',0,0),(377,21,'AR20161000000001',3,33681,0,'eminem yo2',4000,0,1,4000,1,0,10,2016,'OR[00000001]','',2,1,6,'2016-10-13 01:32:53',NULL,'2016-10-13 01:32:53',0,0),(378,21,'AR20161000000001',4,33670,0,'eminem yo2',0,4000,1,4000,1,0,10,2016,'OR[00000001]','',2,1,6,'2016-10-13 01:32:53',NULL,'2016-10-13 01:32:53',0,0),(379,21,'AP20161000000002',1,33671,0,'this is eminem 1',1550,0,1,1550,1,0,10,2016,'OP-C[00000001]',NULL,1,1,6,'2016-10-13 01:35:37',NULL,'2016-10-13 01:35:37',0,0),(380,21,'AP20161000000002',2,33682,0,'this is eminem 1',0,1550,1,1550,1,0,10,2016,'OP-C[00000001]',NULL,1,1,6,'2016-10-13 01:35:37',NULL,'2016-10-13 01:35:37',0,0),(381,21,'AP20161000000002',3,33671,0,'This is eminem 2',500,0,1,500,1,0,10,2016,'OP-C[00000001]',NULL,1,1,6,'2016-10-13 01:35:37',NULL,'2016-10-13 01:35:37',0,0),(382,21,'AP20161000000002',4,33682,0,'This is eminem 2',0,500,1,500,1,0,10,2016,'OP-C[00000001]',NULL,1,1,6,'2016-10-13 01:35:37',NULL,'2016-10-13 01:35:37',0,0),(383,21,'AP20161000000003',1,33670,0,'wassup1',4000,0,1,4000,1,0,10,2016,'OP-E[00000002]',NULL,1,1,6,'2016-10-13 08:59:48',NULL,'2016-10-13 08:59:49',0,0),(384,21,'AP20161000000003',2,33688,0,'wassup1',0,4000,1,4000,1,0,10,2016,'OP-E[00000002]',NULL,1,1,6,'2016-10-13 08:59:48',NULL,'2016-10-13 08:59:49',0,0),(385,21,'AP20161000000003',3,33670,0,'wassup2',6900,0,1,6900,1,0,10,2016,'OP-E[00000002]',NULL,1,1,6,'2016-10-13 08:59:48',NULL,'2016-10-13 08:59:49',0,0),(386,21,'AP20161000000003',4,33692,0,'wassup2',0,6900,1,6900,1,0,10,2016,'OP-E[00000002]',NULL,1,1,6,'2016-10-13 08:59:48',NULL,'2016-10-13 08:59:49',0,0),(387,21,'AR20161000000002',1,33681,0,'hihihi1',5600,0,1,5600,1,0,10,2016,'OR[00000002]','hi eminem 1',1,1,6,'2016-10-14 10:03:45',NULL,'2016-10-14 10:03:45',0,0),(388,21,'AR20161000000002',2,33673,0,'hihihi1',0,5600,1,5600,1,0,10,2016,'OR[00000002]','hi eminem 1',1,1,6,'2016-10-14 10:03:45',NULL,'2016-10-14 10:03:45',0,0),(389,21,'AR20161000000002',3,33681,0,'hihihi2',4300,0,1,4300,1,0,10,2016,'OR[00000002]','hi eminem 1',2,1,6,'2016-10-14 10:03:45',NULL,'2016-10-14 10:03:45',0,0),(390,21,'AR20161000000002',4,33673,0,'hihihi2',0,4300,1,4300,1,0,10,2016,'OR[00000002]','hi eminem 1',2,1,6,'2016-10-14 10:03:45',NULL,'2016-10-14 10:03:45',0,0),(391,22,'AR20161100000001',1,33738,0,'jualan motor A',120000,0,1,120000,1,0,11,2016,'OR[00000001]','ali',1,1,7,'2016-11-10 10:03:54',NULL,'2016-11-10 10:03:54',0,0),(392,22,'AR20161100000001',2,33727,0,'jualan motor A',0,120000,1,120000,1,0,11,2016,'OR[00000001]','ali',1,1,7,'2016-11-10 10:03:54',NULL,'2016-11-10 10:03:54',0,0),(393,22,'AP161100000001',1,33727,0,'pembekal motor A',100000,0,1,100000,1,0,11,2016,'OP-C[00000001]',NULL,1,1,7,'2016-11-10 10:06:08',NULL,'2016-11-10 10:06:08',0,0),(394,22,'AP161100000001',2,33739,0,'pembekal motor A',0,100000,1,100000,1,0,11,2016,'OP-C[00000001]',NULL,1,1,7,'2016-11-10 10:06:08',NULL,'2016-11-10 10:06:08',0,0);
/*!40000 ALTER TABLE `comp_journal_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_location_transfer`
--

DROP TABLE IF EXISTS `comp_location_transfer`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_location_transfer` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL,
  `companyID` int(11) NOT NULL,
  `fromLocationID` int(11) NOT NULL,
  `toLocationID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `movementTypeID` int(11) NOT NULL,
  `dateTransfer` date NOT NULL,
  `memo` text NOT NULL,
  `is_delete` smallint(6) NOT NULL,
  `updateable` smallint(6) NOT NULL DEFAULT '1',
  `createdby` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_location_transfer`
--

LOCK TABLES `comp_location_transfer` WRITE;
/*!40000 ALTER TABLE `comp_location_transfer` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_location_transfer` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_location_transfer_detail`
--

DROP TABLE IF EXISTS `comp_location_transfer_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_location_transfer_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `locationTransferID` int(11) NOT NULL,
  `LineNo` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `quantity` int(11) NOT NULL,
  `fromStock` int(11) NOT NULL,
  `is_delete` smallint(6) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_location_transfer_detail`
--

LOCK TABLES `comp_location_transfer_detail` WRITE;
/*!40000 ALTER TABLE `comp_location_transfer_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_location_transfer_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_opening_balance`
--

DROP TABLE IF EXISTS `comp_opening_balance`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_opening_balance` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `accountID` int(11) NOT NULL,
  `year` int(11) NOT NULL,
  `debit` double NOT NULL,
  `credit` double NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `createdBy` int(11) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_opening_balance`
--

LOCK TABLES `comp_opening_balance` WRITE;
/*!40000 ALTER TABLE `comp_opening_balance` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_opening_balance` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_payment`
--

DROP TABLE IF EXISTS `comp_payment`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_payment` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `supplierID` int(11) NOT NULL,
  `projectID` int(11) NOT NULL,
  `amountPaid` double NOT NULL,
  `paymentMethodID` int(11) NOT NULL,
  `referenceNo` varchar(16) NOT NULL,
  `bankID` int(11) NOT NULL,
  `reconcile` smallint(6) NOT NULL DEFAULT '0',
  `accountID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `paymentDate` date NOT NULL,
  `updateAble` smallint(1) NOT NULL DEFAULT '1',
  `currencyID` int(11) NOT NULL,
  `exchangeRate` double NOT NULL,
  `addressID` int(11) NOT NULL,
  `memo` text NOT NULL,
  `totalDiscount` double NOT NULL,
  `bankCharges` double NOT NULL,
  `totalOtherCharge` double NOT NULL,
  `totalPaid` double NOT NULL,
  `totalApplied` double NOT NULL,
  `outOfBalance` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(16) NOT NULL,
  `accountDescription` varchar(128) NOT NULL DEFAULT 'Temp Description',
  `paymentID` int(11) NOT NULL,
  `journalNo` varchar(32) NOT NULL,
  `bankReconcileID` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_payment`
--

LOCK TABLES `comp_payment` WRITE;
/*!40000 ALTER TABLE `comp_payment` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_payment` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `trigger_before_insert_cp_add_serialNo` BEFORE INSERT ON `comp_payment`
 FOR EACH ROW set new.serialNo = (select nextSerialNo 

			   from view_serial_comp_payment 

			   where companyID = new.companyID) */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_payment_detail`
--

DROP TABLE IF EXISTS `comp_payment_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_payment_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `paymentID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `purchaseInvoiceID` int(11) NOT NULL,
  `totalAmount` double NOT NULL,
  `APBalance` double NOT NULL,
  `discount` double NOT NULL,
  `amountApplied` double NOT NULL,
  `debtRecoverID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(16) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_payment_detail`
--

LOCK TABLES `comp_payment_detail` WRITE;
/*!40000 ALTER TABLE `comp_payment_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_payment_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_payment_detail_creditnote`
--

DROP TABLE IF EXISTS `comp_payment_detail_creditnote`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_payment_detail_creditnote` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `paymentID` int(11) NOT NULL,
  `creditnoteID` int(11) NOT NULL,
  `amountApplied` double NOT NULL,
  `debtRecoverID` int(11) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_payment_detail_creditnote`
--

LOCK TABLES `comp_payment_detail_creditnote` WRITE;
/*!40000 ALTER TABLE `comp_payment_detail_creditnote` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_payment_detail_creditnote` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_payment_detail_debitnote`
--

DROP TABLE IF EXISTS `comp_payment_detail_debitnote`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_payment_detail_debitnote` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `paymentID` int(11) NOT NULL,
  `debitnoteID` int(11) NOT NULL,
  `amountApplied` double NOT NULL,
  `debtRecoverID` int(11) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_payment_detail_debitnote`
--

LOCK TABLES `comp_payment_detail_debitnote` WRITE;
/*!40000 ALTER TABLE `comp_payment_detail_debitnote` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_payment_detail_debitnote` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_payment_detail_historical_invoice`
--

DROP TABLE IF EXISTS `comp_payment_detail_historical_invoice`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_payment_detail_historical_invoice` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `paymentID` int(11) NOT NULL,
  `historicalinvoiceID` int(11) NOT NULL,
  `amountApplied` double NOT NULL,
  `debtRecoverID` int(11) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_payment_detail_historical_invoice`
--

LOCK TABLES `comp_payment_detail_historical_invoice` WRITE;
/*!40000 ALTER TABLE `comp_payment_detail_historical_invoice` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_payment_detail_historical_invoice` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_payment_others`
--

DROP TABLE IF EXISTS `comp_payment_others`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_payment_others` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `otherPaymentType` smallint(6) NOT NULL COMMENT '0=with item. 1=without item',
  `companyID` int(11) NOT NULL,
  `payTo` text NOT NULL,
  `projectID` int(11) NOT NULL,
  `amountPaid` double NOT NULL,
  `paymentMethodID` int(11) NOT NULL,
  `referenceNo` varchar(32) NOT NULL,
  `accountID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `paymentDate` date NOT NULL,
  `updateAble` smallint(1) NOT NULL DEFAULT '1',
  `currencyID` int(11) NOT NULL,
  `exchangeRate` double NOT NULL DEFAULT '1',
  `addressID` int(11) NOT NULL,
  `locationID` int(11) NOT NULL,
  `memo` text NOT NULL,
  `simplifiedTax` int(1) NOT NULL DEFAULT '0',
  `totalDiscount` double NOT NULL,
  `bankCharges` double NOT NULL,
  `bankId` int(11) NOT NULL,
  `totalOtherCharge` double NOT NULL,
  `totalPaid` double NOT NULL,
  `totalApplied` double NOT NULL,
  `outOfBalance` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(16) NOT NULL,
  `accountDescription` varchar(128) NOT NULL,
  `paymentID` int(11) NOT NULL,
  `journalNo` varchar(32) NOT NULL,
  `reconcile` smallint(6) NOT NULL,
  `bankReconcileID` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=58 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_payment_others`
--

LOCK TABLES `comp_payment_others` WRITE;
/*!40000 ALTER TABLE `comp_payment_others` DISABLE KEYS */;
INSERT INTO `comp_payment_others` VALUES (1,1,1,5,'',0,9.9,68,'',1,'OP-C','2016-07-11',0,0,1,0,0,'0',0,0,0,144,0,0,0,0,7,'2016-07-11 02:25:22',0,'2016-07-11 02:26:23',0,'',0,'AP20160700000002',0,0),(2,2,0,9,'160',0,2500,0,'',3,'LR','2016-06-02',0,0,1,0,0,'',0,0,0,33133,0,0,0,0,0,'2016-07-11 02:27:09',0,'2016-08-05 03:37:53',0,'',0,'AP20160600000001',0,0),(3,3,1,5,'',0,850,68,'',1,'OP-L','2016-07-11',0,0,1,0,0,'',0,0,0,141,0,0,0,0,7,'2016-07-11 02:31:57',0,'2016-07-11 02:31:57',0,'',0,'AP20160700000003',0,0),(4,1,1,7,'',0,50,68,'',1,'OP-C','2016-07-26',0,0,1,0,0,'0',0,0,0,146,0,0,0,0,9,'2016-07-26 01:07:46',0,'2016-07-26 01:07:46',0,'',0,'AP160700000001',0,0),(5,2,1,7,'',0,20,68,'',1,'OP-C','2016-07-26',0,0,1,0,0,'0',0,0,0,146,0,0,0,0,9,'2016-07-26 01:09:28',0,'2016-07-26 01:10:00',1,'',0,'AP20160700000002',0,0),(6,3,1,7,'',0,25.9,68,'',1,'OP-E','2016-07-26',0,0,1,0,0,'BIL',0,0,0,146,0,0,0,0,9,'2016-07-26 01:32:00',0,'2016-07-26 01:32:00',0,'',0,'AP20160700000003',0,0),(7,4,1,7,'',0,21.2,68,'',1,'OP-E','2016-07-29',0,0,1,0,0,'bil',0,0,0,146,0,0,0,0,9,'2016-07-26 01:33:08',0,'2016-07-26 01:34:36',1,'',0,'AP20160700000004',0,0),(8,5,1,7,'',0,953,68,'',1,'OP-A','2016-07-26',0,0,1,0,0,'loan',0,0,0,146,0,0,0,0,9,'2016-07-26 01:36:08',0,'2016-07-26 01:36:08',0,'',0,'AP20160700000005',0,0),(9,6,1,7,'',0,795,68,'',1,'OP-A','2016-07-27',0,0,1,0,0,'KERETA',0,0,0,146,0,0,0,0,9,'2016-07-26 01:37:14',0,'2016-07-26 01:37:14',0,'',0,'AP20160700000006',0,0),(14,2,0,8,'153',0,20000,0,'',3,'TT','2016-07-29',0,0,1,0,0,'',0,0,0,154,0,0,0,0,0,'2016-07-29 07:14:52',0,'2016-07-29 07:14:52',0,'',0,'AP20160700000008',0,0),(15,3,1,8,'',0,10000,68,'',1,'OP-L','2016-07-29',0,0,1,0,0,'dede',0,0,0,153,0,0,0,0,10,'2016-07-29 07:21:43',0,'2016-07-29 07:22:23',0,'',0,'AP20160700000010',0,0),(16,4,1,8,'',0,20000,68,'',1,'OP-L','2016-07-29',0,0,1,0,0,'lele',0,0,0,153,0,0,0,0,10,'2016-07-29 07:23:32',0,'2016-07-29 07:24:25',1,'',0,'AP20160700000013',0,0),(17,5,0,9,'160',0,100000,0,'',3,'LR','2016-07-29',0,0,1,0,0,'',0,0,0,33135,0,0,0,0,0,'2016-07-29 07:28:35',0,'2016-08-05 03:38:26',0,'',0,'AP20160700000001',0,0),(19,1,1,9,'',0,50,68,'',1,'OP-C','2016-02-02',0,0,1,0,0,'0',0,0,0,160,0,0,0,0,11,'2016-08-03 07:27:25',0,'2016-08-04 09:53:25',0,'',0,'AP20160200000002',0,0),(20,1,1,2,'',0,96.8,68,'',1,'OP-C','2016-08-03',0,0,1,0,0,'0',0,0,0,130,0,0,0,0,4,'2016-08-03 07:31:30',0,'2016-08-03 07:31:31',0,'',0,'AP160800000001',0,0),(21,2,1,2,'',0,63,68,'',1,'OP-E','2016-08-03',0,0,1,0,0,'',0,0,0,130,0,0,0,0,4,'2016-08-03 07:32:58',0,'2016-08-03 07:32:58',0,'',0,'AP20160800000002',0,0),(22,2,1,9,'',0,50,68,'',1,'OP-C','2016-01-05',0,0,1,0,0,'0',0,0,0,160,0,0,0,0,11,'2016-08-04 09:23:55',0,'2016-08-04 09:24:19',0,'',0,'AP20160100000002',0,0),(23,3,1,9,'',0,45,68,'',1,'OP-C','2016-01-05',0,0,1,0,0,'0',0,0,0,160,0,0,0,0,11,'2016-08-04 09:26:00',0,'2016-08-04 09:44:16',0,'',0,'AP20160100000005',0,0),(24,4,1,9,'',0,150,68,'',1,'OP-E','2016-08-04',0,0,1,0,0,'lalalalalalalalala',0,0,0,160,0,0,0,0,11,'2016-08-04 09:35:33',0,'2016-08-04 09:52:38',0,'',0,'AP20160800000007',0,0),(25,5,0,9,'161',0,100,0,'',3,'TT','2016-08-04',0,0,1,0,0,'',0,0,0,160,0,0,0,0,0,'2016-08-04 09:38:21',0,'2016-08-04 09:38:21',0,'',0,'AP20160800000003',0,0),(26,6,0,9,'160',0,90,0,'',3,'TT','2016-08-04',0,0,1,0,0,'',0,0,0,161,0,0,0,0,0,'2016-08-04 09:39:19',0,'2016-08-04 09:39:20',0,'',0,'AP20160800000004',0,0),(27,7,1,9,'',0,50,68,'',1,'OP-C','2016-08-04',0,0,1,0,0,'0',0,0,0,160,0,0,0,0,11,'2016-08-04 09:46:21',0,'2016-08-04 09:46:35',0,'',0,'AP20160800000006',0,0),(28,8,0,9,'161',0,50,0,'',3,'TT','2016-08-04',0,0,1,0,0,'',0,0,0,160,0,0,0,0,0,'2016-08-04 09:54:29',0,'2016-08-04 09:54:46',0,'',0,'AP20160800000009',0,0),(29,9,0,9,'161',0,50,0,'',3,'TT','2016-08-04',0,0,1,0,0,'',0,0,0,160,0,0,0,0,0,'2016-08-04 10:06:06',0,'2016-08-04 10:06:06',0,'',0,'AP20160800000010',0,0),(30,10,0,9,'161',0,100,0,'',3,'TT','2016-08-05',0,0,1,0,0,'',0,0,0,160,0,0,0,0,0,'2016-08-05 02:43:07',0,'2016-08-05 02:43:07',0,'',0,'AP20160800000011',0,0),(31,11,0,9,'161',0,20,0,'',3,'TT','2016-01-01',0,0,1,0,0,'',0,0,0,160,0,0,0,0,0,'2016-08-05 02:45:12',0,'2016-08-05 02:45:12',0,'',0,'AP20160100000006',0,0),(32,12,1,9,'',0,200,68,'',1,'OP-L','2016-08-05',0,0,1,0,0,'try',0,0,0,160,0,0,0,0,11,'2016-08-05 03:52:00',0,'2016-08-05 03:52:00',0,'',0,'AP20160800000012',0,0),(33,13,0,9,'161',0,10,0,'',3,'TT','2016-08-05',0,0,1,0,0,'',0,0,0,160,0,0,0,0,0,'2016-08-05 03:53:51',0,'2016-08-05 03:53:51',0,'',0,'AP20160800000013',0,0),(34,1,1,12,'',0,100,68,'',1,'OP-C','2016-09-05',0,0,1,0,0,'0',0,0,0,172,0,0,0,0,14,'2016-09-05 06:22:20',0,'2016-09-05 06:22:32',1,'',0,'AP160900000001',0,0),(35,1,0,16,'189',0,2500,0,'',3,'TT','2016-10-01',0,0,1,0,0,'',0,0,0,186,0,0,0,0,0,'2016-10-04 03:37:41',0,'2016-10-04 04:22:43',0,'',0,'AP20161000000016',0,0),(36,2,1,16,'',0,2807,68,'',33448,'OP-C','2016-10-01',0,0,1,0,0,'0',0,0,0,189,0,0,0,0,1,'2016-10-04 03:46:29',0,'2016-10-04 03:48:04',0,'',0,'AP20161000000006',0,0),(37,3,1,16,'',0,500,68,'',0,'OP-A','2016-10-04',0,0,1,0,0,'',0,0,0,189,0,0,0,0,1,'2016-10-04 03:49:34',0,'2016-10-04 03:49:35',0,'',0,'AP20161000000007',0,0),(38,4,0,16,'189',0,2000,0,'',3,'TT','2016-10-07',0,0,1,0,0,'',0,0,0,186,0,0,0,0,0,'2016-10-04 03:55:25',0,'2016-10-04 03:55:25',0,'',0,'AP20161000000008',0,0),(39,5,1,16,'',0,2500,68,'',33448,'OP-C','2016-10-07',0,0,1,0,0,'0',0,0,0,189,0,0,0,0,1,'2016-10-04 03:56:26',0,'2016-10-04 03:58:00',0,'',0,'AP20161000000010',0,0),(40,6,0,16,'189',0,5000,0,'',3,'TT','2016-10-08',0,0,1,0,0,'',0,0,0,186,0,0,0,0,0,'2016-10-04 03:59:43',0,'2016-10-04 03:59:43',0,'',0,'AP20161000000011',0,0),(41,7,1,16,'',0,3500,68,'',33448,'OP-C','2016-10-08',0,0,1,0,0,'0',0,0,0,189,0,0,0,0,1,'2016-10-04 04:00:27',0,'2016-10-04 04:00:27',0,'',0,'AP20161000000012',0,0),(42,8,0,16,'189',0,10000,0,'',3,'TT','2016-10-13',0,0,1,0,0,'',0,0,0,186,0,0,0,0,0,'2016-10-04 04:06:59',0,'2016-10-04 04:06:59',0,'',0,'AP20161000000013',0,0),(43,9,1,16,'',0,12000,68,'',33448,'OP-C','2016-10-13',0,0,1,0,0,'0',0,0,0,189,0,0,0,0,1,'2016-10-04 04:07:53',0,'2016-10-04 04:08:13',0,'',0,'AP20161000000015',0,0),(44,10,0,16,'189',0,10000,0,'',3,'TT','2016-10-15',0,0,1,0,0,'',0,0,0,186,0,0,0,0,0,'2016-10-04 04:52:16',0,'2016-10-04 04:52:17',0,'',0,'AP20161000000017',0,0),(45,11,1,16,'',0,7233,68,'',33448,'OP-C','2016-10-15',0,0,1,0,0,'0',0,0,0,189,0,0,0,0,1,'2016-10-04 04:53:33',0,'2016-10-04 04:53:34',0,'',0,'AP20161000000018',0,0),(46,12,1,16,'',0,85,68,'',0,'OP-E','2016-10-02',0,0,1,0,0,'',0,0,0,189,0,0,0,0,1,'2016-10-04 04:56:16',0,'2016-10-04 04:59:45',0,'',0,'AP20161000000021',0,0),(47,13,1,16,'',0,75,68,'',0,'OP-E','2016-10-08',0,0,1,0,0,'',0,0,0,189,0,0,0,0,1,'2016-10-04 05:00:34',0,'2016-10-04 05:00:34',0,'',0,'AP20161000000022',0,0),(48,14,1,16,'',0,80,68,'',0,'OP-E','2016-10-09',0,0,1,0,0,'',0,0,0,189,0,0,0,0,1,'2016-10-04 05:01:31',0,'2016-10-04 05:01:32',0,'',0,'AP20161000000023',0,0),(49,15,1,16,'',0,90,68,'',0,'OP-E','2016-10-15',0,0,1,0,0,'',0,0,0,189,0,0,0,0,1,'2016-10-04 05:02:28',0,'2016-10-04 05:02:28',0,'',0,'AP20161000000024',0,0),(50,16,1,16,'',0,65,68,'',0,'OP-E','2016-10-16',0,0,1,0,0,'',0,0,0,189,0,0,0,0,1,'2016-10-04 05:03:16',0,'2016-10-04 05:03:17',0,'',0,'AP20161000000025',0,0),(51,17,1,16,'',0,1200,68,'',0,'OP-L','2016-10-04',0,0,1,0,0,'',0,0,0,187,0,0,0,0,1,'2016-10-04 08:40:02',0,'2016-10-04 08:40:02',0,'',0,'AP20161000000026',0,0),(52,1,1,20,'',0,300,68,'',33568,'OP-C','2016-10-10',0,0,1,0,0,'0',0,0,0,194,0,0,0,0,4,'2016-10-10 02:18:00',0,'2016-10-10 02:18:00',0,'',0,'AP161000000001',0,0),(53,2,1,20,'',0,400,68,'',33625,'OP-C','2016-10-10',0,0,1,0,0,'0',0,0,0,204,0,0,0,0,5,'2016-10-10 06:47:45',0,'2016-10-10 06:47:46',0,'',0,'AP20161000000002',0,0),(55,1,1,21,'',0,2050,68,'',33682,'OP-C','2016-10-13',0,0,1,0,0,'0',0,0,0,209,0,0,0,0,6,'2016-10-13 01:35:36',0,'2016-10-13 08:00:37',0,'',0,'AP20161000000002',0,0),(56,2,1,21,'',0,10900,68,'',0,'OP-E','2016-10-13',0,0,1,0,0,'yo wassup1',0,0,0,208,0,0,0,0,6,'2016-10-13 08:59:48',0,'2016-10-13 08:59:48',0,'',0,'AP20161000000003',0,0),(57,1,1,22,'ashabul kahfi',0,100000,68,'',33739,'OP-C','2016-11-10',0,0,1,0,0,'0',0,0,0,213,0,0,0,0,7,'2016-11-10 10:06:08',0,'2016-11-10 10:06:08',0,'',0,'AP161100000001',0,0);
/*!40000 ALTER TABLE `comp_payment_others` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `trigger_before_insert_payo_add_serialNo` BEFORE INSERT ON `comp_payment_others`
 FOR EACH ROW set new.serialNo = (select nextSerialNo 

			   from view_serial_comp_payment_others 

			   where companyID = new.companyID) */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_payment_others_bak`
--

DROP TABLE IF EXISTS `comp_payment_others_bak`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_payment_others_bak` (
  `ID` int(11) NOT NULL DEFAULT '0',
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `otherPaymentType` smallint(6) NOT NULL COMMENT '0=with item. 1=without item',
  `companyID` int(11) NOT NULL,
  `payTo` text NOT NULL,
  `projectID` int(11) NOT NULL,
  `amountPaid` double NOT NULL,
  `paymentMethodID` int(11) NOT NULL,
  `referenceNo` varchar(32) NOT NULL,
  `accountID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `paymentDate` date NOT NULL,
  `updateAble` smallint(1) NOT NULL DEFAULT '1',
  `currencyID` int(11) NOT NULL,
  `exchangeRate` double NOT NULL,
  `addressID` int(11) NOT NULL,
  `locationID` int(11) NOT NULL,
  `memo` text NOT NULL,
  `simplifiedTax` int(1) NOT NULL DEFAULT '0',
  `totalDiscount` double NOT NULL,
  `bankCharges` double NOT NULL,
  `bankId` int(11) NOT NULL,
  `totalOtherCharge` double NOT NULL,
  `totalPaid` double NOT NULL,
  `totalApplied` double NOT NULL,
  `outOfBalance` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(16) NOT NULL,
  `accountDescription` varchar(128) NOT NULL,
  `paymentID` int(11) NOT NULL,
  `journalNo` varchar(32) NOT NULL,
  `reconcile` smallint(6) NOT NULL,
  `bankReconcileID` int(11) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_payment_others_bak`
--

LOCK TABLES `comp_payment_others_bak` WRITE;
/*!40000 ALTER TABLE `comp_payment_others_bak` DISABLE KEYS */;
INSERT INTO `comp_payment_others_bak` VALUES (10,1,0,8,'154',0,10000,0,'',3,'TT','2016-07-29',0,0,1,0,0,'',0,0,0,153,0,0,0,0,0,'2016-07-29 07:07:08',0,'2016-07-29 07:08:02',0,'',0,'AP20160700000003',0,0),(11,1,0,8,'154',0,10000,0,'',3,'TT','2016-07-29',0,0,1,0,0,'',0,0,0,153,0,0,0,0,0,'2016-07-29 07:12:12',0,'2016-07-29 07:12:23',0,'',0,'AP20160700000005',0,0),(12,1,0,8,'154',0,10000,0,'',3,'TT','2016-07-29',0,0,1,0,0,'',0,0,0,153,0,0,0,0,0,'2016-07-29 07:14:09',0,'2016-07-29 07:14:09',0,'',0,'AP20160700000006',0,0),(13,1,0,8,'154',0,10000,0,'',3,'TT','2016-07-29',0,0,1,0,0,'',0,0,0,153,0,0,0,0,0,'2016-07-29 07:14:32',0,'2016-07-29 07:14:32',0,'',0,'AP20160700000007',0,0),(18,6,0,8,'153',0,150000,0,'',3,'LR','2016-07-29',0,0,1,0,0,'',0,0,0,33070,0,0,0,0,0,'2016-07-29 07:29:57',0,'2016-07-29 07:29:58',0,'',0,'AP20160700000017',0,0);
/*!40000 ALTER TABLE `comp_payment_others_bak` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_payment_others_with_item`
--

DROP TABLE IF EXISTS `comp_payment_others_with_item`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_payment_others_with_item` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `otherPaymentID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `itemname` varchar(64) NOT NULL,
  `itemdescription` text NOT NULL,
  `quantity` int(11) NOT NULL,
  `umID` int(11) NOT NULL,
  `unitPrice` double NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `accountID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `is_delete` smallint(16) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_payment_others_with_item`
--

LOCK TABLES `comp_payment_others_with_item` WRITE;
/*!40000 ALTER TABLE `comp_payment_others_with_item` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_payment_others_with_item` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_payment_others_without_item`
--

DROP TABLE IF EXISTS `comp_payment_others_without_item`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_payment_others_without_item` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `otherPaymentID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `accountID` int(11) NOT NULL,
  `itemdescription` text NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxBL` double NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=90 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_payment_others_without_item`
--

LOCK TABLES `comp_payment_others_without_item` WRITE;
/*!40000 ALTER TABLE `comp_payment_others_without_item` DISABLE KEYS */;
INSERT INTO `comp_payment_others_without_item` VALUES (1,1,1,32956,'hoe',9.9,0,0,0,0,9.9,7,'2016-07-11 02:25:22',0,'0000-00-00 00:00:00'),(2,2,0,33127,'',2500,0,0,0,0,0,0,'2016-07-11 02:27:09',0,'2016-08-05 03:37:52'),(3,3,1,32950,'payment July 2016',850,0,0,0,0,850,7,'2016-07-11 02:31:57',0,'0000-00-00 00:00:00'),(4,4,1,33013,'today',50,0,0,0,0,50,9,'2016-07-26 01:07:46',0,'0000-00-00 00:00:00'),(5,5,1,33013,'todai',20,0,0,0,0,20,9,'2016-07-26 01:09:28',0,'0000-00-00 00:00:00'),(6,6,1,33019,'TNB',25.9,0,0,0,0,25.9,9,'2016-07-26 01:32:00',0,'0000-00-00 00:00:00'),(7,7,1,33019,'AIR',21.2,0,0,0,0,21.2,9,'2016-07-26 01:33:08',0,'0000-00-00 00:00:00'),(8,8,1,32993,'HONDA CIVIC',953,0,0,0,0,953,9,'2016-07-26 01:36:08',0,'0000-00-00 00:00:00'),(9,9,1,32993,'TOYOTA ESTIMA',795,0,0,0,0,795,9,'2016-07-26 01:37:14',0,'0000-00-00 00:00:00'),(14,14,0,33064,'pindahan',20000,0,0,0,0,0,0,'2016-07-29 07:14:52',0,'0000-00-00 00:00:00'),(15,15,1,33071,'Loan',10000,0,0,0,0,10000,10,'2016-07-29 07:21:43',0,'2016-07-29 07:22:22'),(16,16,1,33071,'lele',20000,0,0,0,0,20000,10,'2016-07-29 07:23:32',0,'2016-07-29 07:23:58'),(17,17,0,33127,'pemindahan',100000,0,0,0,0,0,0,'2016-07-29 07:28:36',0,'2016-08-05 03:38:26'),(19,19,1,33139,'kapur',10,0,0,0,0,10,11,'2016-08-03 07:27:25',0,'0000-00-00 00:00:00'),(20,20,1,32710,'tepung gandum',91.8,0,0,0,0,91.8,4,'2016-08-03 07:31:30',0,'0000-00-00 00:00:00'),(21,20,1,32710,'kentang',5,0,0,0,0,5,4,'2016-08-03 07:31:30',0,'0000-00-00 00:00:00'),(22,21,1,32733,'bil telefon',63,0,0,0,0,63,4,'2016-08-03 07:32:58',0,'0000-00-00 00:00:00'),(23,22,1,33139,'kasut',40,0,0,0,0,40,11,'2016-08-04 09:23:55',0,'0000-00-00 00:00:00'),(24,22,1,33139,'tapak',10,0,0,0,0,10,11,'2016-08-04 09:24:19',0,'0000-00-00 00:00:00'),(25,23,1,33139,'tapak',20,0,0,0,0,20,11,'2016-08-04 09:26:00',0,'0000-00-00 00:00:00'),(26,23,1,33139,'tali',10,0,0,0,0,10,11,'2016-08-04 09:26:15',0,'0000-00-00 00:00:00'),(27,24,1,33145,'Monthly Bill',100,0,0,0,0,100,11,'2016-08-04 09:35:33',0,'0000-00-00 00:00:00'),(28,24,1,33152,'Biskut',20,0,0,0,0,20,11,'2016-08-04 09:36:24',0,'0000-00-00 00:00:00'),(29,25,0,33128,'Transfer',100,0,0,0,0,0,0,'2016-08-04 09:38:21',0,'0000-00-00 00:00:00'),(30,26,0,33127,'transferization',90,0,0,0,0,0,0,'2016-08-04 09:39:19',0,'0000-00-00 00:00:00'),(31,23,1,33139,'TEST',15,0,0,0,0,15,11,'2016-08-04 09:44:16',0,'0000-00-00 00:00:00'),(32,27,1,33139,'selesai',20,0,0,0,0,20,11,'2016-08-04 09:46:21',0,'0000-00-00 00:00:00'),(33,27,1,33139,'aduhai',30,0,0,0,0,30,11,'2016-08-04 09:46:35',0,'0000-00-00 00:00:00'),(34,24,1,33141,'ssaya',30,0,0,0,0,30,11,'2016-08-04 09:52:37',0,'0000-00-00 00:00:00'),(35,19,1,33139,'semalam',40,0,0,0,0,40,11,'2016-08-04 09:53:25',0,'0000-00-00 00:00:00'),(36,28,0,33128,'try',50,0,0,0,0,0,0,'2016-08-04 09:54:29',0,'0000-00-00 00:00:00'),(37,29,0,33128,'semalam',50,0,0,0,0,0,0,'2016-08-04 10:06:06',0,'0000-00-00 00:00:00'),(38,30,0,33128,'terai',100,0,0,0,0,0,0,'2016-08-05 02:43:07',0,'0000-00-00 00:00:00'),(39,31,0,33128,'jan',20,0,0,0,0,0,0,'2016-08-05 02:45:12',0,'0000-00-00 00:00:00'),(40,32,1,33135,'Loan',200,0,0,0,0,200,11,'2016-08-05 03:52:00',0,'0000-00-00 00:00:00'),(41,33,0,33128,'BFDAY AZ',10,0,0,0,0,0,0,'2016-08-05 03:53:51',0,'0000-00-00 00:00:00'),(42,34,1,33385,'05092016',100,0,0,0,0,100,14,'2016-09-05 06:22:20',0,'0000-00-00 00:00:00'),(43,35,0,33439,'MODAL 1.10.2016',2500,0,0,0,0,0,0,'2016-10-04 03:37:41',0,'2016-10-04 03:38:31'),(44,36,1,33448,'AYAM',889,0,0,0,0,889,1,'2016-10-04 03:46:29',0,'0000-00-00 00:00:00'),(45,36,1,33448,'DAGING',1055,0,0,0,0,1055,1,'2016-10-04 03:46:29',0,'0000-00-00 00:00:00'),(46,36,1,33448,'TEMPE',50,0,0,0,0,50,1,'2016-10-04 03:46:29',0,'0000-00-00 00:00:00'),(47,36,1,33448,'SUHOON',25,0,0,0,0,25,1,'2016-10-04 03:46:29',0,'0000-00-00 00:00:00'),(48,36,1,33448,'CILI2',50,0,0,0,0,50,1,'2016-10-04 03:46:29',0,'0000-00-00 00:00:00'),(49,36,1,33448,'REMPAH2',150,0,0,0,0,150,1,'2016-10-04 03:46:29',0,'0000-00-00 00:00:00'),(50,36,1,33448,'BERAS 50KG',128,0,0,0,0,128,1,'2016-10-04 03:46:29',0,'0000-00-00 00:00:00'),(51,36,1,33448,'BERAS BASMATHI',179.5,0,0,0,0,179.5,1,'2016-10-04 03:46:29',0,'0000-00-00 00:00:00'),(52,36,1,33448,'BUAH2 JERUK ACAR',100,0,0,0,0,100,1,'2016-10-04 03:46:29',0,'0000-00-00 00:00:00'),(53,36,1,33448,'TEMBIKAI & SUNKIST',75,0,0,0,0,75,1,'2016-10-04 03:46:29',0,'0000-00-00 00:00:00'),(54,36,1,33448,'GULA',25.5,0,0,0,0,25.5,1,'2016-10-04 03:46:29',0,'0000-00-00 00:00:00'),(56,36,1,33448,'SIRAP',10,0,0,0,0,10,1,'2016-10-04 03:48:04',0,'0000-00-00 00:00:00'),(57,36,1,33448,'SUSU CAIR',50,0,0,0,0,50,1,'2016-10-04 03:48:04',0,'0000-00-00 00:00:00'),(58,36,1,33448,'TEH SERBUK',20,0,0,0,0,20,1,'2016-10-04 03:48:04',0,'0000-00-00 00:00:00'),(59,37,1,33425,'TRAY & BEKAS NASI',500,0,0,0,0,500,1,'2016-10-04 03:49:34',0,'0000-00-00 00:00:00'),(60,38,0,33439,'MODAL 8/10/2016',2000,0,0,0,0,0,0,'2016-10-04 03:55:25',0,'0000-00-00 00:00:00'),(61,39,1,33448,'ITEM AS AT 1/10/2016',2500,0,0,0,0,2500,1,'2016-10-04 03:56:26',0,'0000-00-00 00:00:00'),(62,40,0,33439,'MODAL 9/10/2016',5000,0,0,0,0,0,0,'2016-10-04 03:59:43',0,'0000-00-00 00:00:00'),(63,41,1,33448,'ITEM AS AT 1/10/2016',3500,0,0,0,0,3500,1,'2016-10-04 04:00:27',0,'0000-00-00 00:00:00'),(64,42,0,33439,'MODAL 15/10/2016',10000,0,0,0,0,0,0,'2016-10-04 04:06:59',0,'0000-00-00 00:00:00'),(65,43,1,33448,'ITEM AS AT 7/10/2016',12000,0,0,0,0,12000,1,'2016-10-04 04:07:53',0,'0000-00-00 00:00:00'),(66,44,0,33439,'MODAL 16/10/2016',10000,0,0,0,0,0,0,'2016-10-04 04:52:17',0,'0000-00-00 00:00:00'),(67,45,1,33448,'ITEM AS AT 1/10/2016',7233,0,0,0,0,7233,1,'2016-10-04 04:53:33',0,'0000-00-00 00:00:00'),(68,46,1,33472,'MINUM2',25,0,0,0,0,25,1,'2016-10-04 04:56:16',0,'2016-10-04 04:59:25'),(69,46,1,33462,'KOS PERJALANAN',60,0,0,0,0,60,1,'2016-10-04 04:56:16',0,'2016-10-04 04:59:25'),(70,47,1,33462,'KOS PERJALANAN',50,0,0,0,0,50,1,'2016-10-04 05:00:34',0,'0000-00-00 00:00:00'),(71,47,1,33472,'MINUM2',25,0,0,0,0,25,1,'2016-10-04 05:00:34',0,'0000-00-00 00:00:00'),(72,48,1,33462,'KOS PERJALANAN',55,0,0,0,0,55,1,'2016-10-04 05:01:32',0,'0000-00-00 00:00:00'),(73,48,1,33472,'MINUM2 SIKIT',25,0,0,0,0,25,1,'2016-10-04 05:01:32',0,'0000-00-00 00:00:00'),(74,49,1,33462,'KOS PERJALANAN',60,0,0,0,0,60,1,'2016-10-04 05:02:28',0,'0000-00-00 00:00:00'),(75,49,1,33472,'MINUM2 SIKIT',30,0,0,0,0,30,1,'2016-10-04 05:02:28',0,'0000-00-00 00:00:00'),(76,50,1,33462,'KOS PERJALANAN',45,0,0,0,0,45,1,'2016-10-04 05:03:16',0,'0000-00-00 00:00:00'),(77,50,1,33472,'MINUM2 SIKIT',20,0,0,0,0,20,1,'2016-10-04 05:03:16',0,'0000-00-00 00:00:00'),(78,51,1,33443,'Kereta',1200,0,0,0,0,1200,1,'2016-10-04 08:40:02',0,'0000-00-00 00:00:00'),(79,52,1,33568,'10/10/2016',100,0,0,0,0,100,4,'2016-10-10 02:18:00',0,'0000-00-00 00:00:00'),(80,52,1,33568,'10/10/2016-2',200,0,0,0,0,200,4,'2016-10-10 02:18:00',0,'0000-00-00 00:00:00'),(81,53,1,33625,'garfield10/10/2016',100,0,0,0,0,100,5,'2016-10-10 06:47:45',0,'0000-00-00 00:00:00'),(82,53,1,33625,'garfield10/10/2016-2',300,0,0,0,0,300,5,'2016-10-10 06:47:45',0,'0000-00-00 00:00:00'),(85,55,1,33682,'this is eminem 1',1550,0,0,0,0,1550,6,'2016-10-13 01:35:36',0,'0000-00-00 00:00:00'),(86,55,1,33682,'This is eminem 2',500,0,0,0,0,500,6,'2016-10-13 01:35:36',0,'0000-00-00 00:00:00'),(87,56,1,33688,'wassup1',4000,0,0,0,0,4000,6,'2016-10-13 08:59:48',0,'0000-00-00 00:00:00'),(88,56,1,33692,'wassup2',6900,0,0,0,0,6900,6,'2016-10-13 08:59:48',0,'0000-00-00 00:00:00'),(89,57,1,33739,'pembekal motor A',100000,0,0,0,0,100000,7,'2016-11-10 10:06:08',0,'0000-00-00 00:00:00');
/*!40000 ALTER TABLE `comp_payment_others_without_item` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_payment_others_without_item_bak`
--

DROP TABLE IF EXISTS `comp_payment_others_without_item_bak`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_payment_others_without_item_bak` (
  `ID` int(11) NOT NULL DEFAULT '0',
  `otherPaymentID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `accountID` int(11) NOT NULL,
  `itemdescription` text NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxBL` double NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_payment_others_without_item_bak`
--

LOCK TABLES `comp_payment_others_without_item_bak` WRITE;
/*!40000 ALTER TABLE `comp_payment_others_without_item_bak` DISABLE KEYS */;
INSERT INTO `comp_payment_others_without_item_bak` VALUES (10,10,0,33065,'Transfer',10000,0,0,0,0,0,0,'2016-07-29 07:07:08',0,'2016-07-29 07:08:01'),(11,11,0,33065,'Transfer',10000,0,0,0,0,0,0,'2016-07-29 07:12:12',0,'0000-00-00 00:00:00'),(12,12,0,33065,'Transfer',10000,0,0,0,0,0,0,'2016-07-29 07:14:09',0,'0000-00-00 00:00:00'),(13,13,0,33065,'Transfer',10000,0,0,0,0,0,0,'2016-07-29 07:14:32',0,'0000-00-00 00:00:00'),(18,18,0,33064,'transferization',150000,0,0,0,0,0,0,'2016-07-29 07:29:57',0,'0000-00-00 00:00:00');
/*!40000 ALTER TABLE `comp_payment_others_without_item_bak` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_project`
--

DROP TABLE IF EXISTS `comp_project`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_project` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `project_name` varchar(128) NOT NULL,
  `projectManagerID` int(11) NOT NULL,
  `totalBudget` double NOT NULL,
  `remarks` text NOT NULL,
  `createdID` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(16) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_project`
--

LOCK TABLES `comp_project` WRITE;
/*!40000 ALTER TABLE `comp_project` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_project` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_purchase_bad_debt`
--

DROP TABLE IF EXISTS `comp_purchase_bad_debt`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_purchase_bad_debt` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `supplierID` int(11) NOT NULL,
  `valueBadDebt` double NOT NULL,
  `gstBadDebt` double NOT NULL,
  `transDate` date NOT NULL,
  `updateAble` tinyint(1) NOT NULL DEFAULT '1',
  `journalNo` varchar(255) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_purchase_bad_debt`
--

LOCK TABLES `comp_purchase_bad_debt` WRITE;
/*!40000 ALTER TABLE `comp_purchase_bad_debt` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_purchase_bad_debt` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_purchase_debt_recover`
--

DROP TABLE IF EXISTS `comp_purchase_debt_recover`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_purchase_debt_recover` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `suppID` int(11) NOT NULL,
  `valueDebtRecover` double NOT NULL,
  `gstDebtRecover` double NOT NULL,
  `transDate` date NOT NULL,
  `updateAble` tinyint(1) NOT NULL DEFAULT '1',
  `journalNo` varchar(255) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_purchase_debt_recover`
--

LOCK TABLES `comp_purchase_debt_recover` WRITE;
/*!40000 ALTER TABLE `comp_purchase_debt_recover` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_purchase_debt_recover` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_purchase_order`
--

DROP TABLE IF EXISTS `comp_purchase_order`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_purchase_order` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL,
  `companyID` int(11) NOT NULL,
  `purchaserID` int(11) NOT NULL,
  `supplierID` int(11) NOT NULL,
  `invoiceID` int(11) NOT NULL DEFAULT '0',
  `shiptoID` int(11) NOT NULL,
  `purchaseOrderNo` varchar(32) NOT NULL,
  `salesAgentName` varchar(64) NOT NULL,
  `formNo` varchar(16) NOT NULL,
  `poDate` date NOT NULL,
  `exchangeRate` double NOT NULL,
  `termAndConditionID` int(11) NOT NULL,
  `currencyID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updateAble` tinyint(4) NOT NULL DEFAULT '1',
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `memo` varchar(255) NOT NULL,
  `is_delete` int(11) NOT NULL DEFAULT '0',
  `journalNo` varchar(32) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_purchase_order`
--

LOCK TABLES `comp_purchase_order` WRITE;
/*!40000 ALTER TABLE `comp_purchase_order` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_purchase_order` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `mytrigerfopobeforeinsert` BEFORE INSERT ON `comp_purchase_order`
 FOR EACH ROW set new.serialNo = 

(select nextSerialNo from view_serial_comp_purchase_order 

	where companyID = new.companyID) */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_purchase_order_detail`
--

DROP TABLE IF EXISTS `comp_purchase_order_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_purchase_order_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `purchaseOrderID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `itemCode` varchar(16) NOT NULL,
  `itemName` varchar(128) NOT NULL,
  `description` text,
  `unitPrice` double NOT NULL,
  `umID` int(11) NOT NULL,
  `quantityOrder` int(11) NOT NULL,
  `quantityReceivedTotal` int(11) NOT NULL DEFAULT '0',
  `amount` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_purchase_order_detail`
--

LOCK TABLES `comp_purchase_order_detail` WRITE;
/*!40000 ALTER TABLE `comp_purchase_order_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_purchase_order_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_purchase_price`
--

DROP TABLE IF EXISTS `comp_purchase_price`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_purchase_price` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `supplierID` int(11) NOT NULL,
  `currencyID` int(11) NOT NULL,
  `umID` int(11) NOT NULL,
  `price` double NOT NULL,
  `startDate` date NOT NULL,
  `endDate` date NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` varchar(50) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_purchase_price`
--

LOCK TABLES `comp_purchase_price` WRITE;
/*!40000 ALTER TABLE `comp_purchase_price` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_purchase_price` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_quotation`
--

DROP TABLE IF EXISTS `comp_quotation`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_quotation` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `customerID` int(11) NOT NULL,
  `quotationCode` varchar(32) NOT NULL,
  `salesAgentID` int(11) NOT NULL,
  `employeeID` int(11) unsigned NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `quotationDate` date NOT NULL,
  `deliverToID` int(11) NOT NULL,
  `currencyID` int(11) NOT NULL,
  `supplierID` text NOT NULL,
  `memo` varchar(128) NOT NULL,
  `totalTaxAmount` double NOT NULL,
  `exchangeRate` double NOT NULL,
  `totalReceivable` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_quotation`
--

LOCK TABLES `comp_quotation` WRITE;
/*!40000 ALTER TABLE `comp_quotation` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_quotation` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `trigger_before_insert_cq_add_serialNo` BEFORE INSERT ON `comp_quotation`
 FOR EACH ROW set new.serialNo = 

(select nextSerialNo from view_serial_comp_quotation 

	where companyID = new.companyID) */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_quotation_detail`
--

DROP TABLE IF EXISTS `comp_quotation_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_quotation_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `quotationID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `description` varchar(200) NOT NULL,
  `unitOfPrice` double NOT NULL,
  `quantityOrder` int(11) NOT NULL,
  `amountExcludeTax` double DEFAULT NULL,
  `taxID` int(11) NOT NULL,
  `umID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncudeTax` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_quotation_detail`
--

LOCK TABLES `comp_quotation_detail` WRITE;
/*!40000 ALTER TABLE `comp_quotation_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_quotation_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_receive_delivery_conn`
--

DROP TABLE IF EXISTS `comp_receive_delivery_conn`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_receive_delivery_conn` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `receiveDetailID` int(11) NOT NULL,
  `deliveryDetailID` int(11) NOT NULL,
  `type` int(11) NOT NULL COMMENT '1 = DO, 2 = LocTrans, 3 = salesDebitNote, 4 = supplierDebitNote, 5 = cashSale, 6 = item adjustment',
  `qty` bigint(20) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_receive_delivery_conn`
--

LOCK TABLES `comp_receive_delivery_conn` WRITE;
/*!40000 ALTER TABLE `comp_receive_delivery_conn` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_receive_delivery_conn` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_receive_item`
--

DROP TABLE IF EXISTS `comp_receive_item`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_receive_item` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `opening_balance` tinyint(1) NOT NULL DEFAULT '0',
  `supplierDoNo` varchar(32) NOT NULL,
  `purchaseOrderID` int(11) NOT NULL,
  `supplierID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `deliveryDate` date NOT NULL,
  `locationID` int(11) NOT NULL,
  `deliverToID` int(11) NOT NULL,
  `currencyID` int(11) NOT NULL,
  `exchangeRate` float NOT NULL,
  `employeeID` int(11) NOT NULL,
  `memo` text NOT NULL,
  `shippingMethodID` int(11) NOT NULL,
  `totalAmount` double NOT NULL,
  `totalPayable` double NOT NULL,
  `journalNo` varchar(32) NOT NULL,
  `updateAble` smallint(6) NOT NULL DEFAULT '1',
  `isDelete` tinyint(1) NOT NULL DEFAULT '0',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_receive_item`
--

LOCK TABLES `comp_receive_item` WRITE;
/*!40000 ALTER TABLE `comp_receive_item` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_receive_item` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `triger_BEFORE_Insert_addSerialForReceiveItem` BEFORE INSERT ON `comp_receive_item`
 FOR EACH ROW set new.serialNo = 

(select nextSerialNo from view_serial_comp_receive_item 

	where companyID = new.companyID) */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_receive_item_detail`
--

DROP TABLE IF EXISTS `comp_receive_item_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_receive_item_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `receiveID` int(11) NOT NULL,
  `invoiceID` int(11) NOT NULL DEFAULT '0',
  `lineNo` int(11) NOT NULL,
  `poDetailID` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `itemCode` varchar(16) NOT NULL,
  `itemName` varchar(128) NOT NULL,
  `description` text,
  `unitPrice` double NOT NULL,
  `quantityOrder` double NOT NULL,
  `quantityReceived` double NOT NULL DEFAULT '0',
  `umID` int(11) NOT NULL DEFAULT '0',
  `standUM` int(11) NOT NULL,
  `amount` double NOT NULL,
  `balanceItem` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_receive_item_detail`
--

LOCK TABLES `comp_receive_item_detail` WRITE;
/*!40000 ALTER TABLE `comp_receive_item_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_receive_item_detail` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `updateBalanceItem` BEFORE INSERT ON `comp_receive_item_detail`
 FOR EACH ROW if new.balanceitem is null then

set new.balanceItem = new.quantityReceived;

end if */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_receive_payment`
--

DROP TABLE IF EXISTS `comp_receive_payment`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_receive_payment` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `customerID` int(11) NOT NULL,
  `projectID` int(11) NOT NULL,
  `paymentMethodID` int(11) NOT NULL,
  `referenceNo` varchar(32) NOT NULL,
  `bankID` int(11) NOT NULL,
  `accountID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `receivePaymentDate` date NOT NULL,
  `currencyID` int(11) NOT NULL,
  `exchangeRate` double NOT NULL,
  `addressID` int(11) NOT NULL,
  `memo` text NOT NULL,
  `totalDiscount` double NOT NULL,
  `bankCharges` double NOT NULL,
  `totalOtherCharge` double NOT NULL,
  `totalReceived` double NOT NULL,
  `totalApplied` double NOT NULL,
  `outOfBalance` double NOT NULL,
  `updateAble` smallint(1) NOT NULL DEFAULT '1',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(6) NOT NULL DEFAULT '0',
  `journalNo` varchar(32) NOT NULL,
  `bankReconcileID` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_receive_payment`
--

LOCK TABLES `comp_receive_payment` WRITE;
/*!40000 ALTER TABLE `comp_receive_payment` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_receive_payment` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `trigger_before_insert_rpay_add_serialNo` BEFORE INSERT ON `comp_receive_payment`
 FOR EACH ROW set new.serialNo = (select nextSerialNo 

			   from view_serial_comp_receive_payment

			   where companyID = new.companyID) */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_receive_payment_detail`
--

DROP TABLE IF EXISTS `comp_receive_payment_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_receive_payment_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `receivePaymentID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `invoiceID` int(11) NOT NULL,
  `totalAmount` double NOT NULL,
  `ARBalance` double NOT NULL,
  `discount` double NOT NULL,
  `amountApplied` double NOT NULL,
  `debtRecoverID` int(11) NOT NULL DEFAULT '0',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_receive_payment_detail`
--

LOCK TABLES `comp_receive_payment_detail` WRITE;
/*!40000 ALTER TABLE `comp_receive_payment_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_receive_payment_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_receive_payment_detail_creditnote`
--

DROP TABLE IF EXISTS `comp_receive_payment_detail_creditnote`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_receive_payment_detail_creditnote` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `paymentID` int(11) NOT NULL,
  `creditnoteID` int(11) NOT NULL,
  `amountApplied` double NOT NULL,
  `debtRecoverID` int(11) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_receive_payment_detail_creditnote`
--

LOCK TABLES `comp_receive_payment_detail_creditnote` WRITE;
/*!40000 ALTER TABLE `comp_receive_payment_detail_creditnote` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_receive_payment_detail_creditnote` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_receive_payment_detail_debitnote`
--

DROP TABLE IF EXISTS `comp_receive_payment_detail_debitnote`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_receive_payment_detail_debitnote` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `paymentID` int(11) NOT NULL,
  `debitnoteID` int(11) NOT NULL,
  `amountApplied` double NOT NULL,
  `debtRecoverID` int(11) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_receive_payment_detail_debitnote`
--

LOCK TABLES `comp_receive_payment_detail_debitnote` WRITE;
/*!40000 ALTER TABLE `comp_receive_payment_detail_debitnote` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_receive_payment_detail_debitnote` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_receive_payment_detail_historical_invoice`
--

DROP TABLE IF EXISTS `comp_receive_payment_detail_historical_invoice`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_receive_payment_detail_historical_invoice` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `paymentID` int(11) NOT NULL,
  `historicalinvoiceID` int(11) NOT NULL,
  `amountApplied` double NOT NULL,
  `debtRecoverID` int(11) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_receive_payment_detail_historical_invoice`
--

LOCK TABLES `comp_receive_payment_detail_historical_invoice` WRITE;
/*!40000 ALTER TABLE `comp_receive_payment_detail_historical_invoice` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_receive_payment_detail_historical_invoice` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_receive_payment_others`
--

DROP TABLE IF EXISTS `comp_receive_payment_others`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_receive_payment_others` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `receiveFrom` varchar(128) NOT NULL,
  `projectID` int(11) NOT NULL,
  `paymentMethodID` int(11) NOT NULL,
  `referenceNo` varchar(32) NOT NULL,
  `bankID` int(11) NOT NULL,
  `accountID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `receivePaymentDate` date NOT NULL,
  `currencyID` int(11) NOT NULL DEFAULT '1',
  `exchangeRate` double NOT NULL DEFAULT '1',
  `addressID` int(11) NOT NULL,
  `memo` text NOT NULL,
  `totalDiscount` double NOT NULL,
  `bankCharges` double NOT NULL,
  `totalOtherCharge` double NOT NULL,
  `totalReceived` double NOT NULL,
  `totalApplied` double NOT NULL,
  `updateAble` smallint(1) NOT NULL DEFAULT '1',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(6) NOT NULL DEFAULT '0',
  `journalNo` varchar(32) NOT NULL,
  `bankReconcileID` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_receive_payment_others`
--

LOCK TABLES `comp_receive_payment_others` WRITE;
/*!40000 ALTER TABLE `comp_receive_payment_others` DISABLE KEYS */;
INSERT INTO `comp_receive_payment_others` VALUES (1,1,2,'',0,0,'',127,0,'OR','2016-06-30',1,1,0,'',0,0,0,250,0,0,0,'2016-06-30 03:51:43',0,'2016-06-30 03:51:44',0,'AR20160600000001',0),(2,1,5,'',0,0,'',143,0,'OR','2016-07-11',1,1,0,'',0,0,0,209.8,0,0,0,'2016-07-11 02:23:27',0,'2016-07-11 02:23:45',0,'AR20160700000002',0),(3,2,5,'',0,0,'',141,0,'OR','2016-07-11',1,1,0,'',0,0,0,12078,0,0,0,'2016-07-11 02:30:08',0,'2016-07-11 02:30:26',0,'AR20160700000004',0),(4,3,5,'',0,0,'',144,0,'OR','2016-07-11',1,1,0,'',0,0,0,700,0,0,0,'2016-07-11 06:32:30',0,'2016-07-11 06:32:30',0,'AR20160700000005',0),(6,1,7,'',0,0,'',146,0,'OR','2016-07-26',1,1,0,'',0,0,0,100,0,0,0,'2016-07-26 01:06:41',0,'2016-07-26 01:06:41',0,'AR20160700000004',0),(7,1,9,'',0,0,'',160,0,'OR','2016-01-04',1,1,0,'',0,0,0,200,0,0,0,'2016-08-01 08:21:12',0,'2016-08-03 02:57:41',0,'AR20160100000003',0),(8,2,2,'',0,0,'',130,0,'OR','2016-08-03',1,1,0,'',0,0,0,109,0,0,0,'2016-08-03 07:29:06',0,'2016-08-04 04:17:50',0,'AR20160800000002',0),(9,2,9,'',0,0,'',160,0,'OR','2016-08-04',1,1,0,'',0,0,0,200,0,0,0,'2016-08-04 04:06:14',0,'2016-08-04 04:08:44',0,'AR20160800000002',0),(11,1,11,'',0,0,'',179,0,'OR','2016-09-05',1,1,0,'',0,0,0,2000,0,0,0,'2016-09-05 06:48:43',0,'2016-09-05 06:48:43',0,'AR20160900000001',0),(14,1,16,'',0,0,'',186,0,'OR','2016-10-02',1,1,0,'',0,0,0,13500,0,0,0,'2016-10-04 03:51:19',0,'2016-10-04 03:51:19',0,'AR20161000000001',0),(15,2,16,'',0,0,'',186,0,'OR','2016-10-08',1,1,0,'',0,0,0,13500,0,0,0,'2016-10-04 03:57:18',0,'2016-10-04 04:05:48',0,'AR20161000000004',0),(16,3,16,'',0,0,'',186,0,'OR','2016-10-09',1,1,0,'',0,0,0,16200,0,0,0,'2016-10-04 04:01:31',0,'2016-10-04 04:01:31',0,'AR20161000000003',0),(17,4,16,'',0,0,'',186,0,'OR','2016-10-15',1,1,0,'',0,0,0,32500,0,0,0,'2016-10-04 04:49:59',0,'2016-10-04 04:49:59',0,'AR20161000000005',0),(18,5,16,'',0,0,'',186,0,'OR','2016-10-16',1,1,0,'',0,0,0,18900,0,0,0,'2016-10-04 04:54:19',0,'2016-10-04 04:54:19',0,'AR20161000000006',0),(19,6,16,'',0,0,'',186,0,'OR','2016-10-06',1,1,0,'',0,0,0,2000,0,0,0,'2016-10-06 08:15:49',0,'2016-10-06 08:15:50',0,'AR20161000000007',0),(20,1,21,'',0,0,'',208,0,'OR','2016-10-13',1,1,0,'',0,0,0,7000,0,0,0,'2016-10-13 01:32:52',0,'2016-10-13 01:32:53',0,'AR20161000000001',0),(21,2,21,'hi eminem 1',0,0,'',211,0,'OR','2016-10-14',1,1,0,'',0,0,0,9900,0,0,0,'2016-10-14 10:03:45',0,'2016-10-14 10:03:45',0,'AR20161000000002',0),(22,1,22,'ali',0,0,'',213,0,'OR','2016-11-10',1,1,0,'',0,0,0,120000,0,0,0,'2016-11-10 10:03:54',0,'2016-11-10 10:03:54',0,'AR20161100000001',0);
/*!40000 ALTER TABLE `comp_receive_payment_others` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `trigger_before_insert_rpay_add_others_serialNo` BEFORE INSERT ON `comp_receive_payment_others`
 FOR EACH ROW set new.serialNo = (select nextSerialNo 

			   from view_serial_comp_receive_payment_others

			   where companyID = new.companyID) */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_receive_payment_others_bak`
--

DROP TABLE IF EXISTS `comp_receive_payment_others_bak`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_receive_payment_others_bak` (
  `ID` int(11) NOT NULL DEFAULT '0',
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `receiveFrom` varchar(128) NOT NULL,
  `projectID` int(11) NOT NULL,
  `paymentMethodID` int(11) NOT NULL,
  `referenceNo` varchar(32) NOT NULL,
  `bankID` int(11) NOT NULL,
  `accountID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `receivePaymentDate` date NOT NULL,
  `currencyID` int(11) NOT NULL,
  `exchangeRate` double NOT NULL,
  `addressID` int(11) NOT NULL,
  `memo` text NOT NULL,
  `totalDiscount` double NOT NULL,
  `bankCharges` double NOT NULL,
  `totalOtherCharge` double NOT NULL,
  `totalReceived` double NOT NULL,
  `totalApplied` double NOT NULL,
  `updateAble` smallint(1) NOT NULL DEFAULT '1',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(6) NOT NULL DEFAULT '0',
  `journalNo` varchar(32) NOT NULL,
  `bankReconcileID` int(11) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_receive_payment_others_bak`
--

LOCK TABLES `comp_receive_payment_others_bak` WRITE;
/*!40000 ALTER TABLE `comp_receive_payment_others_bak` DISABLE KEYS */;
INSERT INTO `comp_receive_payment_others_bak` VALUES (5,1,7,'',0,0,'',146,0,'OR','2016-07-25',1,1,0,'',0,0,0,150,0,0,0,'2016-07-25 08:15:07',0,'2016-07-26 01:05:53',0,'AR20160700000003',0),(10,1,12,'',0,0,'',172,0,'OR','2016-09-05',1,1,0,'',0,0,0,100,0,0,0,'2016-09-05 05:11:32',0,'2016-09-05 05:11:33',0,'AR20160900000001',0),(12,3,9,'',0,0,'',160,0,'OR','2016-09-05',1,1,0,'',0,0,0,150,0,0,0,'2016-09-05 08:15:33',0,'2016-09-05 08:15:34',0,'AR20160900000001',0),(13,3,9,'',0,0,'',160,0,'OR','2016-09-05',1,1,0,'',0,0,0,120,0,0,0,'2016-09-05 08:16:37',0,'2016-09-05 08:16:37',0,'AR20160900000002',0);
/*!40000 ALTER TABLE `comp_receive_payment_others_bak` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_receive_payment_others_detail`
--

DROP TABLE IF EXISTS `comp_receive_payment_others_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_receive_payment_others_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `receivePaymentOthersID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `accountNoID` int(11) NOT NULL,
  `description` text NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=57 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_receive_payment_others_detail`
--

LOCK TABLES `comp_receive_payment_others_detail` WRITE;
/*!40000 ALTER TABLE `comp_receive_payment_others_detail` DISABLE KEYS */;
INSERT INTO `comp_receive_payment_others_detail` VALUES (1,1,1,32709,'ikan kembung',250,0,0,0,0,0,'2016-06-30 03:51:43',0,'0000-00-00 00:00:00'),(7,2,1,32955,'glass bottle',42.9,0,0,0,0,0,'2016-07-11 02:23:45',0,'0000-00-00 00:00:00'),(8,2,2,32955,'knife',19.9,0,0,0,0,0,'2016-07-11 02:23:45',0,'0000-00-00 00:00:00'),(9,2,3,32955,'Hammer',55.5,0,0,0,0,0,'2016-07-11 02:23:45',0,'0000-00-00 00:00:00'),(10,2,4,32955,'Hoe',79.9,0,0,0,0,0,'2016-07-11 02:23:45',0,'0000-00-00 00:00:00'),(11,2,5,32955,'PVC Pipe 2x4mm',11.6,0,0,0,0,0,'2016-07-11 02:23:45',0,'0000-00-00 00:00:00'),(16,3,1,32955,'Flower Fan',299,0,0,0,0,0,'2016-07-11 02:30:25',0,'0000-00-00 00:00:00'),(17,3,2,32955,' lawn mower',1280,0,0,0,0,0,'2016-07-11 02:30:25',0,'0000-00-00 00:00:00'),(18,3,3,32955,'Flymo  lawn mower',2500,0,0,0,0,0,'2016-07-11 02:30:25',0,'0000-00-00 00:00:00'),(19,3,4,32955,'MTD  lawn mower',7999,0,0,0,0,0,'2016-07-11 02:30:25',0,'0000-00-00 00:00:00'),(20,4,1,32955,'repair toilet',700,0,0,0,0,0,'2016-07-11 06:32:30',0,'0000-00-00 00:00:00'),(25,6,1,33012,'harini',100,0,0,0,0,0,'2016-07-26 01:06:41',0,'0000-00-00 00:00:00'),(29,7,1,33138,'seluar xxxx',100,0,0,0,0,0,'2016-08-03 02:57:40',0,'0000-00-00 00:00:00'),(30,7,2,33138,'baju',100,0,0,0,0,0,'2016-08-03 02:57:40',0,'0000-00-00 00:00:00'),(36,9,1,33138,'gege',200,0,0,0,0,0,'2016-08-04 04:08:44',0,'0000-00-00 00:00:00'),(37,8,1,32709,'karipap',25,0,0,0,0,0,'2016-08-04 04:17:49',0,'0000-00-00 00:00:00'),(38,8,2,32709,'karipap gulung',25,0,0,0,0,0,'2016-08-04 04:17:49',0,'0000-00-00 00:00:00'),(39,8,3,32709,'air buah tembikai',25,0,0,0,0,0,'2016-08-04 04:17:49',0,'0000-00-00 00:00:00'),(40,8,4,32709,'cekodok',34,0,0,0,0,0,'2016-08-04 04:17:49',0,'0000-00-00 00:00:00'),(42,11,1,33321,'torai',2000,0,0,0,0,0,'2016-09-05 06:48:43',0,'0000-00-00 00:00:00'),(45,14,1,33447,'PAKEJ BRONZE',13500,0,0,0,0,0,'2016-10-04 03:51:19',0,'0000-00-00 00:00:00'),(47,16,1,33447,'PAKEJ SILVER',16200,0,0,0,0,0,'2016-10-04 04:01:31',0,'0000-00-00 00:00:00'),(48,15,1,33447,'PAKEJ BRONZE',13500,0,0,0,0,0,'2016-10-04 04:05:48',0,'0000-00-00 00:00:00'),(49,17,1,33447,'PAKEJ ARABIAN',32500,0,0,0,0,0,'2016-10-04 04:49:59',0,'0000-00-00 00:00:00'),(50,18,1,33447,'PAKEJ GOLD',18900,0,0,0,0,0,'2016-10-04 04:54:19',0,'0000-00-00 00:00:00'),(51,19,1,33447,'KATERING OFFICE KECIK',2000,0,0,0,0,0,'2016-10-06 08:15:50',0,'0000-00-00 00:00:00'),(52,20,1,33681,'eminem yo1',3000,0,0,0,0,0,'2016-10-13 01:32:52',0,'0000-00-00 00:00:00'),(53,20,2,33681,'eminem yo2',4000,0,0,0,0,0,'2016-10-13 01:32:53',0,'0000-00-00 00:00:00'),(54,21,1,33681,'hihihi1',5600,0,0,0,0,0,'2016-10-14 10:03:45',0,'0000-00-00 00:00:00'),(55,21,2,33681,'hihihi2',4300,0,0,0,0,0,'2016-10-14 10:03:45',0,'0000-00-00 00:00:00'),(56,22,1,33738,'jualan motor A',120000,0,0,0,0,0,'2016-11-10 10:03:54',0,'0000-00-00 00:00:00');
/*!40000 ALTER TABLE `comp_receive_payment_others_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_receive_payment_others_detail_bak`
--

DROP TABLE IF EXISTS `comp_receive_payment_others_detail_bak`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_receive_payment_others_detail_bak` (
  `ID` int(11) NOT NULL DEFAULT '0',
  `receivePaymentOthersID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `accountNoID` int(11) NOT NULL,
  `description` text NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_receive_payment_others_detail_bak`
--

LOCK TABLES `comp_receive_payment_others_detail_bak` WRITE;
/*!40000 ALTER TABLE `comp_receive_payment_others_detail_bak` DISABLE KEYS */;
INSERT INTO `comp_receive_payment_others_detail_bak` VALUES (24,5,1,33012,'harini pulak',150,0,0,0,0,0,'2016-07-26 01:05:53',0,'0000-00-00 00:00:00'),(41,10,1,33384,'1',100,0,0,0,0,0,'2016-09-05 05:11:33',0,'0000-00-00 00:00:00'),(43,12,1,33138,'hoiii',150,0,0,0,0,0,'2016-09-05 08:15:34',0,'0000-00-00 00:00:00'),(44,13,1,33138,'V',120,0,0,0,0,0,'2016-09-05 08:16:37',0,'0000-00-00 00:00:00');
/*!40000 ALTER TABLE `comp_receive_payment_others_detail_bak` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_sales_agent`
--

DROP TABLE IF EXISTS `comp_sales_agent`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_sales_agent` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `agentCode` varchar(32) NOT NULL,
  `agentName` varchar(128) NOT NULL,
  `position` varchar(32) NOT NULL,
  `telOffice` varchar(32) NOT NULL,
  `telHp` varchar(32) NOT NULL,
  `email` varchar(64) NOT NULL,
  `commisionRate` double NOT NULL,
  `remarks` text NOT NULL,
  `createdID` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_sales_agent`
--

LOCK TABLES `comp_sales_agent` WRITE;
/*!40000 ALTER TABLE `comp_sales_agent` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_sales_agent` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_sales_bad_debt`
--

DROP TABLE IF EXISTS `comp_sales_bad_debt`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_sales_bad_debt` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `custID` int(11) NOT NULL,
  `valueBadDebt` double NOT NULL,
  `gstBadDebt` double NOT NULL,
  `transDate` date NOT NULL,
  `updateAble` tinyint(1) NOT NULL DEFAULT '1',
  `journalNo` varchar(255) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_sales_bad_debt`
--

LOCK TABLES `comp_sales_bad_debt` WRITE;
/*!40000 ALTER TABLE `comp_sales_bad_debt` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_sales_bad_debt` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_sales_creditnote`
--

DROP TABLE IF EXISTS `comp_sales_creditnote`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_sales_creditnote` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `customerID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `creditNoteDate` date NOT NULL,
  `salesInvoiceID` int(11) NOT NULL,
  `projectID` int(11) NOT NULL,
  `termsID` int(11) NOT NULL,
  `currencyID` int(11) NOT NULL,
  `exchangeRate` double NOT NULL,
  `agentID` int(11) NOT NULL,
  `memo` text NOT NULL,
  `employeeID` int(11) NOT NULL,
  `shippingMethodID` int(11) NOT NULL,
  `totalAmount` double NOT NULL,
  `amountPaid` decimal(10,0) NOT NULL,
  `totalTaxAmount` double NOT NULL,
  `totalPayable` double NOT NULL,
  `total` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(16) NOT NULL,
  `updateAble` tinyint(1) NOT NULL DEFAULT '1',
  `journalNo` varchar(32) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_sales_creditnote`
--

LOCK TABLES `comp_sales_creditnote` WRITE;
/*!40000 ALTER TABLE `comp_sales_creditnote` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_sales_creditnote` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `trigger_before_insert_scn_add_serialNo` BEFORE INSERT ON `comp_sales_creditnote`
 FOR EACH ROW set new.serialNo = (select nextSerialNo 

			   from view_serial_comp_sales_creditnote

			   where companyID = new.companyID) */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_sales_creditnote_charges`
--

DROP TABLE IF EXISTS `comp_sales_creditnote_charges`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_sales_creditnote_charges` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `creditNoteID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `accountNoID` int(11) NOT NULL,
  `chargeDescription` text NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `drAccountID` int(11) NOT NULL,
  `crAccountID` int(11) NOT NULL,
  `drTaxAccountID` int(11) NOT NULL,
  `crTaxAccountID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_sales_creditnote_charges`
--

LOCK TABLES `comp_sales_creditnote_charges` WRITE;
/*!40000 ALTER TABLE `comp_sales_creditnote_charges` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_sales_creditnote_charges` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_sales_creditnote_detail`
--

DROP TABLE IF EXISTS `comp_sales_creditnote_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_sales_creditnote_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `creditnoteID` int(11) NOT NULL,
  `invoiceDetailID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `itemname` varchar(64) NOT NULL,
  `itemdescription` text NOT NULL,
  `umID` int(11) NOT NULL,
  `quantity` int(11) NOT NULL,
  `unitPrice` double NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `accountID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_sales_creditnote_detail`
--

LOCK TABLES `comp_sales_creditnote_detail` WRITE;
/*!40000 ALTER TABLE `comp_sales_creditnote_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_sales_creditnote_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_sales_debitnote`
--

DROP TABLE IF EXISTS `comp_sales_debitnote`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_sales_debitnote` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `customerID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `debitNoteDate` date NOT NULL,
  `salesInvoiceID` int(11) NOT NULL,
  `projectID` int(11) NOT NULL,
  `termsID` int(11) NOT NULL,
  `currencyID` int(11) NOT NULL,
  `exchangeRate` double NOT NULL,
  `agentID` int(11) NOT NULL,
  `memo` text NOT NULL,
  `employeeID` int(11) NOT NULL,
  `shippingMethodID` int(11) NOT NULL,
  `totalAmount` double NOT NULL,
  `amountPaid` decimal(10,0) NOT NULL,
  `totalTaxAmount` double NOT NULL,
  `totalPayable` double NOT NULL,
  `total` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(16) NOT NULL,
  `updateAble` tinyint(1) NOT NULL DEFAULT '1',
  `journalNo` varchar(32) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_sales_debitnote`
--

LOCK TABLES `comp_sales_debitnote` WRITE;
/*!40000 ALTER TABLE `comp_sales_debitnote` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_sales_debitnote` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `trigger_before_insert_sdn_add_serialNo` BEFORE INSERT ON `comp_sales_debitnote`
 FOR EACH ROW set new.serialNo = (select nextSerialNo 

			   from view_serial_comp_sales_debitnote

			   where companyID = new.companyID) */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_sales_debitnote_charges`
--

DROP TABLE IF EXISTS `comp_sales_debitnote_charges`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_sales_debitnote_charges` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `debitNoteID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `accountNoID` int(11) NOT NULL,
  `chargeDescription` text NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `drAccountID` int(11) NOT NULL,
  `crAccountID` int(11) NOT NULL,
  `drTaxAccountID` int(11) NOT NULL,
  `crTaxAccountID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_sales_debitnote_charges`
--

LOCK TABLES `comp_sales_debitnote_charges` WRITE;
/*!40000 ALTER TABLE `comp_sales_debitnote_charges` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_sales_debitnote_charges` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_sales_debitnote_detail`
--

DROP TABLE IF EXISTS `comp_sales_debitnote_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_sales_debitnote_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `debitnoteID` int(11) NOT NULL,
  `invoiceDetailID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `itemname` varchar(64) NOT NULL,
  `itemdescription` text NOT NULL,
  `umID` int(11) NOT NULL,
  `quantity` int(11) NOT NULL,
  `unitPrice` double NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `accountID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_sales_debitnote_detail`
--

LOCK TABLES `comp_sales_debitnote_detail` WRITE;
/*!40000 ALTER TABLE `comp_sales_debitnote_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_sales_debitnote_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_sales_debt_recover`
--

DROP TABLE IF EXISTS `comp_sales_debt_recover`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_sales_debt_recover` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `custID` int(11) NOT NULL,
  `valueDebtRecover` double NOT NULL,
  `gstDebtRecover` double NOT NULL,
  `transDate` date NOT NULL,
  `updateAble` tinyint(1) NOT NULL DEFAULT '1',
  `journalNo` varchar(255) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_sales_debt_recover`
--

LOCK TABLES `comp_sales_debt_recover` WRITE;
/*!40000 ALTER TABLE `comp_sales_debt_recover` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_sales_debt_recover` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_sales_detail`
--

DROP TABLE IF EXISTS `comp_sales_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_sales_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `salesID` int(11) NOT NULL,
  `invoiceID` int(11) NOT NULL DEFAULT '0',
  `lineNo` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `description` varchar(200) DEFAULT NULL,
  `unitPrice` double DEFAULT NULL,
  `unitmeasure` int(11) DEFAULT NULL,
  `umID` int(11) NOT NULL,
  `standUM` int(11) NOT NULL,
  `quantityOrder` double DEFAULT NULL,
  `quantityShip` double DEFAULT '0',
  `amount` double DEFAULT NULL,
  `requiredDate` date DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_sales_detail`
--

LOCK TABLES `comp_sales_detail` WRITE;
/*!40000 ALTER TABLE `comp_sales_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_sales_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_sales_invoice`
--

DROP TABLE IF EXISTS `comp_sales_invoice`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_sales_invoice` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `invoiceCodeID` int(11) NOT NULL COMMENT '1=sales inv, 2=direct sales inv,  3=debitNote, 4=creditNte',
  `salesID` int(11) NOT NULL,
  `customerID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `salesInvoiceDate` date NOT NULL,
  `customerPoNo` varchar(32) NOT NULL,
  `locationID` int(11) NOT NULL,
  `projectID` int(11) NOT NULL,
  `termsID` int(11) NOT NULL,
  `shipToID` int(11) NOT NULL,
  `currencyID` int(11) NOT NULL,
  `exchangeRate` double NOT NULL,
  `agentID` int(11) NOT NULL,
  `printInInvoice` smallint(6) NOT NULL DEFAULT '0',
  `memo` text NOT NULL,
  `employeeID` int(11) NOT NULL,
  `showSaleAgent` tinyint(4) NOT NULL,
  `shippingMethodID` int(11) NOT NULL,
  `totalTaxAmount` double NOT NULL,
  `totalReceivable` double NOT NULL,
  `totalamount` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(6) NOT NULL DEFAULT '0',
  `updateAble` smallint(6) NOT NULL DEFAULT '1',
  `journalNo` varchar(32) NOT NULL,
  `salesOrderID` int(11) DEFAULT NULL,
  `badDebtID` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_sales_invoice`
--

LOCK TABLES `comp_sales_invoice` WRITE;
/*!40000 ALTER TABLE `comp_sales_invoice` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_sales_invoice` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `trir_befor_inser_SI` BEFORE INSERT ON `comp_sales_invoice`
 FOR EACH ROW set new.serialNo = (select nextSerialNo 

			   from view_serial_comp_sales_invoice

			   where companyID = new.companyID) */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_sales_invoice_charges`
--

DROP TABLE IF EXISTS `comp_sales_invoice_charges`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_sales_invoice_charges` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `invoiceID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `accountNoID` int(11) NOT NULL,
  `chargeDescription` text NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `drAccountID` int(11) NOT NULL,
  `crAccountID` int(11) NOT NULL,
  `drTaxAccountID` int(11) NOT NULL,
  `crTaxAccountID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`),
  KEY `invoice` (`invoiceID`),
  KEY `tax` (`taxID`),
  KEY `accountID` (`accountNoID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_sales_invoice_charges`
--

LOCK TABLES `comp_sales_invoice_charges` WRITE;
/*!40000 ALTER TABLE `comp_sales_invoice_charges` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_sales_invoice_charges` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_sales_invoice_detail`
--

DROP TABLE IF EXISTS `comp_sales_invoice_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_sales_invoice_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `invoiceID` int(11) NOT NULL,
  `doID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `itemdescription` varchar(128) NOT NULL,
  `umID` int(11) NOT NULL,
  `quantity` int(11) NOT NULL,
  `unitPrice` double NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `accountID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`ID`),
  KEY `item` (`itemID`),
  KEY `tax` (`taxID`),
  KEY `invoice` (`invoiceID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_sales_invoice_detail`
--

LOCK TABLES `comp_sales_invoice_detail` WRITE;
/*!40000 ALTER TABLE `comp_sales_invoice_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_sales_invoice_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_sales_order`
--

DROP TABLE IF EXISTS `comp_sales_order`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_sales_order` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(16) NOT NULL,
  `companyID` int(11) NOT NULL,
  `invoiceID` int(11) NOT NULL,
  `customerID` int(11) DEFAULT NULL,
  `OrderNo` varchar(32) DEFAULT NULL,
  `formNo` varchar(32) DEFAULT NULL,
  `currencyID` int(11) DEFAULT NULL,
  `exchangeRate` double DEFAULT '1',
  `salesOrderDate` date DEFAULT NULL,
  `dateRequired` date DEFAULT NULL,
  `deliveryToID` int(11) DEFAULT NULL,
  `salesPerson` int(11) DEFAULT NULL,
  `memo` varchar(128) DEFAULT NULL,
  `supplierID` int(11) DEFAULT NULL,
  `totalAmount` double DEFAULT NULL,
  `totalReceivable` double DEFAULT NULL,
  `status` tinyint(1) DEFAULT '1',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `is_delete` smallint(16) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_sales_order`
--

LOCK TABLES `comp_sales_order` WRITE;
/*!40000 ALTER TABLE `comp_sales_order` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_sales_order` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `Addserialsaleorder` BEFORE INSERT ON `comp_sales_order`
 FOR EACH ROW set new.serialNo = (select nextSerialNo 

			   from view_serial_comp_sales_order

			   where companyID = new.companyID) */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_sales_price`
--

DROP TABLE IF EXISTS `comp_sales_price`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_sales_price` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `customerID` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `currencyID` int(11) NOT NULL,
  `umID` int(11) NOT NULL,
  `startDate` date NOT NULL,
  `endDate` date NOT NULL,
  `price` double NOT NULL,
  `updatedBy` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_sales_price`
--

LOCK TABLES `comp_sales_price` WRITE;
/*!40000 ALTER TABLE `comp_sales_price` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_sales_price` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_section`
--

DROP TABLE IF EXISTS `comp_section`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_section` (
  `fldid` int(11) NOT NULL DEFAULT '0',
  `code` varchar(18) CHARACTER SET utf8 DEFAULT NULL,
  `department` varchar(18) CHARACTER SET utf8 DEFAULT NULL,
  `description` varchar(100) CHARACTER SET utf8 DEFAULT NULL,
  `section_head` varchar(50) CHARACTER SET utf8 DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_section`
--

LOCK TABLES `comp_section` WRITE;
/*!40000 ALTER TABLE `comp_section` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_section` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_so_seq`
--

DROP TABLE IF EXISTS `comp_so_seq`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_so_seq` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `compID` int(11) DEFAULT NULL,
  `moduleID` int(11) DEFAULT NULL,
  `initial` varchar(2) CHARACTER SET utf8 DEFAULT NULL,
  `year` year(4) DEFAULT NULL,
  `period` int(2) DEFAULT NULL,
  `seqNo` int(11) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_so_seq`
--

LOCK TABLES `comp_so_seq` WRITE;
/*!40000 ALTER TABLE `comp_so_seq` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_so_seq` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_supplier_closing`
--

DROP TABLE IF EXISTS `comp_supplier_closing`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_supplier_closing` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `supplierID` int(11) NOT NULL,
  `yearMonth` varchar(6) NOT NULL,
  `openBalance` double NOT NULL,
  `totalDr` double NOT NULL,
  `totalCr` double NOT NULL,
  `balance` double NOT NULL,
  PRIMARY KEY (`ID`),
  KEY `companyID` (`companyID`,`supplierID`,`yearMonth`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_supplier_closing`
--

LOCK TABLES `comp_supplier_closing` WRITE;
/*!40000 ALTER TABLE `comp_supplier_closing` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_supplier_closing` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_supplier_closing_daily`
--

DROP TABLE IF EXISTS `comp_supplier_closing_daily`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_supplier_closing_daily` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `supplierID` int(11) NOT NULL,
  `transDate` date NOT NULL,
  `openBalance` double NOT NULL,
  `totalDr` double NOT NULL,
  `totalCr` double NOT NULL,
  `balance` double NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_supplier_closing_daily`
--

LOCK TABLES `comp_supplier_closing_daily` WRITE;
/*!40000 ALTER TABLE `comp_supplier_closing_daily` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_supplier_closing_daily` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_supplier_creditnote`
--

DROP TABLE IF EXISTS `comp_supplier_creditnote`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_supplier_creditnote` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `supplierID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `creditNoteDate` date NOT NULL,
  `supplierInvoiceID` int(11) NOT NULL,
  `projectID` int(11) NOT NULL,
  `termsID` int(11) NOT NULL,
  `currencyID` int(11) NOT NULL,
  `exchangeRate` double NOT NULL,
  `agentID` int(11) NOT NULL,
  `memo` text NOT NULL,
  `employeeID` int(11) NOT NULL,
  `shippingMethodID` int(11) NOT NULL,
  `totalAmount` double NOT NULL,
  `amountPaid` decimal(10,0) NOT NULL,
  `totalTaxAmount` double NOT NULL,
  `totalPayable` double NOT NULL,
  `total` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(16) NOT NULL,
  `updateAble` tinyint(1) NOT NULL DEFAULT '1',
  `journalNo` varchar(32) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_supplier_creditnote`
--

LOCK TABLES `comp_supplier_creditnote` WRITE;
/*!40000 ALTER TABLE `comp_supplier_creditnote` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_supplier_creditnote` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `trigger_before_insert_scno_add_serialNo` BEFORE INSERT ON `comp_supplier_creditnote`
 FOR EACH ROW set new.serialNo = (select nextSerialNo 

			   from view_serial_comp_supplier_creditnote

			   where companyID = new.companyID) */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_supplier_creditnote_charges`
--

DROP TABLE IF EXISTS `comp_supplier_creditnote_charges`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_supplier_creditnote_charges` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `creditNoteID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `accountNoID` int(11) NOT NULL,
  `itemname` varchar(64) NOT NULL,
  `itemdescription` text NOT NULL,
  `umID` int(11) NOT NULL,
  `quantity` int(11) NOT NULL,
  `unitPrice` double NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `drAccountID` int(11) NOT NULL,
  `crAccountID` int(11) NOT NULL,
  `drTaxAccountID` int(11) NOT NULL,
  `crTaxAccountID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_supplier_creditnote_charges`
--

LOCK TABLES `comp_supplier_creditnote_charges` WRITE;
/*!40000 ALTER TABLE `comp_supplier_creditnote_charges` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_supplier_creditnote_charges` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_supplier_creditnote_detail`
--

DROP TABLE IF EXISTS `comp_supplier_creditnote_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_supplier_creditnote_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `creditnoteID` int(11) NOT NULL,
  `invoiceDetailID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `itemname` varchar(64) NOT NULL,
  `itemdescription` text NOT NULL,
  `umID` int(11) NOT NULL,
  `quantity` int(11) NOT NULL,
  `unitPrice` double NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `accountID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_supplier_creditnote_detail`
--

LOCK TABLES `comp_supplier_creditnote_detail` WRITE;
/*!40000 ALTER TABLE `comp_supplier_creditnote_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_supplier_creditnote_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_supplier_debitnote`
--

DROP TABLE IF EXISTS `comp_supplier_debitnote`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_supplier_debitnote` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `supplierID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `debitNoteDate` date NOT NULL,
  `supplierInvoiceID` int(11) NOT NULL,
  `projectID` int(11) NOT NULL,
  `termsID` int(11) NOT NULL,
  `currencyID` int(11) NOT NULL,
  `exchangeRate` double NOT NULL,
  `agentID` int(11) NOT NULL,
  `memo` text NOT NULL,
  `employeeID` int(11) NOT NULL,
  `shippingMethodID` int(11) NOT NULL,
  `totalAmount` double NOT NULL,
  `amountPaid` decimal(10,0) NOT NULL,
  `totalTaxAmount` double NOT NULL,
  `totalPayable` double NOT NULL,
  `total` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(16) NOT NULL,
  `updateAble` tinyint(1) NOT NULL DEFAULT '1',
  `journalNo` varchar(32) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_supplier_debitnote`
--

LOCK TABLES `comp_supplier_debitnote` WRITE;
/*!40000 ALTER TABLE `comp_supplier_debitnote` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_supplier_debitnote` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `trigger_before_insert_sdno_add_serialNo` BEFORE INSERT ON `comp_supplier_debitnote`
 FOR EACH ROW set new.serialNo = (select nextSerialNo 

			   from view_serial_comp_supplier_debitnote

			   where companyID = new.companyID) */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_supplier_debitnote_charges`
--

DROP TABLE IF EXISTS `comp_supplier_debitnote_charges`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_supplier_debitnote_charges` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `debitNoteID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `accountNoID` int(11) NOT NULL,
  `itemname` varchar(64) NOT NULL,
  `itemdescription` text NOT NULL,
  `umID` int(11) NOT NULL,
  `quantity` int(11) NOT NULL,
  `unitPrice` double NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `drAccountID` int(11) NOT NULL,
  `crAccountID` int(11) NOT NULL,
  `drTaxAccountID` int(11) NOT NULL,
  `crTaxAccountID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_supplier_debitnote_charges`
--

LOCK TABLES `comp_supplier_debitnote_charges` WRITE;
/*!40000 ALTER TABLE `comp_supplier_debitnote_charges` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_supplier_debitnote_charges` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_supplier_debitnote_detail`
--

DROP TABLE IF EXISTS `comp_supplier_debitnote_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_supplier_debitnote_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `debitnoteID` int(11) NOT NULL,
  `invoiceDetailID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `itemname` varchar(64) NOT NULL,
  `itemdescription` text NOT NULL,
  `umID` int(11) NOT NULL,
  `quantity` int(11) NOT NULL,
  `unitPrice` double NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `accountID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_supplier_debitnote_detail`
--

LOCK TABLES `comp_supplier_debitnote_detail` WRITE;
/*!40000 ALTER TABLE `comp_supplier_debitnote_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_supplier_debitnote_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_supplier_invoice`
--

DROP TABLE IF EXISTS `comp_supplier_invoice`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_supplier_invoice` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `purchaseInvoiceCodeID` int(11) NOT NULL COMMENT '1=puchase inv, 2=direct purch inv, 3=debit note, 4=credit note',
  `purchaserID` int(11) NOT NULL,
  `supplierID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `invoiceDate` date NOT NULL,
  `supplierInvoiceNo` varchar(32) NOT NULL,
  `projectID` int(11) NOT NULL,
  `termsID` int(11) NOT NULL,
  `shipToID` int(11) NOT NULL,
  `locationID` int(11) NOT NULL,
  `currencyID` int(11) NOT NULL,
  `exchangeRate` double NOT NULL,
  `agentID` int(11) NOT NULL,
  `memo` text NOT NULL,
  `employeeID` int(11) NOT NULL,
  `shippingMethodID` int(11) NOT NULL,
  `totalAmount` double NOT NULL,
  `amountPaid` double NOT NULL,
  `totalTaxAmount` double NOT NULL,
  `totalPayable` double NOT NULL,
  `total` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(16) NOT NULL,
  `updateAble` tinyint(1) NOT NULL DEFAULT '1',
  `journalNo` varchar(32) NOT NULL,
  `badDebtID` varchar(11) NOT NULL,
  `invoiceType` tinyint(1) NOT NULL,
  PRIMARY KEY (`ID`),
  KEY `supplier` (`ID`,`supplierID`,`updateAble`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_supplier_invoice`
--

LOCK TABLES `comp_supplier_invoice` WRITE;
/*!40000 ALTER TABLE `comp_supplier_invoice` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_supplier_invoice` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `trigger_before_insert_supinv_add_serialNo` BEFORE INSERT ON `comp_supplier_invoice`
 FOR EACH ROW set new.serialNo = (select nextSerialNo 

			   from view_serial_comp_supplier_invoice 

			   where companyID = new.companyID) */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_supplier_invoice_charges`
--

DROP TABLE IF EXISTS `comp_supplier_invoice_charges`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_supplier_invoice_charges` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `invoiceID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `accountNoID` int(11) NOT NULL,
  `chargeDescription` text NOT NULL,
  `itemname` varchar(64) NOT NULL,
  `itemdescription` text NOT NULL,
  `umID` int(11) NOT NULL,
  `quantity` int(11) NOT NULL,
  `unitPrice` double NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `drAccountID` int(11) NOT NULL,
  `crAccountID` int(11) NOT NULL,
  `drTaxAccountID` int(11) NOT NULL,
  `crTaxAccountID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_supplier_invoice_charges`
--

LOCK TABLES `comp_supplier_invoice_charges` WRITE;
/*!40000 ALTER TABLE `comp_supplier_invoice_charges` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_supplier_invoice_charges` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_supplier_invoice_detail`
--

DROP TABLE IF EXISTS `comp_supplier_invoice_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_supplier_invoice_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `invoiceID` int(11) NOT NULL,
  `receiveID` int(11) NOT NULL COMMENT 'Is used for receive detail id instead of receive ID',
  `lineNo` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `itemname` varchar(64) NOT NULL,
  `itemdescription` text NOT NULL,
  `umID` int(11) NOT NULL,
  `quantity` int(11) NOT NULL,
  `unitPrice` double NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `accountID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_supplier_invoice_detail`
--

LOCK TABLES `comp_supplier_invoice_detail` WRITE;
/*!40000 ALTER TABLE `comp_supplier_invoice_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_supplier_invoice_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_supplier_statement`
--

DROP TABLE IF EXISTS `comp_supplier_statement`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_supplier_statement` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `debit` double NOT NULL,
  `credit` double NOT NULL,
  `balance` double NOT NULL,
  `supplierCode` int(11) NOT NULL,
  `supplierName` varchar(16) NOT NULL,
  `description` varchar(255) NOT NULL,
  `referenceNo` varchar(5) NOT NULL,
  `is_delete` smallint(16) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_supplier_statement`
--

LOCK TABLES `comp_supplier_statement` WRITE;
/*!40000 ALTER TABLE `comp_supplier_statement` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_supplier_statement` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_unpresented_check`
--

DROP TABLE IF EXISTS `comp_unpresented_check`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_unpresented_check` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `transDate` date NOT NULL,
  `transNo` varchar(255) NOT NULL,
  `desc` text NOT NULL,
  `referenceNo` varchar(255) NOT NULL,
  `bankID` int(11) NOT NULL,
  `debit` double NOT NULL,
  `credit` double NOT NULL,
  `bankReconcileID` int(11) NOT NULL DEFAULT '0',
  `is_delete` int(11) NOT NULL DEFAULT '0',
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `createdBy` int(11) DEFAULT NULL,
  `updateTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_unpresented_check`
--

LOCK TABLES `comp_unpresented_check` WRITE;
/*!40000 ALTER TABLE `comp_unpresented_check` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_unpresented_check` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `company`
--

DROP TABLE IF EXISTS `company`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `company` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyName` varchar(128) NOT NULL,
  `webPageName` varchar(128) NOT NULL,
  `companyNo` varchar(16) NOT NULL,
  `incorporateDate` date NOT NULL,
  `businessTypeID` int(11) NOT NULL,
  `line1` varchar(128) NOT NULL,
  `line2` varchar(128) NOT NULL,
  `line3` varchar(128) NOT NULL,
  `city` varchar(128) NOT NULL,
  `companyPostCode` varchar(8) NOT NULL,
  `companyStateID` int(11) NOT NULL,
  `phoneNo` varchar(16) NOT NULL,
  `faxNo` varchar(16) NOT NULL,
  `email` varchar(32) NOT NULL,
  `website` varchar(32) NOT NULL,
  `uploadLogo` varchar(64) NOT NULL,
  `currencyID` int(11) NOT NULL,
  `languageID` int(11) NOT NULL,
  `countryID` int(11) NOT NULL,
  `muslimShareholder` double NOT NULL,
  `gstRegisteredNo` varchar(16) NOT NULL,
  `gstRegisteredDate` date DEFAULT NULL,
  `gstSubmissionBuffer` int(16) NOT NULL,
  `taxablePeriod` smallint(6) NOT NULL,
  `masterMSIC` int(12) NOT NULL,
  `dateFormat` int(16) NOT NULL DEFAULT '1',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(6) NOT NULL,
  `keyCode` varchar(128) NOT NULL,
  `parlimenID` int(11) NOT NULL,
  `businessIndustryID` int(11) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `company`
--

LOCK TABLES `company` WRITE;
/*!40000 ALTER TABLE `company` DISABLE KEYS */;
INSERT INTO `company` VALUES (2,'fad and akmal sdn bhd','','','2016-01-01',5,'','','','','',0,'','','','','',1,0,0,0,'',NULL,0,0,0,1,0,'2016-06-28 06:29:41',0,'2016-07-25 11:21:55',0,'',0,2),(3,'Aizat Sdn Bhd','','','2016-01-01',4,'','','','','',0,'','','','','',1,0,0,0,'',NULL,0,0,0,1,0,'2016-06-28 07:27:07',0,'2016-06-28 07:28:38',0,'',0,2),(4,'Salihin','','','2016-01-01',5,'','','','','',0,'','','','','',0,0,0,0,'',NULL,0,0,0,1,0,'2016-06-29 07:37:41',0,'2016-06-29 07:49:16',0,'',0,2),(5,'MegahJaya Sdn Bhd','','','1970-01-01',0,'','','','','',0,'','','','','',0,0,0,0,'',NULL,0,0,0,1,0,'2016-06-30 01:08:03',0,'2016-07-19 02:30:14',0,'',0,0),(7,'Hijrah Power Adik Beradik dan anak Beranak Pinak Sdn Bhd','hijrah','','2015-01-01',11,'','','','','',0,'','','','','7.JPG',1,0,0,0,'',NULL,0,0,0,1,0,'2016-07-25 04:47:07',0,'2016-08-24 06:32:59',0,'',0,3),(8,'Syarikat Kemajuan','','','2016-05-11',2,'','','','','',0,'','','','','',1,0,0,0,'',NULL,0,0,0,1,0,'2016-07-29 02:36:00',0,'2016-07-29 03:12:46',0,'',0,2),(9,'Achimet Sdn. bhd.','akmal','','2016-01-01',2,'no 16 jalan 9/12','taman bukit mewah fasa 9','','','',1933,'','','','','',1,0,0,0,'',NULL,0,0,0,1,0,'2016-08-01 07:53:00',11,'2016-09-23 07:48:48',0,'',124,2),(10,'TE Sdn. Bhd.','','','2016-01-01',11,'','','','','',0,'','','','','',0,0,0,0,'',NULL,0,0,0,1,0,'2016-08-02 01:33:14',0,'2016-08-02 01:35:42',0,'',0,3),(11,'AZ SOLUTION SDN. BHD.','','','2016-01-01',9,'','','','','',0,'','','','','',0,0,0,0,'',NULL,0,0,0,1,0,'2016-09-05 04:42:46',0,'2016-09-05 04:44:13',0,'',0,2),(12,'AZ CAFE SDN BHD','AZCAFE','','2016-01-01',9,'fdsd','dsds','sdsd','d','42200',1931,'0129020146','','','','',1,0,458,0,'',NULL,0,0,0,1,0,'2016-09-05 05:04:20',0,'2016-09-05 05:06:12',0,'',99,2),(13,'yuyu','','','0000-00-00',0,'','','','','',0,'','','','','',0,0,0,0,'',NULL,0,0,0,1,0,'2016-09-30 02:47:27',0,'0000-00-00 00:00:00',0,'',0,1),(14,'RAHMAT MAZNAH SDN BHD','','','1970-01-01',3,'','','','','',0,'','','','','',0,0,0,0,'',NULL,0,0,0,1,0,'2016-09-30 02:58:50',0,'2016-09-30 03:12:48',0,'',0,2),(15,'faridtest','','','2016-09-30',2,'','','','','',0,'','','','','',0,0,0,0,'',NULL,0,0,0,1,0,'2016-09-30 03:15:56',0,'2016-09-30 03:18:27',0,'',0,2),(16,'RAHMAT MAZNAH SDN BHD','rahmatmazzzzzzz','','2016-01-01',9,'no','nno','','','',0,'','','','','',1,0,0,0,'',NULL,0,0,0,1,0,'2016-09-30 03:19:56',1,'2016-09-30 03:25:35',0,'',0,2),(17,'farid','','','2016-09-30',3,'','','','','',0,'','','','','',0,0,0,0,'',NULL,0,0,0,1,0,'2016-09-30 03:26:42',0,'2016-09-30 03:37:04',0,'',0,2),(18,'kedai-e.net','kedaie','','2016-10-06',9,'no 16 jln 9/12','taman bukit mewah','fasa 9','kajang','43000',1931,'','','','','',1,0,458,0,'',NULL,0,0,0,1,0,'2016-10-06 06:44:08',3,'2016-10-06 06:45:57',0,'',103,2),(19,'qwqw','','','0000-00-00',0,'','','','','',0,'','','','','',0,0,0,0,'',NULL,0,0,0,1,0,'2016-10-06 07:27:49',0,'0000-00-00 00:00:00',0,'',0,4),(20,'garfield','','','0000-00-00',0,'','','','','',0,'','','','','',0,0,0,0,'',NULL,0,0,0,1,0,'2016-10-10 06:39:39',0,'0000-00-00 00:00:00',0,'',0,15),(21,'eminem sdn bhd','eminem','','2016-10-18',2,'eminem','eminem eminem','eminem eminem','eminem Caves','68100',1921,'12345','12345','eminem','','',1,0,458,0,'',NULL,0,0,0,1,0,'2016-10-12 09:01:25',6,'2016-10-18 07:45:07',0,'',141,2),(22,'SOLAHUDDIN & ASSOCIATES SDN BHD','solahuddin','','2016-11-10',11,'EXECUTIVE SUITE 11, LEVEL 2, PKNS BIZPOINT,','67B, JALAN PLUMBUM P7/P,','SECTION 7','SHAH ALAM','40000',1931,'0355668558','0355112613','enquiry.saa@gmail.com','','',1,0,458,0,'',NULL,0,0,0,1,0,'2016-11-10 09:54:10',7,'2016-11-10 10:11:50',0,'',109,3);
/*!40000 ALTER TABLE `company` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `customer`
--

DROP TABLE IF EXISTS `customer`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `customer` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `customerName` varchar(128) NOT NULL,
  `accountCode` varchar(8) NOT NULL,
  `customerCompanyNo` varchar(32) NOT NULL,
  `line1` varchar(128) NOT NULL,
  `line2` varchar(128) NOT NULL,
  `line3` varchar(128) NOT NULL,
  `city` varchar(128) NOT NULL,
  `customerPostCode` varchar(8) NOT NULL,
  `customerStateID` int(11) NOT NULL,
  `customerCountryID` int(11) NOT NULL,
  `attention` varchar(16) NOT NULL,
  `website` varchar(32) NOT NULL,
  `phoneNumber1` varchar(50) NOT NULL,
  `phoneNumber2` varchar(50) NOT NULL,
  `fax` varchar(50) NOT NULL,
  `generalNote` varchar(255) NOT NULL,
  `gstRegNo` varchar(16) NOT NULL,
  `termsID` int(11) NOT NULL,
  `creditLimit` int(8) NOT NULL,
  `creditLimitAlert` tinyint(1) NOT NULL,
  `linkedAPAccountID` varchar(11) NOT NULL,
  `createdDate` date NOT NULL,
  `currencyID` int(11) NOT NULL,
  `email` varchar(64) NOT NULL,
  `termstatus` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` int(16) NOT NULL,
  `position` varchar(16) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `customer`
--

LOCK TABLES `customer` WRITE;
/*!40000 ALTER TABLE `customer` DISABLE KEYS */;
/*!40000 ALTER TABLE `customer` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `customer_address`
--

DROP TABLE IF EXISTS `customer_address`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `customer_address` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `customerID` int(11) NOT NULL,
  `addressCode` varchar(50) NOT NULL,
  `addressName` varchar(128) NOT NULL,
  `line1` varchar(128) NOT NULL,
  `line2` varchar(128) NOT NULL,
  `line3` varchar(128) NOT NULL,
  `city` varchar(128) NOT NULL,
  `postCode` varchar(8) NOT NULL,
  `stateID` int(11) NOT NULL,
  `countryID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `customer_address`
--

LOCK TABLES `customer_address` WRITE;
/*!40000 ALTER TABLE `customer_address` DISABLE KEYS */;
/*!40000 ALTER TABLE `customer_address` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `customer_contact`
--

DROP TABLE IF EXISTS `customer_contact`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `customer_contact` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `customerID` int(11) NOT NULL,
  `customer_contact_name` varchar(128) NOT NULL,
  `position` varchar(32) NOT NULL,
  `telOffice` varchar(32) NOT NULL,
  `telHp` varchar(32) NOT NULL,
  `email` varchar(64) NOT NULL,
  `remaks` text NOT NULL,
  `createdID` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `customer_contact`
--

LOCK TABLES `customer_contact` WRITE;
/*!40000 ALTER TABLE `customer_contact` DISABLE KEYS */;
/*!40000 ALTER TABLE `customer_contact` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `gl_setup`
--

DROP TABLE IF EXISTS `gl_setup`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `gl_setup` (
  `ID` int(11) NOT NULL,
  `companyID` int(11) NOT NULL,
  `accountTypeID` int(11) NOT NULL,
  `accountNoID` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `gl_setup`
--

LOCK TABLES `gl_setup` WRITE;
/*!40000 ALTER TABLE `gl_setup` DISABLE KEYS */;
/*!40000 ALTER TABLE `gl_setup` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `item`
--

DROP TABLE IF EXISTS `item`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `item` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `itemCode` varchar(32) NOT NULL,
  `name` varchar(64) NOT NULL,
  `description` text NOT NULL,
  `itemCategoryID` int(11) NOT NULL,
  `itemTypeID` int(11) NOT NULL,
  `quantity` int(11) NOT NULL,
  `unitOfMeasureID` int(11) NOT NULL,
  `editDescription` tinyint(1) NOT NULL,
  `imageFile` varchar(64) NOT NULL,
  `itemStatusID` tinyint(4) NOT NULL DEFAULT '1' COMMENT 'default to active=1',
  `reorderLevel` int(11) NOT NULL,
  `incomeID` int(11) NOT NULL,
  `cogsID` int(11) NOT NULL,
  `inventoriesID` int(11) NOT NULL,
  `inputTaxID` int(11) NOT NULL,
  `outputTaxID` int(11) NOT NULL,
  `supplierID` int(11) NOT NULL,
  `memo` text NOT NULL,
  `locationID` int(11) NOT NULL,
  `is_delete` smallint(6) NOT NULL,
  `updateable` smallint(6) NOT NULL,
  `totalAmount` double NOT NULL,
  `totalPayable` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `supplierPrice` double NOT NULL,
  `salesPrice` double NOT NULL,
  `currencyID` int(11) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `item`
--

LOCK TABLES `item` WRITE;
/*!40000 ALTER TABLE `item` DISABLE KEYS */;
/*!40000 ALTER TABLE `item` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `trigger_before_insert_item` BEFORE INSERT ON `item`
 FOR EACH ROW begin

if new.incomeID = 0 or new.incomeID is null then 

set new.incomeID = (select accountID from comp_control_acct_setup where ID > 0 and companyID = new.companyID and accountCode='saleacct'); 

end if;

if new.cogsID = 0 or new.cogsID is null then 

set new.cogsID = (select accountID from comp_control_acct_setup where id>0 and companyID = new.companyID and accountCode = 'saleacct');

end if;



end */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `item_adjustment`
--

DROP TABLE IF EXISTS `item_adjustment`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `item_adjustment` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `locationID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `updateAble` smallint(11) NOT NULL DEFAULT '1',
  `adjustmentDate` date NOT NULL,
  `createdBy` varchar(50) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `item_adjustment`
--

LOCK TABLES `item_adjustment` WRITE;
/*!40000 ALTER TABLE `item_adjustment` DISABLE KEYS */;
/*!40000 ALTER TABLE `item_adjustment` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `item_adjustment_detail`
--

DROP TABLE IF EXISTS `item_adjustment_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `item_adjustment_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `adjustmentID` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `unitOfMeasureID` int(11) NOT NULL,
  `umID` int(11) NOT NULL,
  `qtyOnHand` double NOT NULL COMMENT 'The number of items on the time of Adjustment',
  `counted` double NOT NULL COMMENT 'The actual number of items on the time of adjustment',
  `onDatePrice` double NOT NULL,
  `updateAble` smallint(11) NOT NULL DEFAULT '1',
  `adjustmentDate` date NOT NULL,
  `createdBy` varchar(50) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `item_adjustment_detail`
--

LOCK TABLES `item_adjustment_detail` WRITE;
/*!40000 ALTER TABLE `item_adjustment_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `item_adjustment_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `item_details`
--

DROP TABLE IF EXISTS `item_details`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `item_details` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) DEFAULT NULL,
  `itemID` int(11) DEFAULT NULL,
  `locationID` int(11) DEFAULT NULL,
  `onHandQty` double DEFAULT NULL,
  `umID` int(11) DEFAULT NULL,
  `acctID` int(11) DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` smallint(6) DEFAULT NULL,
  PRIMARY KEY (`ID`),
  KEY `Index 2` (`companyID`,`acctID`,`locationID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `item_details`
--

LOCK TABLES `item_details` WRITE;
/*!40000 ALTER TABLE `item_details` DISABLE KEYS */;
/*!40000 ALTER TABLE `item_details` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `master`
--

DROP TABLE IF EXISTS `master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `master` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(64) NOT NULL,
  `description` varchar(128) NOT NULL,
  `updatedby` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `usedBySystem` tinyint(4) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `master`
--

LOCK TABLES `master` WRITE;
/*!40000 ALTER TABLE `master` DISABLE KEYS */;
INSERT INTO `master` VALUES (1,'Status','status active or inactive',0,'2014-07-17 16:41:14',1),(2,'Shipping Method','',0,'2014-04-23 21:01:05',0),(3,'State','State',0,'2014-07-17 16:41:09',1),(4,'Module','Application module',1,'2014-07-17 16:40:55',1),(5,'Gender','Gender Male or Female',1,'2014-07-17 16:41:01',1),(6,'Bank','List of bank',0,'2014-07-17 17:09:23',1),(7,'Payment Method','List of payment method',0,'2014-04-21 18:24:46',0),(8,'Item Category','List of item category',0,'2014-07-24 23:51:05',1),(9,'Item Type','List of item type - product or service',0,'2014-07-24 23:47:36',1),(10,'Language','Language selection English or Bahasa Malasyia',1,'2014-07-17 16:41:25',1),(11,'Accounting Method','Accounting Closing/Opening method monthly or yearly',0,'2014-08-14 00:53:25',1),(12,'Unit of Measure','Unit of measurement such as kg, feet, meter, cubic',1,'2014-07-17 16:41:31',1),(13,'Account Type','Account type for chart of accounts',0,'2014-08-14 00:53:53',1),(14,'Business Type','Business type based on industry selected',0,'2014-07-17 17:09:15',1),(15,'Industry','List of industry classification - retail, manufacturing, service, others',0,'2014-07-17 16:41:53',1),(16,'Invoice Purchase Code','',1,'2014-07-17 17:07:51',1),(17,'Invoice Sales Code','',1,'2014-07-17 17:07:38',1),(18,'System Form','',1,'2014-07-17 16:53:35',1),(19,'Address','List of address type',0,'2014-08-14 00:54:44',1),(20,'Movement Type','List of inventory movement type',1,'2014-05-27 17:40:05',0),(21,'General Setup','General Setup Parameters',1,'2014-07-17 16:42:24',1),(22,'Waqif','Waqif',0,'2014-07-17 17:38:46',0);
/*!40000 ALTER TABLE `master` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `master_code`
--

DROP TABLE IF EXISTS `master_code`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `master_code` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `masterID` int(11) NOT NULL,
  `parentFilterID` int(11) DEFAULT NULL,
  `code` varchar(4) NOT NULL,
  `name` varchar(64) NOT NULL,
  `shortName` varchar(8) NOT NULL,
  `description` varchar(128) NOT NULL,
  `orderNo` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updateBy` int(11) NOT NULL,
  `updateTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(6) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=164 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `master_code`
--

LOCK TABLES `master_code` WRITE;
/*!40000 ALTER TABLE `master_code` DISABLE KEYS */;
INSERT INTO `master_code` VALUES (1,1,NULL,'0','Active','Active','',1,0,'2014-05-07 02:01:04',0,'2014-05-15 02:17:57',0),(2,1,NULL,'1','Inactive','Inactive','',2,0,'2014-05-07 02:01:04',0,'0000-00-00 00:00:00',0),(3,2,NULL,'FR','Freight','Freight','',1,0,'2014-05-07 02:01:04',0,'2014-04-23 21:05:19',0),(4,2,4,'FE','FedEx','FE','farhana',2,0,'2014-05-07 02:01:04',0,'2014-05-14 19:25:38',0),(5,2,NULL,'UPS','UPS','UPS','',3,0,'2014-05-07 02:01:04',0,'2014-08-20 19:08:39',1),(6,2,NULL,'CLNK','CityLink','CLNK','',2,0,'2014-05-07 02:01:04',0,'2014-04-23 21:05:19',0),(8,2,NULL,'DHL','DHL','DHL','',4,0,'2014-05-07 02:01:04',0,'2014-04-23 21:05:19',0),(9,5,NULL,'M','Male','Male','',1,0,'2014-05-07 02:01:04',0,'0000-00-00 00:00:00',0),(10,5,NULL,'F','Female','','',2,0,'2014-05-07 02:01:04',0,'0000-00-00 00:00:00',0),(11,15,NULL,'MFC','Manufacturing','MFC','',1,0,'2014-05-07 02:01:04',0,'0000-00-00 00:00:00',0),(12,15,NULL,'RT','Retail','RT','',2,0,'2014-05-07 02:01:04',0,'0000-00-00 00:00:00',0),(13,15,NULL,'SERV','Service','SERV','',3,0,'2014-05-07 02:01:04',0,'0000-00-00 00:00:00',0),(14,15,NULL,'OTH','Others','OTH','',4,0,'2014-05-07 02:01:04',0,'0000-00-00 00:00:00',0),(15,10,NULL,'ENG','English','ENG','',1,0,'2014-05-07 02:01:04',0,'0000-00-00 00:00:00',0),(16,10,NULL,'BM','Bahasa Malaysia','BM','',2,0,'2014-05-07 02:01:04',0,'0000-00-00 00:00:00',0),(17,11,NULL,'MTH','Monthly','MTH','',0,0,'2014-05-07 02:01:04',0,'0000-00-00 00:00:00',0),(18,11,NULL,'YR','Yearly','YR','',0,0,'2014-05-07 02:01:04',0,'2014-04-21 19:18:53',0),(19,8,NULL,'E','Electrical Appliance','EA','',5,0,'2014-05-07 02:01:04',0,'0000-00-00 00:00:00',0),(20,8,NULL,'S','Stationary','ST','',10,0,'2014-05-07 02:01:04',0,'0000-00-00 00:00:00',0),(21,8,NULL,'I','IT','IT','',15,0,'2014-05-07 02:01:04',0,'0000-00-00 00:00:00',0),(22,9,NULL,'P','Product','Product','Physical product range',1,0,'2014-05-07 02:01:04',0,'2014-05-25 16:33:45',0),(23,9,NULL,'S','Services','Services','Services product range',5,0,'2014-05-07 02:01:04',0,'2014-05-25 16:34:04',1),(30,8,NULL,'F','Furniture','FR','',1,0,'2014-05-07 02:01:04',0,'0000-00-00 00:00:00',0),(31,16,NULL,'1','Purchase Invoice','','',10,0,'2014-05-07 02:01:04',1,'0000-00-00 00:00:00',0),(32,16,NULL,'2','Direct Purchase Invcoice','','',20,0,'2014-05-07 02:01:04',1,'0000-00-00 00:00:00',0),(33,16,NULL,'3','Debit Note','','Purchase Invoice Debit Note (Adjustment)',30,0,'2014-05-07 02:01:04',1,'0000-00-00 00:00:00',0),(34,16,NULL,'4','Credit Note','','Purchase Invoice Credit Note (Adjustment)',40,0,'2014-05-07 02:01:04',1,'0000-00-00 00:00:00',0),(35,17,NULL,'1','Sales Invoice','','',10,0,'2014-05-07 02:01:04',0,'2014-05-06 18:23:53',0),(36,17,NULL,'2','Direct Sales Invcoice','','',20,0,'2014-05-07 02:01:04',0,'2014-05-06 18:23:58',0),(37,17,NULL,'3','Debit Note','','Sales Invoice Debit Note (Adjustment)',30,0,'2014-05-07 02:01:04',0,'2014-05-06 18:24:02',0),(38,17,NULL,'4','Credit Note','','Sales Invoice Credit Note (Adjustment)',40,0,'2014-05-07 02:01:04',0,'2014-05-06 18:24:07',0),(39,18,NULL,'PR','Purchase Request','PR','Purchase Request Form',90,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(40,18,NULL,'PO','Purchase Order','PO','Purchase Order Form',100,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(41,18,NULL,'PI','Purchase Invoice','PURINV','Form Purchase Invoice',110,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(42,18,NULL,'PDN','Purchase Debit Note','PDN','Purchase Debit Note Form',120,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(43,18,NULL,'PCN','Purchase Credit Note','PCN','Purchase Credit Note Form',140,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(44,18,NULL,'PP','Purchase Payment','PP','Purchase Payment Form',150,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(45,18,NULL,'GRN','Good Received Note','PP','Godd Received Note Form',160,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(46,18,NULL,'LT','Inventory Movement','LT','Inventory Movement Form',170,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(47,18,NULL,'SQN','Sales Quotation','SQN','Sales Quotation Form',180,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(48,18,NULL,'SON','Sales Order','SON','Sales Order Form',190,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(49,18,NULL,'SDN','Delivery Order','DO','Delivery Order Form',200,1,'2014-05-07 02:01:25',0,'2014-08-13 20:15:15',0),(50,18,NULL,'INV','Invoice','INV','Invoice Form',210,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(51,18,NULL,'SDN','Sales Debit Note','PDN','Sales Debit Note Form',230,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(52,18,NULL,'SCN','Sales Credit Note','PCN','Sales Credit Note Form',240,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(53,18,NULL,'RP','Receive Payment','RP','Receive Payment Form',250,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(54,18,NULL,'GRN','General Transaction','PP','General Transaction Form',260,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(55,18,NULL,'OPN','Others Payment','OPN','Others Payment Form',270,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(56,18,NULL,'ORI','Others Receive','ORI','Others Receive Form',280,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(57,18,NULL,'SLR','Sales Return','SLR','Sales Return Form',290,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(58,18,NULL,'IA','Item Adjustment','IA','Item Adjustment Form',300,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(59,12,NULL,'KG','Kilogram','','',10,1,'2014-05-09 03:30:04',0,'0000-00-00 00:00:00',0),(60,12,NULL,'G','gram','','',20,1,'2014-05-09 03:30:04',0,'0000-00-00 00:00:00',0),(61,12,NULL,'l','liter','','',30,1,'2014-05-09 03:30:04',0,'0000-00-00 00:00:00',0),(62,12,NULL,'Tonn','tonne','','',40,1,'2014-05-09 03:30:04',0,'0000-00-00 00:00:00',0),(63,12,NULL,'Unit','unit','','',50,1,'2014-05-09 03:30:04',0,'0000-00-00 00:00:00',0),(64,12,NULL,'ml','mili liter','','',60,1,'2014-05-09 03:30:04',0,'0000-00-00 00:00:00',0),(65,12,NULL,'m','meter','','',70,1,'2014-05-09 03:30:04',0,'0000-00-00 00:00:00',0),(66,12,NULL,'cm','centimeter','','',80,1,'2014-05-09 03:30:04',0,'0000-00-00 00:00:00',0),(67,12,NULL,'cc','cubic cm','','',90,1,'2014-05-09 03:30:04',0,'0000-00-00 00:00:00',0),(68,7,NULL,'','Cash','','',10,0,'2014-05-14 00:59:32',0,'2014-07-17 17:19:34',0),(69,7,NULL,'','Cheque','','',20,0,'2014-05-14 00:59:32',0,'2014-07-17 17:19:38',0),(70,0,NULL,'3333','fad','fad','fad',0,0,'2014-05-14 01:12:00',0,'0000-00-00 00:00:00',0),(71,10,NULL,'ARB','Arabic','AR','Bahasa Ar',3,0,'2014-05-14 17:46:45',0,'2014-05-15 18:52:26',0),(72,18,0,'ZK','ZAKAT','sy','desc',7,0,'2014-05-14 17:59:07',0,'2014-06-04 19:51:49',0),(73,2,4,'FE','FedEx','FE','fad',2,0,'2014-05-14 19:03:42',0,'0000-00-00 00:00:00',0),(74,2,0,'FE','FedEx','FE','akmal',2,0,'2014-05-14 19:17:14',0,'2014-05-25 17:27:52',0),(75,19,0,'1','Billing Address','','',10,0,'2014-05-15 20:48:35',0,'2014-05-16 02:51:41',0),(76,19,0,'2','HQ','','Main Addr',10,0,'2014-05-15 20:52:07',0,'0000-00-00 00:00:00',0),(77,19,0,'3','Ship to','','Ship to',30,0,'2014-05-15 20:53:25',0,'0000-00-00 00:00:00',0),(78,20,NULL,'B','Bulk','Bulk','',10,0,'2014-05-27 17:32:05',0,'0000-00-00 00:00:00',0),(79,20,NULL,'S','Small','Small','',20,0,'2014-05-27 17:32:05',0,'0000-00-00 00:00:00',0),(80,21,1,'','retainedEarnings','','Retained Earnings',1,1,'2014-06-03 01:33:20',0,'2014-08-01 01:04:34',0),(81,21,1,'','profitlostYear','','Profit/Loss Year',10,1,'2014-06-03 01:33:20',0,'2014-08-01 01:04:38',0),(82,21,1,'','exchangeVariances','','Exchange Variances Account',20,1,'2014-06-03 01:33:20',0,'2014-08-01 01:04:42',0),(83,21,1,'','bankchargesAccount','','Bank Charges Account',30,1,'2014-06-03 01:33:20',0,'2014-08-01 01:04:47',0),(84,21,2,'','rcvacct','','Receivable Account',40,1,'2014-06-03 01:33:20',0,'2014-08-01 01:05:01',0),(85,21,2,'','saleacct','','Sales Account',50,1,'2014-06-03 01:33:20',0,'2014-08-01 01:05:07',0),(86,21,2,'','saledisacct','','Sales Discount Account',60,1,'2014-06-03 01:33:20',0,'2014-08-01 01:05:11',0),(87,21,2,'','promptpaydisacct','','Prompt Payment Discount Account',70,1,'2014-06-03 01:33:20',0,'2014-08-01 01:05:18',0),(88,21,2,'','commissionexp','','Commission Expense',80,1,'2014-06-03 01:33:20',0,'2014-08-01 01:05:24',0),(89,21,2,'','commisionpay','','Commission Payable',90,1,'2014-06-03 01:33:20',0,'2014-08-01 01:05:31',0),(90,21,2,'','freightcharges','','Freight Charges',100,1,'2014-06-03 01:33:20',0,'2014-08-01 01:05:36',0),(91,21,2,'','exchangediff','','Exchange Difference',110,1,'2014-06-03 01:33:20',0,'2014-08-01 01:05:41',0),(92,21,3,'','payAcct','','Payable Account',120,1,'2014-06-03 01:33:20',0,'2014-08-01 01:05:46',0),(93,21,3,'','payDisc','','Payable Discount',130,1,'2014-06-03 01:33:20',0,'2014-08-01 01:05:49',0),(94,21,NULL,'','invAcct','','Inventory Account',140,1,'2014-06-03 01:33:20',0,'2014-06-24 20:33:21',0),(95,21,NULL,'','cogs','','C.O.G.S Account',150,1,'2014-06-03 01:33:20',0,'2014-06-24 20:33:21',0),(96,21,NULL,'','invAdjAcct','','Inventory Adjustment Account',160,1,'2014-06-03 01:33:20',0,'2014-06-24 20:33:21',0),(97,21,NULL,'','gstInputTax','','GST-Input Tax',170,1,'2014-06-03 01:33:20',0,'2014-06-24 20:33:21',0),(98,21,NULL,'','gstOutTax','','GST-Output Tax',180,1,'2014-06-03 01:33:20',0,'2014-06-24 20:33:21',0),(99,21,NULL,'','susgstInTax','','Suspense-GST Input Tax',190,1,'2014-06-03 01:33:20',0,'2014-06-24 20:33:21',0),(100,21,NULL,'','susgstOuTax','','Suspense-GST Output Tax',200,1,'2014-06-03 01:33:20',0,'2014-06-24 20:33:21',0),(101,21,NULL,'','gstnoclaim','','GST Not Claimable',210,1,'2014-06-03 01:33:20',0,'2014-06-24 20:33:21',0),(102,21,NULL,'','imdutypay','','Import Duty Payable',220,1,'2014-06-03 01:33:20',0,'2014-06-24 20:33:21',0),(103,21,NULL,'','saletaxpay','','Sale Tax Payable',230,1,'2014-06-03 01:33:20',0,'2014-06-24 20:33:21',0),(104,21,NULL,'','servtaxpay','','Service Tax Payable',240,1,'2014-06-03 01:33:20',0,'2014-06-24 20:33:21',0),(105,21,NULL,'','zakat','','Zakat Expenses',250,1,'2014-06-03 01:33:20',0,'2014-06-24 20:33:21',0),(106,21,NULL,'','uninvoiceAP','','Un-invoice AP',165,1,'2014-06-05 19:28:56',0,'2014-07-02 19:48:46',0),(107,21,1,'','bank','','Banking Account',35,0,'2014-06-24 19:25:00',0,'2014-08-01 01:07:23',0),(108,22,NULL,'','Founder(s)','','',10,1,'2014-07-17 17:43:04',0,'2014-07-17 17:43:32',0),(109,22,NULL,'','Owner(s)/Shareholder(s)','','',20,1,'2014-07-17 17:43:04',0,'2014-07-17 17:43:36',0),(110,22,NULL,'','Director(s)','','',30,0,'2014-07-17 17:44:57',0,'0000-00-00 00:00:00',0),(111,22,NULL,'','Other(s)','','',40,0,'2014-07-17 17:44:57',0,'0000-00-00 00:00:00',0),(112,21,NULL,'','wakafAcrual','','Wakaf Accrual',280,1,'2014-08-01 01:20:26',0,'2014-08-04 17:22:20',0),(114,21,NULL,'','zakatPayable','','zakap payable',260,0,'2014-08-03 23:30:14',0,'2014-08-04 17:21:58',0),(115,21,NULL,'','wakafExpense','','wakaf Expenses',270,0,'2014-08-03 23:30:14',0,'2014-08-04 17:22:11',0),(116,22,0,'waki','new waqif','new','new',5,0,'2014-08-10 13:18:10',0,'0000-00-00 00:00:00',0),(117,7,0,'001','Director Fund','DF','',0,0,'2014-08-20 12:57:18',0,'2014-08-20 18:59:13',1),(118,18,NULL,'GT','GST Transaction','GT','GST Transaction Form',310,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(160,18,NULL,'BD','Bad Debt Relief','BD','Bad Debt Relief Form',311,1,'2014-05-06 18:01:25',0,'0000-00-00 00:00:00',0),(161,18,NULL,'BDR','Bad Debt Recover','DR','Bad Debt Recover Form',312,1,'2014-05-06 18:01:25',0,'2015-06-05 01:16:55',0),(162,18,NULL,'SDR','Supplier Bad Debt Recover','SDR','Supplier Bad Debt Recover Form',313,1,'2014-05-06 18:01:25',0,'2015-06-05 01:16:55',0),(163,18,NULL,'SBD','Supplier Bad Debt Relief','SBD','Supplier Bad Debt Relief Form',314,1,'2014-05-06 18:01:25',0,'0000-00-00 00:00:00',0);
/*!40000 ALTER TABLE `master_code` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `module`
--

DROP TABLE IF EXISTS `module`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `module` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `parentModuleID` int(11) NOT NULL,
  `moduleName` varchar(64) NOT NULL,
  `description` varchar(254) NOT NULL,
  `orderNo` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `module`
--

LOCK TABLES `module` WRITE;
/*!40000 ALTER TABLE `module` DISABLE KEYS */;
INSERT INTO `module` VALUES (1,0,'GL','General Ledger',10,0,'2014-05-01 16:36:58',0,'2014-10-12 19:03:33'),(2,0,'AR','Account Receivables',20,0,'2014-05-01 16:36:58',0,'2014-10-12 19:03:39'),(3,0,'AP','Account Payables',30,0,'2014-05-01 16:36:58',0,'2014-10-12 19:03:54'),(4,0,'IC','Inventory Control',60,0,'2014-05-01 16:36:58',0,'2014-10-12 19:04:24'),(5,0,'SO','Sales Order',40,0,'2014-05-01 16:36:58',0,'2014-10-12 19:04:04'),(6,0,'GST','Goods & Services Tax',70,0,'2014-05-01 16:36:58',0,'2014-10-12 19:04:40'),(7,0,'ZKT','Zakat & Wakaf',80,0,'2014-05-01 16:36:58',0,'2014-10-12 19:05:26'),(8,0,'PUR','Purchasing',50,0,'2014-05-01 16:36:58',0,'2014-10-12 19:04:08'),(9,0,'ADM','Admin',99,0,'2014-05-01 16:36:58',0,'2014-10-12 19:05:36'),(10,0,'STP','Setup',90,0,'2014-05-01 16:36:58',0,'2014-10-12 19:05:39');
/*!40000 ALTER TABLE `module` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `parlimen`
--

DROP TABLE IF EXISTS `parlimen`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `parlimen` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `parlimenCode` varchar(4) NOT NULL,
  `stateID` int(11) NOT NULL,
  `parlimen` varchar(32) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=224 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `parlimen`
--

LOCK TABLES `parlimen` WRITE;
/*!40000 ALTER TABLE `parlimen` DISABLE KEYS */;
INSERT INTO `parlimen` VALUES (2,'P001',1928,'PADANG BESAR	'),(3,'P002',1928,'KANGAR	'),(4,'P003',1928,'ARAU	'),(5,'P004',1922,'LANGKAWI	'),(6,'P005',1922,'JERLUN	'),(7,'P006',1922,'KUBANG PASU	'),(8,'P007',1922,'PADANG TERAP	'),(9,'P008',1922,'POKOK SENA	'),(10,'P009',1922,'ALOR STAR	'),(11,'P010',1922,'KUALA KEDAH	'),(12,'P011',1922,'PENDANG	'),(13,'P012',1922,'JERAI	'),(14,'P013',1922,'SIK	'),(15,'P014',1922,'MERBOK	'),(16,'P015',1922,'SUNGAI PETANI	'),(17,'P016',1922,'BALING	'),(18,'P017',1922,'PADANG SERAI	'),(19,'P018',1922,'KULIM/BANDAR BAHARU	'),(20,'P019',1923,'TUMPAT	'),(21,'P020',1923,'PENGKALAN CHEPA	'),(22,'P021',1923,'KOTA BHARU	'),(23,'P022',1923,'PASIR MAS	'),(24,'P023',1923,'RANTAU PANJANG	'),(25,'P024',1923,'KUBANG KERIAN	'),(26,'P025',1923,'BACHOK	'),(27,'P026',1923,'KETEREH	'),(28,'P027',1923,'TANAH MERAH	'),(29,'P028',1923,'PASIR PUTEH	'),(30,'P029',1923,'MACHANG	'),(31,'P030',1923,'JELI	'),(32,'P031',1923,'KUALA KRAI	'),(33,'P032',1923,'GUA MUSANG	'),(34,'P033',1932,'BESUT	'),(35,'P034',1932,'SETIU	'),(36,'P035',1932,'KUALA NERUS	'),(37,'P036',1932,'KUALA TERENGGANU	'),(38,'P037',1932,'MARANG	'),(39,'P038',1932,'HULU TERENGGANU	'),(40,'P039',1932,'DUNGUN	'),(41,'P040',1932,'KEMAMAN	'),(42,'P041',1929,'KEPALA BATAS	'),(43,'P042',1929,'TASEK GELUGOR	'),(44,'P043',1929,'BAGAN	'),(45,'P044',1929,'PERMATANG PAUH	'),(46,'P045',1929,'BUKIT MERTAJAM	'),(47,'P046',1929,'BATU KAWAN	'),(48,'P047',1929,'NIBONG TEBAL	'),(49,'P048',1929,'BUKIT BENDERA	'),(50,'P049',1929,'TANJONG	'),(51,'P050',1929,'JELUTONG	'),(52,'P051',1929,'BUKIT GELUGOR	'),(53,'P052',1929,'BAYAN BARU	'),(54,'P053',1929,'BALIK PULAU	'),(55,'P054',1927,'GERIK	'),(56,'P055',1927,'LENGGONG	'),(57,'P056',1927,'LARUT	'),(58,'P057',1927,'PARIT BUNTAR	'),(59,'P058',1927,'BAGAN SERAI	'),(60,'P059',1927,'BUKIT GANTANG	'),(61,'P060',1927,'TAIPING	'),(62,'P061',1927,'PADANG RENGAS	'),(63,'P062',1927,'SUNGAI SIPUT	'),(64,'P063',1927,'TAMBUN	'),(65,'P064',1927,'IPOH TIMOR	'),(66,'P065',1927,'IPOH BARAT	'),(67,'P066',1927,'BATU GAJAH	'),(68,'P067',1927,'KUALA KANGSAR	'),(69,'P068',1927,'BERUAS	'),(70,'P069',1927,'PARIT	'),(71,'P070',1927,'KAMPAR	'),(72,'P071',1927,'GOPENG	'),(73,'P072',1927,'TAPAH	'),(74,'P073',1927,'PASIR SALAK	'),(75,'P074',1927,'LUMUT	'),(76,'P075',1927,'BAGAN DATOK	'),(77,'P076',1927,'TELOK INTAN	'),(78,'P077',1927,'TANJONG MALIM	'),(79,'P078',1926,'CAMERON HIGHLANDS	'),(80,'P079',1926,'LIPIS	'),(81,'P080',1926,'RAUB	'),(82,'P081',1926,'JERANTUT	'),(83,'P082',1926,'INDERA MAHKOTA	'),(84,'P083',1926,'KUANTAN	'),(85,'P084',1926,'PAYA BESAR	'),(86,'P085',1926,'PEKAN	'),(87,'P086',1926,'MARAN	'),(88,'P087',1926,'KUALA KRAU	'),(89,'P088',1926,'TEMERLOH	'),(90,'P089',1926,'BENTONG	'),(91,'P090',1926,'BERA	'),(92,'P091',1926,'ROMPIN	'),(93,'P092',1931,'SABAK BERNAM	'),(94,'P093',1931,'SUNGAI BESAR	'),(95,'P094',1931,'HULU SELANGOR	'),(96,'P095',1931,'TANJONG KARANG	'),(97,'P096',1931,'KUALA SELANGOR	'),(98,'P097',1931,'SELAYANG	'),(99,'P098',1931,'GOMBAK	'),(100,'P099',1931,'AMPANG	'),(101,'P100',1931,'PANDAN	'),(102,'P101',1931,'HULU LANGAT	'),(103,'P102',1931,'SERDANG	'),(104,'P103',1931,'PUCHONG	'),(105,'P104',1931,'KELANA JAYA	'),(106,'P105',1931,'PETALING JAYA SELATAN	'),(107,'P106',1931,'PETALING JAYA UTARA	'),(108,'P107',1931,'SUBANG	'),(109,'P108',1931,'SHAH ALAM	'),(110,'P109',1931,'KAPAR	'),(111,'P110',1931,'KLANG	'),(112,'P111',1931,'KOTA RAJA	'),(113,'P112',1931,'KUALA LANGAT	'),(114,'P113',1931,'SEPANG	'),(115,'P114',1931,'KEPONG   	'),(116,'P115',1933,'BATU	'),(117,'P116',1933,'WANGSA MAJU	'),(118,'P117',1933,'SEGAMBUT   	'),(119,'P118',1933,'SETIAWANGSA 	'),(120,'P119',1933,'TITIWANGSA	'),(121,'P120',1933,'BUKIT BINTANG 	'),(122,'P121',1933,'LEMBAH PANTAI 	'),(123,'P122',1933,'SEPUTEH	'),(124,'P123',1933,'CHERAS   	'),(125,'P124',1933,'BANDAR TUN RAZAK	'),(126,'P125',1936,'PUTRAJAYA	'),(127,'P126',1925,'JELEBU	'),(128,'P127',1925,'JEMPOL	'),(129,'P128',1925,'SEREMBAN	'),(130,'P129',1925,'KUALA PILAH	'),(131,'P130',1925,'RASAH	'),(132,'P131',1925,'REMBAU	'),(133,'P132',1925,'TELOK KEMANG	'),(134,'P133',1925,'TAMPIN	'),(135,'P134',1924,'MASJID TANAH	'),(136,'P135',1924,'ALOR GAJAH	'),(137,'P136',1924,'TANGGA BATU	'),(138,'P137',1924,'BUKIT KATIL	'),(139,'P138',1924,'KOTA MELAKA	'),(140,'P139',1924,'JASIN	'),(141,'P140',1921,'SEGAMAT	'),(142,'P141',1921,'SEKIJANG	'),(143,'P142',1921,'LABIS	'),(144,'P143',1921,'PAGOH	'),(145,'P144',1921,'LEDANG	'),(146,'P145',1921,'BAKRI	'),(147,'P146',1921,'MUAR	'),(148,'P147',1921,'PARIT SULONG	'),(149,'P148',1921,'AYER HITAM	'),(150,'P149',1921,'SRI GADING	'),(151,'P150',1921,'BATU PAHAT	'),(152,'P151',1921,'SIMPANG RENGGAM	'),(153,'P152',1921,'KLUANG	'),(154,'P153',1921,'SEMBRONG	'),(155,'P154',1921,'MERSING	'),(156,'P155',1921,'TENGGARA	'),(157,'P156',1921,'KOTA TINGGI	'),(158,'P157',1921,'PENGERANG	'),(159,'P158',1921,'TEBRAU	'),(160,'P159',1921,'PASIR GUDANG	'),(161,'P160',1921,'JOHOR BAHRU	'),(162,'P161',1921,'PULAI	'),(163,'P162',1921,'GELANG PATAH	'),(164,'P163',1921,'KULAI	'),(165,'P164',1921,'PONTIAN	'),(166,'P165',1921,'TANJONG PIAI	'),(167,'P166',1935,'LABUAN	'),(168,'P167',1935,'KUDAT	'),(169,'P168',1935,'KOTA MARUDU	'),(170,'P169',1935,'KOTA BELUD	'),(171,'P170',1935,'TUARAN	'),(172,'P171',1935,'SEPANGGAR	'),(173,'P172',1935,'KOTA KINABALU	'),(174,'P173',1935,'PUTATAN	'),(175,'P174',1935,'PENAMPANG	'),(176,'P175',1935,'PAPAR	'),(177,'P176',1935,'KIMANIS	'),(178,'P177',1935,'BEAUFORT	'),(179,'P178',1935,'SIPITANG	'),(180,'P179',1935,'RANAU	'),(181,'P180',1935,'KENINGAU	'),(182,'P181',1935,'TENOM	'),(183,'P182',1935,'PENSIANGAN	'),(184,'P183',1935,'BELURAN	'),(185,'P184',1935,'LIBARAN	'),(186,'P185',1935,'BATU SAPI	'),(187,'P186',1935,'SANDAKAN	'),(188,'P187',1935,'KINABATANGAN	'),(189,'P188',1935,'SILAM	'),(190,'P189',1935,'SEMPORNA	'),(191,'P190',1935,'TAWAU	'),(192,'P191',1930,'KALABAKAN	'),(193,'P192',1930,'MAS GADING	'),(194,'P193',1930,'SANTUBONG	'),(195,'P194',1930,'PETRA JAYA	'),(196,'P195',1930,'BANDAR KUCHING	'),(197,'P196',1930,'STAMPIN	'),(198,'P197',1930,'KOTA SAMARAHAN	'),(199,'P198',1930,'MAMBONG	'),(200,'P199',1930,'SERIAN	'),(201,'P200',1930,'BATANG SADONG	'),(202,'P201',1930,'BATANG LUPAR	'),(203,'P202',1930,'SRI AMAN	'),(204,'P203',1930,'LUBOK ANTU	'),(205,'P204',1930,'BETONG	'),(206,'P205',1930,'SARATOK	'),(207,'P206',1930,'TANJONG MANIS	'),(208,'P207',1930,'IGAN	'),(209,'P208',1930,'SARIKEI	'),(210,'P209',1930,'JULAU	'),(211,'P210',1930,'KANOWIT	'),(212,'P211',1930,'LANANG	'),(213,'P212',1930,'SIBU	'),(214,'P213',1930,'MUKAH	'),(215,'P214',1930,'SELANGAU	'),(216,'P215',1930,'KAPIT	'),(217,'P216',1930,'HULU RAJANG	'),(218,'P217',1930,'BINTULU	'),(219,'P218',1930,'SIBUTI	'),(220,'P219',1930,'MIRI	'),(221,'P220',1930,'BARAM	'),(222,'P221',1930,'LIMBANG	'),(223,'P222',1930,'LAWAS	');
/*!40000 ALTER TABLE `parlimen` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `person`
--

DROP TABLE IF EXISTS `person`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `person` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `name` int(11) NOT NULL,
  `position` varchar(64) NOT NULL,
  `employeeCode` varchar(16) NOT NULL,
  `genderID` int(11) NOT NULL,
  `dateOfBirth` date NOT NULL,
  `dateOfJoint` date NOT NULL,
  `remaks` text NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `person`
--

LOCK TABLES `person` WRITE;
/*!40000 ALTER TABLE `person` DISABLE KEYS */;
/*!40000 ALTER TABLE `person` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `person_contact`
--

DROP TABLE IF EXISTS `person_contact`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `person_contact` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `personID` int(11) NOT NULL,
  `companyID` int(11) NOT NULL,
  `contactType` varchar(32) NOT NULL,
  `contact` tinytext NOT NULL,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `person_contact`
--

LOCK TABLES `person_contact` WRITE;
/*!40000 ALTER TABLE `person_contact` DISABLE KEYS */;
/*!40000 ALTER TABLE `person_contact` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `poke`
--

DROP TABLE IF EXISTS `poke`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `poke` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `who` int(11) NOT NULL,
  `whom` int(11) NOT NULL,
  `status` tinyint(1) NOT NULL DEFAULT '1',
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `poke`
--

LOCK TABLES `poke` WRITE;
/*!40000 ALTER TABLE `poke` DISABLE KEYS */;
/*!40000 ALTER TABLE `poke` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `prospect`
--

DROP TABLE IF EXISTS `prospect`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `prospect` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(64) NOT NULL,
  `email` varchar(64) NOT NULL,
  `login` varchar(32) NOT NULL,
  `paswd` varchar(32) NOT NULL,
  `tel` varchar(16) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `ip` varchar(32) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `prospect`
--

LOCK TABLES `prospect` WRITE;
/*!40000 ALTER TABLE `prospect` DISABLE KEYS */;
/*!40000 ALTER TABLE `prospect` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `supplier`
--

DROP TABLE IF EXISTS `supplier`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `supplier` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `supplierName` varchar(128) NOT NULL,
  `supplierCode` varchar(8) NOT NULL,
  `supplierCompanyNo` varchar(32) NOT NULL,
  `line1` varchar(128) NOT NULL,
  `line2` varchar(128) NOT NULL,
  `line3` varchar(128) NOT NULL,
  `city` varchar(128) NOT NULL,
  `supplierPostCode` varchar(8) NOT NULL,
  `supplierStateID` int(11) NOT NULL,
  `supplierCountryID` int(11) NOT NULL,
  `attention` varchar(100) NOT NULL,
  `website` varchar(32) NOT NULL,
  `phoneNumber1` varchar(50) NOT NULL,
  `phoneNumber2` varchar(50) NOT NULL,
  `fax` varchar(50) NOT NULL,
  `generalNote` varchar(255) NOT NULL,
  `gstRegNo` varchar(16) NOT NULL,
  `termsID` int(11) NOT NULL,
  `creditLimit` double NOT NULL,
  `creditLimitAlert` tinyint(1) NOT NULL,
  `linkedAPAccountID` int(11) NOT NULL,
  `createdDate` date NOT NULL,
  `currencyID` int(11) NOT NULL,
  `email` varchar(64) NOT NULL,
  `termstatus` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(16) NOT NULL,
  `approvalNo` varchar(32) NOT NULL,
  `commenceDate` date NOT NULL,
  `ceaseDate` date NOT NULL,
  `verifyDate` date NOT NULL,
  PRIMARY KEY (`ID`),
  KEY `ID` (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `supplier`
--

LOCK TABLES `supplier` WRITE;
/*!40000 ALTER TABLE `supplier` DISABLE KEYS */;
/*!40000 ALTER TABLE `supplier` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `trigger_default_created_date` BEFORE INSERT ON `supplier`
 FOR EACH ROW if ( isnull(new.createddate) ) then

 set new.createddate=curdate();

end if */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `supplier_address`
--

DROP TABLE IF EXISTS `supplier_address`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `supplier_address` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `supplierID` int(11) NOT NULL,
  `addressCode` varchar(50) DEFAULT NULL,
  `addressName` varchar(128) DEFAULT NULL,
  `line1` varchar(128) DEFAULT NULL,
  `line2` varchar(128) DEFAULT NULL,
  `line3` varchar(128) DEFAULT NULL,
  `city` varchar(128) DEFAULT NULL,
  `postCode` varchar(8) DEFAULT NULL,
  `stateID` int(11) DEFAULT NULL,
  `countryID` int(11) DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` smallint(16) DEFAULT '0',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `supplier_address`
--

LOCK TABLES `supplier_address` WRITE;
/*!40000 ALTER TABLE `supplier_address` DISABLE KEYS */;
/*!40000 ALTER TABLE `supplier_address` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `supplier_contact`
--

DROP TABLE IF EXISTS `supplier_contact`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `supplier_contact` (
  `ID` int(11) NOT NULL DEFAULT '0',
  `supplierID` int(11) NOT NULL,
  `personID` int(11) NOT NULL,
  `position` varchar(32) NOT NULL,
  `is_delete` smallint(16) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `supplier_contact`
--

LOCK TABLES `supplier_contact` WRITE;
/*!40000 ALTER TABLE `supplier_contact` DISABLE KEYS */;
/*!40000 ALTER TABLE `supplier_contact` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tax_class`
--

DROP TABLE IF EXISTS `tax_class`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tax_class` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(10) DEFAULT NULL,
  `shortName` varchar(10) DEFAULT NULL,
  `description` varchar(128) DEFAULT NULL,
  `taxAccount` int(11) DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tax_class`
--

LOCK TABLES `tax_class` WRITE;
/*!40000 ALTER TABLE `tax_class` DISABLE KEYS */;
/*!40000 ALTER TABLE `tax_class` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tax_group`
--

DROP TABLE IF EXISTS `tax_group`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tax_group` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(10) DEFAULT NULL,
  `description` varchar(128) DEFAULT NULL,
  `taxAccount` int(11) DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tax_group`
--

LOCK TABLES `tax_group` WRITE;
/*!40000 ALTER TABLE `tax_group` DISABLE KEYS */;
/*!40000 ALTER TABLE `tax_group` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tax_master`
--

DROP TABLE IF EXISTS `tax_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tax_master` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL DEFAULT '0',
  `code` varchar(10) DEFAULT NULL,
  `name` varchar(128) DEFAULT NULL,
  `taxType` int(11) DEFAULT NULL,
  `taxPercentage` double DEFAULT NULL,
  `taxClass` int(11) DEFAULT NULL,
  `taxGroup` int(11) DEFAULT NULL,
  `description` varchar(128) DEFAULT NULL,
  `taxAccount` int(11) DEFAULT NULL,
  `status` tinyint(1) DEFAULT '0',
  `createdBy` int(11) DEFAULT '0',
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`,`companyID`),
  KEY `FK_tax_master_tax_class` (`taxClass`),
  KEY `FK_tax_master_tax_group` (`taxGroup`),
  KEY `FK_tax_master_tax_type` (`taxType`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tax_master`
--

LOCK TABLES `tax_master` WRITE;
/*!40000 ALTER TABLE `tax_master` DISABLE KEYS */;
/*!40000 ALTER TABLE `tax_master` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tax_type`
--

DROP TABLE IF EXISTS `tax_type`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tax_type` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(10) DEFAULT NULL,
  `taxGroupID` int(11) DEFAULT NULL,
  `description` varchar(128) DEFAULT NULL,
  `taxClass` int(11) NOT NULL,
  `taxAccount` int(11) DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tax_type`
--

LOCK TABLES `tax_type` WRITE;
/*!40000 ALTER TABLE `tax_type` DISABLE KEYS */;
/*!40000 ALTER TABLE `tax_type` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tax_work_footer`
--

DROP TABLE IF EXISTS `tax_work_footer`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tax_work_footer` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `recordID` varchar(1) DEFAULT NULL COMMENT 'Must be a single character corresponding to record type. Must be ‘F’',
  `purchaseCount` int(11) DEFAULT NULL COMMENT 'Number of P records',
  `purchaseAmount` double DEFAULT NULL COMMENT 'Debit Amount',
  `purchaseAmountGST` double DEFAULT NULL COMMENT 'Purchase GST Amount GST',
  `supplyCount` int(11) DEFAULT NULL COMMENT 'Supply Count',
  `supplyAmountSum` double DEFAULT NULL COMMENT 'Sum of all supplies',
  `supplyAmountSumGst` double DEFAULT NULL COMMENT 'Sum of GST on all supplies',
  `ledgerCount` int(11) DEFAULT NULL COMMENT 'Number of L records',
  `debitSum` double DEFAULT NULL COMMENT 'Debit Sum',
  `creditSum` double DEFAULT NULL COMMENT 'Credit Sum',
  `balanceSum` double DEFAULT NULL COMMENT 'Balance Sum',
  `status` smallint(1) DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tax_work_footer`
--

LOCK TABLES `tax_work_footer` WRITE;
/*!40000 ALTER TABLE `tax_work_footer` DISABLE KEYS */;
/*!40000 ALTER TABLE `tax_work_footer` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tax_work_gl`
--

DROP TABLE IF EXISTS `tax_work_gl`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tax_work_gl` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `recordID` varchar(1) DEFAULT NULL COMMENT 'Must be a single character corresponding to record type.Must be ‘L’',
  `transactionDate` date DEFAULT NULL COMMENT 'Format: dd/MM/yyyy',
  `Account ID` int(11) DEFAULT NULL COMMENT 'General Ledger Code for individual account',
  `Account Name` varchar(3) DEFAULT NULL COMMENT 'Name of individual General Ledger account',
  `description` varchar(128) DEFAULT NULL COMMENT 'Transaction Description',
  `name` varchar(128) DEFAULT NULL COMMENT 'Name of entity involved (if applicable)',
  `journalID` varchar(128) DEFAULT NULL COMMENT 'A unique number that can group related double entries',
  `documentID` varchar(128) DEFAULT NULL COMMENT 'Source document number to which line relates (For example, cheque number, invoice number, credit note number, trust receipt number) ',
  `type` varchar(128) DEFAULT NULL COMMENT 'Refers to type of transaction such as AR. Refers to the type of transaction such as AR, AP, Inventory, Sales, Purchases, Cash Disbursement, Cash Receipt, General Journal etc.',
  `amount_dr` double DEFAULT NULL COMMENT 'Debit Amount',
  `amount_cr` double DEFAULT NULL COMMENT 'Credit amount',
  `Balance` double DEFAULT NULL COMMENT 'Balance Amount',
  `status` smallint(1) DEFAULT NULL,
  `gafID` int(11) DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tax_work_gl`
--

LOCK TABLES `tax_work_gl` WRITE;
/*!40000 ALTER TABLE `tax_work_gl` DISABLE KEYS */;
/*!40000 ALTER TABLE `tax_work_gl` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tax_work_header`
--

DROP TABLE IF EXISTS `tax_work_header`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tax_work_header` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `recordID` varchar(1) DEFAULT NULL COMMENT 'Must be a single character corresponding to record type. Must be ‘C’',
  `name` varchar(128) DEFAULT NULL COMMENT 'The name of the company for which this file is reporting on.',
  `BRN` varchar(128) DEFAULT NULL COMMENT 'Business registration number for company',
  `gstNo` varchar(128) DEFAULT NULL COMMENT 'Company GST number',
  `periodStart` date DEFAULT NULL COMMENT 'Filing Period Start Date Must be in format dd/MM/yyyy example: 01/12/2014’',
  `periodEnd` date DEFAULT NULL COMMENT 'Filing Period End Date Must be in format dd/MM/yyyy example: 31/12/2014’',
  `version` varchar(128) DEFAULT NULL COMMENT 'Accounting software name and version Example: XYB Accountsoft v.2.0',
  `GAFversion` varchar(128) DEFAULT NULL COMMENT 'GST Audit File (GAF) version number',
  `status` smallint(1) DEFAULT NULL,
  `gafID` smallint(1) DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tax_work_header`
--

LOCK TABLES `tax_work_header` WRITE;
/*!40000 ALTER TABLE `tax_work_header` DISABLE KEYS */;
/*!40000 ALTER TABLE `tax_work_header` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tax_work_purchase`
--

DROP TABLE IF EXISTS `tax_work_purchase`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tax_work_purchase` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `recordID` varchar(1) DEFAULT NULL COMMENT 'Must be a single character corresponding to record type. Must be ‘P’',
  `name` varchar(128) DEFAULT NULL COMMENT 'AN Name for supplier.',
  `BRN` varchar(128) DEFAULT NULL COMMENT 'BRN for company from which purchase was made.',
  `invoiceDate` date DEFAULT NULL COMMENT 'Invoice Date Format dd/MM/yyyy',
  `invoiceNo` varchar(128) DEFAULT NULL COMMENT 'Invoice Number',
  `importDeclare` varchar(128) DEFAULT NULL COMMENT 'Import Declaration Number. (e.g. Customs Form No. 1 reference',
  `invoiceLine` varchar(3) DEFAULT NULL COMMENT 'Number of Invoice Line',
  `description` varchar(128) DEFAULT NULL COMMENT 'Description for what was purchased',
  `amount` double DEFAULT NULL COMMENT 'Value of purchase excluding GST in Malaysia Ringgit.',
  `taxAmount` double DEFAULT NULL COMMENT 'Value of GST in Malaysia Ringgit.',
  `taxID` int(11) DEFAULT NULL,
  `taxCode` varchar(128) DEFAULT NULL COMMENT 'Tax code for lookup in tables. Please refer to Appendix',
  `currencyID` int(11) DEFAULT NULL,
  `currencyCode` varchar(128) DEFAULT NULL COMMENT 'ISO’s currency codes (3-letter alphabetical code) of foreign Currency. Example: USD',
  `currencyAmount` double DEFAULT NULL COMMENT 'Value of purchase excluding GST in Foreign Currency (If applicable).',
  `taxCurrencyAmount` double DEFAULT NULL COMMENT 'Value of GST in Foreign Currency (If applicable)',
  `status` smallint(2) DEFAULT NULL,
  `gafID` int(11) DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tax_work_purchase`
--

LOCK TABLES `tax_work_purchase` WRITE;
/*!40000 ALTER TABLE `tax_work_purchase` DISABLE KEYS */;
/*!40000 ALTER TABLE `tax_work_purchase` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tax_work_sales`
--

DROP TABLE IF EXISTS `tax_work_sales`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tax_work_sales` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `recordID` varchar(1) DEFAULT NULL COMMENT 'Must be a single character corresponding to record type. Must be ‘S’',
  `name` varchar(128) DEFAULT NULL COMMENT 'Name of customer.',
  `BRN` varchar(128) DEFAULT NULL COMMENT 'BRN for supplier.',
  `invoiceDate` date DEFAULT NULL COMMENT 'Invoice Date Format dd/MM/yyyy',
  `invoiceNo` varchar(128) DEFAULT NULL COMMENT 'Invoice Number',
  `invoiceLine` varchar(3) DEFAULT NULL COMMENT 'Number of Invoice Line',
  `description` varchar(128) DEFAULT NULL COMMENT 'Description for what was sold',
  `amount` double DEFAULT NULL COMMENT 'Value of supply excluding GST in Malaysia Ringgit',
  `taxAmount` double DEFAULT NULL COMMENT 'Value of GST in Malaysia Ringgit',
  `taxID` int(11) DEFAULT NULL,
  `taxCode` varchar(128) DEFAULT NULL COMMENT 'Tax code for lookup in tables. Please refer to Appendix 2Example: SR',
  `countryID` int(11) DEFAULT NULL COMMENT 'Destination of goods being exported. Example: KOREA',
  `currencyID` int(11) DEFAULT NULL,
  `currencyCode` varchar(128) DEFAULT NULL COMMENT 'ISO’s currency codes (3-letter alphabetical code) of foreign Currency. Example: USD',
  `currencyAmount` double DEFAULT NULL COMMENT 'Value of purchase excluding GST in Foreign Currency (If applicable).',
  `taxCurrencyAmount` double DEFAULT NULL COMMENT 'Value of GST in Foreign Currency (If applicable)',
  `status` smallint(1) DEFAULT NULL,
  `gafID` int(11) DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tax_work_sales`
--

LOCK TABLES `tax_work_sales` WRITE;
/*!40000 ALTER TABLE `tax_work_sales` DISABLE KEYS */;
/*!40000 ALTER TABLE `tax_work_sales` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tbl_department`
--

DROP TABLE IF EXISTS `tbl_department`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbl_department` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `code` varchar(18) DEFAULT NULL,
  `description` varchar(100) DEFAULT NULL,
  `dept_head` int(11) DEFAULT NULL,
  `createdBy` int(11) NOT NULL,
  `is_deleted` tinyint(4) NOT NULL,
  `updatedBy` int(11) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tbl_department`
--

LOCK TABLES `tbl_department` WRITE;
/*!40000 ALTER TABLE `tbl_department` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbl_department` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tbl_location`
--

DROP TABLE IF EXISTS `tbl_location`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbl_location` (
  `fldid` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `code` varchar(20) DEFAULT NULL,
  `desc` varchar(100) DEFAULT NULL,
  `address` varchar(200) DEFAULT NULL,
  `line2` varchar(128) NOT NULL,
  `line3` varchar(128) NOT NULL,
  `postcode` varchar(10) DEFAULT NULL,
  `city` varchar(50) DEFAULT NULL,
  `state` int(10) DEFAULT NULL,
  `country` int(10) DEFAULT NULL,
  `phone_no` varchar(25) DEFAULT NULL,
  `fax_no` varchar(25) DEFAULT NULL,
  `create_by` varchar(50) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  PRIMARY KEY (`fldid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tbl_location`
--

LOCK TABLES `tbl_location` WRITE;
/*!40000 ALTER TABLE `tbl_location` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbl_location` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tbl_section`
--

DROP TABLE IF EXISTS `tbl_section`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbl_section` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `code` varchar(18) DEFAULT NULL,
  `departmentID` int(11) DEFAULT NULL,
  `description` varchar(100) DEFAULT NULL,
  `section_head` int(11) DEFAULT NULL,
  `createdBy` int(11) NOT NULL,
  `updatedBy` int(11) NOT NULL,
  `is_deleted` tinyint(4) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tbl_section`
--

LOCK TABLES `tbl_section` WRITE;
/*!40000 ALTER TABLE `tbl_section` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbl_section` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tbl_useradmin`
--

DROP TABLE IF EXISTS `tbl_useradmin`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbl_useradmin` (
  `fldid` int(11) NOT NULL AUTO_INCREMENT,
  `userid` varchar(50) CHARACTER SET utf8 NOT NULL DEFAULT '0',
  `password` varchar(32) CHARACTER SET utf8 DEFAULT '0',
  `username` varchar(150) CHARACTER SET utf8 DEFAULT NULL,
  `position` varchar(50) CHARACTER SET utf8 DEFAULT NULL,
  `email` varchar(100) CHARACTER SET utf8 DEFAULT NULL,
  `homepage` varchar(100) CHARACTER SET utf8 DEFAULT NULL,
  `phone_off` varchar(30) CHARACTER SET utf8 DEFAULT NULL,
  `phone_ext` varchar(10) CHARACTER SET utf8 DEFAULT NULL,
  `phone_mobile` varchar(100) CHARACTER SET utf8 DEFAULT NULL,
  `department` varchar(18) CHARACTER SET utf8 DEFAULT NULL,
  `section` varchar(18) CHARACTER SET utf8 DEFAULT NULL,
  `role` varchar(150) CHARACTER SET utf8 DEFAULT NULL,
  `status` smallint(1) DEFAULT NULL,
  `birthday` date DEFAULT NULL,
  `imageFile` varchar(254) CHARACTER SET utf8 NOT NULL,
  `online` int(5) NOT NULL,
  `last_seen` datetime NOT NULL,
  `access_comp` varchar(255) CHARACTER SET utf8 NOT NULL,
  `last_seen_ip` varchar(30) CHARACTER SET utf8 NOT NULL,
  `create_dt` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `create_user` varchar(150) CHARACTER SET utf8 DEFAULT NULL,
  `modified_dt` date DEFAULT NULL,
  `modified_user` varchar(150) CHARACTER SET utf8 DEFAULT NULL,
  `is_delete` smallint(6) DEFAULT '0',
  `language` varchar(10) CHARACTER SET utf8 NOT NULL,
  PRIMARY KEY (`fldid`)
) ENGINE=InnoDB AUTO_INCREMENT=93 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tbl_useradmin`
--

LOCK TABLES `tbl_useradmin` WRITE;
/*!40000 ALTER TABLE `tbl_useradmin` DISABLE KEYS */;
INSERT INTO `tbl_useradmin` VALUES (1,'demo ','21232f297a57a5a743894a0e4a801fc3','Demo for Demo','0','admin',NULL,'0',NULL,'0174426998','0','0','ADMIN',NULL,NULL,'1-1448937345-logo.png',0,'0000-00-00 00:00:00','','','2014-01-24 07:55:05','yahaya','2015-12-01','demo ',0,'en'),(84,'akmal','827ccb0eea8a706c4c34a16891f84e7b','akmal programmer php','programmer','akmal_aura@yahoo.com',NULL,'245234',NULL,'34564567','0','0',NULL,NULL,NULL,'',1,'0000-00-00 00:00:00','','','2015-11-27 05:10:00','demo',NULL,NULL,0,'en'),(88,'testing','827ccb0eea8a706c4c34a16891f84e7b','Testing Bin Testing','0','testing@tekun.com.my',NULL,'0',NULL,'0199999999','0','0',NULL,NULL,NULL,'88-1448937380-10982135_930295673667946_7144968507178138611_n.jpg',0,'0000-00-00 00:00:00','','','2015-11-29 21:20:42','demo ','2015-12-01','demo ',0,'en'),(89,'testing2 ','a119e534072584a0ea88cdea4664aecd','Testing2 Bin Testing2','0','testing2@tekun.com.my',NULL,'0',NULL,'017777777','0','0',NULL,NULL,NULL,'89-1448937483-iron_man_in_flight-wallpaper-1366x768.jpg',0,'0000-00-00 00:00:00','','','2015-11-30 18:58:34','demo ','2015-12-01','demo ',0,'ms'),(91,'izuwan','e73b72764001209d943fb623f4c64fb4','Mohd Izuwan','0','',NULL,'0',NULL,'','0','0',NULL,NULL,NULL,'',0,'0000-00-00 00:00:00','','','2015-12-02 00:43:39','demo ',NULL,NULL,0,'en'),(92,'suadah','827ccb0eea8a706c4c34a16891f84e7b','Testingsuadah','0','suadah@testing',NULL,'0',NULL,'','0','0',NULL,NULL,NULL,'92-1449042348-300px-Narzisse.jpg',1,'0000-00-00 00:00:00','','','2015-12-02 00:44:32','demo ',NULL,NULL,0,'en');
/*!40000 ALTER TABLE `tbl_useradmin` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tbl_usermaster`
--

DROP TABLE IF EXISTS `tbl_usermaster`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbl_usermaster` (
  `fldid` int(11) NOT NULL AUTO_INCREMENT,
  `userid` varchar(50) NOT NULL DEFAULT '0',
  `password` varchar(32) DEFAULT '0',
  `username` varchar(150) DEFAULT NULL,
  `position` varchar(50) DEFAULT NULL,
  `email` varchar(100) DEFAULT NULL,
  `homepage` varchar(100) DEFAULT NULL,
  `phone_off` varchar(30) DEFAULT NULL,
  `phone_ext` varchar(10) DEFAULT NULL,
  `phone_mobile` varchar(100) DEFAULT NULL,
  `department` varchar(18) DEFAULT NULL,
  `section` varchar(18) DEFAULT NULL,
  `role` varchar(150) DEFAULT NULL,
  `status` smallint(1) DEFAULT NULL,
  `birthday` date DEFAULT NULL,
  `imageFile` varchar(254) NOT NULL,
  `online` int(5) NOT NULL,
  `last_seen` datetime NOT NULL,
  `access_comp` varchar(255) NOT NULL,
  `last_seen_ip` varchar(30) NOT NULL,
  `create_dt` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `create_user` varchar(150) DEFAULT NULL,
  `modified_dt` date DEFAULT NULL,
  `modified_user` varchar(150) DEFAULT NULL,
  `is_delete` smallint(6) DEFAULT '0',
  `language` varchar(10) NOT NULL,
  PRIMARY KEY (`fldid`),
  KEY `Index 3` (`password`),
  KEY `userid` (`userid`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tbl_usermaster`
--

LOCK TABLES `tbl_usermaster` WRITE;
/*!40000 ALTER TABLE `tbl_usermaster` DISABLE KEYS */;
INSERT INTO `tbl_usermaster` VALUES (1,'hijrahrahmat@gmail.com','827ccb0eea8a706c4c34a16891f84e7b','hijrah rahmat',NULL,'hijrahrahmat@gmail.com',NULL,NULL,NULL,'0129020146',NULL,NULL,NULL,NULL,NULL,'',0,'0000-00-00 00:00:00','','192.168.1.201','2016-09-30 03:19:56',NULL,NULL,NULL,0,''),(2,'farid@gmail.com','827ccb0eea8a706c4c34a16891f84e7b','farid',NULL,'farid@gmail.com',NULL,NULL,NULL,'0148290370',NULL,NULL,NULL,NULL,NULL,'',0,'0000-00-00 00:00:00','','192.168.1.192','2016-09-30 03:26:41',NULL,NULL,NULL,0,''),(3,'akmaluddin@salihin.com.my','827ccb0eea8a706c4c34a16891f84e7b','akmal programmer spslite',NULL,'akmaluddin@salihin.com.my',NULL,NULL,NULL,'0193393995',NULL,NULL,NULL,NULL,NULL,'',0,'0000-00-00 00:00:00','','192.168.1.199','2016-10-06 06:44:08',NULL,NULL,NULL,0,''),(4,'mortalcombat@gmail.com','827ccb0eea8a706c4c34a16891f84e7b','mortalcombat',NULL,'mortalcombat@gmail.com',NULL,NULL,NULL,'123',NULL,NULL,NULL,NULL,NULL,'',0,'0000-00-00 00:00:00','','192.168.1.198','2016-10-07 03:30:25',NULL,NULL,NULL,0,''),(5,'garfield@gmail.com','827ccb0eea8a706c4c34a16891f84e7b','garfield Sdn Bhd',NULL,'garfield@gmail.com',NULL,NULL,NULL,'123',NULL,NULL,NULL,NULL,NULL,'',0,'0000-00-00 00:00:00','','192.168.1.198','2016-10-10 06:39:39',NULL,NULL,NULL,0,''),(6,'eminem@gmail.com','827ccb0eea8a706c4c34a16891f84e7b','eminem sdn bhd',NULL,'eminem@gmail.com',NULL,NULL,NULL,'123',NULL,NULL,NULL,NULL,NULL,'',0,'0000-00-00 00:00:00','','192.168.1.198','2016-10-10 08:06:23',NULL,NULL,NULL,0,''),(7,'aminfahmi.saa@gmail.com','473eba59ac995deee3805e5b853de1e9','MUHAMAD AMIN FAHMI BIN SOLAHUDDIN',NULL,'aminfahmi.saa@gmail.com',NULL,NULL,NULL,'0132767375',NULL,NULL,NULL,NULL,NULL,'',0,'0000-00-00 00:00:00','','183.171.23.48','2016-11-10 09:54:10',NULL,NULL,NULL,0,'');
/*!40000 ALTER TABLE `tbl_usermaster` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `temp_usermaster_reset_pwd`
--

DROP TABLE IF EXISTS `temp_usermaster_reset_pwd`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `temp_usermaster_reset_pwd` (
  `code` varchar(32) NOT NULL,
  `idUser` int(11) NOT NULL,
  `email` varchar(64) NOT NULL,
  PRIMARY KEY (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `temp_usermaster_reset_pwd`
--

LOCK TABLES `temp_usermaster_reset_pwd` WRITE;
/*!40000 ALTER TABLE `temp_usermaster_reset_pwd` DISABLE KEYS */;
INSERT INTO `temp_usermaster_reset_pwd` VALUES ('241d6cca0e14a5b0eed71ac15d211c26',111,'korisscww@yahoo.fr'),('46fe9a8e1cfe80e136bacaa0664d5891',95,'ekinsas@yahoo.com'),('4c08a01fc4075093be536877304bece3',95,'ekinsas@yahoo.com'),('7fbfe28183cdf603c8e9bea14bf3cad4',95,'ekinsas@yahoo.com'),('9a5098ad2c0c15aacaaf161b2436ec64',95,'ekinsas@yahoo.com'),('d937a1dc3d3a1703e82dde8409490361',95,'ekinsas@yahoo.com'),('fa3f22559185f82498994afc6fe2e44d',112,'farahzafirah@salihin.com.my');
/*!40000 ALTER TABLE `temp_usermaster_reset_pwd` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `terms`
--

DROP TABLE IF EXISTS `terms`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `terms` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `termName` varchar(64) NOT NULL,
  `termDescription` varchar(255) NOT NULL,
  `dueDays` int(11) NOT NULL,
  `termStatusID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(16) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `terms`
--

LOCK TABLES `terms` WRITE;
/*!40000 ALTER TABLE `terms` DISABLE KEYS */;
/*!40000 ALTER TABLE `terms` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `trash_comp_journal`
--

DROP TABLE IF EXISTS `trash_comp_journal`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `trash_comp_journal` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `oldID` int(11) NOT NULL,
  `companyID` int(11) DEFAULT NULL,
  `journalID` varchar(50) CHARACTER SET utf8 DEFAULT NULL,
  `description` varchar(128) CHARACTER SET utf8 DEFAULT NULL,
  `referrence` varchar(128) CHARACTER SET utf8 DEFAULT NULL,
  `batch` varchar(50) CHARACTER SET utf8 DEFAULT NULL,
  `module` int(11) DEFAULT NULL,
  `effective_date` date DEFAULT NULL,
  `entered_date` date DEFAULT NULL,
  `period` smallint(2) DEFAULT NULL,
  `year` year(4) DEFAULT NULL,
  `total_amount_dr` double DEFAULT NULL,
  `total_amount_cr` double DEFAULT NULL,
  `total_amount` double DEFAULT '0',
  `status` tinyint(4) DEFAULT '0' COMMENT 'unposted = 0, posted = 1',
  `remarks` varchar(128) CHARACTER SET utf8 DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `formNo` varchar(100) CHARACTER SET utf8 DEFAULT NULL,
  `is_delete` smallint(16) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `trash_comp_journal`
--

LOCK TABLES `trash_comp_journal` WRITE;
/*!40000 ALTER TABLE `trash_comp_journal` DISABLE KEYS */;
/*!40000 ALTER TABLE `trash_comp_journal` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `trash_comp_journal_detail`
--

DROP TABLE IF EXISTS `trash_comp_journal_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `trash_comp_journal_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `trashID` int(11) NOT NULL,
  `oldID` int(11) NOT NULL,
  `companyID` int(11) DEFAULT '0',
  `journalID` varchar(50) CHARACTER SET utf8 DEFAULT '0',
  `sequence` int(11) DEFAULT '0',
  `acctCode` int(11) DEFAULT '0',
  `projectID` int(11) DEFAULT '0',
  `description` varchar(200) CHARACTER SET utf8 DEFAULT '0',
  `amount_cr` double DEFAULT '0',
  `amount_dr` double DEFAULT '0',
  `currencyID` int(11) DEFAULT '0',
  `currency_amount` double DEFAULT '0',
  `exchange_rate` double DEFAULT '0',
  `enter_exchange_rate` double DEFAULT '0',
  `period` smallint(2) DEFAULT '0',
  `year` year(4) DEFAULT NULL,
  `formNo` varchar(50) CHARACTER SET utf8 DEFAULT NULL,
  `supplier` varchar(200) CHARACTER SET utf8 DEFAULT NULL,
  `line` int(11) DEFAULT NULL,
  `status` smallint(2) DEFAULT '0',
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(16) NOT NULL,
  `bankReconcileID` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `trash_comp_journal_detail`
--

LOCK TABLES `trash_comp_journal_detail` WRITE;
/*!40000 ALTER TABLE `trash_comp_journal_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `trash_comp_journal_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ug_content`
--

DROP TABLE IF EXISTS `ug_content`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ug_content` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `ugID` int(11) NOT NULL,
  `language` varchar(8) NOT NULL,
  `title` varchar(100) NOT NULL,
  `content` text NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ug_content`
--

LOCK TABLES `ug_content` WRITE;
/*!40000 ALTER TABLE `ug_content` DISABLE KEYS */;
/*!40000 ALTER TABLE `ug_content` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ug_relatedtopic`
--

DROP TABLE IF EXISTS `ug_relatedtopic`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ug_relatedtopic` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `ugID` int(11) NOT NULL,
  `relatedUgID` int(11) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ug_relatedtopic`
--

LOCK TABLES `ug_relatedtopic` WRITE;
/*!40000 ALTER TABLE `ug_relatedtopic` DISABLE KEYS */;
/*!40000 ALTER TABLE `ug_relatedtopic` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ug_topic`
--

DROP TABLE IF EXISTS `ug_topic`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ug_topic` (
  `fldid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(8) CHARACTER SET utf8 DEFAULT NULL,
  `name` varchar(30) CHARACTER SET utf8 DEFAULT NULL,
  `parents` varchar(8) CHARACTER SET utf8 DEFAULT '0',
  `module` varchar(8) CHARACTER SET utf8 DEFAULT '0',
  `submenu` smallint(1) DEFAULT '0',
  `urls` varchar(100) CHARACTER SET utf8 DEFAULT '0',
  `urls2` varchar(100) CHARACTER SET utf8 DEFAULT '0',
  `access` varchar(100) CHARACTER SET utf8 DEFAULT NULL,
  `seq` int(11) NOT NULL,
  `display` smallint(1) DEFAULT '1',
  `icons` varchar(32) CHARACTER SET utf8 DEFAULT 'i-film',
  `language` varchar(3) CHARACTER SET utf8 DEFAULT 'EN',
  PRIMARY KEY (`fldid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ug_topic`
--

LOCK TABLES `ug_topic` WRITE;
/*!40000 ALTER TABLE `ug_topic` DISABLE KEYS */;
/*!40000 ALTER TABLE `ug_topic` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ug_video`
--

DROP TABLE IF EXISTS `ug_video`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ug_video` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `ugID` int(11) NOT NULL,
  `title` varchar(64) NOT NULL,
  `videoLink` varchar(128) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ug_video`
--

LOCK TABLES `ug_video` WRITE;
/*!40000 ALTER TABLE `ug_video` DISABLE KEYS */;
/*!40000 ALTER TABLE `ug_video` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `user`
--

DROP TABLE IF EXISTS `user`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `user` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `userName` varchar(32) NOT NULL,
  `password` varchar(64) NOT NULL,
  `fullName` varchar(64) NOT NULL,
  `telephoneNo` varchar(16) NOT NULL,
  `emailAddress` varchar(16) NOT NULL,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `user`
--

LOCK TABLES `user` WRITE;
/*!40000 ALTER TABLE `user` DISABLE KEYS */;
/*!40000 ALTER TABLE `user` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `user_expiry`
--

DROP TABLE IF EXISTS `user_expiry`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `user_expiry` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `userID` int(11) NOT NULL,
  `username` varchar(100) NOT NULL,
  `typeOfPackage` smallint(6) NOT NULL COMMENT '1 = monthly, 2 = yearly',
  `numberOfPeriod` int(11) NOT NULL,
  `startDate` date NOT NULL,
  `endDate` date NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=38 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `user_expiry`
--

LOCK TABLES `user_expiry` WRITE;
/*!40000 ALTER TABLE `user_expiry` DISABLE KEYS */;
INSERT INTO `user_expiry` VALUES (3,105,'fad',2,2,'2015-12-19','2017-12-18'),(4,106,'sayem7746',2,1,'2015-12-17','2016-12-16'),(5,107,'fad2',2,2,'2015-12-17','2017-12-16'),(6,108,'fad3',2,1,'2015-12-23','2016-12-22'),(7,1,'demo@tekun.com.my',2,5,'2015-01-01','2017-12-16'),(8,84,'akmal',1,2,'2015-12-22','2026-07-01'),(9,109,'fad4',0,0,'2015-12-23','2015-12-23'),(10,110,'fad5',2,1,'2015-12-23','2018-12-22'),(11,111,'fad6',2,1,'2014-12-20','2015-12-19'),(12,112,'farah',1,0,'2015-12-30','2015-12-30'),(13,113,'farid',2,0,'2015-12-31','2015-12-30'),(14,114,'farid',2,0,'2015-12-31','2015-12-31'),(15,115,'Admin',2,1,'2016-04-27','2017-04-26'),(16,116,'bee',2,3,'2016-04-28','2019-04-27'),(17,4,'0',1,1,'2016-06-28','2016-07-28'),(18,5,'0',1,1,'2016-06-28','2016-07-28'),(19,6,'0',1,1,'2016-06-29','2016-07-29'),(20,7,'0',1,1,'2016-06-30','2016-07-30'),(21,8,'0',1,1,'2016-07-25','2016-08-24'),(22,9,'0',1,1,'2016-07-25','2016-08-24'),(23,10,'0',1,1,'2016-07-29','2016-08-28'),(24,11,'0',1,1,'2016-08-01','2016-08-31'),(25,12,'0',1,1,'2016-08-02','2016-09-01'),(26,13,'0',1,1,'2016-09-05','2016-10-05'),(27,14,'0',1,1,'2016-09-05','2016-10-05'),(28,18,'0',1,1,'2016-09-30','2016-10-30'),(29,1,'0',1,1,'2016-09-30','2016-10-30'),(30,2,'0',1,1,'2016-09-30','2016-10-30'),(31,1,'0',1,1,'2016-09-30','2016-10-30'),(32,2,'0',1,1,'2016-09-30','2016-10-30'),(33,3,'0',1,1,'2016-10-06','2016-11-05'),(34,4,'0',1,1,'2016-10-07','2016-11-06'),(35,5,'0',1,1,'2016-10-10','2016-11-09'),(36,6,'0',1,1,'2016-10-10','2016-11-09'),(37,7,'0',1,1,'2016-11-10','2016-12-10');
/*!40000 ALTER TABLE `user_expiry` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `user_module_access`
--

DROP TABLE IF EXISTS `user_module_access`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `user_module_access` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) DEFAULT NULL,
  `userID` int(11) NOT NULL,
  `moduleID` int(11) NOT NULL,
  `transaction` smallint(2) NOT NULL DEFAULT '0',
  `reports` smallint(2) NOT NULL DEFAULT '0',
  `setup` smallint(2) NOT NULL DEFAULT '0',
  `accessRight` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=52 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `user_module_access`
--

LOCK TABLES `user_module_access` WRITE;
/*!40000 ALTER TABLE `user_module_access` DISABLE KEYS */;
INSERT INTO `user_module_access` VALUES (1,1,1,1,1,1,1,0,1,'2015-11-24 11:26:34',1,'2015-12-15 05:08:53'),(2,1,1,2,1,1,1,0,1,'2015-11-24 11:26:34',1,'2015-12-15 05:08:53'),(3,1,1,3,1,1,1,0,1,'2015-11-24 11:26:34',1,'2015-12-15 05:08:53'),(4,1,1,4,1,1,1,0,1,'2015-11-24 11:26:34',1,'2015-12-15 05:08:53'),(5,1,1,5,1,1,1,0,1,'2015-11-24 11:26:34',1,'2015-12-15 05:08:53'),(6,1,1,6,1,1,1,0,1,'2015-11-24 11:26:34',1,'2015-12-15 05:08:53'),(7,1,1,7,1,1,1,0,1,'2015-11-24 11:26:34',1,'2015-12-15 05:08:53'),(8,7,88,8,1,1,1,0,1,'2015-11-24 11:26:34',1,'2015-12-15 01:38:01'),(9,4,91,9,1,1,1,0,1,'2015-11-24 11:26:34',1,'2015-12-15 06:39:58'),(10,4,93,10,1,1,1,0,1,'2015-11-24 11:26:34',1,'2015-12-15 08:50:27'),(11,9,94,0,0,0,0,0,1,'2015-11-24 11:26:34',1,'2015-12-15 04:46:02'),(12,1,84,1,1,1,1,0,0,'2015-12-08 10:41:24',0,'2016-04-27 02:10:48'),(13,4,98,0,1,1,1,1,0,'2015-12-15 07:41:21',0,'2015-12-16 02:58:32'),(14,1,100,0,1,1,1,1,0,'2015-12-16 07:20:53',0,'2015-12-16 07:20:53'),(15,1,101,0,1,1,1,1,0,'2015-12-16 07:23:30',0,'2015-12-16 07:23:30'),(16,1,103,0,1,1,1,1,0,'2015-12-16 08:56:20',0,'2015-12-16 08:56:20'),(17,1,104,0,1,1,1,1,0,'2015-12-16 09:16:29',0,'2015-12-16 09:16:29'),(18,1,105,0,1,1,1,1,0,'2015-12-16 09:18:55',0,'2015-12-17 05:29:58'),(19,4,106,0,1,1,1,1,0,'2015-12-17 05:30:37',0,'2015-12-17 05:30:37'),(20,1,107,0,1,1,1,1,0,'2015-12-17 11:26:10',0,'2015-12-17 11:26:10'),(21,1,108,0,1,1,1,1,0,'2015-12-17 11:33:02',0,'2015-12-17 11:33:02'),(22,1,109,0,1,1,1,1,0,'2015-12-23 11:05:11',0,'2015-12-23 11:05:11'),(23,1,110,0,1,1,1,1,0,'2015-12-23 11:36:46',0,'2015-12-23 11:36:46'),(24,4,111,0,1,1,1,1,0,'2015-12-23 11:39:24',0,'2015-12-23 11:39:24'),(25,3,112,0,1,1,1,1,0,'2015-12-30 04:44:55',0,'2015-12-30 04:44:55'),(26,4,113,0,1,1,1,1,0,'2015-12-30 04:47:00',0,'2015-12-31 02:59:35'),(27,3,114,0,1,1,1,1,0,'2015-12-31 03:01:17',0,'2015-12-31 03:01:17'),(28,1,115,0,1,1,1,1,0,'2016-04-27 02:13:37',0,'2016-04-27 02:13:37'),(29,12,116,0,1,1,1,1,0,'2016-04-28 03:43:20',0,'2016-04-28 03:43:20'),(30,20,4,0,1,1,1,1,0,'2016-06-28 06:30:40',0,'2016-10-07 04:48:24'),(33,5,7,0,1,1,1,1,0,'2016-06-30 01:08:03',0,'2016-06-30 01:08:03'),(34,6,8,0,1,1,1,1,0,'2016-07-25 04:44:41',0,'2016-07-25 04:44:41'),(35,7,9,0,1,1,1,1,0,'2016-07-25 04:47:07',0,'2016-07-25 04:47:07'),(36,8,10,0,1,1,1,1,0,'2016-07-29 02:36:00',0,'2016-07-29 02:36:00'),(37,9,11,0,1,1,1,1,0,'2016-08-01 07:53:00',0,'2016-08-01 07:53:00'),(38,10,12,0,1,1,1,1,0,'2016-08-02 01:33:14',0,'2016-08-02 01:33:14'),(39,11,13,0,1,1,1,1,0,'2016-09-05 04:42:46',0,'2016-09-05 04:42:46'),(40,12,14,0,1,1,1,1,0,'2016-09-05 05:04:20',0,'2016-09-05 05:04:20'),(41,13,18,0,1,1,1,1,0,'2016-09-30 02:47:27',0,'2016-09-30 02:47:27'),(42,14,1,0,1,1,1,1,0,'2016-09-30 02:58:50',0,'2016-09-30 02:58:50'),(43,15,2,0,1,1,1,1,0,'2016-09-30 03:15:56',0,'2016-09-30 03:15:56'),(44,16,1,0,1,1,1,1,0,'2016-09-30 03:19:56',0,'2016-09-30 03:19:56'),(45,17,2,0,1,1,1,1,0,'2016-09-30 03:26:42',0,'2016-09-30 03:26:42'),(46,18,3,0,1,1,1,1,0,'2016-10-06 06:44:08',0,'2016-10-06 06:44:08'),(49,20,5,0,1,1,1,1,0,'2016-10-10 06:39:40',0,'2016-10-10 06:39:40'),(50,21,6,0,1,1,1,1,0,'2016-10-10 08:06:24',0,'2016-10-10 08:06:24'),(51,22,7,0,1,1,1,1,0,'2016-11-10 09:54:10',0,'2016-11-10 09:54:10');
/*!40000 ALTER TABLE `user_module_access` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `user_module_access_details`
--

DROP TABLE IF EXISTS `user_module_access_details`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `user_module_access_details` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) DEFAULT NULL,
  `userID` int(11) NOT NULL,
  `menuCode` varchar(8) NOT NULL,
  `accessRight` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=173 DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `user_module_access_details`
--

LOCK TABLES `user_module_access_details` WRITE;
/*!40000 ALTER TABLE `user_module_access_details` DISABLE KEYS */;
INSERT INTO `user_module_access_details` VALUES (1,1,1,'ARINVLST',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(2,1,1,'ARDBNLST',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(3,1,1,'ARCDNLST',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(4,1,1,'ARRCVPLS',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(5,1,1,'ARCUSTST',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(6,1,1,'APSUPPAY',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(7,1,1,'APPURDN',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(8,1,1,'APPURCN',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(9,1,1,'APPURDNC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(10,1,1,'APPURCNC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(11,1,1,'APOPWI',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(12,1,1,'APOPWIC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(13,1,1,'APOPWOI',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(14,1,1,'APPURINV',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(15,1,1,'APDIRINV',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(16,1,1,'APCPYPI',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(17,1,1,'APBANKRE',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(18,1,1,'APPAYCFM',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(19,1,1,'APPAYICM',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(20,1,1,'APDRNOTE',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(21,1,1,'GLTRJRNL',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(22,1,1,'GLTRJlCY',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(23,1,1,'GLTRJlRV',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(24,1,1,'GLTRPOST',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(25,1,1,'GLRPBS',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(26,1,1,'GLRPTB',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(27,1,1,'GLRPJLPS',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(28,1,1,'GLRPJLUP',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(29,1,1,'GLRPTBFC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(30,1,1,'GLRPABSM',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(31,1,1,'GLRPPNLM',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(32,1,1,'GLRPBGLT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(33,1,1,'GLMCAL',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(34,1,1,'GLMCALL',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(35,1,1,'GLSTCOA',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(36,1,1,'GLSTBDGT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(37,1,1,'GLSTCURC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(38,1,1,'ARSALINV',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(39,1,1,'ARSDBN',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(40,1,1,'ARDBNC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(41,1,1,'ARSCN',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(42,1,1,'ARSCNC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(43,1,1,'ARRCVP',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(44,1,1,'ARRCVPC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(45,1,1,'ARDSLINV',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(46,1,1,'ARDRSINV',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(47,1,1,'ARCPYSI',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(48,1,1,'ARSETCUS',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(49,1,1,'MSTRSUPP',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(50,1,1,'APPURDNL',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(51,1,1,'APPURCNL',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(52,1,1,'APRPTOPW',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(53,1,1,'APRPTSTL',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(54,1,1,'APTRETCR',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(55,1,1,'APTRPYIE',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(56,1,1,'UM',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(57,1,1,'UML',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(58,1,1,'MUL',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(59,1,1,'LOGRPT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(60,1,1,'UMACCSS',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(61,1,1,'MSCL',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(62,1,1,'MSSL',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(63,1,1,'MSTRCOMP',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(64,1,1,'PROJECT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(65,1,1,'TERM',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(66,1,1,'MSMTRCD',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(67,1,1,'EMP',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(68,1,1,'AGENTSTP',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(69,1,1,'BNKSETUP',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(70,1,1,'ADMMENU',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(71,1,1,'APTRPYOE',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(72,1,1,'INVPLNRP',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(73,1,1,'INVVALRP',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(74,1,1,'INVSTORP',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(75,1,1,'INVOUTRP',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(76,1,1,'INVMOVRP',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(77,1,1,'INVLSTRP',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(78,1,1,'IVSTCKCS',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(79,1,1,'LTL',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(80,1,1,'ICAA',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(81,1,1,'MSLM',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(82,1,1,'ITEMCAT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(83,1,1,'ITEMTYP',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(84,1,1,'ITEMSET',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(85,1,1,'INVUM',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(86,1,1,'INVUMCOV',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(87,1,1,'INUMCVLS',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(88,1,1,'ICSTIDTL',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(89,1,1,'ARNWCUST',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(90,1,1,'ARSHIP2L',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(91,1,1,'ARSHIP2N',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(92,1,1,'ADMBNKMS',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(93,1,1,'ARTRINED',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(94,1,1,'AREDSLDR',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(95,1,1,'AREDCR',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(96,1,1,'ARPAYEDT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(97,1,1,'PURORDER',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(98,1,1,'PURRCV',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(99,1,1,'PURORDCF',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(100,1,1,'PURRCVC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(101,1,1,'GSPRJNW',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(102,1,1,'ZKTSTGRP',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(103,1,1,'ZKTSTNSB',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(104,1,1,'ZKTSTNSD',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(105,1,1,'ZKSTCNTR',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(106,1,1,'WKSTMSTR',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(107,1,1,'WCQCNTR',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(108,1,1,'APNEWSUP',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(109,1,1,'APNWSHP2',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(110,1,1,'GLTRYECL',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(111,1,1,'INVLOCTR',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(112,1,1,'INVSALEP',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(113,1,1,'INVPURPR',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(114,1,1,'INVITEMC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(115,1,1,'INVLOCTC',0,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(116,1,1,'INVITCC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(117,1,1,'INVSALC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(118,1,1,'INVPURCC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(119,1,1,'ItemDetR',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(120,1,1,'INEDITEM',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(121,1,1,'INNWITEM',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(122,1,1,'PURSTSPL',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(123,1,1,'PURSTUM',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(124,1,1,'PURSTUMC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(125,1,1,'UMCONVNW',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(126,1,1,'SOSTSLPC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(127,1,1,'PURORLST',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(128,1,1,'PURRCVLS',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(129,1,1,'PUROUTGR',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(130,1,1,'PUPRRPT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(131,1,1,'TERMNEW',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(132,1,1,'APDRINVC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(133,1,1,'SOQUOT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(134,1,1,'SOTRNWSO',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(135,1,1,'SOTRDO',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(136,1,1,'DELCNFRM',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(137,1,1,'ZKTTRCAL',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(138,1,1,'WKFCAL',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(139,1,1,'ZKTRGPLT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(140,1,1,'ZKRPCTRL',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(141,1,1,'ZKRPNBLT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(142,1,1,'ZKRPSMLT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(143,1,1,'WKFLST',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(144,1,1,'WCQCTRNW',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(145,1,1,'TXTRPROC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(146,1,1,'GST03',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(147,1,1,'gstrpt',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(148,1,1,'null',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(149,1,1,'GSTMSTR',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(150,1,1,'GSTTYPE',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(151,1,1,'GSTGROUP',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(152,1,1,'SOTRQOLT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(153,1,1,'SORPPCLT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(154,1,1,'SOTRDOLT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(155,1,1,'SOTRSOLT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(156,1,1,'SORPSOCU',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(157,1,1,'SORPYRSL',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(158,1,1,'SORPSLIT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(159,1,1,'SORPORCT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(160,1,1,'SORPSOIT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(161,1,1,'SORPOROT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(162,1,1,'ARCUSTAG',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(163,1,1,'GSTCLASS',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(164,1,1,'TAXMSNW',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(165,1,1,'SOSLSPRC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(166,1,1,'ARCASH',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(167,1,1,'ARCASHSC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(168,1,1,'OTRPAY',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(169,1,1,'OTHRCV',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(170,1,1,'OTRCVCON',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(171,1,1,'ARCSHS',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(172,1,1,'OTRCVLST',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34');
/*!40000 ALTER TABLE `user_module_access_details` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Temporary table structure for view `view_account_balance`
--

DROP TABLE IF EXISTS `view_account_balance`;
/*!50001 DROP VIEW IF EXISTS `view_account_balance`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_account_balance` (
  `companyID` tinyint NOT NULL,
  `acctID` tinyint NOT NULL,
  `acctName` tinyint NOT NULL,
  `year` tinyint NOT NULL,
  `period` tinyint NOT NULL,
  `closing` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_ar_inventory`
--

DROP TABLE IF EXISTS `view_ar_inventory`;
/*!50001 DROP VIEW IF EXISTS `view_ar_inventory`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_ar_inventory` (
  `companyID` tinyint NOT NULL,
  `customerID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `salesinvoiceDate` tinyint NOT NULL,
  `totalReceivable` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_ar_open_position`
--

DROP TABLE IF EXISTS `view_ar_open_position`;
/*!50001 DROP VIEW IF EXISTS `view_ar_open_position`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_ar_open_position` (
  `companyID` tinyint NOT NULL,
  `customerID` tinyint NOT NULL,
  `customerName` tinyint NOT NULL,
  `phoneNumber1` tinyint NOT NULL,
  `email` tinyint NOT NULL,
  `due120` tinyint NOT NULL,
  `due90` tinyint NOT NULL,
  `due60` tinyint NOT NULL,
  `due30` tinyint NOT NULL,
  `due0` tinyint NOT NULL,
  `pastDue30` tinyint NOT NULL,
  `pastDue60` tinyint NOT NULL,
  `pastDue90` tinyint NOT NULL,
  `pastDue120` tinyint NOT NULL,
  `pastDue` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_asset_report`
--

DROP TABLE IF EXISTS `view_asset_report`;
/*!50001 DROP VIEW IF EXISTS `view_asset_report`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_asset_report` (
  `acctID` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `acctGroupID` tinyint NOT NULL,
  `acctCode` tinyint NOT NULL,
  `acctName` tinyint NOT NULL,
  `openingBalanceDr` tinyint NOT NULL,
  `openingBalanceCr` tinyint NOT NULL,
  `year` tinyint NOT NULL,
  `balanceAsset` tinyint NOT NULL,
  `january` tinyint NOT NULL,
  `february` tinyint NOT NULL,
  `march` tinyint NOT NULL,
  `april` tinyint NOT NULL,
  `may` tinyint NOT NULL,
  `june` tinyint NOT NULL,
  `july` tinyint NOT NULL,
  `august` tinyint NOT NULL,
  `september` tinyint NOT NULL,
  `october` tinyint NOT NULL,
  `november` tinyint NOT NULL,
  `december` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_balance_sheet`
--

DROP TABLE IF EXISTS `view_balance_sheet`;
/*!50001 DROP VIEW IF EXISTS `view_balance_sheet`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_balance_sheet` (
  `acctCode` tinyint NOT NULL,
  `acctName` tinyint NOT NULL,
  `acctGroupID` tinyint NOT NULL,
  `currentyeardebit` tinyint NOT NULL,
  `currentyearcredit` tinyint NOT NULL,
  `lastyeardebit` tinyint NOT NULL,
  `lastyearcredit` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_bank_reconcile`
--

DROP TABLE IF EXISTS `view_bank_reconcile`;
/*!50001 DROP VIEW IF EXISTS `view_bank_reconcile`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_bank_reconcile` (
  `ID` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `tableName` tinyint NOT NULL,
  `bankID` tinyint NOT NULL,
  `referenceNo` tinyint NOT NULL,
  `transDate` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `description` tinyint NOT NULL,
  `debitAmount` tinyint NOT NULL,
  `creditAmount` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_bank_reconcile_reverse`
--

DROP TABLE IF EXISTS `view_bank_reconcile_reverse`;
/*!50001 DROP VIEW IF EXISTS `view_bank_reconcile_reverse`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_bank_reconcile_reverse` (
  `bankReconcileID` tinyint NOT NULL,
  `ID` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `tableName` tinyint NOT NULL,
  `bankID` tinyint NOT NULL,
  `referenceNo` tinyint NOT NULL,
  `transDate` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `description` tinyint NOT NULL,
  `debitAmount` tinyint NOT NULL,
  `creditAmount` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_chart_of_acct_updateable`
--

DROP TABLE IF EXISTS `view_chart_of_acct_updateable`;
/*!50001 DROP VIEW IF EXISTS `view_chart_of_acct_updateable`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_chart_of_acct_updateable` (
  `ID` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `acctGroupID` tinyint NOT NULL,
  `acctCode` tinyint NOT NULL,
  `acctName` tinyint NOT NULL,
  `acctDesc` tinyint NOT NULL,
  `updateable` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_comp_acc_det`
--

DROP TABLE IF EXISTS `view_comp_acc_det`;
/*!50001 DROP VIEW IF EXISTS `view_comp_acc_det`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_comp_acc_det` (
  `ID` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `acctGroupID` tinyint NOT NULL,
  `acctID` tinyint NOT NULL,
  `year` tinyint NOT NULL,
  `period` tinyint NOT NULL,
  `amountdr` tinyint NOT NULL,
  `amountcr` tinyint NOT NULL,
  `total` tinyint NOT NULL,
  `createdBy` tinyint NOT NULL,
  `createdTS` tinyint NOT NULL,
  `updatedBy` tinyint NOT NULL,
  `updatedTS` tinyint NOT NULL,
  `is_delete` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_customer_aging`
--

DROP TABLE IF EXISTS `view_customer_aging`;
/*!50001 DROP VIEW IF EXISTS `view_customer_aging`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_customer_aging` (
  `companyID` tinyint NOT NULL,
  `customerID` tinyint NOT NULL,
  `customerName` tinyint NOT NULL,
  `phoneNumber1` tinyint NOT NULL,
  `email` tinyint NOT NULL,
  `current` tinyint NOT NULL,
  `month1` tinyint NOT NULL,
  `month2` tinyint NOT NULL,
  `month3` tinyint NOT NULL,
  `month4` tinyint NOT NULL,
  `month5` tinyint NOT NULL,
  `month6` tinyint NOT NULL,
  `month7` tinyint NOT NULL,
  `month8` tinyint NOT NULL,
  `month9` tinyint NOT NULL,
  `month10` tinyint NOT NULL,
  `month11` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_customer_statement`
--

DROP TABLE IF EXISTS `view_customer_statement`;
/*!50001 DROP VIEW IF EXISTS `view_customer_statement`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_customer_statement` (
  `ID` tinyint NOT NULL,
  `parent` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `customerID` tinyint NOT NULL,
  `transType` tinyint NOT NULL,
  `transDate` tinyint NOT NULL,
  `refNo` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `dr` tinyint NOT NULL,
  `cr` tinyint NOT NULL,
  `seq` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_expence_and_income`
--

DROP TABLE IF EXISTS `view_expence_and_income`;
/*!50001 DROP VIEW IF EXISTS `view_expence_and_income`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_expence_and_income` (
  `companyid` tinyint NOT NULL,
  `year` tinyint NOT NULL,
  `period` tinyint NOT NULL,
  `groupID` tinyint NOT NULL,
  `acctType` tinyint NOT NULL,
  `totalDr` tinyint NOT NULL,
  `totalCr` tinyint NOT NULL,
  `balance` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_expences_monthly`
--

DROP TABLE IF EXISTS `view_expences_monthly`;
/*!50001 DROP VIEW IF EXISTS `view_expences_monthly`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_expences_monthly` (
  `companyid` tinyint NOT NULL,
  `formno` tinyint NOT NULL,
  `yy` tinyint NOT NULL,
  `mm` tinyint NOT NULL,
  `amountPaid` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_gaf`
--

DROP TABLE IF EXISTS `view_gaf`;
/*!50001 DROP VIEW IF EXISTS `view_gaf`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_gaf` (
  `companyID` tinyint NOT NULL,
  `col1` tinyint NOT NULL,
  `col2` tinyint NOT NULL,
  `col3` tinyint NOT NULL,
  `col4` tinyint NOT NULL,
  `col5` tinyint NOT NULL,
  `col6` tinyint NOT NULL,
  `col7` tinyint NOT NULL,
  `col8` tinyint NOT NULL,
  `col9` tinyint NOT NULL,
  `col10` tinyint NOT NULL,
  `col11` tinyint NOT NULL,
  `col12` tinyint NOT NULL,
  `col13` tinyint NOT NULL,
  `col14` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_grn_report`
--

DROP TABLE IF EXISTS `view_grn_report`;
/*!50001 DROP VIEW IF EXISTS `view_grn_report`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_grn_report` (
  `companyID` tinyint NOT NULL,
  `unitMesure` tinyint NOT NULL,
  `ID` tinyint NOT NULL,
  `itemCode` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `poNo` tinyint NOT NULL,
  `PoDate` tinyint NOT NULL,
  `unitPrice` tinyint NOT NULL,
  `quantityOrder` tinyint NOT NULL,
  `total` tinyint NOT NULL,
  `totalRcv` tinyint NOT NULL,
  `QtyLeft` tinyint NOT NULL,
  `itemID` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_gst_03_summary`
--

DROP TABLE IF EXISTS `view_gst_03_summary`;
/*!50001 DROP VIEW IF EXISTS `view_gst_03_summary`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_gst_03_summary` (
  `companyID` tinyint NOT NULL,
  `financialYear` tinyint NOT NULL,
  `period` tinyint NOT NULL,
  `totalA1` tinyint NOT NULL,
  `totalA2` tinyint NOT NULL,
  `totalB5a` tinyint NOT NULL,
  `totalB5b` tinyint NOT NULL,
  `totalB6a` tinyint NOT NULL,
  `totalB6b` tinyint NOT NULL,
  `totalB7` tinyint NOT NULL,
  `totalB8` tinyint NOT NULL,
  `totalC10` tinyint NOT NULL,
  `totalC11` tinyint NOT NULL,
  `totalC12` tinyint NOT NULL,
  `totalC13` tinyint NOT NULL,
  `totalC14` tinyint NOT NULL,
  `totalC15` tinyint NOT NULL,
  `totalC16` tinyint NOT NULL,
  `totalC17` tinyint NOT NULL,
  `totalMonth6` tinyint NOT NULL,
  `totalC18` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_gst_report`
--

DROP TABLE IF EXISTS `view_gst_report`;
/*!50001 DROP VIEW IF EXISTS `view_gst_report`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_gst_report` (
  `companyid` tinyint NOT NULL,
  `gstRegisteredDate` tinyint NOT NULL,
  `taxablePeriod` tinyint NOT NULL,
  `financialYear` tinyint NOT NULL,
  `startDate` tinyint NOT NULL,
  `endDate` tinyint NOT NULL,
  `period` tinyint NOT NULL,
  `A1` tinyint NOT NULL,
  `A2` tinyint NOT NULL,
  `B5a` tinyint NOT NULL,
  `B5b` tinyint NOT NULL,
  `B6a` tinyint NOT NULL,
  `B6b` tinyint NOT NULL,
  `B7` tinyint NOT NULL,
  `B8` tinyint NOT NULL,
  `C10` tinyint NOT NULL,
  `C11` tinyint NOT NULL,
  `C12` tinyint NOT NULL,
  `C13` tinyint NOT NULL,
  `C14` tinyint NOT NULL,
  `C15` tinyint NOT NULL,
  `C16` tinyint NOT NULL,
  `C17` tinyint NOT NULL,
  `month6` tinyint NOT NULL,
  `C18` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_gst_rpt_summary`
--

DROP TABLE IF EXISTS `view_gst_rpt_summary`;
/*!50001 DROP VIEW IF EXISTS `view_gst_rpt_summary`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_gst_rpt_summary` (
  `companyID` tinyint NOT NULL,
  `year` tinyint NOT NULL,
  `month` tinyint NOT NULL,
  `taxID` tinyint NOT NULL,
  `gst` tinyint NOT NULL,
  `amtExTax` tinyint NOT NULL,
  `amtTax` tinyint NOT NULL,
  `amtIncTax` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_gst_tax`
--

DROP TABLE IF EXISTS `view_gst_tax`;
/*!50001 DROP VIEW IF EXISTS `view_gst_tax`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_gst_tax` (
  `lineNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `taxClass` tinyint NOT NULL,
  `taxClassName` tinyint NOT NULL,
  `taxGroup` tinyint NOT NULL,
  `taxGroupName` tinyint NOT NULL,
  `taxType` tinyint NOT NULL,
  `taxTypeName` tinyint NOT NULL,
  `transType` tinyint NOT NULL,
  `ref` tinyint NOT NULL,
  `transDate` tinyint NOT NULL,
  `customerID` tinyint NOT NULL,
  `customerName` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `amountExcludedTax` tinyint NOT NULL,
  `taxRate` tinyint NOT NULL,
  `taxAmount` tinyint NOT NULL,
  `amountIncludedTax` tinyint NOT NULL,
  `taxID` tinyint NOT NULL,
  `gst` tinyint NOT NULL,
  `journalID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_inventory_statement`
--

DROP TABLE IF EXISTS `view_inventory_statement`;
/*!50001 DROP VIEW IF EXISTS `view_inventory_statement`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_inventory_statement` (
  `companyID` tinyint NOT NULL,
  `transactionDate` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `name` tinyint NOT NULL,
  `supplierCustomer` tinyint NOT NULL,
  `transactionCode` tinyint NOT NULL,
  `transactionType` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `locationID` tinyint NOT NULL,
  `location` tinyint NOT NULL,
  `unitOfMeasure` tinyint NOT NULL,
  `quantityIn` tinyint NOT NULL,
  `quantityOut` tinyint NOT NULL,
  `updateable` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_inventory_transaction`
--

DROP TABLE IF EXISTS `view_inventory_transaction`;
/*!50001 DROP VIEW IF EXISTS `view_inventory_transaction`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_inventory_transaction` (
  `indexing` tinyint NOT NULL,
  `ID` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `locationID` tinyint NOT NULL,
  `createdTS` tinyint NOT NULL,
  `supplierName` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `transDate` tinyint NOT NULL,
  `um` tinyint NOT NULL,
  `transType` tinyint NOT NULL,
  `qtyIn` tinyint NOT NULL,
  `qtyOut` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_inventorylist_subtotal`
--

DROP TABLE IF EXISTS `view_inventorylist_subtotal`;
/*!50001 DROP VIEW IF EXISTS `view_inventorylist_subtotal`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_inventorylist_subtotal` (
  `companyid` tinyint NOT NULL,
  `quantity` tinyint NOT NULL,
  `locationid` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `category` tinyint NOT NULL,
  `description` tinyint NOT NULL,
  `stockValue` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_item_details`
--

DROP TABLE IF EXISTS `view_item_details`;
/*!50001 DROP VIEW IF EXISTS `view_item_details`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_item_details` (
  `companyid` tinyint NOT NULL,
  `itemid` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `description` tinyint NOT NULL,
  `locationid` tinyint NOT NULL,
  `onHandQty` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `acctID` tinyint NOT NULL,
  `location` tinyint NOT NULL,
  `unitOfMeasure` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_item_quantityonhand`
--

DROP TABLE IF EXISTS `view_item_quantityonhand`;
/*!50001 DROP VIEW IF EXISTS `view_item_quantityonhand`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_item_quantityonhand` (
  `companyID` tinyint NOT NULL,
  `locationID` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `itemCode` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `quantityOnHand` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_item_quantityonhand_confirm`
--

DROP TABLE IF EXISTS `view_item_quantityonhand_confirm`;
/*!50001 DROP VIEW IF EXISTS `view_item_quantityonhand_confirm`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_item_quantityonhand_confirm` (
  `companyID` tinyint NOT NULL,
  `locationID` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `itemCode` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `quantityOnHand` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_journal_table`
--

DROP TABLE IF EXISTS `view_journal_table`;
/*!50001 DROP VIEW IF EXISTS `view_journal_table`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_journal_table` (
  `ID` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `referenceNo` tinyint NOT NULL,
  `tableName` tinyint NOT NULL,
  `journalID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_loan_report`
--

DROP TABLE IF EXISTS `view_loan_report`;
/*!50001 DROP VIEW IF EXISTS `view_loan_report`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_loan_report` (
  `acctID` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `acctGroupID` tinyint NOT NULL,
  `acctCode` tinyint NOT NULL,
  `acctName` tinyint NOT NULL,
  `openingBalanceCr` tinyint NOT NULL,
  `balanceLoan` tinyint NOT NULL,
  `newloan` tinyint NOT NULL,
  `year` tinyint NOT NULL,
  `january` tinyint NOT NULL,
  `february` tinyint NOT NULL,
  `march` tinyint NOT NULL,
  `april` tinyint NOT NULL,
  `may` tinyint NOT NULL,
  `june` tinyint NOT NULL,
  `july` tinyint NOT NULL,
  `august` tinyint NOT NULL,
  `september` tinyint NOT NULL,
  `october` tinyint NOT NULL,
  `november` tinyint NOT NULL,
  `december` tinyint NOT NULL,
  `lastPaymentDate` tinyint NOT NULL,
  `lastPaymentAmount` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_open_ar_invoice`
--

DROP TABLE IF EXISTS `view_open_ar_invoice`;
/*!50001 DROP VIEW IF EXISTS `view_open_ar_invoice`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_open_ar_invoice` (
  `companyID` tinyint NOT NULL,
  `salesInvoiceDate` tinyint NOT NULL,
  `salesYear` tinyint NOT NULL,
  `salesMonth` tinyint NOT NULL,
  `slsMonth` tinyint NOT NULL,
  `totalAmount` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_sales_monthly`
--

DROP TABLE IF EXISTS `view_sales_monthly`;
/*!50001 DROP VIEW IF EXISTS `view_sales_monthly`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_sales_monthly` (
  `companyID` tinyint NOT NULL,
  `yymm` tinyint NOT NULL,
  `yy` tinyint NOT NULL,
  `mm` tinyint NOT NULL,
  `totalreceived` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_sales_weekly`
--

DROP TABLE IF EXISTS `view_sales_weekly`;
/*!50001 DROP VIEW IF EXISTS `view_sales_weekly`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_sales_weekly` (
  `companyID` tinyint NOT NULL,
  `yy` tinyint NOT NULL,
  `mm` tinyint NOT NULL,
  `ww` tinyint NOT NULL,
  `totalreceived` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_salescreditnote`
--

DROP TABLE IF EXISTS `view_salescreditnote`;
/*!50001 DROP VIEW IF EXISTS `view_salescreditnote`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_salescreditnote` (
  `invoiceDetailID` tinyint NOT NULL,
  `unitOfMeasure` tinyint NOT NULL,
  `ID` tinyint NOT NULL,
  `invoiceID` tinyint NOT NULL,
  `doID` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `quantity` tinyint NOT NULL,
  `unitPrice` tinyint NOT NULL,
  `amountExcludedTax` tinyint NOT NULL,
  `taxID` tinyint NOT NULL,
  `taxRate` tinyint NOT NULL,
  `taxAmount` tinyint NOT NULL,
  `amountIncludedTax` tinyint NOT NULL,
  `accountID` tinyint NOT NULL,
  `createdBy` tinyint NOT NULL,
  `createdTS` tinyint NOT NULL,
  `updatedBy` tinyint NOT NULL,
  `updatedTS` tinyint NOT NULL,
  `code` tinyint NOT NULL,
  `itemCode` tinyint NOT NULL,
  `name` tinyint NOT NULL,
  `description` tinyint NOT NULL,
  `exactQty` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_salesdebitnote`
--

DROP TABLE IF EXISTS `view_salesdebitnote`;
/*!50001 DROP VIEW IF EXISTS `view_salesdebitnote`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_salesdebitnote` (
  `invoiceDetailID` tinyint NOT NULL,
  `unitOfMeasure` tinyint NOT NULL,
  `ID` tinyint NOT NULL,
  `invoiceID` tinyint NOT NULL,
  `doID` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `quantity` tinyint NOT NULL,
  `unitPrice` tinyint NOT NULL,
  `amountExcludedTax` tinyint NOT NULL,
  `taxID` tinyint NOT NULL,
  `taxRate` tinyint NOT NULL,
  `taxAmount` tinyint NOT NULL,
  `amountIncludedTax` tinyint NOT NULL,
  `accountID` tinyint NOT NULL,
  `createdBy` tinyint NOT NULL,
  `createdTS` tinyint NOT NULL,
  `updatedBy` tinyint NOT NULL,
  `updatedTS` tinyint NOT NULL,
  `code` tinyint NOT NULL,
  `itemCode` tinyint NOT NULL,
  `name` tinyint NOT NULL,
  `description` tinyint NOT NULL,
  `exactQty` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_search`
--

DROP TABLE IF EXISTS `view_search`;
/*!50001 DROP VIEW IF EXISTS `view_search`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_search` (
  `ID` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `searchLink` tinyint NOT NULL,
  `searchKey` tinyint NOT NULL,
  `transDate` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_cash_sales`
--

DROP TABLE IF EXISTS `view_serial_comp_cash_sales`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_cash_sales`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_cash_sales` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_delivery_order`
--

DROP TABLE IF EXISTS `view_serial_comp_delivery_order`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_delivery_order`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_delivery_order` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_gst_transaction`
--

DROP TABLE IF EXISTS `view_serial_comp_gst_transaction`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_gst_transaction`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_gst_transaction` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_historical_customer_invoice`
--

DROP TABLE IF EXISTS `view_serial_comp_historical_customer_invoice`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_historical_customer_invoice`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_historical_customer_invoice` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_historical_supplier_invoice`
--

DROP TABLE IF EXISTS `view_serial_comp_historical_supplier_invoice`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_historical_supplier_invoice`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_historical_supplier_invoice` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_location_transfer`
--

DROP TABLE IF EXISTS `view_serial_comp_location_transfer`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_location_transfer`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_location_transfer` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_payment`
--

DROP TABLE IF EXISTS `view_serial_comp_payment`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_payment`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_payment` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_payment_others`
--

DROP TABLE IF EXISTS `view_serial_comp_payment_others`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_payment_others`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_payment_others` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_purchase_order`
--

DROP TABLE IF EXISTS `view_serial_comp_purchase_order`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_purchase_order`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_purchase_order` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_quotation`
--

DROP TABLE IF EXISTS `view_serial_comp_quotation`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_quotation`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_quotation` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_receive_item`
--

DROP TABLE IF EXISTS `view_serial_comp_receive_item`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_receive_item`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_receive_item` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_receive_payment`
--

DROP TABLE IF EXISTS `view_serial_comp_receive_payment`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_receive_payment`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_receive_payment` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_receive_payment_others`
--

DROP TABLE IF EXISTS `view_serial_comp_receive_payment_others`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_receive_payment_others`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_receive_payment_others` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_sales_creditnote`
--

DROP TABLE IF EXISTS `view_serial_comp_sales_creditnote`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_sales_creditnote`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_sales_creditnote` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_sales_debitnote`
--

DROP TABLE IF EXISTS `view_serial_comp_sales_debitnote`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_sales_debitnote`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_sales_debitnote` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_sales_invoice`
--

DROP TABLE IF EXISTS `view_serial_comp_sales_invoice`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_sales_invoice`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_sales_invoice` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_sales_order`
--

DROP TABLE IF EXISTS `view_serial_comp_sales_order`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_sales_order`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_sales_order` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_supplier_creditnote`
--

DROP TABLE IF EXISTS `view_serial_comp_supplier_creditnote`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_supplier_creditnote`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_supplier_creditnote` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_supplier_debitnote`
--

DROP TABLE IF EXISTS `view_serial_comp_supplier_debitnote`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_supplier_debitnote`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_supplier_debitnote` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_supplier_invoice`
--

DROP TABLE IF EXISTS `view_serial_comp_supplier_invoice`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_supplier_invoice`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_supplier_invoice` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_sme_cash_flow`
--

DROP TABLE IF EXISTS `view_sme_cash_flow`;
/*!50001 DROP VIEW IF EXISTS `view_sme_cash_flow`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_sme_cash_flow` (
  `companyID` tinyint NOT NULL,
  `acctGroupID` tinyint NOT NULL,
  `acctCode` tinyint NOT NULL,
  `acctName` tinyint NOT NULL,
  `openingBalanceDr` tinyint NOT NULL,
  `openingBalanceCr` tinyint NOT NULL,
  `year` tinyint NOT NULL,
  `january` tinyint NOT NULL,
  `february` tinyint NOT NULL,
  `march` tinyint NOT NULL,
  `april` tinyint NOT NULL,
  `may` tinyint NOT NULL,
  `june` tinyint NOT NULL,
  `july` tinyint NOT NULL,
  `august` tinyint NOT NULL,
  `september` tinyint NOT NULL,
  `october` tinyint NOT NULL,
  `november` tinyint NOT NULL,
  `december` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_sme_cash_tt_out`
--

DROP TABLE IF EXISTS `view_sme_cash_tt_out`;
/*!50001 DROP VIEW IF EXISTS `view_sme_cash_tt_out`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_sme_cash_tt_out` (
  `companyID` tinyint NOT NULL,
  `acctGroupID` tinyint NOT NULL,
  `acctCode` tinyint NOT NULL,
  `acctName` tinyint NOT NULL,
  `openingBalanceDr` tinyint NOT NULL,
  `openingBalanceCr` tinyint NOT NULL,
  `year` tinyint NOT NULL,
  `january` tinyint NOT NULL,
  `february` tinyint NOT NULL,
  `march` tinyint NOT NULL,
  `april` tinyint NOT NULL,
  `may` tinyint NOT NULL,
  `june` tinyint NOT NULL,
  `july` tinyint NOT NULL,
  `august` tinyint NOT NULL,
  `september` tinyint NOT NULL,
  `october` tinyint NOT NULL,
  `november` tinyint NOT NULL,
  `december` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_supplier_aging`
--

DROP TABLE IF EXISTS `view_supplier_aging`;
/*!50001 DROP VIEW IF EXISTS `view_supplier_aging`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_supplier_aging` (
  `companyID` tinyint NOT NULL,
  `supplierID` tinyint NOT NULL,
  `current` tinyint NOT NULL,
  `month1` tinyint NOT NULL,
  `month2` tinyint NOT NULL,
  `month3` tinyint NOT NULL,
  `month4` tinyint NOT NULL,
  `month5` tinyint NOT NULL,
  `month6` tinyint NOT NULL,
  `month7` tinyint NOT NULL,
  `month8` tinyint NOT NULL,
  `month9` tinyint NOT NULL,
  `month10` tinyint NOT NULL,
  `month11` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_supplier_statement`
--

DROP TABLE IF EXISTS `view_supplier_statement`;
/*!50001 DROP VIEW IF EXISTS `view_supplier_statement`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_supplier_statement` (
  `ID` tinyint NOT NULL,
  `parent` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `supplierID` tinyint NOT NULL,
  `transType` tinyint NOT NULL,
  `transDate` tinyint NOT NULL,
  `refNo` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `dr` tinyint NOT NULL,
  `cr` tinyint NOT NULL,
  `seq` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_suppliercreditnote`
--

DROP TABLE IF EXISTS `view_suppliercreditnote`;
/*!50001 DROP VIEW IF EXISTS `view_suppliercreditnote`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_suppliercreditnote` (
  `invoiceDetailID` tinyint NOT NULL,
  `invoiceUm` tinyint NOT NULL,
  `ID` tinyint NOT NULL,
  `invoiceID` tinyint NOT NULL,
  `receiveID` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `itemname` tinyint NOT NULL,
  `itemdescription` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `quantity` tinyint NOT NULL,
  `unitPrice` tinyint NOT NULL,
  `amountExcludedTax` tinyint NOT NULL,
  `taxID` tinyint NOT NULL,
  `taxRate` tinyint NOT NULL,
  `taxAmount` tinyint NOT NULL,
  `amountIncludedTax` tinyint NOT NULL,
  `accountID` tinyint NOT NULL,
  `createdBy` tinyint NOT NULL,
  `createdTS` tinyint NOT NULL,
  `updatedBy` tinyint NOT NULL,
  `updatedTS` tinyint NOT NULL,
  `exactQty` tinyint NOT NULL,
  `unitOfMeasure` tinyint NOT NULL,
  `receiveDetailID` tinyint NOT NULL,
  `code` tinyint NOT NULL,
  `itemCode` tinyint NOT NULL,
  `name` tinyint NOT NULL,
  `description` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_supplierdebitnote`
--

DROP TABLE IF EXISTS `view_supplierdebitnote`;
/*!50001 DROP VIEW IF EXISTS `view_supplierdebitnote`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_supplierdebitnote` (
  `invoiceDetailID` tinyint NOT NULL,
  `ID` tinyint NOT NULL,
  `invoiceID` tinyint NOT NULL,
  `receiveID` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `itemname` tinyint NOT NULL,
  `itemdescription` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `quantity` tinyint NOT NULL,
  `unitPrice` tinyint NOT NULL,
  `amountExcludedTax` tinyint NOT NULL,
  `taxID` tinyint NOT NULL,
  `taxRate` tinyint NOT NULL,
  `taxAmount` tinyint NOT NULL,
  `amountIncludedTax` tinyint NOT NULL,
  `accountID` tinyint NOT NULL,
  `createdBy` tinyint NOT NULL,
  `createdTS` tinyint NOT NULL,
  `updatedBy` tinyint NOT NULL,
  `updatedTS` tinyint NOT NULL,
  `unitOfMeasure` tinyint NOT NULL,
  `receiveDetailID` tinyint NOT NULL,
  `code` tinyint NOT NULL,
  `itemCode` tinyint NOT NULL,
  `name` tinyint NOT NULL,
  `description` tinyint NOT NULL,
  `exactQty` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_total_comp_sales_creditnote`
--

DROP TABLE IF EXISTS `view_total_comp_sales_creditnote`;
/*!50001 DROP VIEW IF EXISTS `view_total_comp_sales_creditnote`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_total_comp_sales_creditnote` (
  `ID` tinyint NOT NULL,
  `totalTaxAmount` tinyint NOT NULL,
  `totalAmount` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_total_comp_sales_debitnote`
--

DROP TABLE IF EXISTS `view_total_comp_sales_debitnote`;
/*!50001 DROP VIEW IF EXISTS `view_total_comp_sales_debitnote`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_total_comp_sales_debitnote` (
  `ID` tinyint NOT NULL,
  `totalTaxAmount` tinyint NOT NULL,
  `totalAmount` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_total_comp_sales_invoice`
--

DROP TABLE IF EXISTS `view_total_comp_sales_invoice`;
/*!50001 DROP VIEW IF EXISTS `view_total_comp_sales_invoice`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_total_comp_sales_invoice` (
  `ID` tinyint NOT NULL,
  `totalTaxAmount` tinyint NOT NULL,
  `totalAmount` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_total_comp_supplier_creditnote`
--

DROP TABLE IF EXISTS `view_total_comp_supplier_creditnote`;
/*!50001 DROP VIEW IF EXISTS `view_total_comp_supplier_creditnote`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_total_comp_supplier_creditnote` (
  `ID` tinyint NOT NULL,
  `totalTaxAmount` tinyint NOT NULL,
  `totalAmount` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_total_comp_supplier_debitnote`
--

DROP TABLE IF EXISTS `view_total_comp_supplier_debitnote`;
/*!50001 DROP VIEW IF EXISTS `view_total_comp_supplier_debitnote`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_total_comp_supplier_debitnote` (
  `ID` tinyint NOT NULL,
  `totalTaxAmount` tinyint NOT NULL,
  `totalAmount` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_total_comp_supplier_invoice`
--

DROP TABLE IF EXISTS `view_total_comp_supplier_invoice`;
/*!50001 DROP VIEW IF EXISTS `view_total_comp_supplier_invoice`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_total_comp_supplier_invoice` (
  `ID` tinyint NOT NULL,
  `totalTaxAmount` tinyint NOT NULL,
  `totalAmount` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_total_debitcredit`
--

DROP TABLE IF EXISTS `view_total_debitcredit`;
/*!50001 DROP VIEW IF EXISTS `view_total_debitcredit`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_total_debitcredit` (
  `acctID` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `acctGroupID` tinyint NOT NULL,
  `acctCode` tinyint NOT NULL,
  `acctName` tinyint NOT NULL,
  `openingBalanceDr` tinyint NOT NULL,
  `openingBalanceCr` tinyint NOT NULL,
  `year` tinyint NOT NULL,
  `totalDebit` tinyint NOT NULL,
  `totalCredit` tinyint NOT NULL,
  `balance` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_transaction_summary`
--

DROP TABLE IF EXISTS `view_transaction_summary`;
/*!50001 DROP VIEW IF EXISTS `view_transaction_summary`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_transaction_summary` (
  `tableName` tinyint NOT NULL,
  `transID` tinyint NOT NULL,
  `companyid` tinyint NOT NULL,
  `year` tinyint NOT NULL,
  `Jan` tinyint NOT NULL,
  `Feb` tinyint NOT NULL,
  `Mar` tinyint NOT NULL,
  `Apr` tinyint NOT NULL,
  `may` tinyint NOT NULL,
  `Jun` tinyint NOT NULL,
  `Jul` tinyint NOT NULL,
  `Aug` tinyint NOT NULL,
  `Sept` tinyint NOT NULL,
  `Oct` tinyint NOT NULL,
  `Nov` tinyint NOT NULL,
  `Dec` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_unpost_ap_creditnote`
--

DROP TABLE IF EXISTS `view_unpost_ap_creditnote`;
/*!50001 DROP VIEW IF EXISTS `view_unpost_ap_creditnote`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_unpost_ap_creditnote` (
  `supplier` tinyint NOT NULL,
  `creditnoteID` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `projectID` tinyint NOT NULL,
  `supplierInvoiceID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `supplierID` tinyint NOT NULL,
  `supplierInvoiceNo` tinyint NOT NULL,
  `locationID` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `quantity` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `amountExcludedtax` tinyint NOT NULL,
  `taxid` tinyint NOT NULL,
  `taxamount` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drTaxAccountID` tinyint NOT NULL,
  `crTaxAccountID` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_unpost_ap_debitnote`
--

DROP TABLE IF EXISTS `view_unpost_ap_debitnote`;
/*!50001 DROP VIEW IF EXISTS `view_unpost_ap_debitnote`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_unpost_ap_debitnote` (
  `supplier` tinyint NOT NULL,
  `debitnoteID` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `projectID` tinyint NOT NULL,
  `typeID` tinyint NOT NULL,
  `typeDetailID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `supplierID` tinyint NOT NULL,
  `supplierInvoiceNo` tinyint NOT NULL,
  `locationID` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `quantity` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `amountExcludedtax` tinyint NOT NULL,
  `taxid` tinyint NOT NULL,
  `taxamount` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drTaxAccountID` tinyint NOT NULL,
  `crTaxAccountID` tinyint NOT NULL,
  `cogsAcctID` tinyint NOT NULL,
  `inventoriesAcctID` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_unpost_ap_invoice`
--

DROP TABLE IF EXISTS `view_unpost_ap_invoice`;
/*!50001 DROP VIEW IF EXISTS `view_unpost_ap_invoice`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_unpost_ap_invoice` (
  `supplier` tinyint NOT NULL,
  `invoiceID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `supplierID` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `amountExcludedtax` tinyint NOT NULL,
  `taxid` tinyint NOT NULL,
  `taxamount` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drTaxAccountID` tinyint NOT NULL,
  `crTaxAccountID` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_unpost_ar_creditnote`
--

DROP TABLE IF EXISTS `view_unpost_ar_creditnote`;
/*!50001 DROP VIEW IF EXISTS `view_unpost_ar_creditnote`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_unpost_ar_creditnote` (
  `customer` tinyint NOT NULL,
  `salesinvoiceID` tinyint NOT NULL,
  `creditnoteID` tinyint NOT NULL,
  `projectID` tinyint NOT NULL,
  `typeID` tinyint NOT NULL,
  `typeDetailID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `customerID` tinyint NOT NULL,
  `locationID` tinyint NOT NULL,
  `salesInvoiceNo` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `quantity` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `amountExcludedtax` tinyint NOT NULL,
  `taxid` tinyint NOT NULL,
  `taxamount` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drTaxAccountID` tinyint NOT NULL,
  `crTaxAccountID` tinyint NOT NULL,
  `cogsAcctID` tinyint NOT NULL,
  `inventoriesAcctID` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_unpost_ar_debitnote`
--

DROP TABLE IF EXISTS `view_unpost_ar_debitnote`;
/*!50001 DROP VIEW IF EXISTS `view_unpost_ar_debitnote`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_unpost_ar_debitnote` (
  `customer` tinyint NOT NULL,
  `salesinvoiceID` tinyint NOT NULL,
  `debitnoteID` tinyint NOT NULL,
  `projectID` tinyint NOT NULL,
  `typeID` tinyint NOT NULL,
  `typeDetailID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `customerID` tinyint NOT NULL,
  `locationID` tinyint NOT NULL,
  `salesInvoiceNo` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `quantity` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `amountExcludedtax` tinyint NOT NULL,
  `taxid` tinyint NOT NULL,
  `taxamount` tinyint NOT NULL,
  `currencyID` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drTaxAccountID` tinyint NOT NULL,
  `crTaxAccountID` tinyint NOT NULL,
  `cogsAcctID` tinyint NOT NULL,
  `inventoriesAcctID` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_unpost_ar_invoice`
--

DROP TABLE IF EXISTS `view_unpost_ar_invoice`;
/*!50001 DROP VIEW IF EXISTS `view_unpost_ar_invoice`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_unpost_ar_invoice` (
  `projectID` tinyint NOT NULL,
  `customer` tinyint NOT NULL,
  `invoiceID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `customerID` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `amountExcludedtax` tinyint NOT NULL,
  `taxid` tinyint NOT NULL,
  `taxamount` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drTaxAccountID` tinyint NOT NULL,
  `crTaxAccountID` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_unpost_ar_payment`
--

DROP TABLE IF EXISTS `view_unpost_ar_payment`;
/*!50001 DROP VIEW IF EXISTS `view_unpost_ar_payment`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_unpost_ar_payment` (
  `paymentID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `customerID` tinyint NOT NULL,
  `purchaseInvoiceID` tinyint NOT NULL,
  `customerName` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `paymentDetailID` tinyint NOT NULL,
  `item` tinyint NOT NULL,
  `amtPaid_amtAppl` tinyint NOT NULL,
  `discount_bankCharges` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drDiscountAccountID` tinyint NOT NULL,
  `crDiscountAccountID` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_unpost_cash_purchase`
--

DROP TABLE IF EXISTS `view_unpost_cash_purchase`;
/*!50001 DROP VIEW IF EXISTS `view_unpost_cash_purchase`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_unpost_cash_purchase` (
  `lineNo` tinyint NOT NULL,
  `quantity` tinyint NOT NULL,
  `unitPrice` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `itemdescription` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `locationID` tinyint NOT NULL,
  `othersPaymentID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `supplierID` tinyint NOT NULL,
  `purchaseInvoiceID` tinyint NOT NULL,
  `paymentDetailID` tinyint NOT NULL,
  `supplierInvoiceNo` tinyint NOT NULL,
  `ID` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `amountExcludedTax` tinyint NOT NULL,
  `taxid` tinyint NOT NULL,
  `taxAmount` tinyint NOT NULL,
  `projectID` tinyint NOT NULL,
  `itemTypeID` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drDiscountAccountID` tinyint NOT NULL,
  `crDiscountAccountID` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_unpost_cash_sale`
--

DROP TABLE IF EXISTS `view_unpost_cash_sale`;
/*!50001 DROP VIEW IF EXISTS `view_unpost_cash_sale`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_unpost_cash_sale` (
  `projectID` tinyint NOT NULL,
  `customer` tinyint NOT NULL,
  `invoiceID` tinyint NOT NULL,
  `typeID` tinyint NOT NULL,
  `typeDetailID` tinyint NOT NULL,
  `locationID` tinyint NOT NULL,
  `quantity` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `currencyID` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `amountExcludedtax` tinyint NOT NULL,
  `taxid` tinyint NOT NULL,
  `taxamount` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drTaxAccountID` tinyint NOT NULL,
  `crTaxAccountID` tinyint NOT NULL,
  `cogsAcctID` tinyint NOT NULL,
  `inventoriesAcctID` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_unpost_do`
--

DROP TABLE IF EXISTS `view_unpost_do`;
/*!50001 DROP VIEW IF EXISTS `view_unpost_do`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_unpost_do` (
  `deliveryOrderID` tinyint NOT NULL,
  `customerID` tinyint NOT NULL,
  `projectID` tinyint NOT NULL,
  `customer` tinyint NOT NULL,
  `invoiceID` tinyint NOT NULL,
  `typeID` tinyint NOT NULL,
  `typeDetailID` tinyint NOT NULL,
  `locationID` tinyint NOT NULL,
  `quantity` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `amountExcludedtax` tinyint NOT NULL,
  `taxid` tinyint NOT NULL,
  `taxamount` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drTaxAccountID` tinyint NOT NULL,
  `crTaxAccountID` tinyint NOT NULL,
  `cogsAcctID` tinyint NOT NULL,
  `inventoriesAcctID` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_unpost_gst_transaction`
--

DROP TABLE IF EXISTS `view_unpost_gst_transaction`;
/*!50001 DROP VIEW IF EXISTS `view_unpost_gst_transaction`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_unpost_gst_transaction` (
  `paymentID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `supplierID` tinyint NOT NULL,
  `purchaseInvoiceID` tinyint NOT NULL,
  `supplierName` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `paymentDetailID` tinyint NOT NULL,
  `supplierInvoiceNo` tinyint NOT NULL,
  `item` tinyint NOT NULL,
  `amtPaid_amtAppl` tinyint NOT NULL,
  `discount_bankCharges` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drDiscountAccountID` tinyint NOT NULL,
  `crDiscountAccountID` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_unpost_other_payment`
--

DROP TABLE IF EXISTS `view_unpost_other_payment`;
/*!50001 DROP VIEW IF EXISTS `view_unpost_other_payment`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_unpost_other_payment` (
  `othersPaymentID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `supplierID` tinyint NOT NULL,
  `purchaseInvoiceID` tinyint NOT NULL,
  `paymentDetailID` tinyint NOT NULL,
  `supplierInvoiceNo` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `itemdescription` tinyint NOT NULL,
  `amountExcludedtax` tinyint NOT NULL,
  `taxid` tinyint NOT NULL,
  `taxamount` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drTaxAccountID` tinyint NOT NULL,
  `crTaxAccountID` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_unpost_other_receive`
--

DROP TABLE IF EXISTS `view_unpost_other_receive`;
/*!50001 DROP VIEW IF EXISTS `view_unpost_other_receive`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_unpost_other_receive` (
  `projectID` tinyint NOT NULL,
  `receiveFrom` tinyint NOT NULL,
  `otherReceiveID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `itemdescription` tinyint NOT NULL,
  `amountExcludedtax` tinyint NOT NULL,
  `taxid` tinyint NOT NULL,
  `taxamount` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drTaxAccountID` tinyint NOT NULL,
  `crTaxAccountID` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_unpost_payment`
--

DROP TABLE IF EXISTS `view_unpost_payment`;
/*!50001 DROP VIEW IF EXISTS `view_unpost_payment`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_unpost_payment` (
  `paymentID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `supplierID` tinyint NOT NULL,
  `purchaseInvoiceID` tinyint NOT NULL,
  `supplierName` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `paymentDetailID` tinyint NOT NULL,
  `supplierInvoiceNo` tinyint NOT NULL,
  `item` tinyint NOT NULL,
  `amtPaid_amtAppl` tinyint NOT NULL,
  `discount_bankCharges` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drDiscountAccountID` tinyint NOT NULL,
  `crDiscountAccountID` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_unpost_receive_item`
--

DROP TABLE IF EXISTS `view_unpost_receive_item`;
/*!50001 DROP VIEW IF EXISTS `view_unpost_receive_item`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_unpost_receive_item` (
  `receiveID` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `locationID` tinyint NOT NULL,
  `transactionDate` tinyint NOT NULL,
  `supplierID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `exchangeRate` tinyint NOT NULL,
  `unitPrice` tinyint NOT NULL,
  `quantityReceived` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `amount` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_wakaf_accrual`
--

DROP TABLE IF EXISTS `view_wakaf_accrual`;
/*!50001 DROP VIEW IF EXISTS `view_wakaf_accrual`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_wakaf_accrual` (
  `companyID` tinyint NOT NULL,
  `acctID` tinyint NOT NULL,
  `year` tinyint NOT NULL,
  `totalAmount` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_wakaf_from_profit`
--

DROP TABLE IF EXISTS `view_wakaf_from_profit`;
/*!50001 DROP VIEW IF EXISTS `view_wakaf_from_profit`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_wakaf_from_profit` (
  `companyid` tinyint NOT NULL,
  `year` tinyint NOT NULL,
  `acctType` tinyint NOT NULL,
  `totalDr` tinyint NOT NULL,
  `totalCr` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Table structure for table `wakaf`
--

DROP TABLE IF EXISTS `wakaf`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wakaf` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `waqifID` int(11) NOT NULL COMMENT 'link to mastercode',
  `wakafCenterID` int(11) NOT NULL,
  `allocation` tinyint(4) NOT NULL COMMENT '0=lumpsum,1=percentage',
  `periodYear` smallint(6) NOT NULL,
  `periodFrom` tinyint(4) NOT NULL,
  `periodTo` tinyint(4) NOT NULL,
  `amountAllocated` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` tinyint(4) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `wakaf`
--

LOCK TABLES `wakaf` WRITE;
/*!40000 ALTER TABLE `wakaf` DISABLE KEYS */;
/*!40000 ALTER TABLE `wakaf` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `wakaf_acrual`
--

DROP TABLE IF EXISTS `wakaf_acrual`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wakaf_acrual` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `salesAccountID` int(11) NOT NULL,
  `from` date NOT NULL,
  `to` date NOT NULL,
  `wakafPercent` decimal(10,0) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `wakaf_acrual`
--

LOCK TABLES `wakaf_acrual` WRITE;
/*!40000 ALTER TABLE `wakaf_acrual` DISABLE KEYS */;
/*!40000 ALTER TABLE `wakaf_acrual` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `wakaf_beneficiaries`
--

DROP TABLE IF EXISTS `wakaf_beneficiaries`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wakaf_beneficiaries` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `shortName` varchar(12) NOT NULL DEFAULT '0',
  `name` varchar(128) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `createdBy` int(11) NOT NULL,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `wakaf_beneficiaries`
--

LOCK TABLES `wakaf_beneficiaries` WRITE;
/*!40000 ALTER TABLE `wakaf_beneficiaries` DISABLE KEYS */;
/*!40000 ALTER TABLE `wakaf_beneficiaries` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `wakaf_center`
--

DROP TABLE IF EXISTS `wakaf_center`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wakaf_center` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `shortName` varchar(12) NOT NULL DEFAULT '0',
  `name` varchar(128) NOT NULL,
  `line1` varchar(128) NOT NULL,
  `line2` varchar(128) NOT NULL,
  `line3` varchar(128) NOT NULL,
  `city` varchar(64) NOT NULL,
  `postCode` varchar(8) NOT NULL,
  `stateID` int(11) NOT NULL,
  `countryID` int(11) NOT NULL,
  `noTel` varchar(50) NOT NULL,
  `noFax` varchar(50) NOT NULL,
  `email` varchar(128) NOT NULL,
  `website` varchar(128) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `createdBy` int(11) NOT NULL,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(16) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `wakaf_center`
--

LOCK TABLES `wakaf_center` WRITE;
/*!40000 ALTER TABLE `wakaf_center` DISABLE KEYS */;
/*!40000 ALTER TABLE `wakaf_center` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `wakaf_details_allocation`
--

DROP TABLE IF EXISTS `wakaf_details_allocation`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wakaf_details_allocation` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `wakafID` varchar(64) NOT NULL DEFAULT '0',
  `accountID` int(11) NOT NULL,
  `saleAmount` double NOT NULL,
  `contributionPercentage` double NOT NULL,
  `amount` double NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `createdBy` int(11) NOT NULL,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `wakaf_details_allocation`
--

LOCK TABLES `wakaf_details_allocation` WRITE;
/*!40000 ALTER TABLE `wakaf_details_allocation` DISABLE KEYS */;
/*!40000 ALTER TABLE `wakaf_details_allocation` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `wakaf_details_distribution`
--

DROP TABLE IF EXISTS `wakaf_details_distribution`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wakaf_details_distribution` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `wakafID` varchar(64) NOT NULL DEFAULT '0',
  `beneficiariesID` int(11) NOT NULL,
  `description` varchar(128) NOT NULL,
  `contributionPercentage` double NOT NULL,
  `amount` double NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `createdBy` int(11) NOT NULL,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `wakaf_details_distribution`
--

LOCK TABLES `wakaf_details_distribution` WRITE;
/*!40000 ALTER TABLE `wakaf_details_distribution` DISABLE KEYS */;
/*!40000 ALTER TABLE `wakaf_details_distribution` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `wakaf_master`
--

DROP TABLE IF EXISTS `wakaf_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wakaf_master` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL DEFAULT '0',
  `waqif` varchar(64) NOT NULL DEFAULT '0',
  `category` varchar(24) NOT NULL,
  `allocationID` int(11) NOT NULL,
  `beneficiariesID` int(11) NOT NULL,
  `description` varchar(128) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `createdBy` int(11) NOT NULL,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `wakaf_master`
--

LOCK TABLES `wakaf_master` WRITE;
/*!40000 ALTER TABLE `wakaf_master` DISABLE KEYS */;
/*!40000 ALTER TABLE `wakaf_master` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `web`
--

DROP TABLE IF EXISTS `web`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `web` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `userID` varchar(64) NOT NULL,
  `webPageName` varchar(32) NOT NULL,
  `fontColor` varchar(32) NOT NULL,
  `namaSyarikat` varchar(32) NOT NULL,
  `mukaDepan` longtext,
  `menu1` varchar(32) NOT NULL,
  `menu2` varchar(32) NOT NULL,
  `menu3` varchar(64) NOT NULL,
  `menu4` varchar(32) NOT NULL,
  `menu5` varchar(32) NOT NULL,
  `menu1Link` varchar(64) NOT NULL,
  `menu2Link` varchar(64) NOT NULL,
  `menu3Link` varchar(64) NOT NULL,
  `menu4Link` varchar(64) NOT NULL,
  `menu5Link` varchar(64) NOT NULL,
  `selamatDatang` varchar(32) NOT NULL,
  `moto` varchar(128) NOT NULL,
  `linkLabel` varchar(32) NOT NULL,
  `link` varchar(64) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `mengapaTajuk` varchar(32) NOT NULL,
  `mengapaKeterangan` text NOT NULL,
  `mengapa1` varchar(32) NOT NULL,
  `mengapa12` text NOT NULL,
  `mengapa2` varchar(32) NOT NULL,
  `mengapa22` text NOT NULL,
  `mengapa3` varchar(32) NOT NULL,
  `mengapa32` text NOT NULL,
  `mengapa4` varchar(32) NOT NULL,
  `mengapa42` text NOT NULL,
  `mengapa5` varchar(32) NOT NULL,
  `mengapa52` text NOT NULL,
  `mengapa6` varchar(32) NOT NULL,
  `mengapa62` text NOT NULL,
  `portfolio` varchar(32) NOT NULL,
  `portfolioSub` varchar(128) NOT NULL,
  `portfolio1` varchar(32) NOT NULL,
  `portfolioSub1` varchar(128) NOT NULL,
  `portfolio2` varchar(32) NOT NULL,
  `portfolioSub2` varchar(128) NOT NULL,
  `portfolio3` varchar(32) NOT NULL,
  `portfolioSub3` varchar(128) NOT NULL,
  `portfolio4` varchar(32) NOT NULL,
  `portfolioSub4` varchar(128) NOT NULL,
  `portfolio5` varchar(32) NOT NULL,
  `portfolioSub5` varchar(128) NOT NULL,
  `portfolio6` varchar(32) NOT NULL,
  `portfolioSub6` varchar(128) NOT NULL,
  `portfolioImage1` longtext,
  `portfolioImage2` longtext,
  `portfolioImage3` longtext,
  `portfolioImage4` longtext,
  `portfolioImage5` longtext,
  `portfolioImage6` longtext,
  `portfolioText1` text NOT NULL,
  `portfolioText2` text NOT NULL,
  `portfolioText3` text NOT NULL,
  `portfolioText4` text NOT NULL,
  `portfolioText5` text NOT NULL,
  `portfolioText6` text NOT NULL,
  `about` varchar(32) NOT NULL,
  `aboutSub` varchar(128) NOT NULL,
  `aboutText` text NOT NULL,
  `about1` varchar(32) NOT NULL,
  `aboutSub1` varchar(128) NOT NULL,
  `aboutText1` text NOT NULL,
  `about2` varchar(32) NOT NULL,
  `aboutSub2` varchar(128) NOT NULL,
  `aboutText2` text NOT NULL,
  `about3` varchar(32) NOT NULL,
  `aboutSub3` varchar(128) NOT NULL,
  `aboutText3` text NOT NULL,
  `about4` varchar(32) NOT NULL,
  `aboutSub4` varchar(128) NOT NULL,
  `aboutText4` text NOT NULL,
  `aboutImage1` longtext,
  `aboutImage2` longtext,
  `aboutImage3` longtext,
  `aboutImage4` longtext,
  `aboutBulat` varchar(32) NOT NULL,
  `team` varchar(32) NOT NULL,
  `teamSub` varchar(128) NOT NULL,
  `teamFb` varchar(64) NOT NULL,
  `team1` varchar(32) NOT NULL,
  `teamSub1` varchar(128) NOT NULL,
  `teamFb1` varchar(64) NOT NULL,
  `team2` varchar(32) NOT NULL,
  `teamSub2` varchar(128) NOT NULL,
  `teamFb2` varchar(64) NOT NULL,
  `team3` varchar(32) NOT NULL,
  `teamSub3` varchar(128) NOT NULL,
  `teamFb3` varchar(64) NOT NULL,
  `teamTw1` varchar(64) NOT NULL,
  `teamTw2` varchar(64) NOT NULL,
  `teamTw3` varchar(64) NOT NULL,
  `teamLn1` varchar(64) NOT NULL,
  `teamLn2` varchar(64) NOT NULL,
  `teamLn3` varchar(64) NOT NULL,
  `teamImage1` longtext,
  `teamImage2` longtext,
  `teamImage3` longtext,
  `teamBawah` varchar(128) NOT NULL,
  `clientImage1` longtext,
  `clientImage2` longtext,
  `clientImage3` longtext,
  `clientImage4` longtext,
  `clientLink1` varchar(128) NOT NULL,
  `clientLink2` varchar(128) NOT NULL,
  `clientLink3` varchar(128) NOT NULL,
  `clientLink4` varchar(128) NOT NULL,
  `hubungiKami` text NOT NULL,
  PRIMARY KEY (`ID`),
  KEY `companyid` (`companyID`)
) ENGINE=InnoDB AUTO_INCREMENT=28 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `web`
--

LOCK TABLES `web` WRITE;
/*!40000 ALTER TABLE `web` DISABLE KEYS */;
INSERT INTO `web` VALUES (1,0,'akmaluddin@salihin.com.my','akmal','text-success','Keropok lekor 99',' ','Mengapa SPS Lite','Kelebihan Kami','Testimoni','Promosi','Rujukan','#services','#portfolio','#akmal','#team','http://www.kedai-e.net','Mari Mari Datang','restoran Bakso Wak Tongkol','Masuk','#contact',0,0,'2016-07-20 11:36:48','Tudung is Awesome','Bertudung-tudung ke hulu,\r\nBertudung-tudung ke tepian,\r\nBertudung-tudung dahulu,\r\nBertudung-tudung kemudian.','Menarik','Sangat menarik perhatian mereka yang meminati citarasa yang unik','Anggun','Kerana wanita cantik begitu berharga','Selesa','Masalah kutu dan kurap kepala dapat diatasi dengan segera tanpa menggunakan syampu Silky Girl','Untung dan Rugi','Laporan Untung atau Rugi semudah ABC','Kewangan','Laporan Kewangan semudah ABC','Cloud','Membawa anda ke era digital','Kehebatan Kami','Bagaimana kami mempamerkan kehebatan kami?','Portfolio 1','Portfolio 1 Subs','Portfolio 2','Portfolio 2 Sample','','','','','','','','','',' ',' ',' ','',NULL,'Portfolio\r\nPortfolio\r\nPortfolio\r\nPortfolio\r\nPortfolio','50','','','','Ini gambar laptop saya\r\nlaptop saya keyboardnya rosak\r\nbila saya nak dapat laptop baru?','testimoni','mereka telah mencuba produk kami','mereka sangat berpuas hati','puan x dari mersing','produk angun sepanjang malam','ketika saya mula minum produk ni dulu, masa tu suami saya kerja di kl. saya di mersing. ','Hj Jib','Bapa Mertua Puan x','Saya lihat anak menantu saya semakin anggun dari hari ke hari. ','Rahman Okyere','Bekas Kekasih Lama Puan X dari Nigeria','nigeria sini datang saya powerrrrrr...','Encik V','Jiran depan rumah Puan X','setiap pagi saya melihat itu worang ada joging. belakang dia jalan tapi nampak dada depan juga.','','',' ','','jom dapatkan produk kami','Promosi Hebat Hebatttt Woiiii','Dapatkan Promosi Terkini Dari Kami sempenal hari raya qurban','','Team 1','','','Lontong Baik Punya!!!','Hanya dgn RM13443.98, anda boleh menikmati LONTONG terbaik di dunia!!!','','','','','','https://www.twitter.com/@lontongbaikgilerr','','','','','',' ','','',' ','','','','https://bola.jdt.com.my/','','','','Mari mari Minah Kumari!!!'),(2,0,'84','','','SPS Lite','','Mengapa SPS Lite ?','Ciri-ciri','Testimoni','Langgan SPS Lite','Hubungi Kami','#services','#portfolio','#about-section','#team-section','#contact','Selamat Datang ke SPS Lite','Memudahkan Perniagaan Anda','Free Trial / Login','http://192.168.1.2/demo.spslite.my/login',0,0,'2016-07-20 11:36:48','Mengapa SPS Lite?','Mengapa SPS Lite','Responsif','Responsive dengan semua device termasuk tablet dan smartphone','Dwibahasa','Dalam Bahasa Malaysia dan Inggeris','Mesra Pengguna','','Untung dan Rugi','Laporan Untung dan Rugi semudah ABC','Kewangan','Laporan Kewangan semudah ABC','Pengkomputeran Awam','Membawa anda ke era Digital','Perkhidmatan Kami','Contoh-contoh Skrin dan Laporan','Jualan','Rekod Jualan','Perbelanjaan','Rekod Perbelanjaan','Umum','Ketetapan Umum','Laporan','Contoh-contoh laporan','Tetapan','Ketetapan setup Pentadbir','Pautan','Pautan Tambahan','','','','','','','','','','','','','testimoni','','','','','','','','','','','','','','','','','','','','Team Kami','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','Untuk melanggan SPS Lite, hubungi kami di talian +03-6185 9970 atau emel ke info@salihinpremier.com.'),(3,18,'','kedaie','','SPS Lite','','Mengapa SPS Lite ?','Ciri-ciri','Testimoni','Langgan SPS Lite','Hubungi Kami','#services','#portfolio','#about-section','#team-section','#contact','Selamat Datang ke SPS Lite','Memudahkan Perniagaan Anda','Free Trial / Login','http://demo.spslite.my/login',0,0,'2016-07-20 11:36:48','Mengapa SPS Lite?','Mengapa SPS Lite','Responsif','Responsive dengan semua device termasuk tablet dan smartphone','Dwibahasa','Dalam Bahasa Malaysia dan Inggeris','Mesra Pengguna','','Untung dan Rugi','Laporan Untung dan Rugi semudah ABC','Kewangan','Laporan Kewangan semudah ABC','Pengkomputeran Awam','Membawa anda ke era Digital','Perkhidmatan Kami','Contoh-contoh Skrin dan Laporan','Jualan','Rekod Jualan','Perbelanjaan','Rekod Perbelanjaan','Umum','Ketetapan Umum','Laporan','Contoh-contoh laporan','Tetapan','Ketetapan setup Pentadbir','Pautan','Pautan Tambahan','','','','','','','','','','','','','testimoni','','','','','','','','','','','','','','','','','','','','Team Kami','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','Untuk melanggan SPS Lite, hubungi kami di talian +03-6185 9970 atau emel ke info@salihinpremier.com.'),(4,0,'','','','SPS Lite','','Mengapa SPS Lite ?','Ciri-ciri','Testimoni','Langgan SPS Lite','Hubungi Kami','#services','#portfolio','#about-section','#team-section','#contact','Selamat Datang ke SPS Lite','Memudahkan Perniagaan Anda','Free Trial / Login','http://demo.spslite.my/login',0,0,'2016-07-20 11:36:48','Mengapa SPS Lite?','Mengapa SPS Lite','Responsif','Responsive dengan semua device termasuk tablet dan smartphone','Dwibahasa','Dalam Bahasa Malaysia dan Inggeris','Mesra Pengguna','','Untung dan Rugi','Laporan Untung dan Rugi semudah ABC','Kewangan','Laporan Kewangan semudah ABC','Pengkomputeran Awam','Membawa anda ke era Digital','Perkhidmatan Kami','Contoh-contoh Skrin dan Laporan','Jualan','Rekod Jualan','Perbelanjaan','Rekod Perbelanjaan','Umum','Ketetapan Umum','Laporan','Contoh-contoh laporan','Tetapan','Ketetapan setup Pentadbir','Pautan','Pautan Tambahan','','','','','','','','','','','','','testimoni','','','','','','','','','','','','','','','','','','','','Team Kami','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','Untuk melanggan SPS Lite, hubungi kami di talian +03-6185 9970 atau emel ke info@salihinpremier.com.'),(5,0,'','','','SPS Lite','','Mengapa SPS Lite ?','Ciri-ciri','Testimoni','Langgan SPS Lite','Hubungi Kami','#services','#portfolio','#about-section','#team-section','#contact','Selamat Datang ke SPS Lite','Memudahkan Perniagaan Anda','Free Trial / Login','http://demo.spslite.my/login',0,0,'2016-07-20 11:36:48','Mengapa SPS Lite?','Mengapa SPS Lite','Responsif','Responsive dengan semua device termasuk tablet dan smartphone','Dwibahasa','Dalam Bahasa Malaysia dan Inggeris','Mesra Pengguna','','Untung dan Rugi','Laporan Untung dan Rugi semudah ABC','Kewangan','Laporan Kewangan semudah ABC','Pengkomputeran Awam','Membawa anda ke era Digital','Perkhidmatan Kami','Contoh-contoh Skrin dan Laporan','Jualan','Rekod Jualan','Perbelanjaan','Rekod Perbelanjaan','Umum','Ketetapan Umum','Laporan','Contoh-contoh laporan','Tetapan','Ketetapan setup Pentadbir','Pautan','Pautan Tambahan','','','','','','','','','','','','','testimoni','','','','','','','','','','','','','','','','','','','','Team Kami','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','Untuk melanggan SPS Lite, hubungi kami di talian +03-6185 9970 atau emel ke info@salihinpremier.com.'),(6,0,'','','','SPS Lite','','Mengapa SPS Lite ?','Ciri-ciri','Testimoni','Langgan SPS Lite','Hubungi Kami','#services','#portfolio','#about-section','#team-section','#contact','Selamat Datang ke SPS Lite','Memudahkan Perniagaan Anda','Free Trial / Login','http://demo.spslite.my/login',0,0,'2016-07-20 11:36:48','Mengapa SPS Lite?','Mengapa SPS Lite','Responsif','Responsive dengan semua device termasuk tablet dan smartphone','Dwibahasa','Dalam Bahasa Malaysia dan Inggeris','Mesra Pengguna','','Untung dan Rugi','Laporan Untung dan Rugi semudah ABC','Kewangan','Laporan Kewangan semudah ABC','Pengkomputeran Awam','Membawa anda ke era Digital','Perkhidmatan Kami','Contoh-contoh Skrin dan Laporan','Jualan','Rekod Jualan','Perbelanjaan','Rekod Perbelanjaan','Umum','Ketetapan Umum','Laporan','Contoh-contoh laporan','Tetapan','Ketetapan setup Pentadbir','Pautan','Pautan Tambahan','','','','','','','','','','','','','testimoni','','','','','','','','','','','','','','','','','','','','Team Kami','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','Untuk melanggan SPS Lite, hubungi kami di talian +03-6185 9970 atau emel ke info@salihinpremier.com.'),(7,0,'','','','SPS Lite','','Mengapa SPS Lite ?','Ciri-ciri','Testimoni','Langgan SPS Lite','Hubungi Kami','#services','#portfolio','#about-section','#team-section','#contact','Selamat Datang ke SPS Lite','Memudahkan Perniagaan Anda','Free Trial / Login','http://demo.spslite.my/login',0,0,'2016-07-20 11:36:48','Mengapa SPS Lite?','Mengapa SPS Lite','Responsif','Responsive dengan semua device termasuk tablet dan smartphone','Dwibahasa','Dalam Bahasa Malaysia dan Inggeris','Mesra Pengguna','','Untung dan Rugi','Laporan Untung dan Rugi semudah ABC','Kewangan','Laporan Kewangan semudah ABC','Pengkomputeran Awam','Membawa anda ke era Digital','Perkhidmatan Kami','Contoh-contoh Skrin dan Laporan','Jualan','Rekod Jualan','Perbelanjaan','Rekod Perbelanjaan','Umum','Ketetapan Umum','Laporan','Contoh-contoh laporan','Tetapan','Ketetapan setup Pentadbir','Pautan','Pautan Tambahan','','','','','','','','','','','','','testimoni','','','','','','','','','','','','','','','','','','','','Team Kami','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','Untuk melanggan SPS Lite, hubungi kami di talian +03-6185 9970 atau emel ke info@salihinpremier.com.'),(8,0,'','','','SPS Lite','','Mengapa SPS Lite ?','Ciri-ciri','Testimoni','Langgan SPS Lite','Hubungi Kami','#services','#portfolio','#about-section','#team-section','#contact','Selamat Datang ke SPS Lite','Memudahkan Perniagaan Anda','Free Trial / Login','http://demo.spslite.my/login',0,0,'2016-07-20 11:36:48','Mengapa SPS Lite?','Mengapa SPS Lite','Responsif','Responsive dengan semua device termasuk tablet dan smartphone','Dwibahasa','Dalam Bahasa Malaysia dan Inggeris','Mesra Pengguna','','Untung dan Rugi','Laporan Untung dan Rugi semudah ABC','Kewangan','Laporan Kewangan semudah ABC','Pengkomputeran Awam','Membawa anda ke era Digital','Perkhidmatan Kami','Contoh-contoh Skrin dan Laporan','Jualan','Rekod Jualan','Perbelanjaan','Rekod Perbelanjaan','Umum','Ketetapan Umum','Laporan','Contoh-contoh laporan','Tetapan','Ketetapan setup Pentadbir','Pautan','Pautan Tambahan','','','','','','','','','','','','','testimoni','','','','','','','','','','','','','','','','','','','','Team Kami','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','Untuk melanggan SPS Lite, hubungi kami di talian +03-6185 9970 atau emel ke info@salihinpremier.com.'),(9,0,'','','','SPS Lite','','Mengapa SPS Lite ?','Ciri-ciri','Testimoni','Langgan SPS Lite','Hubungi Kami','#services','#portfolio','#about-section','#team-section','#contact','Selamat Datang ke SPS Lite','Memudahkan Perniagaan Anda','Free Trial / Login','http://demo.spslite.my/login',0,0,'2016-07-20 11:36:48','Mengapa SPS Lite?','Mengapa SPS Lite','Responsif','Responsive dengan semua device termasuk tablet dan smartphone','Dwibahasa','Dalam Bahasa Malaysia dan Inggeris','Mesra Pengguna','','Untung dan Rugi','Laporan Untung dan Rugi semudah ABC','Kewangan','Laporan Kewangan semudah ABC','Pengkomputeran Awam','Membawa anda ke era Digital','Perkhidmatan Kami','Contoh-contoh Skrin dan Laporan','Jualan','Rekod Jualan','Perbelanjaan','Rekod Perbelanjaan','Umum','Ketetapan Umum','Laporan','Contoh-contoh laporan','Tetapan','Ketetapan setup Pentadbir','Pautan','Pautan Tambahan','','','','','','','','','','','','','testimoni','','','','','','','','','','','','','','','','','','','','Team Kami','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','Untuk melanggan SPS Lite, hubungi kami di talian +03-6185 9970 atau emel ke info@salihinpremier.com.'),(10,0,'','','','SPS Lite','','Mengapa SPS Lite ?','Ciri-ciri','Testimoni','Langgan SPS Lite','Hubungi Kami','#services','#portfolio','#about-section','#team-section','#contact','Selamat Datang ke SPS Lite','Memudahkan Perniagaan Anda','Free Trial / Login','http://demo.spslite.my/login',0,0,'2016-07-20 11:36:48','Mengapa SPS Lite?','Mengapa SPS Lite','Responsif','Responsive dengan semua device termasuk tablet dan smartphone','Dwibahasa','Dalam Bahasa Malaysia dan Inggeris','Mesra Pengguna','','Untung dan Rugi','Laporan Untung dan Rugi semudah ABC','Kewangan','Laporan Kewangan semudah ABC','Pengkomputeran Awam','Membawa anda ke era Digital','Perkhidmatan Kami','Contoh-contoh Skrin dan Laporan','Jualan','Rekod Jualan','Perbelanjaan','Rekod Perbelanjaan','Umum','Ketetapan Umum','Laporan','Contoh-contoh laporan','Tetapan','Ketetapan setup Pentadbir','Pautan','Pautan Tambahan','','','','','','','','','','','','','testimoni','','','','','','','','','','','','','','','','','','','','Team Kami','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','Untuk melanggan SPS Lite, hubungi kami di talian +03-6185 9970 atau emel ke info@salihinpremier.com.'),(11,0,'','','','SPS Lite','','Mengapa SPS Lite ?','Ciri-ciri','Testimoni','Langgan SPS Lite','Hubungi Kami','#services','#portfolio','#about-section','#team-section','#contact','Selamat Datang ke SPS Lite','Memudahkan Perniagaan Anda','Free Trial / Login','http://demo.spslite.my/login',0,0,'2016-07-20 11:36:48','Mengapa SPS Lite?','Mengapa SPS Lite','Responsif','Responsive dengan semua device termasuk tablet dan smartphone','Dwibahasa','Dalam Bahasa Malaysia dan Inggeris','Mesra Pengguna','','Untung dan Rugi','Laporan Untung dan Rugi semudah ABC','Kewangan','Laporan Kewangan semudah ABC','Pengkomputeran Awam','Membawa anda ke era Digital','Perkhidmatan Kami','Contoh-contoh Skrin dan Laporan','Jualan','Rekod Jualan','Perbelanjaan','Rekod Perbelanjaan','Umum','Ketetapan Umum','Laporan','Contoh-contoh laporan','Tetapan','Ketetapan setup Pentadbir','Pautan','Pautan Tambahan','','','','','','','','','','','','','testimoni','','','','','','','','','','','','','','','','','','','','Team Kami','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','Untuk melanggan SPS Lite, hubungi kami di talian +03-6185 9970 atau emel ke info@salihinpremier.com.'),(12,0,'','','','SPS Lite','','Mengapa SPS Lite ?','Ciri-ciri','Testimoni','Langgan SPS Lite','Hubungi Kami','#services','#portfolio','#about-section','#team-section','#contact','Selamat Datang ke SPS Lite','Memudahkan Perniagaan Anda','Free Trial / Login','http://demo.spslite.my/login',0,0,'2016-07-20 11:36:48','Mengapa SPS Lite?','Mengapa SPS Lite','Responsif','Responsive dengan semua device termasuk tablet dan smartphone','Dwibahasa','Dalam Bahasa Malaysia dan Inggeris','Mesra Pengguna','','Untung dan Rugi','Laporan Untung dan Rugi semudah ABC','Kewangan','Laporan Kewangan semudah ABC','Pengkomputeran Awam','Membawa anda ke era Digital','Perkhidmatan Kami','Contoh-contoh Skrin dan Laporan','Jualan','Rekod Jualan','Perbelanjaan','Rekod Perbelanjaan','Umum','Ketetapan Umum','Laporan','Contoh-contoh laporan','Tetapan','Ketetapan setup Pentadbir','Pautan','Pautan Tambahan','','','','','','','','','','','','','testimoni','','','','','','','','','','','','','','','','','','','','Team Kami','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','Untuk melanggan SPS Lite, hubungi kami di talian +03-6185 9970 atau emel ke info@salihinpremier.com.'),(13,0,'','','','SPS Lite','','Mengapa SPS Lite ?','Ciri-ciri','Testimoni','Langgan SPS Lite','Hubungi Kami','#services','#portfolio','#about-section','#team-section','#contact','Selamat Datang ke SPS Lite','Memudahkan Perniagaan Anda','Free Trial / Login','http://demo.spslite.my/login',0,0,'2016-07-20 11:36:48','Mengapa SPS Lite?','Mengapa SPS Lite','Responsif','Responsive dengan semua device termasuk tablet dan smartphone','Dwibahasa','Dalam Bahasa Malaysia dan Inggeris','Mesra Pengguna','','Untung dan Rugi','Laporan Untung dan Rugi semudah ABC','Kewangan','Laporan Kewangan semudah ABC','Pengkomputeran Awam','Membawa anda ke era Digital','Perkhidmatan Kami','Contoh-contoh Skrin dan Laporan','Jualan','Rekod Jualan','Perbelanjaan','Rekod Perbelanjaan','Umum','Ketetapan Umum','Laporan','Contoh-contoh laporan','Tetapan','Ketetapan setup Pentadbir','Pautan','Pautan Tambahan','','','','','','','','','','','','','testimoni','','','','','','','','','','','','','','','','','','','','Team Kami','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','Untuk melanggan SPS Lite, hubungi kami di talian +03-6185 9970 atau emel ke info@salihinpremier.com.'),(14,21,'','eminem','','SPS Lite','','Mengapa SPS Lite ?','Ciri-ciri','Testimoni','Langgan SPS Lite','Hubungi Kami','#services','#portfolio','#about-section','#team-section','#contact','Selamat Datang ke SPS Lite','Memudahkan Perniagaan Anda','Free Trial / Login','http://demo.spslite.my/login',0,0,'2016-07-20 11:36:48','Mengapa SPS Lite?','Mengapa SPS Lite','Responsif','Responsive dengan semua device termasuk tablet dan smartphone','Dwibahasa','Dalam Bahasa Malaysia dan Inggeris','Mesra Pengguna','','Untung dan Rugi','Laporan Untung dan Rugi semudah ABC','Kewangan','Laporan Kewangan semudah ABC','Pengkomputeran Awam','Membawa anda ke era Digital','Perkhidmatan Kami','Contoh-contoh Skrin dan Laporan','Jualan','Rekod Jualan','Perbelanjaan','Rekod Perbelanjaan','Umum','Ketetapan Umum','Laporan','Contoh-contoh laporan','Tetapan','Ketetapan setup Pentadbir','Pautan','Pautan Tambahan','','','','','','','','','','','','','testimoni','','','','','','','','','','','','','','','','','','','','Team Kami','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','Untuk melanggan SPS Lite, hubungi kami di talian +03-6185 9970 atau emel ke info@salihinpremier.com.'),(15,0,'','','','SPS Lite','','Mengapa SPS Lite ?','Ciri-ciri','Testimoni','Langgan SPS Lite','Hubungi Kami','#services','#portfolio','#about-section','#team-section','#contact','Selamat Datang ke SPS Lite','Memudahkan Perniagaan Anda','Free Trial / Login','http://demo.spslite.my/login',0,0,'2016-07-20 11:36:48','Mengapa SPS Lite?','Mengapa SPS Lite','Responsif','Responsive dengan semua device termasuk tablet dan smartphone','Dwibahasa','Dalam Bahasa Malaysia dan Inggeris','Mesra Pengguna','','Untung dan Rugi','Laporan Untung dan Rugi semudah ABC','Kewangan','Laporan Kewangan semudah ABC','Pengkomputeran Awam','Membawa anda ke era Digital','Perkhidmatan Kami','Contoh-contoh Skrin dan Laporan','Jualan','Rekod Jualan','Perbelanjaan','Rekod Perbelanjaan','Umum','Ketetapan Umum','Laporan','Contoh-contoh laporan','Tetapan','Ketetapan setup Pentadbir','Pautan','Pautan Tambahan','','','','','','','','','','','','','testimoni','','','','','','','','','','','','','','','','','','','','Team Kami','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','Untuk melanggan SPS Lite, hubungi kami di talian +03-6185 9970 atau emel ke info@salihinpremier.com.'),(16,0,'','','','SPS Lite','','Mengapa SPS Lite ?','Ciri-ciri','Testimoni','Langgan SPS Lite','Hubungi Kami','#services','#portfolio','#about-section','#team-section','#contact','Selamat Datang ke SPS Lite','Memudahkan Perniagaan Anda','Free Trial / Login','http://demo.spslite.my/login',0,0,'2016-07-20 11:36:48','Mengapa SPS Lite?','Mengapa SPS Lite','Responsif','Responsive dengan semua device termasuk tablet dan smartphone','Dwibahasa','Dalam Bahasa Malaysia dan Inggeris','Mesra Pengguna','','Untung dan Rugi','Laporan Untung dan Rugi semudah ABC','Kewangan','Laporan Kewangan semudah ABC','Pengkomputeran Awam','Membawa anda ke era Digital','Perkhidmatan Kami','Contoh-contoh Skrin dan Laporan','Jualan','Rekod Jualan','Perbelanjaan','Rekod Perbelanjaan','Umum','Ketetapan Umum','Laporan','Contoh-contoh laporan','Tetapan','Ketetapan setup Pentadbir','Pautan','Pautan Tambahan','','','','','','','','','','','','','testimoni','','','','','','','','','','','','','','','','','','','','Team Kami','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','Untuk melanggan SPS Lite, hubungi kami di talian +03-6185 9970 atau emel ke info@salihinpremier.com.'),(17,0,'','','','SPS Lite','','Mengapa SPS Lite ?','Ciri-ciri','Testimoni','Langgan SPS Lite','Hubungi Kami','#services','#portfolio','#about-section','#team-section','#contact','Selamat Datang ke SPS Lite','Memudahkan Perniagaan Anda','Free Trial / Login','http://demo.spslite.my/login',0,0,'2016-07-20 11:36:48','Mengapa SPS Lite?','Mengapa SPS Lite','Responsif','Responsive dengan semua device termasuk tablet dan smartphone','Dwibahasa','Dalam Bahasa Malaysia dan Inggeris','Mesra Pengguna','','Untung dan Rugi','Laporan Untung dan Rugi semudah ABC','Kewangan','Laporan Kewangan semudah ABC','Pengkomputeran Awam','Membawa anda ke era Digital','Perkhidmatan Kami','Contoh-contoh Skrin dan Laporan','Jualan','Rekod Jualan','Perbelanjaan','Rekod Perbelanjaan','Umum','Ketetapan Umum','Laporan','Contoh-contoh laporan','Tetapan','Ketetapan setup Pentadbir','Pautan','Pautan Tambahan','','','','','','','','','','','','','testimoni','','','','','','','','','','','','','','','','','','','','Team Kami','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','Untuk melanggan SPS Lite, hubungi kami di talian +03-6185 9970 atau emel ke info@salihinpremier.com.'),(18,0,'','','','SPS Lite','','Mengapa SPS Lite ?','Ciri-ciri','Testimoni','Langgan SPS Lite','Hubungi Kami','#services','#portfolio','#about-section','#team-section','#contact','Selamat Datang ke SPS Lite','Memudahkan Perniagaan Anda','Free Trial / Login','http://demo.spslite.my/login',0,0,'2016-07-20 11:36:48','Mengapa SPS Lite?','Mengapa SPS Lite','Responsif','Responsive dengan semua device termasuk tablet dan smartphone','Dwibahasa','Dalam Bahasa Malaysia dan Inggeris','Mesra Pengguna','','Untung dan Rugi','Laporan Untung dan Rugi semudah ABC','Kewangan','Laporan Kewangan semudah ABC','Pengkomputeran Awam','Membawa anda ke era Digital','Perkhidmatan Kami','Contoh-contoh Skrin dan Laporan','Jualan','Rekod Jualan','Perbelanjaan','Rekod Perbelanjaan','Umum','Ketetapan Umum','Laporan','Contoh-contoh laporan','Tetapan','Ketetapan setup Pentadbir','Pautan','Pautan Tambahan','','','','','','','','','','','','','testimoni','','','','','','','','','','','','','','','','','','','','Team Kami','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','Untuk melanggan SPS Lite, hubungi kami di talian +03-6185 9970 atau emel ke info@salihinpremier.com.'),(19,0,'','','','SPS Lite','','Mengapa SPS Lite ?','Ciri-ciri','Testimoni','Langgan SPS Lite','Hubungi Kami','#services','#portfolio','#about-section','#team-section','#contact','Selamat Datang ke SPS Lite','Memudahkan Perniagaan Anda','Free Trial / Login','http://demo.spslite.my/login',0,0,'2016-07-20 11:36:48','Mengapa SPS Lite?','Mengapa SPS Lite','Responsif','Responsive dengan semua device termasuk tablet dan smartphone','Dwibahasa','Dalam Bahasa Malaysia dan Inggeris','Mesra Pengguna','','Untung dan Rugi','Laporan Untung dan Rugi semudah ABC','Kewangan','Laporan Kewangan semudah ABC','Pengkomputeran Awam','Membawa anda ke era Digital','Perkhidmatan Kami','Contoh-contoh Skrin dan Laporan','Jualan','Rekod Jualan','Perbelanjaan','Rekod Perbelanjaan','Umum','Ketetapan Umum','Laporan','Contoh-contoh laporan','Tetapan','Ketetapan setup Pentadbir','Pautan','Pautan Tambahan','','','','','','','','','','','','','testimoni','','','','','','','','','','','','','','','','','','','','Team Kami','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','Untuk melanggan SPS Lite, hubungi kami di talian +03-6185 9970 atau emel ke info@salihinpremier.com.'),(20,0,'','','','SPS Lite','','Mengapa SPS Lite ?','Ciri-ciri','Testimoni','Langgan SPS Lite','Hubungi Kami','#services','#portfolio','#about-section','#team-section','#contact','Selamat Datang ke SPS Lite','Memudahkan Perniagaan Anda','Free Trial / Login','http://demo.spslite.my/login',0,0,'2016-07-20 11:36:48','Mengapa SPS Lite?','Mengapa SPS Lite','Responsif','Responsive dengan semua device termasuk tablet dan smartphone','Dwibahasa','Dalam Bahasa Malaysia dan Inggeris','Mesra Pengguna','','Untung dan Rugi','Laporan Untung dan Rugi semudah ABC','Kewangan','Laporan Kewangan semudah ABC','Pengkomputeran Awam','Membawa anda ke era Digital','Perkhidmatan Kami','Contoh-contoh Skrin dan Laporan','Jualan','Rekod Jualan','Perbelanjaan','Rekod Perbelanjaan','Umum','Ketetapan Umum','Laporan','Contoh-contoh laporan','Tetapan','Ketetapan setup Pentadbir','Pautan','Pautan Tambahan','','','','','','','','','','','','','testimoni','','','','','','','','','','','','','','','','','','','','Team Kami','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','Untuk melanggan SPS Lite, hubungi kami di talian +03-6185 9970 atau emel ke info@salihinpremier.com.'),(21,0,'','','','SPS Lite','','Mengapa SPS Lite ?','Ciri-ciri','Testimoni','Langgan SPS Lite','Hubungi Kami','#services','#portfolio','#about-section','#team-section','#contact','Selamat Datang ke SPS Lite','Memudahkan Perniagaan Anda','Free Trial / Login','http://demo.spslite.my/login',0,0,'2016-07-20 11:36:48','Mengapa SPS Lite?','Mengapa SPS Lite','Responsif','Responsive dengan semua device termasuk tablet dan smartphone','Dwibahasa','Dalam Bahasa Malaysia dan Inggeris','Mesra Pengguna','','Untung dan Rugi','Laporan Untung dan Rugi semudah ABC','Kewangan','Laporan Kewangan semudah ABC','Pengkomputeran Awam','Membawa anda ke era Digital','Perkhidmatan Kami','Contoh-contoh Skrin dan Laporan','Jualan','Rekod Jualan','Perbelanjaan','Rekod Perbelanjaan','Umum','Ketetapan Umum','Laporan','Contoh-contoh laporan','Tetapan','Ketetapan setup Pentadbir','Pautan','Pautan Tambahan','','','','','','','','','','','','','testimoni','','','','','','','','','','','','','','','','','','','','Team Kami','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','Untuk melanggan SPS Lite, hubungi kami di talian +03-6185 9970 atau emel ke info@salihinpremier.com.'),(22,0,'','','','SPS Lite','','Mengapa SPS Lite ?','Ciri-ciri','Testimoni','Langgan SPS Lite','Hubungi Kami','#services','#portfolio','#about-section','#team-section','#contact','Selamat Datang ke SPS Lite','Memudahkan Perniagaan Anda','Free Trial / Login','http://demo.spslite.my/login',0,0,'2016-07-20 11:36:48','Mengapa SPS Lite?','Mengapa SPS Lite','Responsif','Responsive dengan semua device termasuk tablet dan smartphone','Dwibahasa','Dalam Bahasa Malaysia dan Inggeris','Mesra Pengguna','','Untung dan Rugi','Laporan Untung dan Rugi semudah ABC','Kewangan','Laporan Kewangan semudah ABC','Pengkomputeran Awam','Membawa anda ke era Digital','Perkhidmatan Kami','Contoh-contoh Skrin dan Laporan','Jualan','Rekod Jualan','Perbelanjaan','Rekod Perbelanjaan','Umum','Ketetapan Umum','Laporan','Contoh-contoh laporan','Tetapan','Ketetapan setup Pentadbir','Pautan','Pautan Tambahan','','','','','','','','','','','','','testimoni','','','','','','','','','','','','','','','','','','','','Team Kami','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','Untuk melanggan SPS Lite, hubungi kami di talian +03-6185 9970 atau emel ke info@salihinpremier.com.'),(23,0,'','','','SPS Lite','','Mengapa SPS Lite ?','Ciri-ciri','Testimoni','Langgan SPS Lite','Hubungi Kami','#services','#portfolio','#about-section','#team-section','#contact','Selamat Datang ke SPS Lite','Memudahkan Perniagaan Anda','Free Trial / Login','http://demo.spslite.my/login',0,0,'2016-07-20 11:36:48','Mengapa SPS Lite?','Mengapa SPS Lite','Responsif','Responsive dengan semua device termasuk tablet dan smartphone','Dwibahasa','Dalam Bahasa Malaysia dan Inggeris','Mesra Pengguna','','Untung dan Rugi','Laporan Untung dan Rugi semudah ABC','Kewangan','Laporan Kewangan semudah ABC','Pengkomputeran Awam','Membawa anda ke era Digital','Perkhidmatan Kami','Contoh-contoh Skrin dan Laporan','Jualan','Rekod Jualan','Perbelanjaan','Rekod Perbelanjaan','Umum','Ketetapan Umum','Laporan','Contoh-contoh laporan','Tetapan','Ketetapan setup Pentadbir','Pautan','Pautan Tambahan','','','','','','','','','','','','','testimoni','','','','','','','','','','','','','','','','','','','','Team Kami','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','Untuk melanggan SPS Lite, hubungi kami di talian +03-6185 9970 atau emel ke info@salihinpremier.com.'),(24,0,'','','','SPS Lite','','Mengapa SPS Lite ?','Ciri-ciri','Testimoni','Langgan SPS Lite','Hubungi Kami','#services','#portfolio','#about-section','#team-section','#contact','Selamat Datang ke SPS Lite','Memudahkan Perniagaan Anda','Free Trial / Login','http://demo.spslite.my/login',0,0,'2016-07-20 11:36:48','Mengapa SPS Lite?','Mengapa SPS Lite','Responsif','Responsive dengan semua device termasuk tablet dan smartphone','Dwibahasa','Dalam Bahasa Malaysia dan Inggeris','Mesra Pengguna','','Untung dan Rugi','Laporan Untung dan Rugi semudah ABC','Kewangan','Laporan Kewangan semudah ABC','Pengkomputeran Awam','Membawa anda ke era Digital','Perkhidmatan Kami','Contoh-contoh Skrin dan Laporan','Jualan','Rekod Jualan','Perbelanjaan','Rekod Perbelanjaan','Umum','Ketetapan Umum','Laporan','Contoh-contoh laporan','Tetapan','Ketetapan setup Pentadbir','Pautan','Pautan Tambahan','','','','','','','','','','','','','testimoni','','','','','','','','','','','','','','','','','','','','Team Kami','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','Untuk melanggan SPS Lite, hubungi kami di talian +03-6185 9970 atau emel ke info@salihinpremier.com.'),(25,0,'','','','SPS Lite','','Mengapa SPS Lite ?','Ciri-ciri','Testimoni','Langgan SPS Lite','Hubungi Kami','#services','#portfolio','#about-section','#team-section','#contact','Selamat Datang ke SPS Lite','Memudahkan Perniagaan Anda','Free Trial / Login','http://demo.spslite.my/login',0,0,'2016-07-20 11:36:48','Mengapa SPS Lite?','Mengapa SPS Lite','Responsif','Responsive dengan semua device termasuk tablet dan smartphone','Dwibahasa','Dalam Bahasa Malaysia dan Inggeris','Mesra Pengguna','','Untung dan Rugi','Laporan Untung dan Rugi semudah ABC','Kewangan','Laporan Kewangan semudah ABC','Pengkomputeran Awam','Membawa anda ke era Digital','Perkhidmatan Kami','Contoh-contoh Skrin dan Laporan','Jualan','Rekod Jualan','Perbelanjaan','Rekod Perbelanjaan','Umum','Ketetapan Umum','Laporan','Contoh-contoh laporan','Tetapan','Ketetapan setup Pentadbir','Pautan','Pautan Tambahan','','','','','','','','','','','','','testimoni','','','','','','','','','','','','','','','','','','','','Team Kami','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','Untuk melanggan SPS Lite, hubungi kami di talian +03-6185 9970 atau emel ke info@salihinpremier.com.'),(26,0,'','','','SPS Lite','','Mengapa SPS Lite ?','Ciri-ciri','Testimoni','Langgan SPS Lite','Hubungi Kami','#services','#portfolio','#about-section','#team-section','#contact','Selamat Datang ke SPS Lite','Memudahkan Perniagaan Anda','Free Trial / Login','http://demo.spslite.my/login',0,0,'2016-07-20 11:36:48','Mengapa SPS Lite?','Mengapa SPS Lite','Responsif','Responsive dengan semua device termasuk tablet dan smartphone','Dwibahasa','Dalam Bahasa Malaysia dan Inggeris','Mesra Pengguna','','Untung dan Rugi','Laporan Untung dan Rugi semudah ABC','Kewangan','Laporan Kewangan semudah ABC','Pengkomputeran Awam','Membawa anda ke era Digital','Perkhidmatan Kami','Contoh-contoh Skrin dan Laporan','Jualan','Rekod Jualan','Perbelanjaan','Rekod Perbelanjaan','Umum','Ketetapan Umum','Laporan','Contoh-contoh laporan','Tetapan','Ketetapan setup Pentadbir','Pautan','Pautan Tambahan','','','','','','','','','','','','','testimoni','','','','','','','','','','','','','','','','','','','','Team Kami','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','Untuk melanggan SPS Lite, hubungi kami di talian +03-6185 9970 atau emel ke info@salihinpremier.com.'),(27,0,'','','','SPS Lite','','Mengapa SPS Lite ?','Ciri-ciri','Testimoni','Langgan SPS Lite','Hubungi Kami','#services','#portfolio','#about-section','#team-section','#contact','Selamat Datang ke SPS Lite','Memudahkan Perniagaan Anda','Free Trial / Login','http://demo.spslite.my/login',0,0,'2016-07-20 11:36:48','Mengapa SPS Lite?','Mengapa SPS Lite','Responsif','Responsive dengan semua device termasuk tablet dan smartphone','Dwibahasa','Dalam Bahasa Malaysia dan Inggeris','Mesra Pengguna','','Untung dan Rugi','Laporan Untung dan Rugi semudah ABC','Kewangan','Laporan Kewangan semudah ABC','Pengkomputeran Awam','Membawa anda ke era Digital','Perkhidmatan Kami','Contoh-contoh Skrin dan Laporan','Jualan','Rekod Jualan','Perbelanjaan','Rekod Perbelanjaan','Umum','Ketetapan Umum','Laporan','Contoh-contoh laporan','Tetapan','Ketetapan setup Pentadbir','Pautan','Pautan Tambahan','','','','','','','','','','','','','testimoni','','','','','','','','','','','','','','','','','','','','Team Kami','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','Untuk melanggan SPS Lite, hubungi kami di talian +03-6185 9970 atau emel ke info@salihinpremier.com.');
/*!40000 ALTER TABLE `web` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `zakat_center`
--

DROP TABLE IF EXISTS `zakat_center`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `zakat_center` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `shortName` varchar(12) NOT NULL DEFAULT '0',
  `name` varchar(128) NOT NULL,
  `line1` varchar(128) NOT NULL,
  `line2` varchar(128) NOT NULL,
  `line3` varchar(128) NOT NULL,
  `city` varchar(64) NOT NULL,
  `postCode` varchar(8) NOT NULL,
  `stateID` int(11) NOT NULL,
  `countryID` int(11) NOT NULL,
  `noTel` varchar(50) NOT NULL,
  `noFax` varchar(50) NOT NULL,
  `email` varchar(128) NOT NULL,
  `website` varchar(128) NOT NULL,
  `is_delete` tinyint(4) NOT NULL DEFAULT '0',
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `createdBy` int(11) NOT NULL,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `zakat_center`
--

LOCK TABLES `zakat_center` WRITE;
/*!40000 ALTER TABLE `zakat_center` DISABLE KEYS */;
/*!40000 ALTER TABLE `zakat_center` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `zakat_details`
--

DROP TABLE IF EXISTS `zakat_details`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `zakat_details` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `zakatSummaryID` int(11) NOT NULL,
  `acctGroup` varchar(64) DEFAULT NULL,
  `desc` varchar(64) DEFAULT NULL,
  `amount` double DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `zakat_details`
--

LOCK TABLES `zakat_details` WRITE;
/*!40000 ALTER TABLE `zakat_details` DISABLE KEYS */;
/*!40000 ALTER TABLE `zakat_details` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `zakat_group`
--

DROP TABLE IF EXISTS `zakat_group`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `zakat_group` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL DEFAULT '1',
  `name` varchar(50) DEFAULT NULL,
  `description` varchar(255) DEFAULT NULL,
  `parentID` int(11) DEFAULT '0',
  `sequence` int(11) DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `zakat_group`
--

LOCK TABLES `zakat_group` WRITE;
/*!40000 ALTER TABLE `zakat_group` DISABLE KEYS */;
/*!40000 ALTER TABLE `zakat_group` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `zakat_group_details`
--

DROP TABLE IF EXISTS `zakat_group_details`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `zakat_group_details` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL DEFAULT '1',
  `groupID` int(11) DEFAULT NULL,
  `acctID` int(11) DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `zakat_group_details`
--

LOCK TABLES `zakat_group_details` WRITE;
/*!40000 ALTER TABLE `zakat_group_details` DISABLE KEYS */;
/*!40000 ALTER TABLE `zakat_group_details` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `zakat_nisab`
--

DROP TABLE IF EXISTS `zakat_nisab`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `zakat_nisab` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL DEFAULT '0',
  `centerID` int(11) DEFAULT NULL,
  `year` year(4) DEFAULT NULL,
  `nisab` double DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `zakat_nisab`
--

LOCK TABLES `zakat_nisab` WRITE;
/*!40000 ALTER TABLE `zakat_nisab` DISABLE KEYS */;
/*!40000 ALTER TABLE `zakat_nisab` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `zakat_summary`
--

DROP TABLE IF EXISTS `zakat_summary`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `zakat_summary` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL DEFAULT '1',
  `centerID` int(11) NOT NULL DEFAULT '1',
  `year` varchar(4) DEFAULT NULL,
  `calculationMethod` varchar(32) NOT NULL,
  `muslimOwnershipShare` double NOT NULL,
  `nisab` double NOT NULL,
  `netCurrentAsset` double NOT NULL,
  `totalDueForZakat` double NOT NULL,
  `zakatPayableForTheYear` double NOT NULL,
  `monthlyZakatPayable` double NOT NULL,
  `totalAmount` double DEFAULT NULL,
  `totalZakatPaid` double DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `zakat_summary`
--

LOCK TABLES `zakat_summary` WRITE;
/*!40000 ALTER TABLE `zakat_summary` DISABLE KEYS */;
/*!40000 ALTER TABLE `zakat_summary` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Final view structure for view `view_account_balance`
--

/*!50001 DROP TABLE IF EXISTS `view_account_balance`*/;
/*!50001 DROP VIEW IF EXISTS `view_account_balance`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_account_balance` AS select `a`.`companyID` AS `companyID`,`a`.`acctID` AS `acctID`,concat(left(`b`.`acctCode`,4),'-',substr(`b`.`acctCode`,4,3),'-',right(`b`.`acctCode`,2),' ',`b`.`acctName`) AS `acctName`,`a`.`year` AS `year`,`a`.`period` AS `period`,sum(`a`.`total`) AS `closing` from (`comp_acc_det` `a` join `comp_chart_of_acct` `b`) where (`b`.`ID` = `a`.`acctID`) group by `a`.`companyID`,`a`.`acctID`,`b`.`acctName`,`a`.`year`,`a`.`period` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_ar_inventory`
--

/*!50001 DROP TABLE IF EXISTS `view_ar_inventory`*/;
/*!50001 DROP VIEW IF EXISTS `view_ar_inventory`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_ar_inventory` AS select `comp_sales_invoice`.`companyID` AS `companyID`,`comp_sales_invoice`.`customerID` AS `customerID`,concat(`comp_sales_invoice`.`formNo`,'[',convert(lpad(`comp_sales_invoice`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`comp_sales_invoice`.`salesInvoiceDate` AS `salesinvoiceDate`,`comp_sales_invoice`.`totalReceivable` AS `totalReceivable` from `comp_sales_invoice` where (`comp_sales_invoice`.`totalReceivable` > 0) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_ar_open_position`
--

/*!50001 DROP TABLE IF EXISTS `view_ar_open_position`*/;
/*!50001 DROP VIEW IF EXISTS `view_ar_open_position`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_ar_open_position` AS select `a`.`companyID` AS `companyID`,`a`.`ID` AS `customerID`,`a`.`customerName` AS `customerName`,`a`.`phoneNumber1` AS `phoneNumber1`,`a`.`email` AS `email`,(select sum(`inv`.`totalReceivable`) from (`comp_sales_invoice` `inv` join `terms`) where ((`inv`.`termsID` = `terms`.`ID`) and (`inv`.`companyID` = `a`.`companyID`) and (`inv`.`customerID` = `a`.`ID`) and ((timestampdiff(DAY,`inv`.`salesInvoiceDate`,now()) - `terms`.`dueDays`) <= -(90)))) AS `due120`,(select sum(`inv`.`totalReceivable`) from (`comp_sales_invoice` `inv` join `terms`) where ((`inv`.`termsID` = `terms`.`ID`) and (`inv`.`companyID` = `a`.`companyID`) and (`inv`.`customerID` = `a`.`ID`) and ((timestampdiff(DAY,`inv`.`salesInvoiceDate`,now()) - `terms`.`dueDays`) > -(90)) and ((timestampdiff(DAY,`inv`.`salesInvoiceDate`,now()) - `terms`.`dueDays`) <= -(60)))) AS `due90`,(select sum(`inv`.`totalReceivable`) from (`comp_sales_invoice` `inv` join `terms`) where ((`inv`.`termsID` = `terms`.`ID`) and (`inv`.`companyID` = `a`.`companyID`) and (`inv`.`customerID` = `a`.`ID`) and ((timestampdiff(DAY,`inv`.`salesInvoiceDate`,now()) - `terms`.`dueDays`) > -(60)) and ((timestampdiff(DAY,`inv`.`salesInvoiceDate`,now()) - `terms`.`dueDays`) <= -(30)))) AS `due60`,(select sum(`inv`.`totalReceivable`) from (`comp_sales_invoice` `inv` join `terms`) where ((`inv`.`termsID` = `terms`.`ID`) and (`inv`.`companyID` = `a`.`companyID`) and (`inv`.`customerID` = `a`.`ID`) and ((timestampdiff(DAY,`inv`.`salesInvoiceDate`,now()) - `terms`.`dueDays`) > -(30)) and ((timestampdiff(DAY,`inv`.`salesInvoiceDate`,now()) - `terms`.`dueDays`) <= -(5)))) AS `due30`,(select sum(`inv`.`totalReceivable`) from (`comp_sales_invoice` `inv` join `terms`) where ((`inv`.`termsID` = `terms`.`ID`) and (`inv`.`companyID` = `a`.`companyID`) and (`inv`.`customerID` = `a`.`ID`) and ((timestampdiff(DAY,`inv`.`salesInvoiceDate`,now()) - `terms`.`dueDays`) > -(5)) and ((timestampdiff(DAY,`inv`.`salesInvoiceDate`,now()) - `terms`.`dueDays`) <= 5))) AS `due0`,(select sum(`inv`.`totalReceivable`) from (`comp_sales_invoice` `inv` join `terms`) where ((`inv`.`termsID` = `terms`.`ID`) and (`inv`.`companyID` = `a`.`companyID`) and (`inv`.`customerID` = `a`.`ID`) and ((timestampdiff(DAY,`inv`.`salesInvoiceDate`,now()) - `terms`.`dueDays`) > 5) and ((timestampdiff(DAY,`inv`.`salesInvoiceDate`,now()) - `terms`.`dueDays`) <= 30))) AS `pastDue30`,(select sum(`inv`.`totalReceivable`) from (`comp_sales_invoice` `inv` join `terms`) where ((`inv`.`termsID` = `terms`.`ID`) and (`inv`.`companyID` = `a`.`companyID`) and (`inv`.`customerID` = `a`.`ID`) and ((timestampdiff(DAY,`inv`.`salesInvoiceDate`,now()) - `terms`.`dueDays`) > 30) and ((timestampdiff(DAY,`inv`.`salesInvoiceDate`,now()) - `terms`.`dueDays`) <= 60))) AS `pastDue60`,(select sum(`inv`.`totalReceivable`) from (`comp_sales_invoice` `inv` join `terms`) where ((`inv`.`termsID` = `terms`.`ID`) and (`inv`.`companyID` = `a`.`companyID`) and (`inv`.`customerID` = `a`.`ID`) and ((timestampdiff(DAY,`inv`.`salesInvoiceDate`,now()) - `terms`.`dueDays`) > 60) and ((timestampdiff(DAY,`inv`.`salesInvoiceDate`,now()) - `terms`.`dueDays`) <= 90))) AS `pastDue90`,(select sum(`inv`.`totalReceivable`) from (`comp_sales_invoice` `inv` join `terms`) where ((`inv`.`termsID` = `terms`.`ID`) and (`inv`.`companyID` = `a`.`companyID`) and (`inv`.`customerID` = `a`.`ID`) and ((timestampdiff(DAY,`inv`.`salesInvoiceDate`,now()) - `terms`.`dueDays`) > 90) and ((timestampdiff(DAY,`inv`.`salesInvoiceDate`,now()) - `terms`.`dueDays`) <= 120))) AS `pastDue120`,(select sum(`inv`.`totalReceivable`) from (`comp_sales_invoice` `inv` join `terms`) where ((`inv`.`termsID` = `terms`.`ID`) and (`inv`.`companyID` = `a`.`companyID`) and (`inv`.`customerID` = `a`.`ID`) and ((timestampdiff(DAY,`inv`.`salesInvoiceDate`,now()) - `terms`.`dueDays`) > 120))) AS `pastDue` from `customer` `a` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_asset_report`
--

/*!50001 DROP TABLE IF EXISTS `view_asset_report`*/;
/*!50001 DROP VIEW IF EXISTS `view_asset_report`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_asset_report` AS select `a`.`ID` AS `acctID`,`a`.`companyID` AS `companyID`,`a`.`acctGroupID` AS `acctGroupID`,`a`.`acctCode` AS `acctCode`,`a`.`acctName` AS `acctName`,if(((year(`a`.`createdTS`) = `c`.`year`) or isnull(`c`.`year`)),`a`.`openingBalanceDr`,ifnull((select `view_total_debitcredit`.`balance` from `view_total_debitcredit` where ((`view_total_debitcredit`.`acctID` = `a`.`ID`) and ((`view_total_debitcredit`.`year` - 1) = `c`.`year`))),0)) AS `openingBalanceDr`,`a`.`openingBalanceCr` AS `openingBalanceCr`,`c`.`year` AS `year`,(if(((year(`a`.`createdTS`) = `c`.`year`) or isnull(`c`.`year`)),`a`.`openingBalanceDr`,ifnull((select `view_total_debitcredit`.`balance` from `view_total_debitcredit` where ((`view_total_debitcredit`.`acctID` = `a`.`ID`) and ((`view_total_debitcredit`.`year` - 1) = `c`.`year`))),0)) + ifnull(sum(if((`c`.`formNo` like '%OP-A%'),`c`.`amount_dr`,0)),0)) AS `balanceAsset`,ifnull(sum(if((`c`.`period` = 1),`c`.`amount_dr`,0)),0) AS `january`,ifnull(sum(if((`c`.`period` = 2),`c`.`amount_dr`,0)),0) AS `february`,ifnull(sum(if((`c`.`period` = 3),`c`.`amount_dr`,0)),0) AS `march`,ifnull(sum(if((`c`.`period` = 4),`c`.`amount_dr`,0)),0) AS `april`,ifnull(sum(if((`c`.`period` = 5),`c`.`amount_dr`,0)),0) AS `may`,ifnull(sum(if((`c`.`period` = 6),`c`.`amount_dr`,0)),0) AS `june`,ifnull(sum(if((`c`.`period` = 7),`c`.`amount_dr`,0)),0) AS `july`,ifnull(sum(if((`c`.`period` = 8),`c`.`amount_dr`,0)),0) AS `august`,ifnull(sum(if((`c`.`period` = 9),`c`.`amount_dr`,0)),0) AS `september`,ifnull(sum(if((`c`.`period` = 10),`c`.`amount_dr`,0)),0) AS `october`,ifnull(sum(if((`c`.`period` = 11),`c`.`amount_dr`,0)),0) AS `november`,ifnull(sum(if((`c`.`period` = 12),`c`.`amount_dr`,0)),0) AS `december` from ((`comp_chart_of_acct` `a` left join `comp_journal_detail` `c` on((`a`.`ID` = `c`.`acctCode`))) left join `comp_journal` `b` on(((`b`.`journalID` = `c`.`journalID`) and (`c`.`companyID` = `b`.`companyID`)))) where ((`a`.`is_delete` = 0) and (`b`.`is_delete` = 0) and (`a`.`acctGroupID` = 2)) group by `a`.`companyID`,`a`.`acctGroupID`,`a`.`acctCode`,`a`.`acctName`,`a`.`openingBalanceDr`,`a`.`openingBalanceCr`,`c`.`year` having ((`openingBalanceDr` > 0) or (`balanceAsset` > 0) or ((((((((((((`january` + `february`) + `march`) + `april`) + `may`) + `june`) + `july`) + `august`) + `september`) + `october`) + `november`) + `december`) > 0)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_balance_sheet`
--

/*!50001 DROP TABLE IF EXISTS `view_balance_sheet`*/;
/*!50001 DROP VIEW IF EXISTS `view_balance_sheet`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_balance_sheet` AS select `a`.`acctCode` AS `acctCode`,`a`.`acctName` AS `acctName`,`a`.`acctGroupID` AS `acctGroupID`,sum(`b`.`amountdr`) AS `currentyeardebit`,sum(`b`.`amountcr`) AS `currentyearcredit`,sum(`c`.`amountdr`) AS `lastyeardebit`,sum(`c`.`amountcr`) AS `lastyearcredit` from ((`comp_chart_of_acct` `a` left join `comp_acc_det` `b` on(((`b`.`acctID` = `a`.`ID`) and (`b`.`year` = 2014) and (`b`.`period` <= 9)))) left join `comp_acc_det` `c` on(((`c`.`acctID` = `a`.`ID`) and (`c`.`year` < 2014)))) where (`a`.`companyID` = '110') group by `a`.`acctCode` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_bank_reconcile`
--

/*!50001 DROP TABLE IF EXISTS `view_bank_reconcile`*/;
/*!50001 DROP VIEW IF EXISTS `view_bank_reconcile`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_bank_reconcile` AS select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,'comp_cash_sales' AS `tableName`,`a`.`bankID` AS `bankID`,`a`.`referenceNo` AS `referenceNo`,`a`.`salesInvoiceDate` AS `transDate`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`a`.`paymentFrom` AS `description`,`a`.`totalAmountIncludeTax` AS `debitAmount`,0 AS `creditAmount` from (`comp_cash_sales` `a` join `comp_journal` `b` on((convert(`a`.`journalNo` using utf8) = `b`.`journalID`))) where ((`a`.`bankReconcileID` = 0) and (`b`.`status` = 1)) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,'comp_receive_payment' AS `tableName`,`a`.`bankID` AS `bankID`,`a`.`referenceNo` AS `referenceNo`,`a`.`receivePaymentDate` AS `transDate`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`b`.`customerName` AS `description`,`a`.`totalReceived` AS `debitAmount`,0 AS `creditAmount` from ((`comp_receive_payment` `a` join `comp_journal` `c` on((convert(`a`.`journalNo` using utf8) = `c`.`journalID`))) join `customer` `b`) where ((`a`.`bankReconcileID` = 0) and (`a`.`customerID` = `b`.`ID`) and (`c`.`status` = 1)) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,'comp_receive_payment_others' AS `tableName`,`a`.`bankID` AS `bankID`,`a`.`referenceNo` AS `referenceNo`,`a`.`receivePaymentDate` AS `transDate`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`a`.`receiveFrom` AS `description`,`a`.`totalReceived` AS `debitAmount`,0 AS `creditAmount` from (`comp_receive_payment_others` `a` join `comp_journal` `c` on((convert(`a`.`journalNo` using utf8) = `c`.`journalID`))) where ((`a`.`bankReconcileID` = 0) and (`c`.`status` = 1)) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,'comp_payment' AS `tableName`,`a`.`bankID` AS `bankID`,`a`.`referenceNo` AS `referenceNo`,`a`.`paymentDate` AS `transDate`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`b`.`supplierName` AS `description`,0 AS `debitAmount`,`a`.`totalPaid` AS `creditAmount` from ((`comp_payment` `a` join `comp_journal` `c` on((convert(`a`.`journalNo` using utf8) = `c`.`journalID`))) join `supplier` `b`) where ((`a`.`bankReconcileID` = 0) and (`a`.`supplierID` = `b`.`ID`) and (`c`.`status` = 1)) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,'comp_payment_others' AS `tableName`,`a`.`bankId` AS `bankID`,`a`.`referenceNo` AS `referenceNo`,`a`.`paymentDate` AS `transDate`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`a`.`payTo` AS `description`,0 AS `debitAmount`,`a`.`amountPaid` AS `creditAmount` from (`comp_payment_others` `a` join `comp_journal` `c` on((convert(`a`.`journalNo` using utf8) = `c`.`journalID`))) where ((`a`.`bankReconcileID` = 0) and (`c`.`status` = 1)) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,'comp_journal_detail' AS `tableName`,`b`.`ID` AS `bankID`,`c`.`referrence` AS `referenceNo`,`c`.`effective_date` AS `transDate`,`a`.`journalID` AS `formNo`,`a`.`description` AS `description`,`a`.`amount_dr` AS `debitAmount`,`a`.`amount_cr` AS `creditAmount` from ((`comp_journal_detail` `a` left join `comp_bank` `b` on((`a`.`acctCode` = `b`.`linkAccountID`))) left join `comp_journal` `c` on((`c`.`journalID` = `a`.`journalID`))) where ((`a`.`bankReconcileID` = 0) and isnull(`a`.`formNo`) and (`c`.`status` = 1) and (`c`.`module` = 1)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_bank_reconcile_reverse`
--

/*!50001 DROP TABLE IF EXISTS `view_bank_reconcile_reverse`*/;
/*!50001 DROP VIEW IF EXISTS `view_bank_reconcile_reverse`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_bank_reconcile_reverse` AS select `a`.`bankReconcileID` AS `bankReconcileID`,`a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,'comp_cash_sales' AS `tableName`,`a`.`bankID` AS `bankID`,`a`.`referenceNo` AS `referenceNo`,`a`.`salesInvoiceDate` AS `transDate`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`a`.`paymentFrom` AS `description`,`a`.`totalAmountIncludeTax` AS `debitAmount`,0 AS `creditAmount` from `comp_cash_sales` `a` where (`a`.`bankReconcileID` <> 0) union select `a`.`bankReconcileID` AS `bankReconcileID`,`a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,'comp_receive_payment' AS `tableName`,`a`.`bankID` AS `bankID`,`a`.`referenceNo` AS `referenceNo`,`a`.`receivePaymentDate` AS `transDate`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`b`.`customerName` AS `description`,`a`.`totalReceived` AS `debitAmount`,0 AS `creditAmount` from (`comp_receive_payment` `a` join `customer` `b`) where ((`a`.`bankReconcileID` <> 0) and (`a`.`customerID` = `b`.`ID`)) union select `a`.`bankReconcileID` AS `bankReconcileID`,`a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,'comp_receive_payment_others' AS `tableName`,`a`.`bankID` AS `bankID`,`a`.`referenceNo` AS `referenceNo`,`a`.`receivePaymentDate` AS `transDate`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`a`.`receiveFrom` AS `description`,`a`.`totalReceived` AS `debitAmount`,0 AS `creditAmount` from `comp_receive_payment_others` `a` where (`a`.`bankReconcileID` <> 0) union select `a`.`bankReconcileID` AS `bankReconcileID`,`a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,'comp_receive_payment_others' AS `tableName`,`a`.`bankID` AS `bankID`,`a`.`referenceNo` AS `referenceNo`,`a`.`receivePaymentDate` AS `transDate`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`a`.`receiveFrom` AS `description`,`a`.`totalReceived` AS `debitAmount`,0 AS `creditAmount` from `comp_receive_payment_others` `a` where (`a`.`bankReconcileID` <> 0) union select `a`.`bankReconcileID` AS `bankReconcileID`,`a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,'comp_payment' AS `tableName`,`a`.`bankID` AS `bankID`,`a`.`referenceNo` AS `referenceNo`,`a`.`paymentDate` AS `transDate`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`b`.`supplierName` AS `description`,0 AS `debitAmount`,`a`.`totalPaid` AS `creditAmount` from (`comp_payment` `a` join `supplier` `b`) where ((`a`.`bankReconcileID` <> 0) and (`a`.`supplierID` = `b`.`ID`)) union select `a`.`bankReconcileID` AS `bankReconcileID`,`a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,'comp_payment_others' AS `tableName`,`a`.`bankId` AS `bankID`,`a`.`referenceNo` AS `referenceNo`,`a`.`paymentDate` AS `transDate`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`a`.`payTo` AS `description`,0 AS `debitAmount`,`a`.`amountPaid` AS `creditAmount` from `comp_payment_others` `a` where (`a`.`bankReconcileID` <> 0) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_chart_of_acct_updateable`
--

/*!50001 DROP TABLE IF EXISTS `view_chart_of_acct_updateable`*/;
/*!50001 DROP VIEW IF EXISTS `view_chart_of_acct_updateable`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_chart_of_acct_updateable` AS select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`a`.`acctGroupID` AS `acctGroupID`,`a`.`acctCode` AS `acctCode`,`a`.`acctName` AS `acctName`,`a`.`acctDesc` AS `acctDesc`,if((((select count(`comp_journal_detail`.`ID`) from `comp_journal_detail` where (`comp_journal_detail`.`acctCode` = `a`.`ID`)) + (select count(`comp_opening_balance`.`ID`) from `comp_opening_balance` where ((`comp_opening_balance`.`accountID` = `a`.`ID`) and ((`comp_opening_balance`.`debit` + `comp_opening_balance`.`credit`) > 0)))) > 0),10,1) AS `updateable` from `comp_chart_of_acct` `a` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_comp_acc_det`
--

/*!50001 DROP TABLE IF EXISTS `view_comp_acc_det`*/;
/*!50001 DROP VIEW IF EXISTS `view_comp_acc_det`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_comp_acc_det` AS select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`a`.`acctGroupID` AS `acctGroupID`,`a`.`acctID` AS `acctID`,`a`.`year` AS `year`,`a`.`period` AS `period`,(select coalesce(sum(`comp_journal_detail`.`amount_dr`),0) from `comp_journal_detail` where ((`comp_journal_detail`.`companyID` = `a`.`companyID`) and (`comp_journal_detail`.`acctCode` = `a`.`acctID`) and (`comp_journal_detail`.`period` = `a`.`period`) and (`comp_journal_detail`.`year` = `a`.`year`) and (`comp_journal_detail`.`status` = 1) and (`comp_journal_detail`.`is_delete` = 0))) AS `amountdr`,(select coalesce(sum(`comp_journal_detail`.`amount_cr`),0) from `comp_journal_detail` where ((`comp_journal_detail`.`companyID` = `a`.`companyID`) and (`comp_journal_detail`.`acctCode` = `a`.`acctID`) and (`comp_journal_detail`.`period` = `a`.`period`) and (`comp_journal_detail`.`year` = `a`.`year`) and (`comp_journal_detail`.`status` = 1) and (`comp_journal_detail`.`is_delete` = 0))) AS `amountcr`,(select (coalesce(sum(`comp_journal_detail`.`amount_dr`),0) - coalesce(sum(`comp_journal_detail`.`amount_cr`),0)) from `comp_journal_detail` where ((`comp_journal_detail`.`companyID` = `a`.`companyID`) and (`comp_journal_detail`.`acctCode` = `a`.`acctID`) and (`comp_journal_detail`.`period` = `a`.`period`) and (`comp_journal_detail`.`year` = `a`.`year`) and (`comp_journal_detail`.`status` = 1) and (`comp_journal_detail`.`is_delete` = 0))) AS `total`,`a`.`createdBy` AS `createdBy`,`a`.`createdTS` AS `createdTS`,`a`.`updatedBy` AS `updatedBy`,`a`.`updatedTS` AS `updatedTS`,`a`.`is_delete` AS `is_delete` from `comp_acc_det` `a` where ((`a`.`companyID` > 0) and (`a`.`acctID` > 0) and (`a`.`year` > 0) and (`a`.`period` > 0)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_customer_aging`
--

/*!50001 DROP TABLE IF EXISTS `view_customer_aging`*/;
/*!50001 DROP VIEW IF EXISTS `view_customer_aging`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_customer_aging` AS select `a`.`companyID` AS `companyID`,`a`.`ID` AS `customerID`,`a`.`customerName` AS `customerName`,`a`.`phoneNumber1` AS `phoneNumber1`,`a`.`email` AS `email`,((ifnull((select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) = 0) and (`comp_sales_invoice`.`updateAble` = 0) and (`comp_sales_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_sales_debitnote`.`total`) from `comp_sales_debitnote` where ((`comp_sales_debitnote`.`companyID` = `a`.`companyID`) and (`comp_sales_debitnote`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_debitnote`.`debitNoteDate`,now()) = 0) and (`comp_sales_debitnote`.`updateAble` = 0) and (`comp_sales_debitnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_customer_invoice`.`totalReceivable`) from `comp_historical_customer_invoice` where ((`comp_historical_customer_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_customer_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_customer_invoice`.`salesInvoiceDate`,now()) = 0) and (`comp_historical_customer_invoice`.`updateAble` = 0) and (`comp_historical_customer_invoice`.`is_delete` = 0))),0)) AS `current`,((ifnull((select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) = 1) and (`comp_sales_invoice`.`updateAble` = 0) and (`comp_sales_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_sales_debitnote`.`total`) from `comp_sales_debitnote` where ((`comp_sales_debitnote`.`companyID` = `a`.`companyID`) and (`comp_sales_debitnote`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_debitnote`.`debitNoteDate`,now()) = 1) and (`comp_sales_debitnote`.`updateAble` = 0) and (`comp_sales_debitnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_customer_invoice`.`totalReceivable`) from `comp_historical_customer_invoice` where ((`comp_historical_customer_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_customer_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_customer_invoice`.`salesInvoiceDate`,now()) = 1) and (`comp_historical_customer_invoice`.`updateAble` = 0) and (`comp_historical_customer_invoice`.`is_delete` = 0))),0)) AS `month1`,((ifnull((select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) = 2) and (`comp_sales_invoice`.`updateAble` = 0) and (`comp_sales_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_sales_debitnote`.`total`) from `comp_sales_debitnote` where ((`comp_sales_debitnote`.`companyID` = `a`.`companyID`) and (`comp_sales_debitnote`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_debitnote`.`debitNoteDate`,now()) = 2) and (`comp_sales_debitnote`.`updateAble` = 0) and (`comp_sales_debitnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_customer_invoice`.`totalReceivable`) from `comp_historical_customer_invoice` where ((`comp_historical_customer_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_customer_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_customer_invoice`.`salesInvoiceDate`,now()) = 2) and (`comp_historical_customer_invoice`.`updateAble` = 0) and (`comp_historical_customer_invoice`.`is_delete` = 0))),0)) AS `month2`,((ifnull((select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) = 3) and (`comp_sales_invoice`.`updateAble` = 0) and (`comp_sales_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_sales_debitnote`.`total`) from `comp_sales_debitnote` where ((`comp_sales_debitnote`.`companyID` = `a`.`companyID`) and (`comp_sales_debitnote`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_debitnote`.`debitNoteDate`,now()) = 3) and (`comp_sales_debitnote`.`updateAble` = 0) and (`comp_sales_debitnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_customer_invoice`.`totalReceivable`) from `comp_historical_customer_invoice` where ((`comp_historical_customer_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_customer_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_customer_invoice`.`salesInvoiceDate`,now()) = 3) and (`comp_historical_customer_invoice`.`updateAble` = 0) and (`comp_historical_customer_invoice`.`is_delete` = 0))),0)) AS `month3`,((ifnull((select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) = 4) and (`comp_sales_invoice`.`updateAble` = 0) and (`comp_sales_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_sales_debitnote`.`total`) from `comp_sales_debitnote` where ((`comp_sales_debitnote`.`companyID` = `a`.`companyID`) and (`comp_sales_debitnote`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_debitnote`.`debitNoteDate`,now()) = 4) and (`comp_sales_debitnote`.`updateAble` = 0) and (`comp_sales_debitnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_customer_invoice`.`totalReceivable`) from `comp_historical_customer_invoice` where ((`comp_historical_customer_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_customer_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_customer_invoice`.`salesInvoiceDate`,now()) = 4) and (`comp_historical_customer_invoice`.`updateAble` = 0) and (`comp_historical_customer_invoice`.`is_delete` = 0))),0)) AS `month4`,((ifnull((select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) = 5) and (`comp_sales_invoice`.`updateAble` = 0) and (`comp_sales_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_sales_debitnote`.`total`) from `comp_sales_debitnote` where ((`comp_sales_debitnote`.`companyID` = `a`.`companyID`) and (`comp_sales_debitnote`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_debitnote`.`debitNoteDate`,now()) = 5) and (`comp_sales_debitnote`.`updateAble` = 0) and (`comp_sales_debitnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_customer_invoice`.`totalReceivable`) from `comp_historical_customer_invoice` where ((`comp_historical_customer_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_customer_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_customer_invoice`.`salesInvoiceDate`,now()) = 5) and (`comp_historical_customer_invoice`.`updateAble` = 0) and (`comp_historical_customer_invoice`.`is_delete` = 0))),0)) AS `month5`,((ifnull((select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) = 6) and (`comp_sales_invoice`.`updateAble` = 0) and (`comp_sales_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_sales_debitnote`.`total`) from `comp_sales_debitnote` where ((`comp_sales_debitnote`.`companyID` = `a`.`companyID`) and (`comp_sales_debitnote`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_debitnote`.`debitNoteDate`,now()) = 6) and (`comp_sales_debitnote`.`updateAble` = 0) and (`comp_sales_debitnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_customer_invoice`.`totalReceivable`) from `comp_historical_customer_invoice` where ((`comp_historical_customer_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_customer_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_customer_invoice`.`salesInvoiceDate`,now()) = 6) and (`comp_historical_customer_invoice`.`updateAble` = 0) and (`comp_historical_customer_invoice`.`is_delete` = 0))),0)) AS `month6`,((ifnull((select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) = 7) and (`comp_sales_invoice`.`updateAble` = 0) and (`comp_sales_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_sales_debitnote`.`total`) from `comp_sales_debitnote` where ((`comp_sales_debitnote`.`companyID` = `a`.`companyID`) and (`comp_sales_debitnote`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_debitnote`.`debitNoteDate`,now()) = 7) and (`comp_sales_debitnote`.`updateAble` = 0) and (`comp_sales_debitnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_customer_invoice`.`totalReceivable`) from `comp_historical_customer_invoice` where ((`comp_historical_customer_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_customer_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_customer_invoice`.`salesInvoiceDate`,now()) = 7) and (`comp_historical_customer_invoice`.`updateAble` = 0) and (`comp_historical_customer_invoice`.`is_delete` = 0))),0)) AS `month7`,((ifnull((select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) = 8) and (`comp_sales_invoice`.`updateAble` = 0) and (`comp_sales_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_sales_debitnote`.`total`) from `comp_sales_debitnote` where ((`comp_sales_debitnote`.`companyID` = `a`.`companyID`) and (`comp_sales_debitnote`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_debitnote`.`debitNoteDate`,now()) = 8) and (`comp_sales_debitnote`.`updateAble` = 0) and (`comp_sales_debitnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_customer_invoice`.`totalReceivable`) from `comp_historical_customer_invoice` where ((`comp_historical_customer_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_customer_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_customer_invoice`.`salesInvoiceDate`,now()) = 8) and (`comp_historical_customer_invoice`.`updateAble` = 0) and (`comp_historical_customer_invoice`.`is_delete` = 0))),0)) AS `month8`,((ifnull((select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) = 9) and (`comp_sales_invoice`.`updateAble` = 0) and (`comp_sales_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_sales_debitnote`.`total`) from `comp_sales_debitnote` where ((`comp_sales_debitnote`.`companyID` = `a`.`companyID`) and (`comp_sales_debitnote`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_debitnote`.`debitNoteDate`,now()) = 9) and (`comp_sales_debitnote`.`updateAble` = 0) and (`comp_sales_debitnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_customer_invoice`.`totalReceivable`) from `comp_historical_customer_invoice` where ((`comp_historical_customer_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_customer_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_customer_invoice`.`salesInvoiceDate`,now()) = 9) and (`comp_historical_customer_invoice`.`updateAble` = 0) and (`comp_historical_customer_invoice`.`is_delete` = 0))),0)) AS `month9`,((ifnull((select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) = 10) and (`comp_sales_invoice`.`updateAble` = 0) and (`comp_sales_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_sales_debitnote`.`total`) from `comp_sales_debitnote` where ((`comp_sales_debitnote`.`companyID` = `a`.`companyID`) and (`comp_sales_debitnote`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_debitnote`.`debitNoteDate`,now()) = 10) and (`comp_sales_debitnote`.`updateAble` = 0) and (`comp_sales_debitnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_customer_invoice`.`totalReceivable`) from `comp_historical_customer_invoice` where ((`comp_historical_customer_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_customer_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_customer_invoice`.`salesInvoiceDate`,now()) = 10) and (`comp_historical_customer_invoice`.`updateAble` = 0) and (`comp_historical_customer_invoice`.`is_delete` = 0))),0)) AS `month10`,((ifnull((select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) > 10) and (`comp_sales_invoice`.`updateAble` = 0) and (`comp_sales_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_sales_debitnote`.`total`) from `comp_sales_debitnote` where ((`comp_sales_debitnote`.`companyID` = `a`.`companyID`) and (`comp_sales_debitnote`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_debitnote`.`debitNoteDate`,now()) > 10) and (`comp_sales_debitnote`.`updateAble` = 0) and (`comp_sales_debitnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_customer_invoice`.`totalReceivable`) from `comp_historical_customer_invoice` where ((`comp_historical_customer_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_customer_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_customer_invoice`.`salesInvoiceDate`,now()) > 10) and (`comp_historical_customer_invoice`.`updateAble` = 0) and (`comp_historical_customer_invoice`.`is_delete` = 0))),0)) AS `month11` from `customer` `a` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_customer_statement`
--

/*!50001 DROP TABLE IF EXISTS `view_customer_statement`*/;
/*!50001 DROP VIEW IF EXISTS `view_customer_statement`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_customer_statement` AS select `comp_sales_invoice`.`ID` AS `ID`,`comp_sales_invoice`.`ID` AS `parent`,`comp_sales_invoice`.`companyID` AS `companyID`,`comp_sales_invoice`.`customerID` AS `customerID`,'Invoice' AS `transType`,`comp_sales_invoice`.`salesInvoiceDate` AS `transDate`,`comp_sales_invoice`.`customerPoNo` AS `refNo`,concat(concat(concat(`comp_sales_invoice`.`formNo`,'['),convert(lpad(`comp_sales_invoice`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`comp_sales_invoice`.`totalamount` AS `dr`,NULL AS `cr`,1 AS `seq` from `comp_sales_invoice` where ((`comp_sales_invoice`.`updateAble` = 0) and (`comp_sales_invoice`.`is_delete` = 0)) union select `a`.`ID` AS `ID`,`a`.`salesInvoiceID` AS `parent`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,'DebitNote' AS `transType`,`a`.`debitNoteDate` AS `transDate`,concat(concat(concat(`b`.`formNo`,'['),convert(lpad(`b`.`serialNo`,8,'0') using latin1)),']') AS `refno`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`totalAmount` AS `dr`,NULL AS `cr`,2 AS `seq` from (`comp_sales_debitnote` `a` join `comp_sales_invoice` `b`) where ((`a`.`updateAble` = 0) and (`a`.`is_delete` = 0) and (`b`.`ID` = `a`.`salesInvoiceID`)) union select `a`.`ID` AS `ID`,`a`.`salesInvoiceID` AS `parent`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,'CreditNote' AS `transType`,`a`.`creditNoteDate` AS `transDate`,concat(concat(concat(`b`.`formNo`,'['),convert(lpad(`b`.`serialNo`,8,'0') using latin1)),']') AS `refno`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,NULL AS `dr`,`a`.`totalAmount` AS `cr`,3 AS `seq` from (`comp_sales_creditnote` `a` join `comp_sales_invoice` `b`) where ((`a`.`updateAble` = 0) and (`a`.`is_delete` = 0) and (`b`.`ID` = `a`.`salesInvoiceID`)) union select `b`.`ID` AS `ID`,0 AS `parent`,`b`.`companyID` AS `companyID`,`b`.`customerID` AS `customerID`,if((`b`.`updateAble` = 0),'Payment','** Payment') AS `transType`,`b`.`receivePaymentDate` AS `transDate`,`b`.`referenceNo` AS `refNo`,concat(concat(concat(`b`.`formNo`,'['),convert(lpad(`b`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,NULL AS `dr`,`b`.`totalReceived` AS `cr`,4 AS `seq` from `comp_receive_payment` `b` where (`b`.`is_delete` = 0) union select `b`.`ID` AS `ID`,0 AS `parent`,`b`.`companyID` AS `companyID`,`b`.`customerID` AS `customerID`,'Discount' AS `transType`,`b`.`receivePaymentDate` AS `transDate`,NULL AS `refNo`,concat(concat(concat(`b`.`formNo`,'['),convert(lpad(`b`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,NULL AS `dr`,`b`.`totalDiscount` AS `cr`,4 AS `seq` from `comp_receive_payment` `b` where ((`b`.`totalDiscount` > 0) and (`b`.`updateAble` = 0) and (`b`.`is_delete` = 0)) union select `b`.`ID` AS `ID`,0 AS `parent`,`b`.`companyID` AS `companyID`,`b`.`customerID` AS `customerID`,'Historical Invoice' AS `transType`,`b`.`salesInvoiceDate` AS `transDate`,NULL AS `refNo`,concat(concat(concat(`b`.`formNo`,'['),convert(lpad(`b`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`b`.`totalAmount` AS `dr`,NULL AS `cr`,1 AS `seq` from `comp_historical_customer_invoice` `b` where ((`b`.`updateAble` = 0) and (`b`.`is_delete` = 0)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_expence_and_income`
--

/*!50001 DROP TABLE IF EXISTS `view_expence_and_income`*/;
/*!50001 DROP VIEW IF EXISTS `view_expence_and_income`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_expence_and_income` AS select `a`.`companyID` AS `companyid`,`a`.`year` AS `year`,`a`.`period` AS `period`,`c`.`ID` AS `groupID`,`c`.`acctTypeID` AS `acctType`,coalesce(sum(`a`.`amountdr`),0) AS `totalDr`,coalesce(sum(`a`.`amountcr`),0) AS `totalCr`,if((`c`.`acctTypeID` = 3),(coalesce(sum(`a`.`amountcr`),0) - coalesce(sum(`a`.`amountdr`),0)),(coalesce(sum(`a`.`amountdr`),0) - coalesce(sum(`a`.`amountcr`),0))) AS `balance` from ((`view_comp_acc_det` `a` join `comp_chart_of_acct` `b`) join `_ref_acct_group` `c`) where ((`b`.`ID` = `a`.`acctID`) and (`c`.`ID` = `b`.`acctGroupID`) and (`c`.`acctTypeID` in (3,4)) and (`c`.`title` = 1) and (`a`.`period` > 0) and (`b`.`companyID` > 0)) group by `a`.`companyID`,`a`.`year`,`a`.`period`,`acctType` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_expences_monthly`
--

/*!50001 DROP TABLE IF EXISTS `view_expences_monthly`*/;
/*!50001 DROP VIEW IF EXISTS `view_expences_monthly`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_expences_monthly` AS select `comp_payment_others`.`companyID` AS `companyid`,`comp_payment_others`.`formNo` AS `formno`,year(`comp_payment_others`.`paymentDate`) AS `yy`,month(`comp_payment_others`.`paymentDate`) AS `mm`,sum(`comp_payment_others`.`amountPaid`) AS `amountPaid` from `comp_payment_others` group by `comp_payment_others`.`companyID`,`comp_payment_others`.`formNo`,year(`comp_payment_others`.`paymentDate`),month(`comp_payment_others`.`paymentDate`) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_gaf`
--

/*!50001 DROP TABLE IF EXISTS `view_gaf`*/;
/*!50001 DROP VIEW IF EXISTS `view_gaf`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_gaf` AS select `a`.`companyID` AS `companyID`,'P' AS `col1`,`a`.`supplierName` AS `col2`,`a`.`supplierCompanyNo` AS `col3`,`b`.`invoiceDate` AS `col4`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`serialNo`,8,'0') using latin1),']') AS `col5`,'import declaration number' AS `col6`,`c`.`lineNo` AS `col7`,`c`.`itemdescription` AS `col8`,(`c`.`amountExcludedTax` * `b`.`exchangeRate`) AS `col9`,(`c`.`taxAmount` * `b`.`exchangeRate`) AS `col10`,`e`.`code` AS `col11`,`d`.`fldcurr_code` AS `col12`,`c`.`amountExcludedTax` AS `col13`,`c`.`taxAmount` AS `col14` from ((((`supplier` `a` join `comp_supplier_invoice` `b`) join `comp_supplier_invoice_detail` `c`) join `_ref_currency` `d`) join `tax_master` `e`) where ((`a`.`ID` = `b`.`supplierID`) and (`b`.`ID` = `c`.`invoiceID`) and (`d`.`fldid` = `a`.`currencyID`) and (`e`.`ID` = `c`.`taxID`)) union select `a`.`companyID` AS `companyID`,'P' AS `col1`,`a`.`supplierName` AS `col2`,`a`.`supplierCompanyNo` AS `col3`,`b`.`invoiceDate` AS `col4`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`serialNo`,8,'0') using latin1),']') AS `col5`,'import declaration number' AS `col6`,`c`.`lineNo` AS `col7`,`c`.`itemdescription` AS `col8`,(`c`.`amountExcludedTax` * `b`.`exchangeRate`) AS `col9`,(`c`.`taxAmount` * `b`.`exchangeRate`) AS `col10`,`e`.`code` AS `col11`,`d`.`fldcurr_code` AS `col12`,`c`.`amountExcludedTax` AS `col13`,`c`.`taxAmount` AS `col14` from ((((`supplier` `a` join `comp_supplier_invoice` `b`) join `comp_supplier_invoice_charges` `c`) join `_ref_currency` `d`) join `tax_master` `e`) where ((`a`.`ID` = `b`.`supplierID`) and (`b`.`ID` = `c`.`invoiceID`) and (`d`.`fldid` = `a`.`currencyID`) and (`e`.`ID` = `c`.`taxID`)) union select `a`.`companyID` AS `companyID`,'P' AS `col1`,`a`.`supplierName` AS `col2`,`a`.`supplierCompanyNo` AS `col3`,`b`.`debitNoteDate` AS `col4`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`serialNo`,8,'0') using latin1),']') AS `col5`,'import declaration number' AS `col6`,`c`.`lineNo` AS `col7`,`c`.`itemdescription` AS `col8`,(`c`.`amountExcludedTax` * `b`.`exchangeRate`) AS `col9`,(`c`.`taxAmount` * `b`.`exchangeRate`) AS `col10`,`e`.`code` AS `col11`,`d`.`fldcurr_code` AS `col12`,`c`.`amountExcludedTax` AS `col13`,`c`.`taxAmount` AS `col14` from ((((`supplier` `a` join `comp_supplier_debitnote` `b`) join `comp_supplier_debitnote_detail` `c`) join `_ref_currency` `d`) join `tax_master` `e`) where ((`a`.`ID` = `b`.`supplierID`) and (`b`.`ID` = `c`.`debitnoteID`) and (`d`.`fldid` = `a`.`currencyID`) and (`e`.`ID` = `c`.`taxID`)) union select `a`.`companyID` AS `companyID`,'P' AS `col1`,`a`.`supplierName` AS `col2`,`a`.`supplierCompanyNo` AS `col3`,`b`.`creditNoteDate` AS `col4`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`serialNo`,8,'0') using latin1),']') AS `col5`,'import declaration number' AS `col6`,`c`.`lineNo` AS `col7`,`c`.`itemdescription` AS `col8`,(`c`.`amountExcludedTax` * `b`.`exchangeRate`) AS `col9`,(`c`.`taxAmount` * `b`.`exchangeRate`) AS `col10`,`e`.`code` AS `col11`,`d`.`fldcurr_code` AS `col12`,`c`.`amountExcludedTax` AS `col13`,`c`.`taxAmount` AS `col14` from ((((`supplier` `a` join `comp_supplier_creditnote` `b`) join `comp_supplier_creditnote_detail` `c`) join `_ref_currency` `d`) join `tax_master` `e`) where ((`a`.`ID` = `b`.`supplierID`) and (`b`.`ID` = `c`.`creditnoteID`) and (`d`.`fldid` = `a`.`currencyID`) and (`e`.`ID` = `c`.`taxID`)) union select `a`.`companyID` AS `companyID`,'S' AS `col1`,`a`.`customerName` AS `col2`,`a`.`customerCompanyNo` AS `col3`,`b`.`salesInvoiceDate` AS `col4`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`serialNo`,8,'0') using latin1),']') AS `col5`,`c`.`lineNo` AS `col6`,`g`.`description` AS `col7`,(`c`.`amountExcludedTax` * `b`.`exchangeRate`) AS `col8`,(`c`.`taxAmount` * `b`.`exchangeRate`) AS `col9`,`e`.`code` AS `col10`,`f`.`fldcountry` AS `col11`,`d`.`fldcurr_code` AS `col12`,`c`.`amountExcludedTax` AS `col13`,`c`.`taxAmount` AS `col14` from ((((((`customer` `a` join `comp_sales_invoice` `b`) join `comp_sales_invoice_detail` `c`) join `_ref_currency` `d`) join `tax_master` `e`) join `_ref_country` `f`) join `item` `g`) where ((`a`.`ID` = `b`.`customerID`) and (`b`.`ID` = `c`.`invoiceID`) and (`d`.`fldid` = `a`.`currencyID`) and (`e`.`ID` = `c`.`taxID`) and (`f`.`fldid` = `a`.`customerCountryID`) and (`g`.`ID` = `c`.`itemID`)) union select `a`.`companyID` AS `companyID`,'S' AS `col1`,`a`.`customerName` AS `col2`,`a`.`customerCompanyNo` AS `col3`,`b`.`salesInvoiceDate` AS `col4`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`serialNo`,8,'0') using latin1),']') AS `col5`,`c`.`lineNo` AS `col6`,`c`.`chargeDescription` AS `col7`,(`c`.`amountExcludedTax` * `b`.`exchangeRate`) AS `col8`,(`c`.`taxAmount` * `b`.`exchangeRate`) AS `col9`,`e`.`code` AS `col10`,`f`.`fldcountry` AS `col11`,`d`.`fldcurr_code` AS `col12`,`c`.`amountExcludedTax` AS `col13`,`c`.`taxAmount` AS `col14` from (((((`customer` `a` join `comp_sales_invoice` `b`) join `comp_sales_invoice_charges` `c`) join `_ref_currency` `d`) join `tax_master` `e`) join `_ref_country` `f`) where ((`a`.`ID` = `b`.`customerID`) and (`b`.`ID` = `c`.`invoiceID`) and (`d`.`fldid` = `a`.`currencyID`) and (`e`.`ID` = `c`.`taxID`) and (`f`.`fldid` = `a`.`customerCountryID`)) union select `a`.`companyID` AS `companyID`,'S' AS `col1`,`a`.`customerName` AS `col2`,`a`.`customerCompanyNo` AS `col3`,`b`.`debitNoteDate` AS `col4`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`serialNo`,8,'0') using latin1),']') AS `col5`,`c`.`lineNo` AS `col6`,`c`.`itemdescription` AS `col7`,(`c`.`amountExcludedTax` * `b`.`exchangeRate`) AS `col8`,(`c`.`taxAmount` * `b`.`exchangeRate`) AS `col9`,`e`.`code` AS `col10`,`f`.`fldcountry` AS `col11`,`d`.`fldcurr_code` AS `col12`,`c`.`amountExcludedTax` AS `col13`,`c`.`taxAmount` AS `col14` from (((((`customer` `a` join `comp_sales_debitnote` `b`) join `comp_sales_debitnote_detail` `c`) join `_ref_currency` `d`) join `tax_master` `e`) join `_ref_country` `f`) where ((`a`.`ID` = `b`.`customerID`) and (`b`.`ID` = `c`.`debitnoteID`) and (`d`.`fldid` = `a`.`currencyID`) and (`e`.`ID` = `c`.`taxID`) and (`f`.`fldid` = `a`.`customerCountryID`)) union select `a`.`companyID` AS `companyID`,'S' AS `col1`,`a`.`customerName` AS `col2`,`a`.`customerCompanyNo` AS `col3`,`b`.`creditNoteDate` AS `col4`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`serialNo`,8,'0') using latin1),']') AS `col5`,`c`.`lineNo` AS `col6`,`c`.`itemdescription` AS `col7`,(`c`.`amountExcludedTax` * `b`.`exchangeRate`) AS `col8`,(`c`.`taxAmount` * `b`.`exchangeRate`) AS `col9`,`e`.`code` AS `col10`,`f`.`fldcountry` AS `col11`,`d`.`fldcurr_code` AS `col12`,`c`.`amountExcludedTax` AS `col13`,`c`.`taxAmount` AS `col14` from (((((`customer` `a` join `comp_sales_creditnote` `b`) join `comp_sales_creditnote_detail` `c`) join `_ref_currency` `d`) join `tax_master` `e`) join `_ref_country` `f`) where ((`a`.`ID` = `b`.`customerID`) and (`b`.`ID` = `c`.`creditnoteID`) and (`d`.`fldid` = `a`.`currencyID`) and (`e`.`ID` = `c`.`taxID`) and (`f`.`fldid` = `a`.`customerCountryID`)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_grn_report`
--

/*!50001 DROP TABLE IF EXISTS `view_grn_report`*/;
/*!50001 DROP VIEW IF EXISTS `view_grn_report`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_grn_report` AS select `po`.`companyID` AS `companyID`,`um`.`code` AS `unitMesure`,`podet`.`ID` AS `ID`,`i`.`itemCode` AS `itemCode`,`i`.`name` AS `itemName`,concat(`po`.`formNo`,'[',convert(lpad(`po`.`serialNo`,8,0) using latin1),']') AS `poNo`,date_format(`po`.`poDate`,'%d-%m-%Y') AS `PoDate`,`podet`.`unitPrice` AS `unitPrice`,`podet`.`quantityOrder` AS `quantityOrder`,((`podet`.`quantityOrder` - `podet`.`quantityReceivedTotal`) * `podet`.`unitPrice`) AS `total`,sum(round((`ridet`.`quantityReceived` / ifnull(`umconv`.`factor`,1)),0)) AS `totalRcv`,(`podet`.`quantityOrder` - ifnull(sum(round((`ridet`.`quantityReceived` / ifnull(`umconv`.`factor`,1)),0)),0)) AS `QtyLeft`,`podet`.`itemID` AS `itemID` from ((((((`comp_purchase_order_detail` `podet` left join `comp_purchase_order` `po` on((`po`.`ID` = `podet`.`purchaseOrderID`))) left join `comp_receive_item_detail` `ridet` on((`ridet`.`poDetailID` = `podet`.`ID`))) left join `comp_receive_item` `ri` on((`ri`.`ID` = `ridet`.`receiveID`))) left join `item` `i` on((`i`.`ID` = `podet`.`itemID`))) left join `_sys_um` `um` on((`um`.`fldid` = `podet`.`umID`))) left join `_sys_um_conv` `umconv` on(((`umconv`.`itemID` = `podet`.`itemID`) and (`umconv`.`from_um` = `ridet`.`standUM`) and (`umconv`.`to_um` = `ridet`.`umID`) and (`umconv`.`companyID` = `po`.`companyID`)))) where ((`po`.`updateAble` = 0) and (`ri`.`updateAble` = 0)) group by `podet`.`ID` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_gst_03_summary`
--

/*!50001 DROP TABLE IF EXISTS `view_gst_03_summary`*/;
/*!50001 DROP VIEW IF EXISTS `view_gst_03_summary`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_gst_03_summary` AS select `view_gst_report`.`companyid` AS `companyID`,`view_gst_report`.`financialYear` AS `financialYear`,`view_gst_report`.`period` AS `period`,sum(`view_gst_report`.`A1`) AS `totalA1`,sum(`view_gst_report`.`A2`) AS `totalA2`,sum(`view_gst_report`.`B5a`) AS `totalB5a`,sum(`view_gst_report`.`B5b`) AS `totalB5b`,sum(`view_gst_report`.`B6a`) AS `totalB6a`,sum(`view_gst_report`.`B6b`) AS `totalB6b`,sum(`view_gst_report`.`B7`) AS `totalB7`,sum(`view_gst_report`.`B8`) AS `totalB8`,sum(`view_gst_report`.`C10`) AS `totalC10`,sum(`view_gst_report`.`C11`) AS `totalC11`,sum(`view_gst_report`.`C12`) AS `totalC12`,sum(`view_gst_report`.`C13`) AS `totalC13`,sum(`view_gst_report`.`C14`) AS `totalC14`,sum(`view_gst_report`.`C15`) AS `totalC15`,sum(`view_gst_report`.`C16`) AS `totalC16`,sum(`view_gst_report`.`C17`) AS `totalC17`,sum(`view_gst_report`.`month6`) AS `totalMonth6`,sum(`view_gst_report`.`C18`) AS `totalC18` from `view_gst_report` group by `view_gst_report`.`companyid`,`view_gst_report`.`financialYear`,`view_gst_report`.`period` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_gst_report`
--

/*!50001 DROP TABLE IF EXISTS `view_gst_report`*/;
/*!50001 DROP VIEW IF EXISTS `view_gst_report`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_gst_report` AS select `a`.`companyID` AS `companyid`,`b`.`gstRegisteredDate` AS `gstRegisteredDate`,`b`.`taxablePeriod` AS `taxablePeriod`,`a`.`financialYear` AS `financialYear`,`a`.`startDate` AS `startDate`,`a`.`endDate` AS `endDate`,`a`.`period` AS `period`,`b`.`gstRegisteredNo` AS `A1`,`b`.`companyName` AS `A2`,(select coalesce(sum(`view_gst_tax`.`amountExcludedTax`),0) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (find_in_set(`view_gst_tax`.`gst`,(select `comp_gst_field_mapping`.`taxCode` from `comp_gst_field_mapping` where ((`comp_gst_field_mapping`.`companyID` = `a`.`companyID`) and (`comp_gst_field_mapping`.`item` = 'B5a')))) > 0) and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`))) AS `B5a`,(select coalesce(sum(`view_gst_tax`.`taxAmount`),0) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (find_in_set(`view_gst_tax`.`gst`,(select `comp_gst_field_mapping`.`taxCode` from `comp_gst_field_mapping` where ((`comp_gst_field_mapping`.`companyID` = `a`.`companyID`) and (`comp_gst_field_mapping`.`item` = 'B5b')))) > 0) and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`))) AS `B5b`,(select coalesce(sum(`view_gst_tax`.`amountExcludedTax`),0) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (find_in_set(`view_gst_tax`.`gst`,(select `comp_gst_field_mapping`.`taxCode` from `comp_gst_field_mapping` where ((`comp_gst_field_mapping`.`companyID` = `a`.`companyID`) and (`comp_gst_field_mapping`.`item` = 'B6a')))) > 0) and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`))) AS `B6a`,(select coalesce(sum(`view_gst_tax`.`taxAmount`),0) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (find_in_set(`view_gst_tax`.`gst`,(select `comp_gst_field_mapping`.`taxCode` from `comp_gst_field_mapping` where ((`comp_gst_field_mapping`.`companyID` = `a`.`companyID`) and (`comp_gst_field_mapping`.`item` = 'B6b')))) > 0) and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`))) AS `B6b`,if(((select coalesce(sum(`view_gst_tax`.`taxAmount`),0) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (find_in_set(`view_gst_tax`.`gst`,(select `comp_gst_field_mapping`.`taxCode` from `comp_gst_field_mapping` where ((`comp_gst_field_mapping`.`companyID` = `a`.`companyID`) and (`comp_gst_field_mapping`.`item` = 'B5b')))) > 0) and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`))) > (select coalesce(sum(`view_gst_tax`.`taxAmount`),0) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (find_in_set(`view_gst_tax`.`gst`,(select `comp_gst_field_mapping`.`taxCode` from `comp_gst_field_mapping` where ((`comp_gst_field_mapping`.`companyID` = `a`.`companyID`) and (`comp_gst_field_mapping`.`item` = 'B6b')))) > 0) and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`)))),((select coalesce(sum(`view_gst_tax`.`taxAmount`),0) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (find_in_set(`view_gst_tax`.`gst`,(select `comp_gst_field_mapping`.`taxCode` from `comp_gst_field_mapping` where ((`comp_gst_field_mapping`.`companyID` = `a`.`companyID`) and (`comp_gst_field_mapping`.`item` = 'B5b')))) > 0) and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`))) - (select coalesce(sum(`view_gst_tax`.`taxAmount`),0) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (find_in_set(`view_gst_tax`.`gst`,(select `comp_gst_field_mapping`.`taxCode` from `comp_gst_field_mapping` where ((`comp_gst_field_mapping`.`companyID` = `a`.`companyID`) and (`comp_gst_field_mapping`.`item` = 'B6b')))) > 0) and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`)))),0) AS `B7`,if(((select sum(`view_gst_tax`.`taxAmount`) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (find_in_set(`view_gst_tax`.`gst`,(select `comp_gst_field_mapping`.`taxCode` from `comp_gst_field_mapping` where ((`comp_gst_field_mapping`.`companyID` = `a`.`companyID`) and (`comp_gst_field_mapping`.`item` = 'B6b')))) > 0) and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`))) > (select sum(`view_gst_tax`.`taxAmount`) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (find_in_set(`view_gst_tax`.`gst`,(select `comp_gst_field_mapping`.`taxCode` from `comp_gst_field_mapping` where ((`comp_gst_field_mapping`.`companyID` = `a`.`companyID`) and (`comp_gst_field_mapping`.`item` = 'B5b')))) > 0) and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`)))),((select sum(`view_gst_tax`.`taxAmount`) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (find_in_set(`view_gst_tax`.`gst`,(select `comp_gst_field_mapping`.`taxCode` from `comp_gst_field_mapping` where ((`comp_gst_field_mapping`.`companyID` = `a`.`companyID`) and (`comp_gst_field_mapping`.`item` = 'B6b')))) > 0) and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`))) - (select sum(`view_gst_tax`.`taxAmount`) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (find_in_set(`view_gst_tax`.`gst`,(select `comp_gst_field_mapping`.`taxCode` from `comp_gst_field_mapping` where ((`comp_gst_field_mapping`.`companyID` = `a`.`companyID`) and (`comp_gst_field_mapping`.`item` = 'B5b')))) > 0) and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`)))),0) AS `B8`,(select sum(`view_gst_tax`.`amountExcludedTax`) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (find_in_set(`view_gst_tax`.`gst`,(select `comp_gst_field_mapping`.`taxCode` from `comp_gst_field_mapping` where ((`comp_gst_field_mapping`.`companyID` = `a`.`companyID`) and (`comp_gst_field_mapping`.`item` = 'C10')))) > 0) and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`))) AS `C10`,(select sum(`view_gst_tax`.`amountExcludedTax`) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (find_in_set(`view_gst_tax`.`gst`,(select `comp_gst_field_mapping`.`taxCode` from `comp_gst_field_mapping` where ((`comp_gst_field_mapping`.`companyID` = `a`.`companyID`) and (`comp_gst_field_mapping`.`item` = 'C11')))) > 0) and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`))) AS `C11`,(select sum(`view_gst_tax`.`amountExcludedTax`) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (find_in_set(`view_gst_tax`.`gst`,(select `comp_gst_field_mapping`.`taxCode` from `comp_gst_field_mapping` where ((`comp_gst_field_mapping`.`companyID` = `a`.`companyID`) and (`comp_gst_field_mapping`.`item` = 'C12')))) > 0) and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`))) AS `C12`,(select sum(`view_gst_tax`.`amountExcludedTax`) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (find_in_set(`view_gst_tax`.`gst`,(select `comp_gst_field_mapping`.`taxCode` from `comp_gst_field_mapping` where ((`comp_gst_field_mapping`.`companyID` = `a`.`companyID`) and (`comp_gst_field_mapping`.`item` = 'C13')))) > 0) and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`))) AS `C13`,(select sum(`view_gst_tax`.`amountExcludedTax`) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (`view_gst_tax`.`gst` = 'IS') and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`))) AS `C14`,(select sum((`view_gst_tax`.`amountExcludedTax` * 0.06)) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (find_in_set(`view_gst_tax`.`gst`,(select `comp_gst_field_mapping`.`taxCode` from `comp_gst_field_mapping` where ((`comp_gst_field_mapping`.`companyID` = `a`.`companyID`) and (`comp_gst_field_mapping`.`item` = 'C15')))) > 0) and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`))) AS `C15`,(select sum(`view_gst_tax`.`amountExcludedTax`) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (find_in_set(`view_gst_tax`.`gst`,(select `comp_gst_field_mapping`.`taxCode` from `comp_gst_field_mapping` where ((`comp_gst_field_mapping`.`companyID` = `a`.`companyID`) and (`comp_gst_field_mapping`.`item` = 'C16')))) > 0) and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`))) AS `C16`,(select sum(`comp_sales_bad_debt`.`valueBadDebt`) from `comp_sales_bad_debt` where ((`comp_sales_bad_debt`.`companyID` = `a`.`companyID`) and (`comp_sales_bad_debt`.`transDate` between `a`.`startDate` and `a`.`endDate`) and (`comp_sales_bad_debt`.`updateAble` = 0))) AS `C17`,(select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) >= 6))) AS `month6`,(select sum(`comp_sales_debt_recover`.`valueDebtRecover`) from `comp_sales_debt_recover` where ((`comp_sales_debt_recover`.`companyID` = `a`.`companyID`) and (`comp_sales_debt_recover`.`transDate` between `a`.`startDate` and `a`.`endDate`) and (`comp_sales_debt_recover`.`updateAble` = 0))) AS `C18` from (`comp_financial_year` `a` join `company` `b`) where ((`b`.`ID` = `a`.`companyID`) and (`a`.`is_delete` = 0)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_gst_rpt_summary`
--

/*!50001 DROP TABLE IF EXISTS `view_gst_rpt_summary`*/;
/*!50001 DROP VIEW IF EXISTS `view_gst_rpt_summary`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_gst_rpt_summary` AS select `view_gst_tax`.`companyID` AS `companyID`,year(`view_gst_tax`.`transDate`) AS `year`,month(`view_gst_tax`.`transDate`) AS `month`,`view_gst_tax`.`taxID` AS `taxID`,`view_gst_tax`.`gst` AS `gst`,sum(`view_gst_tax`.`amountExcludedTax`) AS `amtExTax`,sum(`view_gst_tax`.`taxAmount`) AS `amtTax`,sum(`view_gst_tax`.`amountIncludedTax`) AS `amtIncTax` from `view_gst_tax` group by `view_gst_tax`.`companyID`,year(`view_gst_tax`.`transDate`),month(`view_gst_tax`.`transDate`),`view_gst_tax`.`taxID`,`view_gst_tax`.`gst` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_gst_tax`
--

/*!50001 DROP TABLE IF EXISTS `view_gst_tax`*/;
/*!50001 DROP VIEW IF EXISTS `view_gst_tax`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_gst_tax` AS select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Sales Invoice' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`salesInvoiceDate` AS `transDate`,`a`.`customerID` AS `customerID`,`d`.`customerName` AS `customerName`,concat(`e`.`name`,' / ',`e`.`itemCode`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,`b`.`taxAmount` AS `taxAmount`,`b`.`amountIncludedTax` AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from ((((((((`comp_sales_invoice` `a` join `comp_sales_invoice_detail` `b`) join `customer` `d`) join `item` `e`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`invoiceID`) and (`a`.`customerID` = `d`.`ID`) and (`e`.`ID` = `b`.`itemID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`e`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1) and (`a`.`is_delete` = 0)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Sales Invoice' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`salesInvoiceDate` AS `transDate`,`a`.`customerID` AS `customerID`,`d`.`customerName` AS `customerName`,`b`.`chargeDescription` AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,`b`.`taxAmount` AS `taxAmount`,`b`.`amountIncludedTax` AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from (((((((`comp_sales_invoice` `a` join `comp_sales_invoice_charges` `b`) join `customer` `d`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`invoiceID`) and (`a`.`customerID` = `d`.`ID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1) and (`a`.`is_delete` = 0)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Sales Credit Note' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`creditNoteDate` AS `transDate`,`a`.`customerID` AS `customerID`,`d`.`customerName` AS `customerName`,concat(`e`.`name`,' / ',`e`.`itemCode`) AS `itemName`,(`b`.`amountExcludedTax` * -(1)) AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,(`b`.`taxAmount` * -(1)) AS `taxAmount`,(`b`.`amountIncludedTax` * -(1)) AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from ((((((((`comp_sales_creditnote` `a` join `comp_sales_creditnote_detail` `b`) join `customer` `d`) join `item` `e`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`creditnoteID`) and (`a`.`customerID` = `d`.`ID`) and (`e`.`ID` = `b`.`itemID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`e`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1) and (`a`.`is_delete` = 0)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Sales Credit Note' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`creditNoteDate` AS `transDate`,`a`.`customerID` AS `customerID`,`d`.`customerName` AS `customerName`,`b`.`chargeDescription` AS `itemName`,(`b`.`amountExcludedTax` * -(1)) AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,(`b`.`taxAmount` * -(1)) AS `taxAmount`,(`b`.`amountIncludedTax` * -(1)) AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from (((((((`comp_sales_creditnote` `a` join `comp_sales_creditnote_charges` `b`) join `customer` `d`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`creditNoteID`) and (`a`.`customerID` = `d`.`ID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`d`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1) and (`a`.`is_delete` = 0)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Sales Debit note' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`debitNoteDate` AS `transDate`,`a`.`customerID` AS `customerID`,`d`.`customerName` AS `customerName`,concat(`e`.`name`,' / ',`e`.`itemCode`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,`b`.`taxAmount` AS `taxAmount`,`b`.`amountIncludedTax` AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from ((((((((`comp_sales_debitnote` `a` join `comp_sales_debitnote_detail` `b`) join `customer` `d`) join `item` `e`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`debitnoteID`) and (`a`.`customerID` = `d`.`ID`) and (`e`.`ID` = `b`.`itemID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`e`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1) and (`a`.`is_delete` = 0)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Sales Debit Note' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`debitNoteDate` AS `transDate`,`a`.`customerID` AS `customerID`,`d`.`customerName` AS `customerName`,`b`.`chargeDescription` AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,`b`.`taxAmount` AS `taxAmount`,`b`.`amountIncludedTax` AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from (((((((`comp_sales_debitnote` `a` join `comp_sales_debitnote_charges` `b`) join `customer` `d`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`debitNoteID`) and (`a`.`customerID` = `d`.`ID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`d`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1) and (`a`.`is_delete` = 0)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Purchase Invoice' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`invoiceDate` AS `transDate`,`a`.`supplierID` AS `supplierID`,`d`.`supplierName` AS `supplierName`,concat(`e`.`name`,' / ',`e`.`itemCode`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,`b`.`taxAmount` AS `taxAmount`,`b`.`amountIncludedTax` AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from ((((((((`comp_supplier_invoice` `a` join `comp_supplier_invoice_detail` `b`) join `supplier` `d`) join `item` `e`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`invoiceID`) and (`a`.`supplierID` = `d`.`ID`) and (`e`.`ID` = `b`.`itemID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`e`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1) and (`a`.`is_delete` = 0)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Purchase Invoice' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`invoiceDate` AS `transDate`,`a`.`supplierID` AS `supplierID`,`d`.`supplierName` AS `supplierName`,`b`.`chargeDescription` AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,`b`.`taxAmount` AS `taxAmount`,`b`.`amountIncludedTax` AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from (((((((`comp_supplier_invoice` `a` join `comp_supplier_invoice_charges` `b`) join `supplier` `d`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`invoiceID`) and (`a`.`supplierID` = `d`.`ID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`d`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1) and (`a`.`is_delete` = 0)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Purchase Credit Note' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`creditNoteDate` AS `transDate`,`a`.`supplierID` AS `supplierID`,`d`.`supplierName` AS `supplierName`,concat(`e`.`name`,' / ',`e`.`itemCode`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,`b`.`taxAmount` AS `taxAmount`,`b`.`amountIncludedTax` AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from ((((((((`comp_supplier_creditnote` `a` join `comp_supplier_creditnote_detail` `b`) join `supplier` `d`) join `item` `e`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`creditnoteID`) and (`a`.`supplierID` = `d`.`ID`) and (`e`.`ID` = `b`.`itemID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`e`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1) and (`a`.`is_delete` = 0)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Purchase Credit Note' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`creditNoteDate` AS `transDate`,`a`.`supplierID` AS `supplierID`,`d`.`supplierName` AS `supplierName`,`b`.`itemdescription` AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,`b`.`taxAmount` AS `taxAmount`,`b`.`amountIncludedTax` AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from (((((((`comp_supplier_creditnote` `a` join `comp_supplier_creditnote_charges` `b`) join `supplier` `d`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`creditNoteID`) and (`a`.`supplierID` = `d`.`ID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`d`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1) and (`a`.`is_delete` = 0)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Purchase Debit note' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`debitNoteDate` AS `transDate`,`a`.`supplierID` AS `supplierID`,`d`.`supplierName` AS `supplierName`,concat(`e`.`name`,' / ',`e`.`itemCode`) AS `itemName`,(`b`.`amountExcludedTax` * -(1)) AS `b.amountExcludedTax * -1`,`b`.`taxRate` AS `taxRate`,(`b`.`taxAmount` * -(1)) AS `b.taxAmount * -1`,(`b`.`amountIncludedTax` * -(1)) AS `b.amountIncludedTax * -1`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from ((((((((`comp_supplier_debitnote` `a` join `comp_supplier_debitnote_detail` `b`) join `supplier` `d`) join `item` `e`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`debitnoteID`) and (`a`.`supplierID` = `d`.`ID`) and (`e`.`ID` = `b`.`itemID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`e`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1) and (`a`.`is_delete` = 0)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Purchase Debit Note' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`debitNoteDate` AS `transDate`,`a`.`supplierID` AS `supplierID`,`d`.`supplierName` AS `supplierName`,`b`.`itemdescription` AS `itemName`,(`b`.`amountExcludedTax` * -(1)) AS `b.amountExcludedTax * -1`,`b`.`taxRate` AS `taxRate`,(`b`.`taxAmount` * -(1)) AS `b.taxAmount * -1`,(`b`.`amountIncludedTax` * -(1)) AS `b.amountIncludedTax * -1`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from (((((((`comp_supplier_debitnote` `a` join `comp_supplier_debitnote_charges` `b`) join `supplier` `d`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`debitNoteID`) and (`a`.`supplierID` = `d`.`ID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`d`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1) and (`a`.`is_delete` = 0)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Other Payment' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`paymentDate` AS `transDate`,NULL AS `NULL`,`a`.`payTo` AS `supplierName`,`b`.`itemdescription` AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,`b`.`taxAmount` AS `taxAmount`,`b`.`amountIncludedTax` AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from ((((((`comp_payment_others` `a` join `comp_payment_others_without_item` `b`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`otherPaymentID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1) and (`a`.`is_delete` = 0)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Cash Sales' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`salesInvoiceDate` AS `transDate`,NULL AS `customerID`,`a`.`paymentFrom` AS `customerName`,concat(`e`.`name`,' / ',`e`.`itemCode`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,`b`.`taxAmount` AS `taxAmount`,`b`.`amountIncludedTax` AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from (((((((`comp_cash_sales` `a` join `comp_cash_sales_detail` `b`) join `item` `e`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`invoiceID`) and (`e`.`ID` = `b`.`itemID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`e`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1) and (`a`.`is_delete` = 0)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Other Receive' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`receivePaymentDate` AS `transDate`,NULL AS `customerID`,`a`.`receiveFrom` AS `customerName`,`b`.`description` AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,`b`.`taxAmount` AS `taxAmount`,`b`.`amountIncludedTax` AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from ((((((`comp_receive_payment_others` `a` join `comp_receive_payment_others_detail` `b`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`receivePaymentOthersID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1) and (`a`.`is_delete` = 0)) union select `b`.`ID` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,`a`.`type` AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`date` AS `transDate`,NULL AS `supplierID`,`a`.`vendor_cust_name` AS `supplierName`,`b`.`description` AS `itemName`,if((`a`.`reverse` > 0),(`a`.`based_amount` * -(1)),`a`.`based_amount`) AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,if((`a`.`reverse` > 0),(if((`b`.`taxAmountDr` > 0),`b`.`taxAmountDr`,`b`.`taxAmountCr`) * -(1)),if((`b`.`taxAmountDr` > 0),`b`.`taxAmountDr`,`b`.`taxAmountCr`)) AS `taxAmount`,if((`a`.`reverse` > 0),((if((`b`.`taxAmountDr` > 0),`b`.`taxAmountDr`,`b`.`taxAmountCr`) + `a`.`based_amount`) * -(1)),(if((`b`.`taxAmountDr` > 0),`b`.`taxAmountDr`,`b`.`taxAmountCr`) + `a`.`based_amount`)) AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from ((((((`comp_gst_transaction` `a` join `comp_gst_transaction_detail` `b`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`gstTransID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`a`.`isDelete` = 0)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Cash Purchase' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`paymentDate` AS `transDate`,NULL AS `supplierID`,`a`.`payTo` AS `supplierName`,concat(`e`.`name`,' / ',`e`.`itemCode`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,`b`.`taxAmount` AS `taxAmount`,`b`.`amountIncludedTax` AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from (((((((`comp_payment_others` `a` join `comp_payment_others_with_item` `b`) join `item` `e`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`otherPaymentID`) and (`e`.`ID` = `b`.`itemID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`e`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1) and (`a`.`is_delete` = 0)) union select `a`.`ID` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Bad debt relief' AS `transType`,`a`.`journalNo` AS `ref`,`a`.`transDate` AS `transDate`,NULL AS `supplierID`,`c`.`customerName` AS `supplierName`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`serialNo`,8,'0') using latin1),']') AS `itemName`,round((((((round(`b`.`totalReceivable`,2) / round(`b`.`totalamount`,2)) * round(`b`.`totalTaxAmount`,2)) * 106) / 6) - ((round(`b`.`totalReceivable`,2) / round(`b`.`totalamount`,2)) * round(`b`.`totalTaxAmount`,2))),2) AS `amountExcludedTax`,`f`.`taxPercentage` AS `taxRate`,round(((`b`.`totalReceivable` / `b`.`totalamount`) * `b`.`totalTaxAmount`),2) AS `taxAmount`,round((round((((((`b`.`totalReceivable` / `b`.`totalamount`) * `b`.`totalTaxAmount`) * 106) / 6) - ((`b`.`totalReceivable` / `b`.`totalamount`) * `b`.`totalTaxAmount`)),2) + ((`b`.`totalReceivable` / `b`.`totalamount`) * `b`.`totalTaxAmount`)),2) AS `amountIncludedTax`,NULL AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from (((((((`comp_sales_bad_debt` `a` join `comp_sales_invoice` `b` on((`b`.`badDebtID` = `a`.`ID`))) join `customer` `c` on((`c`.`ID` = `a`.`custID`))) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`f`.`companyID` = `a`.`companyID`) and (`f`.`code` = 'AJP') and (`a`.`updateAble` = 0) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`a`.`updateAble` = 0) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8))) union select `a`.`ID` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Bad debt Recover' AS `transType`,`a`.`journalNo` AS `ref`,`a`.`transDate` AS `transDate`,NULL AS `supplierID`,`c`.`customerName` AS `supplierName`,concat(`y`.`formNo`,'[',convert(lpad(`y`.`serialNo`,8,'0') using latin1),']') AS `itemName`,round((((((round(`b`.`amountApplied`,2) / round(`y`.`totalamount`,2)) * round(`y`.`totalTaxAmount`,2)) * 106) / 6) - ((round(`b`.`amountApplied`,2) / round(`y`.`totalamount`,2)) * round(`y`.`totalTaxAmount`,2))),2) AS `amountExcludedTax`,`f`.`taxPercentage` AS `taxRate`,round(((`b`.`amountApplied` / `y`.`totalamount`) * `y`.`totalTaxAmount`),2) AS `taxAmount`,round((round((((((`b`.`amountApplied` / `y`.`totalamount`) * `y`.`totalTaxAmount`) * 106) / 6) - ((`b`.`amountApplied` / `y`.`totalamount`) * `y`.`totalTaxAmount`)),2) + ((`b`.`amountApplied` / `y`.`totalamount`) * `y`.`totalTaxAmount`)),2) AS `amountIncludedTax`,NULL AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from ((((((((`comp_sales_debt_recover` `a` join `comp_receive_payment_detail` `b` on((`b`.`debtRecoverID` = `a`.`ID`))) left join `comp_sales_invoice` `y` on((`y`.`ID` = `b`.`invoiceID`))) join `customer` `c` on((`c`.`ID` = `a`.`custID`))) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`f`.`companyID` = `a`.`companyID`) and (`f`.`code` = 'AJS') and (`a`.`updateAble` = 0) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8))) union select `a`.`ID` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Supplier Bad debt relief' AS `transType`,`a`.`journalNo` AS `ref`,`a`.`transDate` AS `transDate`,`a`.`supplierID` AS `supplierID`,`c`.`supplierName` AS `supplierName`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`serialNo`,8,'0') using latin1),']') AS `itemName`,round((((((round((`b`.`totalPayable` + ifnull(sum(`p`.`amountApplied`),0)),2) / round(`b`.`totalAmount`,2)) * round(`b`.`totalTaxAmount`,2)) * 106) / 6) - ((round((`b`.`totalPayable` + ifnull(sum(`p`.`amountApplied`),0)),2) / round(`b`.`totalAmount`,2)) * round(`b`.`totalTaxAmount`,2))),2) AS `amountExcludedTax`,`f`.`taxPercentage` AS `taxRate`,round((((`b`.`totalPayable` + ifnull(sum(`p`.`amountApplied`),0)) / `b`.`totalAmount`) * `b`.`totalTaxAmount`),2) AS `taxAmount`,(round((((((round((`b`.`totalPayable` + ifnull(sum(`p`.`amountApplied`),0)),2) / round(`b`.`totalAmount`,2)) * round(`b`.`totalTaxAmount`,2)) * 106) / 6) - ((round((`b`.`totalPayable` + ifnull(sum(`p`.`amountApplied`),0)),2) / round(`b`.`totalAmount`,2)) * round(`b`.`totalTaxAmount`,2))),2) + round((((`b`.`totalPayable` + ifnull(sum(`p`.`amountApplied`),0)) / `b`.`totalAmount`) * `b`.`totalTaxAmount`),2)) AS `amountIncludedTax`,NULL AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from (((((((((`comp_purchase_bad_debt` `a` join `comp_supplier_invoice` `b` on((`b`.`badDebtID` = `a`.`ID`))) join `comp_payment_detail` `p` on((`p`.`purchaseInvoiceID` = `b`.`ID`))) join `comp_payment` `pay` on(((`pay`.`ID` = `p`.`paymentID`) and (`pay`.`paymentDate` > `a`.`transDate`)))) join `supplier` `c` on((`c`.`ID` = `a`.`supplierID`))) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`f`.`companyID` = `a`.`companyID`) and (`f`.`code` = 'AJS') and (`a`.`updateAble` = 0) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8))) group by `p`.`purchaseInvoiceID` union select `a`.`ID` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Supplier Bad debt Recover' AS `transType`,`a`.`journalNo` AS `ref`,`a`.`transDate` AS `transDate`,`a`.`suppID` AS `supplierID`,`c`.`supplierName` AS `supplierName`,concat(`y`.`formNo`,'[',convert(lpad(`y`.`serialNo`,8,'0') using latin1),']') AS `itemName`,round((((((round(`b`.`amountApplied`,2) / round(`y`.`totalAmount`,2)) * round(`y`.`totalTaxAmount`,2)) * 106) / 6) - ((round(`b`.`amountApplied`,2) / round(`y`.`totalAmount`,2)) * round(`y`.`totalTaxAmount`,2))),2) AS `amountExcludedTax`,`f`.`taxPercentage` AS `taxRate`,round(((`b`.`amountApplied` / `y`.`totalAmount`) * `y`.`totalTaxAmount`),2) AS `taxAmount`,round((round((((((`b`.`amountApplied` / `y`.`totalAmount`) * `y`.`totalTaxAmount`) * 106) / 6) - ((`b`.`amountApplied` / `y`.`totalAmount`) * `y`.`totalTaxAmount`)),2) + ((`b`.`amountApplied` / `y`.`totalAmount`) * `y`.`totalTaxAmount`)),2) AS `amountIncludedTax`,NULL AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from ((((((((`comp_purchase_debt_recover` `a` join `comp_payment_detail` `b` on((`b`.`debtRecoverID` = `a`.`ID`))) left join `comp_supplier_invoice` `y` on((`y`.`ID` = `b`.`purchaseInvoiceID`))) join `supplier` `c` on((`c`.`ID` = `a`.`suppID`))) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`f`.`companyID` = `a`.`companyID`) and (`f`.`code` = 'AJP') and (`a`.`updateAble` = 0) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8))) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_inventory_statement`
--

/*!50001 DROP TABLE IF EXISTS `view_inventory_statement`*/;
/*!50001 DROP VIEW IF EXISTS `view_inventory_statement`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_inventory_statement` AS select `a`.`companyID` AS `companyID`,`a`.`deliveryDate` AS `transactionDate`,`b`.`itemID` AS `itemID`,`c`.`name` AS `name`,`g`.`supplierName` AS `supplierCustomer`,1 AS `transactionCode`,'Purchase' AS `transactionType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`a`.`locationID` AS `locationID`,`d`.`desc` AS `location`,`e`.`desc` AS `unitOfMeasure`,`b`.`quantityReceived` AS `quantityIn`,NULL AS `quantityOut`,`a`.`updateAble` AS `updateable` from ((((((`comp_receive_item` `a` left join `comp_receive_item_detail` `b` on((`a`.`ID` = `b`.`receiveID`))) left join `item` `c` on((`b`.`itemID` = `c`.`ID`))) left join `item_details` `f` on((`c`.`ID` = `f`.`itemID`))) join `tbl_location` `d`) join `_sys_um` `e`) join `supplier` `g`) where ((`f`.`locationID` = `d`.`fldid`) and (`e`.`fldid` = `c`.`unitOfMeasureID`) and (`a`.`supplierID` = `f`.`ID`)) union select `a`.`companyID` AS `companyID`,`a`.`adjustmentDate` AS `transactionDate`,`b`.`itemID` AS `itemID`,`c`.`name` AS `name`,`d`.`desc` AS `supplierCustomer`,2 AS `transactionCode`,'stockAdjustment' AS `transactionType`,`a`.`formNo` AS `formNo`,`a`.`locationID` AS `locationID`,`d`.`desc` AS `location`,`e`.`desc` AS `unitOfMeasure`,if(((`b`.`counted` - `b`.`qtyOnHand`) > 0),(`b`.`counted` - `b`.`qtyOnHand`),NULL) AS `quantityIn`,if(((`b`.`counted` - `b`.`qtyOnHand`) < 0),(`b`.`counted` - `b`.`qtyOnHand`),NULL) AS `quantityOut`,`a`.`updateAble` AS `updateable` from (((((`item_adjustment` `a` left join `item_adjustment_detail` `b` on((`a`.`ID` = `b`.`adjustmentID`))) left join `item` `c` on((`b`.`itemID` = `c`.`ID`))) left join `item_details` `f` on((`c`.`ID` = `f`.`itemID`))) left join `tbl_location` `d` on((`d`.`fldid` = `a`.`locationID`))) left join `_sys_um` `e` on((`e`.`fldid` = `b`.`unitOfMeasureID`))) union select `a`.`companyID` AS `companyID`,`a`.`deliveryOrderDate` AS `transactionDate`,`b`.`itemID` AS `itemID`,`c`.`name` AS `name`,`g`.`customerName` AS `supplierCustomer`,3 AS `transactionCode`,'Sale' AS `transactionType`,`a`.`formNo` AS `formNo`,`a`.`locationID` AS `locationID`,`d`.`desc` AS `location`,`e`.`desc` AS `unitOfMeasure`,NULL AS `quantityIn`,(`b`.`quantitySent` * -(1)) AS `quantityOut`,`a`.`updateAble` AS `updateable` from ((((((`comp_delivery_order` `a` left join `comp_delivery_detail` `b` on((`a`.`ID` = `b`.`deliveryID`))) left join `item` `c` on((`b`.`itemID` = `c`.`ID`))) left join `item_details` `f` on((`c`.`ID` = `f`.`itemID`))) join `tbl_location` `d`) join `_sys_um` `e`) join `customer` `g`) where ((`a`.`locationID` = `d`.`fldid`) and (`e`.`fldid` = `c`.`unitOfMeasureID`) and (`a`.`customerID` = `f`.`ID`)) union select `a`.`companyID` AS `companyID`,`a`.`dateTransfer` AS `transactionDate`,`b`.`itemID` AS `itemID`,`c`.`name` AS `name`,`d`.`desc` AS `supplierCustomer`,4 AS `transactionCode`,'TransferOut' AS `transactionType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`ID`,8,'0') using latin1),']') AS `formNo`,`a`.`fromLocationID` AS `locationID`,`d`.`desc` AS `location`,`e`.`desc` AS `unitOfMeasure`,NULL AS `quantityIn`,(`b`.`quantity` * -(1)) AS `quantityOut`,`a`.`updateable` AS `updateable` from ((((`comp_location_transfer` `a` left join `comp_location_transfer_detail` `b` on((`a`.`ID` = `b`.`locationTransferID`))) left join `item` `c` on((`b`.`itemID` = `c`.`ID`))) join `tbl_location` `d`) join `_sys_um` `e`) where ((`a`.`fromLocationID` = `d`.`fldid`) and (`e`.`fldid` = `c`.`unitOfMeasureID`)) union select `a`.`companyID` AS `companyID`,`a`.`dateTransfer` AS `transactionDate`,`b`.`itemID` AS `itemID`,`c`.`name` AS `name`,`d`.`desc` AS `supplierCustomer`,5 AS `transactionCode`,'TransferIn' AS `transactionType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`ID`,8,'0') using latin1),']') AS `formNo`,`a`.`toLocationID` AS `locationID`,`d`.`desc` AS `location`,`e`.`desc` AS `unitOfMeasure`,`b`.`quantity` AS `quantityIn`,NULL AS `quantityOut`,`a`.`updateable` AS `updateable` from ((((`comp_location_transfer` `a` left join `comp_location_transfer_detail` `b` on((`a`.`ID` = `b`.`locationTransferID`))) left join `item` `c` on((`b`.`itemID` = `c`.`ID`))) join `tbl_location` `d`) join `_sys_um` `e`) where ((`a`.`fromLocationID` = `d`.`fldid`) and (`e`.`fldid` = `c`.`unitOfMeasureID`)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_inventory_transaction`
--

/*!50001 DROP TABLE IF EXISTS `view_inventory_transaction`*/;
/*!50001 DROP VIEW IF EXISTS `view_inventory_transaction`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_inventory_transaction` AS select `ridet`.`ID` AS `indexing`,`ri`.`ID` AS `ID`,`ri`.`companyID` AS `companyID`,`ridet`.`itemID` AS `itemID`,`ri`.`locationID` AS `locationID`,`ridet`.`createdTS` AS `createdTS`,`s`.`supplierName` AS `supplierName`,if((`ri`.`purchaseOrderID` = '-1'),`ri`.`formNo`,concat(`ri`.`formNo`,'[',convert(lpad(`ri`.`serialNo`,8,'0') using latin1),']')) AS `formNo`,`ri`.`deliveryDate` AS `transDate`,`um`.`desc` AS `um`,'Transfer In' AS `transType`,`ridet`.`quantityReceived` AS `qtyIn`,'0' AS `qtyOut` from ((((`comp_receive_item_detail` `ridet` left join `comp_receive_item` `ri` on((`ri`.`ID` = `ridet`.`receiveID`))) left join `supplier` `s` on((`s`.`ID` = `ri`.`supplierID`))) left join `item` `i` on((`i`.`ID` = `ridet`.`itemID`))) left join `_sys_um` `um` on((`um`.`fldid` = `ridet`.`umID`))) where (`ri`.`updateAble` = 0) union select `outdet`.`ID` AS `indexing`,`do`.`ID` AS `ID`,`do`.`companyID` AS `companyID`,`dodet`.`itemID` AS `itemID`,`do`.`locationID` AS `locationID`,`outdet`.`createdTS` AS `createdTS`,`c`.`customerName` AS `supplierName`,concat(`do`.`formNo`,'[',convert(lpad(`do`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`do`.`deliveryOrderDate` AS `transDate`,`um`.`desc` AS `um`,'Transfer Out' AS `transType`,'0' AS `qtyIn`,`outdet`.`qty` AS `qtyOut` from (((((`comp_receive_delivery_conn` `outdet` left join `comp_delivery_detail` `dodet` on((`dodet`.`ID` = `outdet`.`deliveryDetailID`))) left join `comp_delivery_order` `do` on((`do`.`ID` = `dodet`.`deliveryID`))) left join `customer` `c` on((`c`.`ID` = `do`.`customerID`))) left join `item` `i` on((`i`.`ID` = `dodet`.`itemID`))) left join `_sys_um` `um` on((`um`.`fldid` = `i`.`unitOfMeasureID`))) where (`outdet`.`type` = 1) union select `outdet`.`ID` AS `indexing`,`loc`.`ID` AS `ID`,`loc`.`companyID` AS `companyID`,`locdet`.`itemID` AS `itemID`,`loc`.`fromLocationID` AS `locationID`,`outdet`.`createdTS` AS `createdTS`,`user`.`username` AS `supplierName`,concat(`loc`.`formNo`,'[',convert(lpad(`loc`.`ID`,8,'0') using latin1),']') AS `formNo`,`loc`.`dateTransfer` AS `transDate`,`um`.`desc` AS `um`,'Transfer Out' AS `transType`,'0' AS `qtyIn`,`outdet`.`qty` AS `qtyOut` from (((((`comp_receive_delivery_conn` `outdet` left join `comp_location_transfer_detail` `locdet` on((`locdet`.`ID` = `outdet`.`deliveryDetailID`))) left join `comp_location_transfer` `loc` on((`loc`.`ID` = `locdet`.`locationTransferID`))) left join `tbl_usermaster` `user` on((`user`.`fldid` = `loc`.`createdby`))) left join `item` `i` on((`i`.`ID` = `locdet`.`itemID`))) left join `_sys_um` `um` on((`um`.`fldid` = `i`.`unitOfMeasureID`))) where (`outdet`.`type` = 2) union select `outdet`.`ID` AS `indexing`,`loc`.`ID` AS `ID`,`loc`.`companyID` AS `companyID`,`locdet`.`itemID` AS `itemID`,`si`.`locationID` AS `locationID`,`outdet`.`createdTS` AS `createdTS`,`c`.`customerName` AS `supplierName`,concat(`loc`.`formNo`,'[',convert(lpad(`loc`.`ID`,8,'0') using latin1),']') AS `formNo`,`loc`.`debitNoteDate` AS `transDate`,`um`.`desc` AS `um`,'Transfer Out' AS `transType`,'0' AS `qtyIn`,`outdet`.`qty` AS `qtyOut` from (((((((`comp_receive_delivery_conn` `outdet` left join `comp_sales_debitnote_detail` `locdet` on((`locdet`.`ID` = `outdet`.`deliveryDetailID`))) left join `comp_sales_debitnote` `loc` on((`loc`.`ID` = `locdet`.`debitnoteID`))) left join `comp_sales_invoice_detail` `sidet` on((`sidet`.`ID` = `locdet`.`invoiceDetailID`))) left join `comp_sales_invoice` `si` on((`si`.`ID` = `sidet`.`invoiceID`))) left join `customer` `c` on((`c`.`ID` = `si`.`customerID`))) left join `item` `i` on((`i`.`ID` = `locdet`.`itemID`))) left join `_sys_um` `um` on((`um`.`fldid` = `i`.`unitOfMeasureID`))) where (`outdet`.`type` = 3) union select `outdet`.`ID` AS `indexing`,`loc`.`ID` AS `ID`,`loc`.`companyID` AS `companyID`,`locdet`.`itemID` AS `itemID`,if((`si`.`purchaseInvoiceCodeID` = '1'),`ri`.`locationID`,`si`.`locationID`) AS `locationID`,`outdet`.`createdTS` AS `createdTS`,`s`.`supplierName` AS `supplierName`,concat(`loc`.`formNo`,'[',convert(lpad(`loc`.`ID`,8,'0') using latin1),']') AS `formNo`,`loc`.`debitNoteDate` AS `transDate`,`um`.`desc` AS `um`,'Transfer Out' AS `transType`,'0' AS `qtyIn`,`outdet`.`qty` AS `qtyOut` from (((((((((`comp_receive_delivery_conn` `outdet` left join `comp_supplier_debitnote_detail` `locdet` on((`locdet`.`ID` = `outdet`.`deliveryDetailID`))) left join `comp_supplier_debitnote` `loc` on((`loc`.`ID` = `locdet`.`debitnoteID`))) left join `comp_supplier_invoice` `si` on((`si`.`ID` = `loc`.`supplierInvoiceID`))) left join `comp_supplier_invoice_detail` `sidet` on((`sidet`.`ID` = `locdet`.`invoiceDetailID`))) left join `comp_receive_item_detail` `ridet` on((`ridet`.`ID` = `sidet`.`receiveID`))) left join `comp_receive_item` `ri` on((`ri`.`ID` = `ridet`.`receiveID`))) left join `supplier` `s` on((`s`.`ID` = `si`.`supplierID`))) left join `item` `i` on((`i`.`ID` = `locdet`.`itemID`))) left join `_sys_um` `um` on((`um`.`fldid` = `i`.`unitOfMeasureID`))) where (`outdet`.`type` = 4) union select `outdet`.`ID` AS `indexing`,`loc`.`ID` AS `ID`,`loc`.`companyID` AS `companyID`,`locdet`.`itemID` AS `itemID`,`loc`.`locationID` AS `locationID`,`outdet`.`createdTS` AS `createdTS`,`loc`.`paymentFrom` AS `supplierName`,concat(`loc`.`formNo`,'[',convert(lpad(`loc`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`loc`.`salesInvoiceDate` AS `transDate`,`um`.`desc` AS `um`,'Transfer Out' AS `transType`,'0' AS `qtyIn`,`outdet`.`qty` AS `qtyOut` from ((((`comp_receive_delivery_conn` `outdet` left join `comp_cash_sales_detail` `locdet` on((`locdet`.`ID` = `outdet`.`deliveryDetailID`))) left join `comp_cash_sales` `loc` on((`loc`.`ID` = `locdet`.`invoiceID`))) left join `item` `i` on((`i`.`ID` = `locdet`.`itemID`))) left join `_sys_um` `um` on((`um`.`fldid` = `i`.`unitOfMeasureID`))) where (`outdet`.`type` = 5) union select `outdet`.`ID` AS `indexing`,`loc`.`ID` AS `ID`,`loc`.`companyID` AS `companyID`,`locdet`.`itemID` AS `itemID`,`loc`.`locationID` AS `locationID`,`outdet`.`createdTS` AS `createdTS`,`user`.`username` AS `supplierName`,concat(`loc`.`formNo`,'[',convert(lpad(`loc`.`ID`,8,'0') using latin1),']') AS `formNo`,`loc`.`adjustmentDate` AS `transDate`,`um`.`desc` AS `um`,'Transfer Out' AS `transType`,'0' AS `qtyIn`,`outdet`.`qty` AS `qtyOut` from (((((`comp_receive_delivery_conn` `outdet` left join `item_adjustment_detail` `locdet` on((`locdet`.`ID` = `outdet`.`deliveryDetailID`))) left join `item_adjustment` `loc` on((`loc`.`ID` = `locdet`.`adjustmentID`))) left join `tbl_usermaster` `user` on((`user`.`fldid` = `loc`.`createdBy`))) left join `item` `i` on((`i`.`ID` = `locdet`.`itemID`))) left join `_sys_um` `um` on((`um`.`fldid` = `i`.`unitOfMeasureID`))) where (`outdet`.`type` = 6) order by `formNo` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_inventorylist_subtotal`
--

/*!50001 DROP TABLE IF EXISTS `view_inventorylist_subtotal`*/;
/*!50001 DROP VIEW IF EXISTS `view_inventorylist_subtotal`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_inventorylist_subtotal` AS select `a`.`companyID` AS `companyid`,sum(`b`.`balanceItem`) AS `quantity`,`a`.`locationID` AS `locationid`,`b`.`itemID` AS `itemID`,concat('[',`c`.`itemCode`,']',`c`.`name`) AS `itemName`,`d`.`name` AS `category`,`b`.`description` AS `description`,sum((`b`.`balanceItem` * `b`.`unitPrice`)) AS `stockValue` from (((`comp_receive_item` `a` join `comp_receive_item_detail` `b`) join `item` `c`) join `comp_item_category` `d`) where ((`a`.`ID` = `b`.`receiveID`) and (`b`.`balanceItem` > 0) and (`c`.`ID` = `b`.`itemID`) and (`c`.`itemCategoryID` = `d`.`ID`)) group by `a`.`companyID`,`a`.`locationID`,`b`.`itemID`,`b`.`itemName`,`category`,`b`.`description` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_item_details`
--

/*!50001 DROP TABLE IF EXISTS `view_item_details`*/;
/*!50001 DROP VIEW IF EXISTS `view_item_details`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_item_details` AS select `b`.`companyID` AS `companyid`,`a`.`itemID` AS `itemid`,concat('[',`c`.`itemCode`,']',`c`.`name`) AS `itemName`,`c`.`description` AS `description`,`b`.`locationID` AS `locationid`,sum(`a`.`balanceItem`) AS `onHandQty`,`a`.`umID` AS `umID`,`c`.`inventoriesID` AS `acctID`,`d`.`code` AS `location`,`e`.`code` AS `unitOfMeasure` from ((((`comp_receive_item_detail` `a` join `comp_receive_item` `b`) join `item` `c`) join `tbl_location` `d`) join `_sys_um` `e`) where ((`a`.`receiveID` = `b`.`ID`) and (`a`.`itemID` = `c`.`ID`) and (`d`.`fldid` = `b`.`locationID`) and (`e`.`fldid` = `a`.`umID`) and (`a`.`balanceItem` > 0)) group by `b`.`companyID`,`a`.`itemID`,`a`.`itemName`,`c`.`description`,`b`.`locationID`,`a`.`umID`,`acctID`,`location`,`unitOfMeasure` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_item_quantityonhand`
--

/*!50001 DROP TABLE IF EXISTS `view_item_quantityonhand`*/;
/*!50001 DROP VIEW IF EXISTS `view_item_quantityonhand`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_item_quantityonhand` AS select `a`.`companyID` AS `companyID`,`a`.`locationID` AS `locationID`,`b`.`itemID` AS `itemID`,`b`.`itemCode` AS `itemCode`,`b`.`itemName` AS `itemName`,`b`.`umID` AS `umID`,sum(`b`.`balanceItem`) AS `quantityOnHand` from (`comp_receive_item` `a` left join `comp_receive_item_detail` `b` on(((`a`.`ID` = `b`.`receiveID`) and (`b`.`balanceItem` > 0)))) group by `a`.`companyID`,`a`.`locationID`,`b`.`itemID`,`b`.`itemCode`,`b`.`itemName`,`b`.`umID` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_item_quantityonhand_confirm`
--

/*!50001 DROP TABLE IF EXISTS `view_item_quantityonhand_confirm`*/;
/*!50001 DROP VIEW IF EXISTS `view_item_quantityonhand_confirm`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_item_quantityonhand_confirm` AS select `a`.`companyID` AS `companyID`,`a`.`locationID` AS `locationID`,`b`.`itemID` AS `itemID`,`b`.`itemCode` AS `itemCode`,`b`.`itemName` AS `itemName`,`b`.`umID` AS `umID`,sum(`b`.`balanceItem`) AS `quantityOnHand` from (`comp_receive_item` `a` left join `comp_receive_item_detail` `b` on(((`a`.`ID` = `b`.`receiveID`) and (`b`.`balanceItem` > 0)))) where (`a`.`updateAble` = 0) group by `a`.`companyID`,`a`.`locationID`,`b`.`itemID`,`b`.`itemCode`,`b`.`itemName`,`b`.`umID` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_journal_table`
--

/*!50001 DROP TABLE IF EXISTS `view_journal_table`*/;
/*!50001 DROP VIEW IF EXISTS `view_journal_table`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_journal_table` AS select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`a`.`referenceNo` AS `referenceNo`,'comp_cash_sales' AS `tableName`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_cash_sales` `a` join `comp_journal` `b`) where ((convert(`a`.`journalNo` using utf8) = `b`.`journalID`) and (`a`.`is_delete` = 0)) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`a`.`referenceNo` AS `referenceNo`,'comp_payment' AS `comp_payment`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_payment` `a` join `comp_journal` `b`) where ((convert(`a`.`journalNo` using utf8) = `b`.`journalID`) and (`a`.`is_delete` = 0)) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`a`.`referenceNo` AS `referenceNo`,'comp_payment_others' AS `comp_payment_others`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_payment_others` `a` join `comp_journal` `b`) where ((convert(`a`.`journalNo` using utf8) = `b`.`journalID`) and (`a`.`is_delete` = 0)) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`a`.`formNo` AS `referenceNo`,'comp_purchase_order' AS `comp_purchase_order`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_purchase_order` `a` join `comp_journal` `b`) where ((convert(`a`.`journalNo` using utf8) = `b`.`journalID`) and (`a`.`is_delete` = 0)) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`a`.`referenceNo` AS `referenceNo`,'comp_receive_payment' AS `comp_receive_payment`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_receive_payment` `a` join `comp_journal` `b`) where ((convert(`a`.`journalNo` using utf8) = `b`.`journalID`) and (`a`.`is_delete` = 0)) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`a`.`referenceNo` AS `referenceNo`,'comp_receive_payment_others' AS `comp_receive_payment_others`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_receive_payment_others` `a` join `comp_journal` `b`) where ((convert(`a`.`journalNo` using utf8) = `b`.`journalID`) and (`a`.`is_delete` = 0)) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`b`.`formNo` AS `referenceNo`,'comp_sales_creditnote' AS `comp_sales_creditnote`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_sales_creditnote` `a` join `comp_journal` `b`) where ((convert(`a`.`journalNo` using utf8) = `b`.`journalID`) and (`a`.`is_delete` = 0)) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`b`.`formNo` AS `referenceNo`,'comp_sales_debitnote' AS `comp_sales_debitnote`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_sales_debitnote` `a` join `comp_journal` `b`) where ((convert(`a`.`journalNo` using utf8) = `b`.`journalID`) and (`a`.`is_delete` = 0)) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`a`.`customerPoNo` AS `referenceNo`,'comp_sales_invoice' AS `comp_sales_invoice`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_sales_invoice` `a` join `comp_journal` `b`) where ((convert(`a`.`journalNo` using utf8) = `b`.`journalID`) and (`a`.`is_delete` = 0)) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`b`.`formNo` AS `referenceNo`,'comp_supplier_creditnote' AS `comp_supplier_creditnote`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_supplier_creditnote` `a` join `comp_journal` `b`) where ((convert(`a`.`journalNo` using utf8) = `b`.`journalID`) and (`a`.`is_delete` = 0)) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`b`.`formNo` AS `referenceNo`,'comp_supplier_debitnote' AS `comp_supplier_debitnote`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_supplier_debitnote` `a` join `comp_journal` `b`) where ((convert(`a`.`journalNo` using utf8) = `b`.`journalID`) and (`a`.`is_delete` = 0)) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`a`.`supplierInvoiceNo` AS `referenceNo`,'comp_supplier_invoice' AS `comp_supplier_invoice`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_supplier_invoice` `a` join `comp_journal` `b`) where ((convert(`a`.`journalNo` using utf8) = `b`.`journalID`) and (`a`.`is_delete` = 0)) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`b`.`formNo` AS `referenceNo`,'comp_delivery_order' AS `comp_delivery_order`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_delivery_order` `a` join `comp_journal` `b`) where (convert(`a`.`journalNo` using utf8) = `b`.`journalID`) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`a`.`reference` AS `referenceNo`,'comp_gst_transaction' AS `comp_gst_transaction`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_gst_transaction` `a` join `comp_journal` `b`) where (convert(`a`.`journalNo` using utf8) = `b`.`journalID`) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`a`.`supplierDoNo` AS `referenceNo`,'comp_receive_item' AS `comp_receive_item`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_receive_item` `a` join `comp_journal` `b`) where (convert(`a`.`journalNo` using utf8) = `b`.`journalID`) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_loan_report`
--

/*!50001 DROP TABLE IF EXISTS `view_loan_report`*/;
/*!50001 DROP VIEW IF EXISTS `view_loan_report`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_loan_report` AS select `a`.`ID` AS `acctID`,`a`.`companyID` AS `companyID`,`a`.`acctGroupID` AS `acctGroupID`,`a`.`acctCode` AS `acctCode`,`a`.`acctName` AS `acctName`,if(((year(`a`.`createdTS`) = `c`.`year`) or isnull(`c`.`year`)),(`a`.`openingBalanceCr` * -(1)),ifnull((select `view_total_debitcredit`.`balance` from `view_total_debitcredit` where ((`view_total_debitcredit`.`acctID` = `a`.`ID`) and ((`view_total_debitcredit`.`year` + 1) = `c`.`year`))),0)) AS `openingBalanceCr`,ifnull((select `view_total_debitcredit`.`balance` from `view_total_debitcredit` where ((`view_total_debitcredit`.`acctID` = `a`.`ID`) and (`view_total_debitcredit`.`year` = ifnull(`c`.`year`,year(`a`.`createdTS`))))),0) AS `balanceLoan`,ifnull((sum(if((`c`.`formNo` like '%LR%'),`c`.`amount_cr`,0)) * -(1)),0) AS `newloan`,ifnull(`c`.`year`,year(`a`.`createdTS`)) AS `year`,ifnull(sum(if((`c`.`period` = 1),`c`.`amount_dr`,0)),0) AS `january`,ifnull(sum(if((`c`.`period` = 2),`c`.`amount_dr`,0)),0) AS `february`,ifnull(sum(if((`c`.`period` = 3),`c`.`amount_dr`,0)),0) AS `march`,ifnull(sum(if((`c`.`period` = 4),`c`.`amount_dr`,0)),0) AS `april`,ifnull(sum(if((`c`.`period` = 5),`c`.`amount_dr`,0)),0) AS `may`,ifnull(sum(if((`c`.`period` = 6),`c`.`amount_dr`,0)),0) AS `june`,ifnull(sum(if((`c`.`period` = 7),`c`.`amount_dr`,0)),0) AS `july`,ifnull(sum(if((`c`.`period` = 8),`c`.`amount_dr`,0)),0) AS `august`,ifnull(sum(if((`c`.`period` = 9),`c`.`amount_dr`,0)),0) AS `september`,ifnull(sum(if((`c`.`period` = 10),`c`.`amount_dr`,0)),0) AS `october`,ifnull(sum(if((`c`.`period` = 11),`c`.`amount_dr`,0)),0) AS `november`,ifnull(sum(if((`c`.`period` = 12),`c`.`amount_dr`,0)),0) AS `december`,max(`b`.`effective_date`) AS `lastPaymentDate`,ifnull((select `e`.`amount_dr` from (`comp_journal_detail` `e` join `comp_journal` `s` on(((`s`.`journalID` = `e`.`journalID`) and (`s`.`companyID` = `e`.`companyID`)))) where ((`e`.`acctCode` = `a`.`ID`) and (`e`.`amount_dr` > 0) and ((`e`.`formNo` like '%OP-L%') or (`e`.`formNo` like '%LR%')) and (`e`.`year` = `c`.`year`)) order by `s`.`effective_date` desc limit 0,1),0) AS `lastPaymentAmount` from (((`comp_chart_of_acct` `a` left join `comp_journal_detail` `c` on((`a`.`ID` = `c`.`acctCode`))) left join `comp_journal` `b` on(((`b`.`journalID` = `c`.`journalID`) and (`c`.`companyID` = `b`.`companyID`) and (`b`.`is_delete` = 0)))) join `view_total_debitcredit` `vt`) where ((`a`.`is_delete` = 0) and (`a`.`acctGroupID` = 4) and (`a`.`ID` = `vt`.`acctID`) and ((`c`.`year` = `vt`.`year`) or isnull(`c`.`year`))) group by `a`.`companyID`,`a`.`acctGroupID`,`a`.`acctCode`,`a`.`acctName`,`a`.`openingBalanceDr`,`a`.`openingBalanceCr`,`year` having ((`balanceLoan` < 0) or (`openingBalanceCr` < 0) or (`newloan` < 0) or ((((((((((((`january` + `february`) + `march`) + `april`) + `may`) + `june`) + `july`) + `august`) + `september`) + `october`) + `november`) + `december`) > 0)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_open_ar_invoice`
--

/*!50001 DROP TABLE IF EXISTS `view_open_ar_invoice`*/;
/*!50001 DROP VIEW IF EXISTS `view_open_ar_invoice`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_open_ar_invoice` AS select `comp_sales_invoice`.`companyID` AS `companyID`,`comp_sales_invoice`.`salesInvoiceDate` AS `salesInvoiceDate`,date_format(`comp_sales_invoice`.`salesInvoiceDate`,'%Y') AS `salesYear`,date_format(`comp_sales_invoice`.`salesInvoiceDate`,'%m') AS `salesMonth`,date_format(`comp_sales_invoice`.`salesInvoiceDate`,'%b') AS `slsMonth`,(`comp_sales_invoice`.`totalReceivable` * if((`comp_sales_invoice`.`exchangeRate` = 0),1,`comp_sales_invoice`.`exchangeRate`)) AS `totalAmount` from `comp_sales_invoice` where (`comp_sales_invoice`.`totalReceivable` <> 0) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_sales_monthly`
--

/*!50001 DROP TABLE IF EXISTS `view_sales_monthly`*/;
/*!50001 DROP VIEW IF EXISTS `view_sales_monthly`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_sales_monthly` AS select `comp_receive_payment_others`.`companyID` AS `companyID`,date_format(`comp_receive_payment_others`.`receivePaymentDate`,'%Y%m') AS `yymm`,year(`comp_receive_payment_others`.`receivePaymentDate`) AS `yy`,month(`comp_receive_payment_others`.`receivePaymentDate`) AS `mm`,sum(`comp_receive_payment_others`.`totalReceived`) AS `totalreceived` from `comp_receive_payment_others` where (`comp_receive_payment_others`.`is_delete` = 0) group by `comp_receive_payment_others`.`companyID`,year(`comp_receive_payment_others`.`receivePaymentDate`),month(`comp_receive_payment_others`.`receivePaymentDate`) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_sales_weekly`
--

/*!50001 DROP TABLE IF EXISTS `view_sales_weekly`*/;
/*!50001 DROP VIEW IF EXISTS `view_sales_weekly`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_sales_weekly` AS select `comp_receive_payment_others`.`companyID` AS `companyID`,year(`comp_receive_payment_others`.`receivePaymentDate`) AS `yy`,month(`comp_receive_payment_others`.`receivePaymentDate`) AS `mm`,week(`comp_receive_payment_others`.`receivePaymentDate`,0) AS `ww`,sum(`comp_receive_payment_others`.`totalReceived`) AS `totalreceived` from `comp_receive_payment_others` where (`comp_receive_payment_others`.`is_delete` = 0) group by `comp_receive_payment_others`.`companyID`,year(`comp_receive_payment_others`.`receivePaymentDate`),month(`comp_receive_payment_others`.`receivePaymentDate`),week(`comp_receive_payment_others`.`receivePaymentDate`,0) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_salescreditnote`
--

/*!50001 DROP TABLE IF EXISTS `view_salescreditnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_salescreditnote`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_salescreditnote` AS select `si`.`ID` AS `invoiceDetailID`,`_sys_um`.`code` AS `unitOfMeasure`,`si`.`ID` AS `ID`,`si`.`invoiceID` AS `invoiceID`,`si`.`doID` AS `doID`,`si`.`lineNo` AS `lineNo`,`si`.`itemID` AS `itemID`,`si`.`umID` AS `umID`,`si`.`quantity` AS `quantity`,`si`.`unitPrice` AS `unitPrice`,`si`.`amountExcludedTax` AS `amountExcludedTax`,`si`.`taxID` AS `taxID`,`si`.`taxRate` AS `taxRate`,`si`.`taxAmount` AS `taxAmount`,`si`.`amountIncludedTax` AS `amountIncludedTax`,`si`.`accountID` AS `accountID`,`si`.`createdBy` AS `createdBy`,`si`.`createdTS` AS `createdTS`,`si`.`updatedBy` AS `updatedBy`,`si`.`updatedTS` AS `updatedTS`,`tax_master`.`code` AS `code`,`item`.`itemCode` AS `itemCode`,`item`.`name` AS `name`,`si`.`itemdescription` AS `description`,((`si`.`quantity` + ifnull((select sum(`dnd`.`quantity`) from `comp_sales_debitnote_detail` `dnd` where (`si`.`ID` = `dnd`.`invoiceDetailID`)),0)) - ifnull((select sum(`scd`.`quantity`) from `comp_sales_creditnote_detail` `scd` where (`scd`.`invoiceDetailID` = `si`.`ID`)),0)) AS `exactQty` from (((`comp_sales_invoice_detail` `si` left join `tax_master` on((`tax_master`.`ID` = `si`.`taxID`))) left join `item` on((`si`.`itemID` = `item`.`ID`))) left join `_sys_um` on((`_sys_um`.`fldid` = `si`.`umID`))) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_salesdebitnote`
--

/*!50001 DROP TABLE IF EXISTS `view_salesdebitnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_salesdebitnote`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_salesdebitnote` AS select `si`.`ID` AS `invoiceDetailID`,`_sys_um`.`code` AS `unitOfMeasure`,`si`.`ID` AS `ID`,`si`.`invoiceID` AS `invoiceID`,`si`.`doID` AS `doID`,`si`.`lineNo` AS `lineNo`,`si`.`itemID` AS `itemID`,`si`.`umID` AS `umID`,`si`.`quantity` AS `quantity`,`si`.`unitPrice` AS `unitPrice`,`si`.`amountExcludedTax` AS `amountExcludedTax`,`si`.`taxID` AS `taxID`,`si`.`taxRate` AS `taxRate`,`si`.`taxAmount` AS `taxAmount`,`si`.`amountIncludedTax` AS `amountIncludedTax`,`si`.`accountID` AS `accountID`,`si`.`createdBy` AS `createdBy`,`si`.`createdTS` AS `createdTS`,`si`.`updatedBy` AS `updatedBy`,`si`.`updatedTS` AS `updatedTS`,`tax_master`.`code` AS `code`,`item`.`itemCode` AS `itemCode`,`item`.`name` AS `name`,`si`.`itemdescription` AS `description`,((`si`.`quantity` + ifnull((select sum(`dnd`.`quantity`) from `comp_sales_debitnote_detail` `dnd` where (`si`.`ID` = `dnd`.`invoiceDetailID`)),0)) - ifnull((select sum(`scd`.`quantity`) from `comp_sales_creditnote_detail` `scd` where (`scd`.`invoiceDetailID` = `si`.`ID`)),0)) AS `exactQty` from (((`comp_sales_invoice_detail` `si` left join `tax_master` on((`tax_master`.`ID` = `si`.`taxID`))) left join `item` on((`si`.`itemID` = `item`.`ID`))) left join `_sys_um` on((`_sys_um`.`fldid` = `si`.`umID`))) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_search`
--

/*!50001 DROP TABLE IF EXISTS `view_search`*/;
/*!50001 DROP VIEW IF EXISTS `view_search`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_search` AS select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat(if((`a`.`updateAble` = 1),'arTransaction/editcashsale/','arReports/cashsalelistDetail/'),`a`.`ID`) AS `searchLink`,concat('Cash Sale&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`salesInvoiceDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`paymentFrom`) AS `searchKey`,`a`.`salesInvoiceDate` AS `transDate` from `comp_cash_sales` `a` union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat(if((`a`.`updateAble` = 1),'sotransaction/SalesDO/','soreport/DeliveryOrderDetail/'),`a`.`ID`) AS `searchLink`,concat('Delivery Order&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`deliveryOrderDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`customerName`) AS `searchKey`,`a`.`deliveryOrderDate` AS `transDate` from (`comp_delivery_order` `a` join `customer` `b`) where (`a`.`customerID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat(if((`a`.`updateable` = 1),'locationtransfer/edit/','locationtransfer/reportdetail/'),`a`.`ID`) AS `searchLink`,concat('Inventory Transfer&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(`a`.`formNo` using utf8),'[',convert(lpad(`a`.`serialNo`,8,'0') using utf8),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`dateTransfer`,'%d/%m/%Y') using utf8),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`code`,'&nbsp',`b`.`desc`) AS `searchKey`,`a`.`dateTransfer` AS `transDate` from (`comp_location_transfer` `a` join `tbl_location` `b`) where (`a`.`fromLocationID` = `b`.`fldid`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat(if((`a`.`updateAble` = 1),'aptransaction/editPayment/','Apreports/supplierpaymentDetail/'),`a`.`ID`) AS `searchLink`,concat('Payment&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`paymentDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`supplierName`) AS `searchKey`,`a`.`paymentDate` AS `transDate` from (`comp_payment` `a` join `supplier` `b`) where (`a`.`supplierID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,(case `a`.`formNo` when (`a`.`formNo` like '%OR%') then concat(if((`a`.`updateAble` = 1),'sales/edit_sale/','sales/print_sale/'),`a`.`ID`) when (`a`.`formNo` like '%OP-C%') then concat(if((`a`.`updateAble` = 1),'expenses/addNew/cogs/','expenses/printDetail/'),`a`.`ID`,'/cogs') when (`a`.`formNo` like '%OP-E%') then concat(if((`a`.`updateAble` = 1),'expenses/addNew/expenses/','expenses/printDetail/'),`a`.`ID`,'/operational') when (`a`.`formNo` like '%OP-L%') then concat(if((`a`.`updateAble` = 1),'expenses/addNew/loan/','expenses/printDetail/'),`a`.`ID`,'/loan') when (`a`.`formNo` like '%OP-A%') then concat(if((`a`.`updateAble` = 1),'expenses/addNew/asset/','expenses/printDetail/'),`a`.`ID`,'/asset') when (`a`.`formNo` like '%TT%') then concat(if((`a`.`updateAble` = 1),'transfer/','transfer/print_transfer/'),`a`.`ID`) when (`a`.`formNo` like '%LR%') then concat(if((`a`.`updateAble` = 1),'loanReceive/','loanReceive/print_loanReceive/'),`a`.`ID`) else concat(if((`a`.`updateAble` = 1),'othersPayment/editPayWithoutItem/','othersPayment/otherpaywithoutDetail/'),`a`.`ID`) end) AS `searchLink`,concat('Payment Others&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`paymentDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`payTo`) AS `searchKey`,`a`.`paymentDate` AS `transDate` from `comp_payment_others` `a` union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat(if((`a`.`updateAble` = 1),'PO_Transaction/edit/','purchaseReports/PODetails/'),`a`.`ID`) AS `searchLink`,concat('Purchase Order&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`poDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`supplierName`) AS `searchKey`,`a`.`poDate` AS `transDate` from (`comp_purchase_order` `a` join `supplier` `b`) where (`a`.`supplierID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat('soreport/SalesQuotationDetail/',`a`.`ID`) AS `searchLink`,concat('Quotation&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`quotationDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`customerName`) AS `searchKey`,`a`.`quotationDate` AS `transDate` from (`comp_quotation` `a` join `customer` `b`) where (`a`.`customerID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat(if((`a`.`updateAble` = 1),'receiveItems/editReceiveItem/','receiveItems/ReceiveItemDetails/'),`a`.`ID`) AS `searchLink`,concat('Receive Item&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`deliveryDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`supplierName`) AS `searchKey`,`a`.`deliveryDate` AS `transDate` from (`comp_receive_item` `a` join `supplier` `b`) where (`a`.`supplierID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat(if((`a`.`updateAble` = 1),'artransaction/editReceivePayment/','arReports/compRecPaymentDetail/'),`a`.`ID`) AS `searchLink`,concat('Receive Payment&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`receivePaymentDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`customerName`) AS `searchKey`,`a`.`receivePaymentDate` AS `transDate` from (`comp_receive_payment` `a` join `customer` `b`) where (`a`.`customerID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat(if((`a`.`updateAble` = 1),'gltransaction/editotherreceive/','glreports/otherReceiveAdviceRpt/'),`a`.`ID`) AS `searchLink`,concat('Receive Payment Others&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`receivePaymentDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`receiveFrom`) AS `searchKey`,`a`.`receivePaymentDate` AS `transDate` from `comp_receive_payment_others` `a` union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat(if((`a`.`updateAble` = 1),'artransaction/editSaleCreditNote/','arreports/salescreditnoteDetail/'),`a`.`ID`) AS `searchLink`,concat('Sales Credit Note&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`creditNoteDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`customerName`) AS `searchKey`,`a`.`creditNoteDate` AS `transDate` from (`comp_sales_creditnote` `a` join `customer` `b`) where (`a`.`customerID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat(if((`a`.`updateAble` = 1),'artransaction/editSaleDebitNote/','arreports/salesdebitnoteDetail/'),`a`.`ID`) AS `searchLink`,concat('Sales Debit Note&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`debitNoteDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`customerName`) AS `searchKey`,`a`.`debitNoteDate` AS `transDate` from (`comp_sales_debitnote` `a` join `customer` `b`) where (`a`.`customerID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat('arReports/salesInvoiceDetail/',`a`.`ID`) AS `searchLink`,concat('Sales Invoice&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`salesInvoiceDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`customerName`) AS `searchKey`,`a`.`salesInvoiceDate` AS `transDate` from (`comp_sales_invoice` `a` join `customer` `b`) where (`a`.`customerID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat('soreport/SalesOrderDetail/',`a`.`ID`) AS `searchLink`,concat('Sales Order&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`salesOrderDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`customerName`) AS `searchKey`,`a`.`salesOrderDate` AS `transDate` from (`comp_sales_order` `a` join `customer` `b`) where (`a`.`customerID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat(if((`a`.`updateAble` = 1),'aptransaction/editCreditNote/','Apreports/creditNoteDetail/'),`a`.`ID`) AS `searchLink`,concat('Supplier Credit Note&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`creditNoteDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`supplierName`) AS `searchKey`,`a`.`creditNoteDate` AS `transDate` from (`comp_supplier_creditnote` `a` join `supplier` `b`) where (`a`.`supplierID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat(if((`a`.`updateAble` = 1),'aptransaction/editDebitNote/','Apreports/debitNoteDetail/'),`a`.`ID`) AS `searchLink`,concat('Supplier Debit Note&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`debitNoteDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`supplierName`) AS `searchKey`,`a`.`debitNoteDate` AS `transDate` from (`comp_supplier_debitnote` `a` join `supplier` `b`) where (`a`.`supplierID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat('apreports/purchaseInvoiceDetail/',`a`.`ID`) AS `searchLink`,concat('Purchase Invoice&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`invoiceDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`supplierName`) AS `searchKey`,`a`.`invoiceDate` AS `transDate` from (`comp_supplier_invoice` `a` join `supplier` `b`) where (`a`.`supplierID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat('sales/print_sale/',`a`.`ID`) AS `searchLink`,concat('Sale&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`receivePaymentDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`description`) AS `searchKey`,`a`.`receivePaymentDate` AS `transDate` from (`comp_receive_payment_others` `a` join `comp_receive_payment_others_detail` `b`) where (`a`.`ID` = `b`.`receivePaymentOthersID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat('expenses/printDetail/',`a`.`ID`) AS `searchLink`,concat('Sale&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`paymentDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`itemdescription`) AS `searchKey`,`a`.`paymentDate` AS `transDate` from (`comp_payment_others` `a` join `comp_payment_others_without_item` `b`) where (`a`.`ID` = `b`.`otherPaymentID`) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_cash_sales`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_cash_sales`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_cash_sales`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_cash_sales` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_cash_sales` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 121))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_delivery_order`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_delivery_order`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_delivery_order`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_delivery_order` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_delivery_order` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 49))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_gst_transaction`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_gst_transaction`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_gst_transaction`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_gst_transaction` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_gst_transaction` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 118))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_historical_customer_invoice`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_historical_customer_invoice`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_historical_customer_invoice`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_historical_customer_invoice` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_historical_customer_invoice` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 41))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_historical_supplier_invoice`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_historical_supplier_invoice`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_historical_supplier_invoice`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_historical_supplier_invoice` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_historical_supplier_invoice` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 41))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_location_transfer`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_location_transfer`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_location_transfer`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_location_transfer` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_location_transfer` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 46))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_payment`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_payment`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_payment`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_payment` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_payment` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 44))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_payment_others`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_payment_others`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_payment_others`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_payment_others` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_payment_others` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 55))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_purchase_order`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_purchase_order`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_purchase_order`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_purchase_order` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`po`.`serialNo`) from `comp_purchase_order` `po` where (`c`.`ID` = `po`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 40))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_quotation`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_quotation`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_quotation`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_quotation` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_quotation` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 47))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_receive_item`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_receive_item`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_receive_item`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_receive_item` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_receive_item` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 54))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_receive_payment`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_receive_payment`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_receive_payment`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_receive_payment` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_receive_payment` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 53))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_receive_payment_others`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_receive_payment_others`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_receive_payment_others`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_receive_payment_others` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_receive_payment_others` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 56))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_sales_creditnote`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_sales_creditnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_sales_creditnote`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_sales_creditnote` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_sales_creditnote` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 52))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_sales_debitnote`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_sales_debitnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_sales_debitnote`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_sales_debitnote` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_sales_debitnote` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 51))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_sales_invoice`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_sales_invoice`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_sales_invoice`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_sales_invoice` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_sales_invoice` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 50))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_sales_order`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_sales_order`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_sales_order`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_sales_order` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_sales_order` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 48))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_supplier_creditnote`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_supplier_creditnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_supplier_creditnote`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_supplier_creditnote` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_supplier_creditnote` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 43))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_supplier_debitnote`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_supplier_debitnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_supplier_debitnote`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_supplier_debitnote` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_supplier_debitnote` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 42))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_supplier_invoice`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_supplier_invoice`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_supplier_invoice`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_supplier_invoice` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_supplier_invoice` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 41))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_sme_cash_flow`
--

/*!50001 DROP TABLE IF EXISTS `view_sme_cash_flow`*/;
/*!50001 DROP VIEW IF EXISTS `view_sme_cash_flow`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_sme_cash_flow` AS select `a`.`companyID` AS `companyID`,`a`.`acctGroupID` AS `acctGroupID`,`a`.`acctCode` AS `acctCode`,`a`.`acctName` AS `acctName`,if(((year(`a`.`createdTS`) = `c`.`year`) or isnull(`c`.`year`)),`a`.`openingBalanceDr`,ifnull((select `view_total_debitcredit`.`balance` from `view_total_debitcredit` where ((`view_total_debitcredit`.`acctID` = `a`.`ID`) and ((`view_total_debitcredit`.`year` - 1) = `c`.`year`))),0)) AS `openingBalanceDr`,if(((year(`a`.`createdTS`) = `c`.`year`) or isnull(`c`.`year`)),`a`.`openingBalanceCr`,ifnull((select `view_total_debitcredit`.`balance` from `view_total_debitcredit` where ((`view_total_debitcredit`.`acctID` = `a`.`ID`) and ((`view_total_debitcredit`.`year` - 1) = `c`.`year`))),0)) AS `openingBalanceCr`,ifnull(`c`.`year`,year(`a`.`createdTS`)) AS `year`,ifnull(sum(if((`c`.`period` = 1),`c`.`amount_dr`,0)),0) AS `january`,ifnull(sum(if((`c`.`period` = 2),`c`.`amount_dr`,0)),0) AS `february`,ifnull(sum(if((`c`.`period` = 3),`c`.`amount_dr`,0)),0) AS `march`,ifnull(sum(if((`c`.`period` = 4),`c`.`amount_dr`,0)),0) AS `april`,ifnull(sum(if((`c`.`period` = 5),`c`.`amount_dr`,0)),0) AS `may`,ifnull(sum(if((`c`.`period` = 6),`c`.`amount_dr`,0)),0) AS `june`,ifnull(sum(if((`c`.`period` = 7),`c`.`amount_dr`,0)),0) AS `july`,ifnull(sum(if((`c`.`period` = 8),`c`.`amount_dr`,0)),0) AS `august`,ifnull(sum(if((`c`.`period` = 9),`c`.`amount_dr`,0)),0) AS `september`,ifnull(sum(if((`c`.`period` = 10),`c`.`amount_dr`,0)),0) AS `october`,ifnull(sum(if((`c`.`period` = 11),`c`.`amount_dr`,0)),0) AS `november`,ifnull(sum(if((`c`.`period` = 12),`c`.`amount_dr`,0)),0) AS `december` from ((`comp_chart_of_acct` `a` left join `comp_journal_detail` `c` on((`a`.`ID` = `c`.`acctCode`))) left join `comp_journal` `b` on(((`b`.`journalID` = `c`.`journalID`) and (`c`.`companyID` = `b`.`companyID`)))) where ((`a`.`is_delete` = 0) and (`b`.`is_delete` = 0) and (`a`.`acctGroupID` in (2,3,4,8,10))) group by `a`.`companyID`,`a`.`acctGroupID`,`a`.`acctCode`,`a`.`acctName`,`a`.`openingBalanceDr`,`a`.`openingBalanceCr`,`c`.`year` having (((`a`.`acctGroupID` = 3) and ((((((((((((((`openingBalanceDr` + `openingBalanceCr`) + `january`) + `february`) + `march`) + `april`) + `may`) + `june`) + `july`) + `august`) + `september`) + `october`) + `november`) + `december`) > 0)) or ((`a`.`acctGroupID` in (2,4,8,10)) and ((((((((((((`january` + `february`) + `march`) + `april`) + `may`) + `june`) + `july`) + `august`) + `september`) + `october`) + `november`) + `december`) > 0))) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_sme_cash_tt_out`
--

/*!50001 DROP TABLE IF EXISTS `view_sme_cash_tt_out`*/;
/*!50001 DROP VIEW IF EXISTS `view_sme_cash_tt_out`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_sme_cash_tt_out` AS select `a`.`companyID` AS `companyID`,`a`.`acctGroupID` AS `acctGroupID`,`a`.`acctCode` AS `acctCode`,`a`.`acctName` AS `acctName`,`vtdc`.`openingBalanceDr` AS `openingBalanceDr`,`vtdc`.`openingBalanceCr` AS `openingBalanceCr`,ifnull(`c`.`year`,year(`a`.`createdTS`)) AS `year`,ifnull(sum(if((`c`.`period` = 1),`c`.`amount_cr`,0)),0) AS `january`,ifnull(sum(if((`c`.`period` = 2),`c`.`amount_cr`,0)),0) AS `february`,ifnull(sum(if((`c`.`period` = 3),`c`.`amount_cr`,0)),0) AS `march`,ifnull(sum(if((`c`.`period` = 4),`c`.`amount_cr`,0)),0) AS `april`,ifnull(sum(if((`c`.`period` = 5),`c`.`amount_cr`,0)),0) AS `may`,ifnull(sum(if((`c`.`period` = 6),`c`.`amount_cr`,0)),0) AS `june`,ifnull(sum(if((`c`.`period` = 7),`c`.`amount_cr`,0)),0) AS `july`,ifnull(sum(if((`c`.`period` = 8),`c`.`amount_cr`,0)),0) AS `august`,ifnull(sum(if((`c`.`period` = 9),`c`.`amount_cr`,0)),0) AS `september`,ifnull(sum(if((`c`.`period` = 10),`c`.`amount_cr`,0)),0) AS `october`,ifnull(sum(if((`c`.`period` = 11),`c`.`amount_cr`,0)),0) AS `november`,ifnull(sum(if((`c`.`period` = 12),`c`.`amount_cr`,0)),0) AS `december` from (((`comp_chart_of_acct` `a` left join `comp_journal_detail` `c` on((`a`.`ID` = `c`.`acctCode`))) left join `comp_journal` `b` on(((`b`.`journalID` = `c`.`journalID`) and (`c`.`companyID` = `b`.`companyID`)))) left join `view_total_debitcredit` `vtdc` on(((`vtdc`.`companyID` = `b`.`companyID`) and (`vtdc`.`acctID` = `a`.`ID`) and ((`vtdc`.`year` = `c`.`year`) or (`vtdc`.`year` = year(`a`.`createdTS`)))))) where ((`a`.`is_delete` = 0) and (`b`.`is_delete` = 0) and (`a`.`acctGroupID` = 3) and (`c`.`formNo` like 'TT%')) group by `a`.`companyID`,`a`.`acctGroupID`,`a`.`acctCode`,`a`.`acctName`,`a`.`openingBalanceDr`,`a`.`openingBalanceCr`,`c`.`year` having ((`a`.`acctGroupID` = 3) and ((((((((((((`january` + `february`) + `march`) + `april`) + `may`) + `june`) + `july`) + `august`) + `september`) + `october`) + `november`) + `december`) > 0)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_supplier_aging`
--

/*!50001 DROP TABLE IF EXISTS `view_supplier_aging`*/;
/*!50001 DROP VIEW IF EXISTS `view_supplier_aging`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_supplier_aging` AS select `a`.`companyID` AS `companyID`,`a`.`ID` AS `supplierID`,((ifnull((select sum(`comp_supplier_invoice`.`totalPayable`) from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_invoice`.`invoiceDate`,now()) = 0) and (`comp_supplier_invoice`.`updateAble` = 0) and (`comp_supplier_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_supplier_creditnote`.`total`) from `comp_supplier_creditnote` where ((`comp_supplier_creditnote`.`companyID` = `a`.`companyID`) and (`comp_supplier_creditnote`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_creditnote`.`creditNoteDate`,now()) = 0) and (`comp_supplier_creditnote`.`updateAble` = 0) and (`comp_supplier_creditnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_supplier_invoice`.`totalPayable`) from `comp_historical_supplier_invoice` where ((`comp_historical_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_supplier_invoice`.`invoiceDate`,now()) = 0) and (`comp_historical_supplier_invoice`.`updateAble` = 0) and (`comp_historical_supplier_invoice`.`is_delete` = 0))),0)) AS `current`,((ifnull((select sum(`comp_supplier_invoice`.`totalPayable`) from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_invoice`.`invoiceDate`,now()) = 1) and (`comp_supplier_invoice`.`updateAble` = 0) and (`comp_supplier_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_supplier_creditnote`.`total`) from `comp_supplier_creditnote` where ((`comp_supplier_creditnote`.`companyID` = `a`.`companyID`) and (`comp_supplier_creditnote`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_creditnote`.`creditNoteDate`,now()) = 1) and (`comp_supplier_creditnote`.`updateAble` = 0) and (`comp_supplier_creditnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_supplier_invoice`.`totalPayable`) from `comp_historical_supplier_invoice` where ((`comp_historical_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_supplier_invoice`.`invoiceDate`,now()) = 1) and (`comp_historical_supplier_invoice`.`updateAble` = 0) and (`comp_historical_supplier_invoice`.`is_delete` = 0))),0)) AS `month1`,((ifnull((select sum(`comp_supplier_invoice`.`totalPayable`) from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_invoice`.`invoiceDate`,now()) = 2) and (`comp_supplier_invoice`.`updateAble` = 0) and (`comp_supplier_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_supplier_creditnote`.`total`) from `comp_supplier_creditnote` where ((`comp_supplier_creditnote`.`companyID` = `a`.`companyID`) and (`comp_supplier_creditnote`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_creditnote`.`creditNoteDate`,now()) = 2) and (`comp_supplier_creditnote`.`updateAble` = 0) and (`comp_supplier_creditnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_supplier_invoice`.`totalPayable`) from `comp_historical_supplier_invoice` where ((`comp_historical_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_supplier_invoice`.`invoiceDate`,now()) = 2) and (`comp_historical_supplier_invoice`.`updateAble` = 0) and (`comp_historical_supplier_invoice`.`is_delete` = 0))),0)) AS `month2`,((ifnull((select sum(`comp_supplier_invoice`.`totalPayable`) from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_invoice`.`invoiceDate`,now()) = 3) and (`comp_supplier_invoice`.`updateAble` = 0) and (`comp_supplier_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_supplier_creditnote`.`total`) from `comp_supplier_creditnote` where ((`comp_supplier_creditnote`.`companyID` = `a`.`companyID`) and (`comp_supplier_creditnote`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_creditnote`.`creditNoteDate`,now()) = 3) and (`comp_supplier_creditnote`.`updateAble` = 0) and (`comp_supplier_creditnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_supplier_invoice`.`totalPayable`) from `comp_historical_supplier_invoice` where ((`comp_historical_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_supplier_invoice`.`invoiceDate`,now()) = 3) and (`comp_historical_supplier_invoice`.`updateAble` = 0) and (`comp_historical_supplier_invoice`.`is_delete` = 0))),0)) AS `month3`,((ifnull((select sum(`comp_supplier_invoice`.`totalPayable`) from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_invoice`.`invoiceDate`,now()) = 4) and (`comp_supplier_invoice`.`updateAble` = 0) and (`comp_supplier_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_supplier_creditnote`.`total`) from `comp_supplier_creditnote` where ((`comp_supplier_creditnote`.`companyID` = `a`.`companyID`) and (`comp_supplier_creditnote`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_creditnote`.`creditNoteDate`,now()) = 4) and (`comp_supplier_creditnote`.`updateAble` = 0) and (`comp_supplier_creditnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_supplier_invoice`.`totalPayable`) from `comp_historical_supplier_invoice` where ((`comp_historical_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_supplier_invoice`.`invoiceDate`,now()) = 4) and (`comp_historical_supplier_invoice`.`updateAble` = 0) and (`comp_historical_supplier_invoice`.`is_delete` = 0))),0)) AS `month4`,((ifnull((select sum(`comp_supplier_invoice`.`totalPayable`) from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_invoice`.`invoiceDate`,now()) = 5) and (`comp_supplier_invoice`.`updateAble` = 0) and (`comp_supplier_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_supplier_creditnote`.`total`) from `comp_supplier_creditnote` where ((`comp_supplier_creditnote`.`companyID` = `a`.`companyID`) and (`comp_supplier_creditnote`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_creditnote`.`creditNoteDate`,now()) = 5) and (`comp_supplier_creditnote`.`updateAble` = 0) and (`comp_supplier_creditnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_supplier_invoice`.`totalPayable`) from `comp_historical_supplier_invoice` where ((`comp_historical_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_supplier_invoice`.`invoiceDate`,now()) = 5) and (`comp_historical_supplier_invoice`.`updateAble` = 0) and (`comp_historical_supplier_invoice`.`is_delete` = 0))),0)) AS `month5`,((ifnull((select sum(`comp_supplier_invoice`.`totalPayable`) from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_invoice`.`invoiceDate`,now()) = 6) and (`comp_supplier_invoice`.`updateAble` = 0) and (`comp_supplier_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_supplier_creditnote`.`total`) from `comp_supplier_creditnote` where ((`comp_supplier_creditnote`.`companyID` = `a`.`companyID`) and (`comp_supplier_creditnote`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_creditnote`.`creditNoteDate`,now()) = 6) and (`comp_supplier_creditnote`.`updateAble` = 0) and (`comp_supplier_creditnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_supplier_invoice`.`totalPayable`) from `comp_historical_supplier_invoice` where ((`comp_historical_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_supplier_invoice`.`invoiceDate`,now()) = 6) and (`comp_historical_supplier_invoice`.`updateAble` = 0) and (`comp_historical_supplier_invoice`.`is_delete` = 0))),0)) AS `month6`,((ifnull((select sum(`comp_supplier_invoice`.`totalPayable`) from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_invoice`.`invoiceDate`,now()) = 7) and (`comp_supplier_invoice`.`updateAble` = 0) and (`comp_supplier_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_supplier_creditnote`.`total`) from `comp_supplier_creditnote` where ((`comp_supplier_creditnote`.`companyID` = `a`.`companyID`) and (`comp_supplier_creditnote`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_creditnote`.`creditNoteDate`,now()) = 7) and (`comp_supplier_creditnote`.`updateAble` = 0) and (`comp_supplier_creditnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_supplier_invoice`.`totalPayable`) from `comp_historical_supplier_invoice` where ((`comp_historical_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_supplier_invoice`.`invoiceDate`,now()) = 7) and (`comp_historical_supplier_invoice`.`updateAble` = 0) and (`comp_historical_supplier_invoice`.`is_delete` = 0))),0)) AS `month7`,((ifnull((select sum(`comp_supplier_invoice`.`totalPayable`) from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_invoice`.`invoiceDate`,now()) = 8) and (`comp_supplier_invoice`.`updateAble` = 0) and (`comp_supplier_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_supplier_creditnote`.`total`) from `comp_supplier_creditnote` where ((`comp_supplier_creditnote`.`companyID` = `a`.`companyID`) and (`comp_supplier_creditnote`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_creditnote`.`creditNoteDate`,now()) = 8) and (`comp_supplier_creditnote`.`updateAble` = 0) and (`comp_supplier_creditnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_supplier_invoice`.`totalPayable`) from `comp_historical_supplier_invoice` where ((`comp_historical_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_supplier_invoice`.`invoiceDate`,now()) = 8) and (`comp_historical_supplier_invoice`.`updateAble` = 0) and (`comp_historical_supplier_invoice`.`is_delete` = 0))),0)) AS `month8`,((ifnull((select sum(`comp_supplier_invoice`.`totalPayable`) from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_invoice`.`invoiceDate`,now()) = 9) and (`comp_supplier_invoice`.`updateAble` = 0) and (`comp_supplier_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_supplier_creditnote`.`total`) from `comp_supplier_creditnote` where ((`comp_supplier_creditnote`.`companyID` = `a`.`companyID`) and (`comp_supplier_creditnote`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_creditnote`.`creditNoteDate`,now()) = 9) and (`comp_supplier_creditnote`.`updateAble` = 0) and (`comp_supplier_creditnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_supplier_invoice`.`totalPayable`) from `comp_historical_supplier_invoice` where ((`comp_historical_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_supplier_invoice`.`invoiceDate`,now()) = 9) and (`comp_historical_supplier_invoice`.`updateAble` = 0) and (`comp_historical_supplier_invoice`.`is_delete` = 0))),0)) AS `month9`,((ifnull((select sum(`comp_supplier_invoice`.`totalPayable`) from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_invoice`.`invoiceDate`,now()) = 10) and (`comp_supplier_invoice`.`updateAble` = 0) and (`comp_supplier_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_supplier_creditnote`.`total`) from `comp_supplier_creditnote` where ((`comp_supplier_creditnote`.`companyID` = `a`.`companyID`) and (`comp_supplier_creditnote`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_creditnote`.`creditNoteDate`,now()) = 10) and (`comp_supplier_creditnote`.`updateAble` = 0) and (`comp_supplier_creditnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_supplier_invoice`.`totalPayable`) from `comp_historical_supplier_invoice` where ((`comp_historical_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_supplier_invoice`.`invoiceDate`,now()) = 10) and (`comp_historical_supplier_invoice`.`updateAble` = 0) and (`comp_historical_supplier_invoice`.`is_delete` = 0))),0)) AS `month10`,((ifnull((select sum(`comp_supplier_invoice`.`totalPayable`) from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_invoice`.`invoiceDate`,now()) > 10) and (`comp_supplier_invoice`.`updateAble` = 0) and (`comp_supplier_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_supplier_creditnote`.`total`) from `comp_supplier_creditnote` where ((`comp_supplier_creditnote`.`companyID` = `a`.`companyID`) and (`comp_supplier_creditnote`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_creditnote`.`creditNoteDate`,now()) > 10) and (`comp_supplier_creditnote`.`updateAble` = 0) and (`comp_supplier_creditnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_supplier_invoice`.`totalPayable`) from `comp_historical_supplier_invoice` where ((`comp_historical_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_supplier_invoice`.`invoiceDate`,now()) > 10) and (`comp_historical_supplier_invoice`.`updateAble` = 0) and (`comp_historical_supplier_invoice`.`is_delete` = 0))),0)) AS `month11` from `supplier` `a` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_supplier_statement`
--

/*!50001 DROP TABLE IF EXISTS `view_supplier_statement`*/;
/*!50001 DROP VIEW IF EXISTS `view_supplier_statement`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_supplier_statement` AS select `comp_supplier_invoice`.`ID` AS `ID`,`comp_supplier_invoice`.`ID` AS `parent`,`comp_supplier_invoice`.`companyID` AS `companyID`,`comp_supplier_invoice`.`supplierID` AS `supplierID`,'Invoice' AS `transType`,`comp_supplier_invoice`.`invoiceDate` AS `transDate`,`comp_supplier_invoice`.`supplierInvoiceNo` AS `refNo`,concat(concat(concat(`comp_supplier_invoice`.`formNo`,'['),convert(lpad(`comp_supplier_invoice`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,NULL AS `dr`,`comp_supplier_invoice`.`totalAmount` AS `cr`,1 AS `seq` from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`updateAble` = 0) and (`comp_supplier_invoice`.`is_delete` = 0)) union select `a`.`ID` AS `ID`,`a`.`supplierInvoiceID` AS `parent`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,'DebitNote' AS `transType`,`a`.`debitNoteDate` AS `transDate`,concat(concat(concat(`b`.`formNo`,'['),convert(lpad(`b`.`serialNo`,8,'0') using latin1)),']') AS `refno`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`totalAmount` AS `dr`,NULL AS `cr`,2 AS `seq` from (`comp_supplier_debitnote` `a` join `comp_supplier_invoice` `b`) where ((`a`.`updateAble` = 0) and (`a`.`is_delete` = 0) and (`a`.`supplierInvoiceID` = `b`.`ID`)) union select `a`.`ID` AS `ID`,`a`.`supplierInvoiceID` AS `parent`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,'CreditNote' AS `transType`,`a`.`creditNoteDate` AS `transDate`,concat(concat(concat(`b`.`formNo`,'['),convert(lpad(`b`.`serialNo`,8,'0') using latin1)),']') AS `refno`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,NULL AS `dr`,`a`.`totalAmount` AS `cr`,3 AS `seq` from (`comp_supplier_creditnote` `a` join `comp_supplier_invoice` `b`) where ((`a`.`updateAble` = 0) and (`a`.`is_delete` = 0) and (`a`.`supplierInvoiceID` = `b`.`ID`)) union select `b`.`ID` AS `ID`,NULL AS `parent`,`b`.`companyID` AS `companyID`,`b`.`supplierID` AS `supplierID`,if((`b`.`updateAble` = 0),'Payment','** Payment') AS `transType`,`b`.`paymentDate` AS `transDate`,`b`.`referenceNo` AS `refNo`,concat(concat(concat(`b`.`formNo`,'['),convert(lpad(`b`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`b`.`amountPaid` AS `dr`,NULL AS `cr`,4 AS `seq` from `comp_payment` `b` where (`b`.`is_delete` = 0) union select `b`.`ID` AS `ID`,NULL AS `parent`,`b`.`companyID` AS `companyID`,`b`.`supplierID` AS `supplierID`,'Discount' AS `transType`,`b`.`paymentDate` AS `transDate`,`b`.`referenceNo` AS `refNo`,concat(concat(concat(`b`.`formNo`,'['),convert(lpad(`b`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`b`.`totalDiscount` AS `dr`,NULL AS `cr`,4 AS `seq` from `comp_payment` `b` where ((`b`.`updateAble` = 0) and (`b`.`is_delete` = 0)) union select `comp_historical_supplier_invoice`.`ID` AS `ID`,`comp_historical_supplier_invoice`.`ID` AS `parent`,`comp_historical_supplier_invoice`.`companyID` AS `companyID`,`comp_historical_supplier_invoice`.`supplierID` AS `supplierID`,'Historical Invoice' AS `transType`,`comp_historical_supplier_invoice`.`invoiceDate` AS `transDate`,`comp_historical_supplier_invoice`.`supplierInvoiceNo` AS `refNo`,concat(concat(concat(`comp_historical_supplier_invoice`.`formNo`,'['),convert(lpad(`comp_historical_supplier_invoice`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,NULL AS `dr`,`comp_historical_supplier_invoice`.`totalAmount` AS `cr`,1 AS `seq` from `comp_historical_supplier_invoice` where ((`comp_historical_supplier_invoice`.`updateAble` = 0) and (`comp_historical_supplier_invoice`.`is_delete` = 0)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_suppliercreditnote`
--

/*!50001 DROP TABLE IF EXISTS `view_suppliercreditnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_suppliercreditnote`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_suppliercreditnote` AS select `si`.`ID` AS `invoiceDetailID`,`si`.`umID` AS `invoiceUm`,`si`.`ID` AS `ID`,`si`.`invoiceID` AS `invoiceID`,`si`.`receiveID` AS `receiveID`,`si`.`lineNo` AS `lineNo`,`si`.`itemID` AS `itemID`,`si`.`itemname` AS `itemname`,`si`.`itemdescription` AS `itemdescription`,`si`.`umID` AS `umID`,`si`.`quantity` AS `quantity`,`si`.`unitPrice` AS `unitPrice`,`si`.`amountExcludedTax` AS `amountExcludedTax`,`si`.`taxID` AS `taxID`,`si`.`taxRate` AS `taxRate`,`si`.`taxAmount` AS `taxAmount`,`si`.`amountIncludedTax` AS `amountIncludedTax`,`si`.`accountID` AS `accountID`,`si`.`createdBy` AS `createdBy`,`si`.`createdTS` AS `createdTS`,`si`.`updatedBy` AS `updatedBy`,`si`.`updatedTS` AS `updatedTS`,((`si`.`quantity` - ifnull((select sum(`dnd`.`quantity`) from `comp_supplier_debitnote_detail` `dnd` where (`si`.`ID` = `dnd`.`invoiceDetailID`)),0)) + ifnull((select sum(`scd`.`quantity`) from `comp_supplier_creditnote_detail` `scd` where (`si`.`ID` = `scd`.`invoiceDetailID`)),0)) AS `exactQty`,`_sys_um`.`code` AS `unitOfMeasure`,`si`.`receiveID` AS `receiveDetailID`,`tax_master`.`code` AS `code`,`item`.`itemCode` AS `itemCode`,`item`.`name` AS `name`,`si`.`itemdescription` AS `description` from (((`comp_supplier_invoice_detail` `si` left join `tax_master` on((`tax_master`.`ID` = `si`.`taxID`))) left join `item` on((`si`.`itemID` = `item`.`ID`))) left join `_sys_um` on((`_sys_um`.`fldid` = `si`.`umID`))) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_supplierdebitnote`
--

/*!50001 DROP TABLE IF EXISTS `view_supplierdebitnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_supplierdebitnote`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_supplierdebitnote` AS select `si`.`ID` AS `invoiceDetailID`,`si`.`ID` AS `ID`,`si`.`invoiceID` AS `invoiceID`,`si`.`receiveID` AS `receiveID`,`si`.`lineNo` AS `lineNo`,`si`.`itemID` AS `itemID`,`si`.`itemname` AS `itemname`,`si`.`itemdescription` AS `itemdescription`,`si`.`umID` AS `umID`,`si`.`quantity` AS `quantity`,`si`.`unitPrice` AS `unitPrice`,`si`.`amountExcludedTax` AS `amountExcludedTax`,`si`.`taxID` AS `taxID`,`si`.`taxRate` AS `taxRate`,`si`.`taxAmount` AS `taxAmount`,`si`.`amountIncludedTax` AS `amountIncludedTax`,`si`.`accountID` AS `accountID`,`si`.`createdBy` AS `createdBy`,`si`.`createdTS` AS `createdTS`,`si`.`updatedBy` AS `updatedBy`,`si`.`updatedTS` AS `updatedTS`,`_sys_um`.`code` AS `unitOfMeasure`,`si`.`receiveID` AS `receiveDetailID`,`tax_master`.`code` AS `code`,`item`.`itemCode` AS `itemCode`,`item`.`name` AS `name`,`si`.`itemdescription` AS `description`,((`si`.`quantity` - ifnull((select sum(`dnd`.`quantity`) from `comp_supplier_debitnote_detail` `dnd` where (`si`.`ID` = `dnd`.`invoiceDetailID`)),0)) + ifnull((select sum(`scd`.`quantity`) from `comp_supplier_creditnote_detail` `scd` where (`si`.`ID` = `scd`.`invoiceDetailID`)),0)) AS `exactQty` from (((`comp_supplier_invoice_detail` `si` left join `tax_master` on((`tax_master`.`ID` = `si`.`taxID`))) left join `item` on((`si`.`itemID` = `item`.`ID`))) left join `_sys_um` on((`_sys_um`.`fldid` = `si`.`umID`))) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_total_comp_sales_creditnote`
--

/*!50001 DROP TABLE IF EXISTS `view_total_comp_sales_creditnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_total_comp_sales_creditnote`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_total_comp_sales_creditnote` AS select distinct `a`.`ID` AS `ID`,((select ifnull(sum(`comp_sales_creditnote_charges`.`taxAmount`),0) from `comp_sales_creditnote_charges` where (`comp_sales_creditnote_charges`.`creditNoteID` = `a`.`ID`)) + (select ifnull(sum(`comp_sales_creditnote_detail`.`taxAmount`),0) from `comp_sales_creditnote_detail` where (`comp_sales_creditnote_detail`.`creditnoteID` = `a`.`ID`))) AS `totalTaxAmount`,((select ifnull(sum(`comp_sales_creditnote_detail`.`amountIncludedTax`),0) from `comp_sales_creditnote_detail` where (`comp_sales_creditnote_detail`.`creditnoteID` = `a`.`ID`)) + (select ifnull(sum(`comp_sales_creditnote_charges`.`amountIncludedTax`),0) from `comp_sales_creditnote_charges` where (`comp_sales_creditnote_charges`.`creditNoteID` = `a`.`ID`))) AS `totalAmount` from `comp_sales_creditnote` `a` group by `a`.`ID` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_total_comp_sales_debitnote`
--

/*!50001 DROP TABLE IF EXISTS `view_total_comp_sales_debitnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_total_comp_sales_debitnote`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_total_comp_sales_debitnote` AS select distinct `a`.`ID` AS `ID`,((select ifnull(sum(`comp_sales_debitnote_charges`.`taxAmount`),0) from `comp_sales_debitnote_charges` where (`comp_sales_debitnote_charges`.`debitNoteID` = `a`.`ID`)) + (select ifnull(sum(`comp_sales_debitnote_detail`.`taxAmount`),0) from `comp_sales_debitnote_detail` where (`comp_sales_debitnote_detail`.`debitnoteID` = `a`.`ID`))) AS `totalTaxAmount`,((select ifnull(sum(`comp_sales_debitnote_charges`.`amountIncludedTax`),0) from `comp_sales_debitnote_charges` where (`comp_sales_debitnote_charges`.`debitNoteID` = `a`.`ID`)) + (select ifnull(sum(`comp_sales_debitnote_detail`.`amountIncludedTax`),0) from `comp_sales_debitnote_detail` where (`comp_sales_debitnote_detail`.`debitnoteID` = `a`.`ID`))) AS `totalAmount` from `comp_sales_debitnote` `a` group by `a`.`ID` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_total_comp_sales_invoice`
--

/*!50001 DROP TABLE IF EXISTS `view_total_comp_sales_invoice`*/;
/*!50001 DROP VIEW IF EXISTS `view_total_comp_sales_invoice`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_total_comp_sales_invoice` AS select distinct `a`.`ID` AS `ID`,((select ifnull(sum(`comp_sales_invoice_charges`.`taxAmount`),0) from `comp_sales_invoice_charges` where (`comp_sales_invoice_charges`.`invoiceID` = `a`.`ID`)) + (select ifnull(sum(`comp_sales_invoice_detail`.`taxAmount`),0) from `comp_sales_invoice_detail` where (`comp_sales_invoice_detail`.`invoiceID` = `a`.`ID`))) AS `totalTaxAmount`,((select ifnull(sum(`comp_sales_invoice_charges`.`amountIncludedTax`),0) from `comp_sales_invoice_charges` where (`comp_sales_invoice_charges`.`invoiceID` = `a`.`ID`)) + (select ifnull(sum(`comp_sales_invoice_detail`.`amountIncludedTax`),0) from `comp_sales_invoice_detail` where (`comp_sales_invoice_detail`.`invoiceID` = `a`.`ID`))) AS `totalAmount` from `comp_sales_invoice` `a` group by `a`.`ID` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_total_comp_supplier_creditnote`
--

/*!50001 DROP TABLE IF EXISTS `view_total_comp_supplier_creditnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_total_comp_supplier_creditnote`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_total_comp_supplier_creditnote` AS select distinct `a`.`ID` AS `ID`,((select ifnull(sum(`comp_supplier_creditnote_charges`.`taxAmount`),0) from `comp_supplier_creditnote_charges` where (`comp_supplier_creditnote_charges`.`creditNoteID` = `a`.`ID`)) + (select ifnull(sum(`comp_supplier_creditnote_detail`.`taxAmount`),0) from `comp_supplier_creditnote_detail` where (`comp_supplier_creditnote_detail`.`creditnoteID` = `a`.`ID`))) AS `totalTaxAmount`,((select ifnull(sum(`comp_supplier_creditnote_charges`.`amountIncludedTax`),0) from `comp_supplier_creditnote_charges` where (`comp_supplier_creditnote_charges`.`creditNoteID` = `a`.`ID`)) + (select ifnull(sum(`comp_supplier_creditnote_detail`.`amountIncludedTax`),0) from `comp_supplier_creditnote_detail` where (`comp_supplier_creditnote_detail`.`creditnoteID` = `a`.`ID`))) AS `totalAmount` from `comp_supplier_creditnote` `a` group by `a`.`ID` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_total_comp_supplier_debitnote`
--

/*!50001 DROP TABLE IF EXISTS `view_total_comp_supplier_debitnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_total_comp_supplier_debitnote`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_total_comp_supplier_debitnote` AS select distinct `a`.`ID` AS `ID`,((select ifnull(sum(`comp_supplier_debitnote_charges`.`taxAmount`),0) from `comp_supplier_debitnote_charges` where (`comp_supplier_debitnote_charges`.`debitNoteID` = `a`.`ID`)) + (select ifnull(sum(`comp_supplier_debitnote_detail`.`taxAmount`),0) from `comp_supplier_debitnote_detail` where (`comp_supplier_debitnote_detail`.`debitnoteID` = `a`.`ID`))) AS `totalTaxAmount`,((select ifnull(sum(`comp_supplier_debitnote_charges`.`amountIncludedTax`),0) from `comp_supplier_debitnote_charges` where (`comp_supplier_debitnote_charges`.`debitNoteID` = `a`.`ID`)) + (select ifnull(sum(`comp_supplier_debitnote_detail`.`amountIncludedTax`),0) from `comp_supplier_debitnote_detail` where (`comp_supplier_debitnote_detail`.`debitnoteID` = `a`.`ID`))) AS `totalAmount` from `comp_supplier_debitnote` `a` group by `a`.`ID` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_total_comp_supplier_invoice`
--

/*!50001 DROP TABLE IF EXISTS `view_total_comp_supplier_invoice`*/;
/*!50001 DROP VIEW IF EXISTS `view_total_comp_supplier_invoice`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_total_comp_supplier_invoice` AS select distinct `a`.`ID` AS `ID`,((select ifnull(sum(`comp_supplier_invoice_charges`.`taxAmount`),0) from `comp_supplier_invoice_charges` where (`comp_supplier_invoice_charges`.`invoiceID` = `a`.`ID`)) + (select ifnull(sum(`comp_supplier_invoice_detail`.`taxAmount`),0) from `comp_supplier_invoice_detail` where (`comp_supplier_invoice_detail`.`invoiceID` = `a`.`ID`))) AS `totalTaxAmount`,((select ifnull(sum(`comp_supplier_invoice_charges`.`amountIncludedTax`),0) from `comp_supplier_invoice_charges` where (`comp_supplier_invoice_charges`.`invoiceID` = `a`.`ID`)) + (select ifnull(sum(`comp_supplier_invoice_detail`.`amountIncludedTax`),0) from `comp_supplier_invoice_detail` where (`comp_supplier_invoice_detail`.`invoiceID` = `a`.`ID`))) AS `totalAmount` from `comp_supplier_invoice` `a` group by `a`.`ID` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_total_debitcredit`
--

/*!50001 DROP TABLE IF EXISTS `view_total_debitcredit`*/;
/*!50001 DROP VIEW IF EXISTS `view_total_debitcredit`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_total_debitcredit` AS select `a`.`ID` AS `acctID`,`a`.`companyID` AS `companyID`,`a`.`acctGroupID` AS `acctGroupID`,`a`.`acctCode` AS `acctCode`,`a`.`acctName` AS `acctName`,if((year(`a`.`createdTS`) = ifnull(`c`.`year`,year(`a`.`createdTS`))),(ifnull(`a`.`openingBalanceDr`,0) - ifnull(`a`.`openingBalanceCr`,0)),((ifnull((select (ifnull(`comp_chart_of_acct`.`openingBalanceDr`,0) - ifnull(`comp_chart_of_acct`.`openingBalanceCr`,0)) from `comp_chart_of_acct` where ((`comp_chart_of_acct`.`ID` = `a`.`ID`) and (year(`comp_chart_of_acct`.`createdTS`) < `c`.`year`))),0) + (select ifnull(sum(`comp_journal_detail`.`amount_dr`),0) from `comp_journal_detail` where ((`comp_journal_detail`.`acctCode` = `a`.`ID`) and (`comp_journal_detail`.`year` < `c`.`year`)))) - (select ifnull(sum(`comp_journal_detail`.`amount_cr`),0) from `comp_journal_detail` where ((`comp_journal_detail`.`acctCode` = `a`.`ID`) and (`comp_journal_detail`.`year` < `c`.`year`))))) AS `openingBalanceDr`,`a`.`openingBalanceCr` AS `openingBalanceCr`,ifnull(`c`.`year`,year(`a`.`createdTS`)) AS `year`,ifnull(sum(`c`.`amount_dr`),0) AS `totalDebit`,ifnull(sum(`c`.`amount_cr`),0) AS `totalCredit`,((if((year(`a`.`createdTS`) = `c`.`year`),(`a`.`openingBalanceDr` - `a`.`openingBalanceCr`),(((ifnull(`a`.`openingBalanceDr`,0) - ifnull(`a`.`openingBalanceCr`,0)) + (select ifnull(sum(`comp_journal_detail`.`amount_dr`),0) from `comp_journal_detail` where ((`comp_journal_detail`.`acctCode` = `a`.`ID`) and (`comp_journal_detail`.`year` < `c`.`year`)))) - (select ifnull(sum(`comp_journal_detail`.`amount_cr`),0) from `comp_journal_detail` where ((`comp_journal_detail`.`acctCode` = `a`.`ID`) and (`comp_journal_detail`.`year` < `c`.`year`))))) + ifnull(sum(`c`.`amount_dr`),0)) - ifnull(sum(`c`.`amount_cr`),0)) AS `balance` from ((`comp_chart_of_acct` `a` left join `comp_journal_detail` `c` on((`a`.`ID` = `c`.`acctCode`))) left join `comp_journal` `b` on(((`b`.`journalID` = `c`.`journalID`) and (`c`.`companyID` = `b`.`companyID`) and (`b`.`is_delete` = 0)))) where (`a`.`is_delete` = 0) group by `a`.`ID`,`a`.`companyID`,`a`.`acctGroupID`,`a`.`acctCode`,`a`.`acctName`,`a`.`openingBalanceDr`,`a`.`openingBalanceCr`,`c`.`year` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_transaction_summary`
--

/*!50001 DROP TABLE IF EXISTS `view_transaction_summary`*/;
/*!50001 DROP VIEW IF EXISTS `view_transaction_summary`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_transaction_summary` AS select 'comp_purchase_order' AS `tableName`,100 AS `transID`,`comp_purchase_order`.`companyID` AS `companyid`,date_format(`comp_purchase_order`.`poDate`,'%Y') AS `year`,count(if((month(`comp_purchase_order`.`poDate`) = 1),1,NULL)) AS `Jan`,count(if((month(`comp_purchase_order`.`poDate`) = 2),1,NULL)) AS `Feb`,count(if((month(`comp_purchase_order`.`poDate`) = 3),1,NULL)) AS `Mar`,count(if((month(`comp_purchase_order`.`poDate`) = 4),1,NULL)) AS `Apr`,count(if((month(`comp_purchase_order`.`poDate`) = 5),1,NULL)) AS `may`,count(if((month(`comp_purchase_order`.`poDate`) = 6),1,NULL)) AS `Jun`,count(if((month(`comp_purchase_order`.`poDate`) = 7),1,NULL)) AS `Jul`,count(if((month(`comp_purchase_order`.`poDate`) = 8),1,NULL)) AS `Aug`,count(if((month(`comp_purchase_order`.`poDate`) = 9),1,NULL)) AS `Sept`,count(if((month(`comp_purchase_order`.`poDate`) = 10),1,NULL)) AS `Oct`,count(if((month(`comp_purchase_order`.`poDate`) = 11),1,NULL)) AS `Nov`,count(if((month(`comp_purchase_order`.`poDate`) = 12),1,NULL)) AS `Dec` from `comp_purchase_order` where ((`comp_purchase_order`.`updateAble` = 0) and (`comp_purchase_order`.`is_delete` = 0)) group by `comp_purchase_order`.`companyID`,`year` union select 'comp_receive_item' AS `comp_receive_item`,200 AS `200`,`comp_receive_item`.`companyID` AS `companyid`,date_format(`comp_receive_item`.`deliveryDate`,'%Y') AS `year`,count(if((month(`comp_receive_item`.`deliveryDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_receive_item`.`deliveryDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_receive_item`.`deliveryDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_receive_item`.`deliveryDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_receive_item`.`deliveryDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_receive_item`.`deliveryDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_receive_item`.`deliveryDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_receive_item`.`deliveryDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_receive_item`.`deliveryDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_receive_item`.`deliveryDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_receive_item`.`deliveryDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_receive_item`.`deliveryDate`) = 12),1,NULL)) AS `12` from `comp_receive_item` where ((`comp_receive_item`.`updateAble` = 0) and (`comp_receive_item`.`isDelete` = 0)) group by `comp_receive_item`.`companyID`,`year` union select 'comp_supplier_invoice' AS `comp_supplier_invoice`,300 AS `300`,`comp_supplier_invoice`.`companyID` AS `companyid`,date_format(`comp_supplier_invoice`.`invoiceDate`,'%Y') AS `year`,count(if((month(`comp_supplier_invoice`.`invoiceDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_supplier_invoice`.`invoiceDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_supplier_invoice`.`invoiceDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_supplier_invoice`.`invoiceDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_supplier_invoice`.`invoiceDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_supplier_invoice`.`invoiceDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_supplier_invoice`.`invoiceDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_supplier_invoice`.`invoiceDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_supplier_invoice`.`invoiceDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_supplier_invoice`.`invoiceDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_supplier_invoice`.`invoiceDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_supplier_invoice`.`invoiceDate`) = 12),1,NULL)) AS `12` from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`updateAble` = 0) and (`comp_supplier_invoice`.`is_delete` = 0)) group by `comp_supplier_invoice`.`companyID`,`year` union select 'comp_supplier_debitNote' AS `comp_supplier_debitNote`,400 AS `400`,`comp_supplier_debitnote`.`companyID` AS `companyid`,date_format(`comp_supplier_debitnote`.`debitNoteDate`,'%Y') AS `year`,count(if((month(`comp_supplier_debitnote`.`debitNoteDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_supplier_debitnote`.`debitNoteDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_supplier_debitnote`.`debitNoteDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_supplier_debitnote`.`debitNoteDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_supplier_debitnote`.`debitNoteDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_supplier_debitnote`.`debitNoteDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_supplier_debitnote`.`debitNoteDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_supplier_debitnote`.`debitNoteDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_supplier_debitnote`.`debitNoteDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_supplier_debitnote`.`debitNoteDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_supplier_debitnote`.`debitNoteDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_supplier_debitnote`.`debitNoteDate`) = 12),1,NULL)) AS `12` from `comp_supplier_debitnote` where ((`comp_supplier_debitnote`.`updateAble` = 0) and (`comp_supplier_debitnote`.`is_delete` = 0)) group by `comp_supplier_debitnote`.`companyID`,`year` union select 'comp_supplier_creditNote' AS `comp_supplier_creditNote`,500 AS `500`,`comp_supplier_creditnote`.`companyID` AS `companyid`,date_format(`comp_supplier_creditnote`.`creditNoteDate`,'%Y') AS `year`,count(if((month(`comp_supplier_creditnote`.`creditNoteDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_supplier_creditnote`.`creditNoteDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_supplier_creditnote`.`creditNoteDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_supplier_creditnote`.`creditNoteDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_supplier_creditnote`.`creditNoteDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_supplier_creditnote`.`creditNoteDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_supplier_creditnote`.`creditNoteDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_supplier_creditnote`.`creditNoteDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_supplier_creditnote`.`creditNoteDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_supplier_creditnote`.`creditNoteDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_supplier_creditnote`.`creditNoteDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_supplier_creditnote`.`creditNoteDate`) = 12),1,NULL)) AS `12` from `comp_supplier_creditnote` where ((`comp_supplier_creditnote`.`updateAble` = 0) and (`comp_supplier_creditnote`.`is_delete` = 0)) group by `comp_supplier_creditnote`.`companyID`,`year` union select 'comp_payment' AS `comp_payment`,600 AS `600`,`comp_payment`.`companyID` AS `companyid`,date_format(`comp_payment`.`paymentDate`,'%Y') AS `year`,count(if((month(`comp_payment`.`paymentDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_payment`.`paymentDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_payment`.`paymentDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_payment`.`paymentDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_payment`.`paymentDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_payment`.`paymentDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_payment`.`paymentDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_payment`.`paymentDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_payment`.`paymentDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_payment`.`paymentDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_payment`.`paymentDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_payment`.`paymentDate`) = 12),1,NULL)) AS `12` from `comp_payment` where ((`comp_payment`.`updateAble` = 0) and (`comp_payment`.`is_delete` = 0)) group by `comp_payment`.`companyID`,`year` union select 'comp_payment_others' AS `comp_payment_others`,700 AS `700`,`comp_payment_others`.`companyID` AS `companyid`,date_format(`comp_payment_others`.`paymentDate`,'%Y') AS `year`,count(if((month(`comp_payment_others`.`paymentDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_payment_others`.`paymentDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_payment_others`.`paymentDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_payment_others`.`paymentDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_payment_others`.`paymentDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_payment_others`.`paymentDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_payment_others`.`paymentDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_payment_others`.`paymentDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_payment_others`.`paymentDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_payment_others`.`paymentDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_payment_others`.`paymentDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_payment_others`.`paymentDate`) = 12),1,NULL)) AS `12` from `comp_payment_others` where ((`comp_payment_others`.`updateAble` = 0) and (`comp_payment_others`.`is_delete` = 0) and (`comp_payment_others`.`otherPaymentType` = 1)) group by `comp_payment_others`.`companyID`,`year` union select 'comp_payment_others' AS `comp_payment_others`,750 AS `750`,`comp_payment_others`.`companyID` AS `companyid`,date_format(`comp_payment_others`.`paymentDate`,'%Y') AS `year`,count(if((month(`comp_payment_others`.`paymentDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_payment_others`.`paymentDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_payment_others`.`paymentDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_payment_others`.`paymentDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_payment_others`.`paymentDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_payment_others`.`paymentDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_payment_others`.`paymentDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_payment_others`.`paymentDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_payment_others`.`paymentDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_payment_others`.`paymentDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_payment_others`.`paymentDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_payment_others`.`paymentDate`) = 12),1,NULL)) AS `12` from `comp_payment_others` where ((`comp_payment_others`.`updateAble` = 0) and (`comp_payment_others`.`is_delete` = 0) and (`comp_payment_others`.`otherPaymentType` = 0)) group by `comp_payment_others`.`companyID`,`year` union select 'comp_sales_order' AS `comp_sales_order`,800 AS `800`,`comp_sales_order`.`companyID` AS `companyid`,date_format(`comp_sales_order`.`salesOrderDate`,'%Y') AS `year`,count(if((month(`comp_sales_order`.`salesOrderDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_sales_order`.`salesOrderDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_sales_order`.`salesOrderDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_sales_order`.`salesOrderDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_sales_order`.`salesOrderDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_sales_order`.`salesOrderDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_sales_order`.`salesOrderDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_sales_order`.`salesOrderDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_sales_order`.`salesOrderDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_sales_order`.`salesOrderDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_sales_order`.`salesOrderDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_sales_order`.`salesOrderDate`) = 12),1,NULL)) AS `12` from `comp_sales_order` where (`comp_sales_order`.`is_delete` = 0) group by `comp_sales_order`.`companyID`,`year` union select 'comp_delivery_order' AS `comp_delivery_order`,900 AS `900`,`comp_delivery_order`.`companyID` AS `companyid`,date_format(`comp_delivery_order`.`deliveryOrderDate`,'%Y') AS `year`,count(if((month(`comp_delivery_order`.`deliveryOrderDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_delivery_order`.`deliveryOrderDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_delivery_order`.`deliveryOrderDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_delivery_order`.`deliveryOrderDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_delivery_order`.`deliveryOrderDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_delivery_order`.`deliveryOrderDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_delivery_order`.`deliveryOrderDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_delivery_order`.`deliveryOrderDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_delivery_order`.`deliveryOrderDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_delivery_order`.`deliveryOrderDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_delivery_order`.`deliveryOrderDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_delivery_order`.`deliveryOrderDate`) = 12),1,NULL)) AS `12` from `comp_delivery_order` where ((`comp_delivery_order`.`updateAble` = 0) and (`comp_delivery_order`.`isDelete` = 0)) group by `comp_delivery_order`.`companyID`,`year` union select 'comp_sales_invoice' AS `comp_sales_invoice`,1000 AS `1000`,`comp_sales_invoice`.`companyID` AS `companyid`,date_format(`comp_sales_invoice`.`salesInvoiceDate`,'%Y') AS `year`,count(if((month(`comp_sales_invoice`.`salesInvoiceDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_sales_invoice`.`salesInvoiceDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_sales_invoice`.`salesInvoiceDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_sales_invoice`.`salesInvoiceDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_sales_invoice`.`salesInvoiceDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_sales_invoice`.`salesInvoiceDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_sales_invoice`.`salesInvoiceDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_sales_invoice`.`salesInvoiceDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_sales_invoice`.`salesInvoiceDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_sales_invoice`.`salesInvoiceDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_sales_invoice`.`salesInvoiceDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_sales_invoice`.`salesInvoiceDate`) = 12),1,NULL)) AS `12` from `comp_sales_invoice` where ((`comp_sales_invoice`.`updateAble` = 0) and (`comp_sales_invoice`.`is_delete` = 0)) group by `comp_sales_invoice`.`companyID`,`year` union select 'comp_sales_debitNote' AS `comp_sales_debitNote`,1100 AS `1100`,`comp_sales_debitnote`.`companyID` AS `companyid`,date_format(`comp_sales_debitnote`.`debitNoteDate`,'%Y') AS `year`,count(if((month(`comp_sales_debitnote`.`debitNoteDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_sales_debitnote`.`debitNoteDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_sales_debitnote`.`debitNoteDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_sales_debitnote`.`debitNoteDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_sales_debitnote`.`debitNoteDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_sales_debitnote`.`debitNoteDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_sales_debitnote`.`debitNoteDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_sales_debitnote`.`debitNoteDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_sales_debitnote`.`debitNoteDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_sales_debitnote`.`debitNoteDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_sales_debitnote`.`debitNoteDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_sales_debitnote`.`debitNoteDate`) = 12),1,NULL)) AS `12` from `comp_sales_debitnote` where ((`comp_sales_debitnote`.`updateAble` = 0) and (`comp_sales_debitnote`.`is_delete` = 0)) group by `comp_sales_debitnote`.`companyID`,`year` union select 'comp_sales_creditNote' AS `comp_sales_creditNote`,1200 AS `1200`,`comp_sales_creditnote`.`companyID` AS `companyid`,date_format(`comp_sales_creditnote`.`creditNoteDate`,'%Y') AS `year`,count(if((month(`comp_sales_creditnote`.`creditNoteDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_sales_creditnote`.`creditNoteDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_sales_creditnote`.`creditNoteDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_sales_creditnote`.`creditNoteDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_sales_creditnote`.`creditNoteDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_sales_creditnote`.`creditNoteDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_sales_creditnote`.`creditNoteDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_sales_creditnote`.`creditNoteDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_sales_creditnote`.`creditNoteDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_sales_creditnote`.`creditNoteDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_sales_creditnote`.`creditNoteDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_sales_creditnote`.`creditNoteDate`) = 12),1,NULL)) AS `12` from `comp_sales_creditnote` where ((`comp_sales_creditnote`.`updateAble` = 0) and (`comp_sales_creditnote`.`is_delete` = 0)) group by `comp_sales_creditnote`.`companyID`,`year` union select 'comp_receive_payment' AS `comp_receive_payment`,1300 AS `1300`,`comp_receive_payment`.`companyID` AS `companyid`,date_format(`comp_receive_payment`.`receivePaymentDate`,'%Y') AS `year`,count(if((month(`comp_receive_payment`.`receivePaymentDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_receive_payment`.`receivePaymentDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_receive_payment`.`receivePaymentDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_receive_payment`.`receivePaymentDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_receive_payment`.`receivePaymentDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_receive_payment`.`receivePaymentDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_receive_payment`.`receivePaymentDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_receive_payment`.`receivePaymentDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_receive_payment`.`receivePaymentDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_receive_payment`.`receivePaymentDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_receive_payment`.`receivePaymentDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_receive_payment`.`receivePaymentDate`) = 12),1,NULL)) AS `12` from `comp_receive_payment` where ((`comp_receive_payment`.`updateAble` = 0) and (`comp_receive_payment`.`is_delete` = 0)) group by `comp_receive_payment`.`companyID`,`year` union select 'comp_receive_payment_others' AS `comp_receive_payment_others`,1400 AS `1400`,`comp_receive_payment_others`.`companyID` AS `companyid`,date_format(`comp_receive_payment_others`.`receivePaymentDate`,'%Y') AS `year`,count(if((month(`comp_receive_payment_others`.`receivePaymentDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_receive_payment_others`.`receivePaymentDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_receive_payment_others`.`receivePaymentDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_receive_payment_others`.`receivePaymentDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_receive_payment_others`.`receivePaymentDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_receive_payment_others`.`receivePaymentDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_receive_payment_others`.`receivePaymentDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_receive_payment_others`.`receivePaymentDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_receive_payment_others`.`receivePaymentDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_receive_payment_others`.`receivePaymentDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_receive_payment_others`.`receivePaymentDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_receive_payment_others`.`receivePaymentDate`) = 12),1,NULL)) AS `12` from `comp_receive_payment_others` where ((`comp_receive_payment_others`.`updateAble` = 0) and (`comp_receive_payment_others`.`is_delete` = 0)) group by `comp_receive_payment_others`.`companyID`,`year` union select 'comp_cash_sales' AS `comp_cash_sales`,1500 AS `1500`,`comp_cash_sales`.`companyID` AS `companyid`,date_format(`comp_cash_sales`.`salesInvoiceDate`,'%Y') AS `year`,count(if((month(`comp_cash_sales`.`salesInvoiceDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_cash_sales`.`salesInvoiceDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_cash_sales`.`salesInvoiceDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_cash_sales`.`salesInvoiceDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_cash_sales`.`salesInvoiceDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_cash_sales`.`salesInvoiceDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_cash_sales`.`salesInvoiceDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_cash_sales`.`salesInvoiceDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_cash_sales`.`salesInvoiceDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_cash_sales`.`salesInvoiceDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_cash_sales`.`salesInvoiceDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_cash_sales`.`salesInvoiceDate`) = 12),1,NULL)) AS `12` from `comp_cash_sales` where ((`comp_cash_sales`.`updateAble` = 0) and (`comp_cash_sales`.`is_delete` = 0)) group by `comp_cash_sales`.`companyID`,`year` union select 'comp_journal' AS `comp_journal`,1600 AS `1600`,`comp_journal`.`companyID` AS `companyid`,date_format(`comp_journal`.`effective_date`,'%Y') AS `year`,count(if((month(`comp_journal`.`effective_date`) = 1),1,NULL)) AS `1`,count(if((month(`comp_journal`.`effective_date`) = 2),1,NULL)) AS `2`,count(if((month(`comp_journal`.`effective_date`) = 3),1,NULL)) AS `3`,count(if((month(`comp_journal`.`effective_date`) = 4),1,NULL)) AS `4`,count(if((month(`comp_journal`.`effective_date`) = 5),1,NULL)) AS `5`,count(if((month(`comp_journal`.`effective_date`) = 6),1,NULL)) AS `6`,count(if((month(`comp_journal`.`effective_date`) = 7),1,NULL)) AS `7`,count(if((month(`comp_journal`.`effective_date`) = 8),1,NULL)) AS `8`,count(if((month(`comp_journal`.`effective_date`) = 9),1,NULL)) AS `9`,count(if((month(`comp_journal`.`effective_date`) = 10),1,NULL)) AS `10`,count(if((month(`comp_journal`.`effective_date`) = 11),1,NULL)) AS `11`,count(if((month(`comp_journal`.`effective_date`) = 12),1,NULL)) AS `12` from `comp_journal` where ((`comp_journal`.`is_delete` = 0) and isnull(`comp_journal`.`formNo`)) group by `comp_journal`.`companyID`,`comp_journal`.`year` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_unpost_ap_creditnote`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_ap_creditnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_ap_creditnote`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_ap_creditnote` AS select `e`.`supplierName` AS `supplier`,`a`.`ID` AS `creditnoteID`,`b`.`lineNo` AS `lineNo`,`c`.`projectID` AS `projectID`,`a`.`supplierInvoiceID` AS `supplierInvoiceID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,`c`.`supplierInvoiceNo` AS `supplierInvoiceNo`,if((`c`.`purchaseInvoiceCodeID` = 1),(select `cri`.`locationID` from (`comp_receive_item_detail` `crid` left join `comp_receive_item` `cri` on((`cri`.`ID` = `crid`.`receiveID`))) where (`crid`.`ID` = `g`.`receiveID`)),`c`.`locationID`) AS `locationID`,`b`.`umID` AS `umID`,`b`.`quantity` AS `quantity`,`b`.`itemID` AS `itemID`,concat('[',`d`.`itemCode`,']',`d`.`name`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,if((`d`.`itemTypeID` = 23),ifnull(`d`.`cogsID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'cogs')))),(select `item`.`inventoriesID` from `item` where (`item`.`ID` = `b`.`itemID`))) AS `drAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `crAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `drTaxAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `crTaxAccountID` from (((`comp_supplier_creditnote` `a` join (`comp_supplier_creditnote_detail` `b` left join `item` `d` on((`b`.`itemID` = `d`.`ID`)))) join (`comp_supplier_invoice` `c` left join `comp_supplier_invoice_detail` `g` on((`c`.`ID` = `g`.`invoiceID`)))) join `supplier` `e`) where ((`a`.`ID` = `b`.`creditnoteID`) and (`a`.`supplierInvoiceID` = `c`.`ID`) and (`e`.`ID` = `a`.`supplierID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `e`.`supplierName` AS `supplier`,`a`.`ID` AS `creditnoteID`,`b`.`lineNo` AS `lineNo`,`c`.`projectID` AS `projectID`,`a`.`supplierInvoiceID` AS `supplierInvoiceID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,`c`.`supplierInvoiceNo` AS `supplierInvoiceNo`,`c`.`locationID` AS `locationID`,`b`.`umID` AS `umID`,`b`.`quantity` AS `quantity`,NULL AS `itemID`,`b`.`itemdescription` AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,`b`.`accountNoID` AS `drAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `crAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `drTaxAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `crTaxAccountID` from (((`comp_supplier_creditnote` `a` join `comp_supplier_creditnote_charges` `b`) join `comp_supplier_invoice` `c`) join `supplier` `e`) where ((`a`.`ID` = `b`.`creditNoteID`) and (`a`.`supplierInvoiceID` = `c`.`ID`) and (`e`.`ID` = `a`.`supplierID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_unpost_ap_debitnote`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_ap_debitnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_ap_debitnote`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_ap_debitnote` AS select `e`.`supplierName` AS `supplier`,`a`.`ID` AS `debitnoteID`,`b`.`lineNo` AS `lineNo`,`c`.`projectID` AS `projectID`,4 AS `typeID`,`b`.`ID` AS `typeDetailID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,`c`.`supplierInvoiceNo` AS `supplierInvoiceNo`,if((`c`.`purchaseInvoiceCodeID` = 1),(select `cri`.`locationID` from (`comp_receive_item_detail` `crid` left join `comp_receive_item` `cri` on((`cri`.`ID` = `crid`.`receiveID`))) where (`crid`.`ID` = `g`.`receiveID`)),`c`.`locationID`) AS `locationID`,`b`.`umID` AS `umID`,`b`.`quantity` AS `quantity`,`b`.`itemID` AS `itemID`,concat('[',`d`.`itemCode`,']',`b`.`itemdescription`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `drAccountID`,if((`d`.`itemTypeID` = 23),ifnull(`d`.`cogsID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'cogs')))),(select `item`.`inventoriesID` from `item` where (`item`.`ID` = `b`.`itemID`))) AS `crAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `drTaxAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `crTaxAccountID`,NULL AS `cogsAcctID`,NULL AS `inventoriesAcctID` from (((`comp_supplier_debitnote` `a` join (`comp_supplier_debitnote_detail` `b` left join `item` `d` on((`b`.`itemID` = `d`.`ID`)))) join (`comp_supplier_invoice` `c` left join `comp_supplier_invoice_detail` `g` on((`c`.`ID` = `g`.`invoiceID`)))) join `supplier` `e`) where ((`a`.`ID` = `b`.`debitnoteID`) and (`a`.`supplierID` = `e`.`ID`) and (`a`.`supplierInvoiceID` = `c`.`ID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `e`.`supplierName` AS `supplier`,`a`.`ID` AS `debitnoteID`,`b`.`lineNo` AS `lineNo`,`c`.`projectID` AS `projectID`,4 AS `typeID`,`b`.`ID` AS `typeDetailID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,`c`.`supplierInvoiceNo` AS `supplierInvoiceNo`,`c`.`locationID` AS `locationID`,`b`.`umID` AS `umID`,`b`.`quantity` AS `quantity`,NULL AS `itemID`,`b`.`itemdescription` AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `drAccountID`,`b`.`accountNoID` AS `crAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `drTaxAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `crTaxAccountID`,NULL AS `cogsAcctID`,NULL AS `inventoriesAcctID` from (((`comp_supplier_debitnote` `a` join `comp_supplier_debitnote_charges` `b`) join `comp_supplier_invoice` `c`) join `supplier` `e`) where ((`a`.`ID` = `b`.`debitNoteID`) and (`a`.`supplierID` = `e`.`ID`) and (`a`.`supplierInvoiceID` = `c`.`ID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_unpost_ap_invoice`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_ap_invoice`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_ap_invoice`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_ap_invoice` AS select `d`.`supplierName` AS `supplier`,`a`.`ID` AS `invoiceID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,`b`.`lineNo` AS `lineNo`,`b`.`itemID` AS `itemID`,concat('[',`c`.`itemCode`,']',`b`.`itemname`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,if((`c`.`itemTypeID` = 23),ifnull(`c`.`cogsID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'cogs')))),(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'unInvoiceAP')))) AS `drAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `crAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `drTaxAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `crTaxAccountID` from (((`comp_supplier_invoice` `a` left join `comp_supplier_invoice_detail` `b` on((`a`.`ID` = `b`.`invoiceID`))) left join `item` `c` on((`b`.`itemID` = `c`.`ID`))) join `supplier` `d` on((`d`.`ID` = `a`.`supplierID`))) where ((`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `d`.`supplierName` AS `supplier`,`a`.`ID` AS `invoiceID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,(`b`.`lineNo` + (select ifnull(max(`comp_supplier_invoice_detail`.`lineNo`),0) from `comp_supplier_invoice_detail` where (`comp_supplier_invoice_detail`.`invoiceID` = `a`.`ID`))) AS `lineNo`,NULL AS `itemID`,`b`.`chargeDescription` AS `itemname`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,`b`.`accountNoID` AS `drAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `crAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `drTaxAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `crTaxAccountID` from ((`comp_supplier_invoice` `a` join `comp_supplier_invoice_charges` `b` on((`a`.`ID` = `b`.`invoiceID`))) left join `supplier` `d` on((`d`.`ID` = `a`.`supplierID`))) where ((`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_unpost_ar_creditnote`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_ar_creditnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_ar_creditnote`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_ar_creditnote` AS select `f`.`customerName` AS `customer`,`a`.`salesInvoiceID` AS `salesinvoiceID`,`a`.`ID` AS `creditnoteID`,`a`.`projectID` AS `projectID`,0 AS `typeID`,`b`.`ID` AS `typeDetailID`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,if((`c`.`invoiceCodeID` = 1),(select `dord`.`locationID` from (`comp_delivery_detail` `ddet` left join `comp_delivery_order` `dord` on((`dord`.`ID` = `ddet`.`deliveryID`))) where (`ddet`.`ID` = `g`.`doID`)),`c`.`locationID`) AS `locationID`,concat(`c`.`formNo`,'[',convert(lpad(`c`.`serialNo`,8,'0') using latin1),']') AS `salesInvoiceNo`,`b`.`lineNo` AS `lineNo`,`b`.`itemID` AS `itemID`,`b`.`umID` AS `umID`,`b`.`quantity` AS `quantity`,concat('[',`d`.`itemCode`,']',`b`.`itemname`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,(select `item`.`incomeID` from `item` where (`item`.`ID` = `b`.`itemID`)) AS `drAccountID`,ifnull(`f`.`linkedAPAccountID`,`e`.`accountID`) AS `crAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `drTaxAccountID`,ifnull(`f`.`linkedAPAccountID`,`e`.`accountID`) AS `crTaxAccountID`,(select `item`.`cogsID` from `item` where (`item`.`ID` = `b`.`itemID`)) AS `cogsAcctID`,(select `item`.`inventoriesID` from `item` where (`item`.`ID` = `b`.`itemID`)) AS `inventoriesAcctID` from ((((((`comp_sales_creditnote` `a` left join `comp_sales_creditnote_detail` `b` on((`a`.`ID` = `b`.`creditnoteID`))) left join `item` `d` on((`b`.`itemID` = `d`.`ID`))) left join `comp_sales_invoice` `c` on((`c`.`ID` = `a`.`salesInvoiceID`))) left join `comp_sales_invoice_detail` `g` on((`c`.`ID` = `g`.`invoiceID`))) join `customer` `f`) join `comp_control_acct_setup` `e`) where ((`a`.`ID` = `b`.`creditnoteID`) and (`a`.`customerID` = `f`.`ID`) and (`e`.`companyID` = `a`.`companyID`) and (`e`.`accountCode` = 'rcvacct') and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `f`.`customerName` AS `customer`,`a`.`salesInvoiceID` AS `salesinvoiceID`,`a`.`ID` AS `creditnoteID`,`c`.`projectID` AS `projectID`,0 AS `typeID`,`b`.`ID` AS `typeDetailID`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,`c`.`locationID` AS `locationID`,concat(`c`.`formNo`,'[',convert(lpad(`c`.`serialNo`,8,'0') using latin1),']') AS `salesInvoiceNo`,`b`.`lineNo` AS `lineNo`,NULL AS `itemID`,NULL AS `umID`,1 AS `quantity`,`b`.`chargeDescription` AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,`b`.`accountNoID` AS `drAccountID`,ifnull(`f`.`linkedAPAccountID`,`e`.`accountID`) AS `crAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `drTaxAccountID`,ifnull(`f`.`linkedAPAccountID`,`e`.`accountID`) AS `crTaxAccountID`,NULL AS `cogsAcctID`,NULL AS `inventoriesAcctID` from ((((`comp_sales_creditnote` `a` left join `comp_sales_invoice` `c` on((`c`.`ID` = `a`.`salesInvoiceID`))) join `customer` `f`) join `comp_control_acct_setup` `e`) join `comp_sales_creditnote_charges` `b`) where ((`a`.`ID` = `b`.`creditNoteID`) and (`a`.`customerID` = `f`.`ID`) and (`e`.`companyID` = `a`.`companyID`) and (`e`.`accountCode` = 'rcvacct') and (`a`.`ID` = `b`.`creditNoteID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_unpost_ar_debitnote`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_ar_debitnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_ar_debitnote`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_ar_debitnote` AS select `f`.`customerName` AS `customer`,`a`.`salesInvoiceID` AS `salesinvoiceID`,`a`.`ID` AS `debitnoteID`,`c`.`projectID` AS `projectID`,3 AS `typeID`,`b`.`ID` AS `typeDetailID`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,if((`c`.`invoiceCodeID` = 1),(select `do`.`locationID` from (`comp_delivery_detail` `ddet` left join `comp_delivery_order` `do` on((`do`.`ID` = `ddet`.`deliveryID`))) where (`ddet`.`ID` = `g`.`doID`)),`c`.`locationID`) AS `locationID`,concat(`c`.`formNo`,'[',convert(lpad(`c`.`serialNo`,8,'0') using latin1),']') AS `salesInvoiceNo`,`b`.`lineNo` AS `lineNo`,`b`.`itemID` AS `itemID`,`b`.`umID` AS `umID`,`b`.`quantity` AS `quantity`,concat('[',`d`.`itemCode`,']',`b`.`itemname`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,`c`.`currencyID` AS `currencyID`,ifnull(`f`.`linkedAPAccountID`,`e`.`accountID`) AS `drAccountID`,(select `item`.`incomeID` from `item` where (`item`.`ID` = `b`.`itemID`)) AS `crAccountID`,ifnull(`f`.`linkedAPAccountID`,`e`.`accountID`) AS `drTaxAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `crTaxAccountID`,`d`.`cogsID` AS `cogsAcctID`,`d`.`inventoriesID` AS `inventoriesAcctID` from ((((((`comp_sales_debitnote` `a` join `comp_sales_debitnote_detail` `b` on((`a`.`ID` = `b`.`debitnoteID`))) left join `item` `d` on((`b`.`itemID` = `d`.`ID`))) left join `comp_sales_invoice` `c` on((`c`.`ID` = `a`.`salesInvoiceID`))) left join `comp_sales_invoice_detail` `g` on((`c`.`ID` = `g`.`invoiceID`))) join `customer` `f`) join `comp_control_acct_setup` `e`) where ((`a`.`ID` = `b`.`debitnoteID`) and (`a`.`customerID` = `f`.`ID`) and (`e`.`companyID` = `a`.`companyID`) and (`e`.`accountCode` = 'rcvacct') and (`a`.`ID` = `b`.`debitnoteID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `f`.`customerName` AS `customer`,`a`.`salesInvoiceID` AS `salesinvoiceID`,`a`.`ID` AS `debitnoteID`,`c`.`projectID` AS `projectID`,0 AS `typeID`,`b`.`ID` AS `typeDetailID`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,`c`.`locationID` AS `locationID`,concat(`c`.`formNo`,'[',convert(lpad(`c`.`serialNo`,8,'0') using latin1),']') AS `salesInvoiceNo`,`b`.`lineNo` AS `lineNo`,NULL AS `itemID`,NULL AS `umID`,1 AS `quantity`,`b`.`chargeDescription` AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,`c`.`currencyID` AS `currencyID`,ifnull(`f`.`linkedAPAccountID`,`e`.`accountID`) AS `drAccountID`,`b`.`accountNoID` AS `crAccountID`,ifnull(`f`.`linkedAPAccountID`,`e`.`accountID`) AS `drTaxAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `crTaxAccountID`,NULL AS `cogsAcctID`,NULL AS `inventoriesAcctID` from ((((`comp_sales_debitnote` `a` left join `comp_sales_invoice` `c` on((`c`.`ID` = `a`.`salesInvoiceID`))) join `customer` `f`) join `comp_control_acct_setup` `e`) join `comp_sales_debitnote_charges` `b`) where ((`a`.`ID` = `b`.`debitNoteID`) and (`a`.`customerID` = `f`.`ID`) and (`e`.`companyID` = `a`.`companyID`) and (`e`.`accountCode` = 'rcvacct') and (`a`.`ID` = `b`.`debitNoteID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_unpost_ar_invoice`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_ar_invoice`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_ar_invoice`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_ar_invoice` AS select `a`.`projectID` AS `projectID`,`e`.`customerName` AS `customer`,`a`.`ID` AS `invoiceID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,`b`.`itemID` AS `itemID`,`b`.`lineNo` AS `lineNo`,concat('[',`c`.`itemCode`,']',`c`.`description`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,(select `customer`.`linkedAPAccountID` from `customer` where (`customer`.`ID` = `a`.`customerID`)) AS `drAccountID`,(select `item`.`incomeID` from `item` where (`item`.`ID` = `b`.`itemID`)) AS `crAccountID`,(select `customer`.`linkedAPAccountID` from `customer` where (`customer`.`ID` = `a`.`customerID`)) AS `drTaxAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `crTaxAccountID` from ((`comp_sales_invoice` `a` join (`comp_sales_invoice_detail` `b` left join `item` `c` on((`b`.`itemID` = `c`.`ID`)))) join `customer` `e`) where ((`a`.`ID` = `b`.`invoiceID`) and (`a`.`customerID` = `e`.`ID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `a`.`projectID` AS `projectID`,`e`.`customerName` AS `customer`,`a`.`ID` AS `invoiceID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,`b`.`itemID` AS `itemID`,`b`.`lineNo` AS `lineNo`,concat('[',`c`.`itemCode`,']',`c`.`description`) AS `itemName`,(select sum((`crid`.`unitPrice` * `crdc`.`qty`)) from (`comp_receive_item_detail` `crid` join `comp_receive_delivery_conn` `crdc`) where ((`crid`.`ID` = `crdc`.`receiveDetailID`) and (`crdc`.`deliveryDetailID` = `do`.`ID`))) AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,NULL AS `taxamount`,(select `item`.`cogsID` from `item` where (`item`.`ID` = `b`.`itemID`)) AS `drAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'uninvoiceAR'))) AS `crAccountID`,NULL AS `drTaxAccountID`,NULL AS `crTaxAccountID` from ((`comp_sales_invoice` `a` join ((`comp_sales_invoice_detail` `b` left join `item` `c` on((`b`.`itemID` = `c`.`ID`))) left join `comp_delivery_detail` `do` on(((`do`.`invoiceID` = `b`.`invoiceID`) and (`do`.`itemID` = `b`.`itemID`) and (`do`.`umID` = `b`.`umID`))))) join `customer` `e`) where ((`a`.`ID` = `b`.`invoiceID`) and (`a`.`customerID` = `e`.`ID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0) and (`a`.`invoiceCodeID` <> 2)) union select `a`.`projectID` AS `projectID`,`e`.`customerName` AS `customer`,`a`.`ID` AS `invoiceID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,NULL AS `NULL`,`b`.`lineNo` AS `lineNo`,`b`.`chargeDescription` AS `chargedescription`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,(select `customer`.`linkedAPAccountID` from `customer` where (`customer`.`ID` = `a`.`customerID`)) AS `drAccountID`,`b`.`accountNoID` AS `crAccountID`,(select `customer`.`linkedAPAccountID` from `customer` where (`customer`.`ID` = `a`.`customerID`)) AS `drTaxAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `crTaxAccountID` from ((`comp_sales_invoice` `a` join `comp_sales_invoice_charges` `b`) join `customer` `e`) where ((`a`.`ID` = `b`.`invoiceID`) and (`e`.`ID` = `a`.`customerID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `a`.`projectID` AS `projectID`,`e`.`customerName` AS `customer`,`a`.`ID` AS `invoiceID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,NULL AS `NULL`,`b`.`lineNo` AS `lineNo`,'comission' AS `itemName`,((sum(`b`.`amountExcludedTax`) * `d`.`commisionRate`) / 100) AS `comissionAmount`,0 AS `taxID`,0 AS `taxAmount`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'commissionexp'))) AS `drAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'commissionpay'))) AS `crAccountID`,NULL AS `drTaxAccountID`,NULL AS `crTaxAccountID` from (((`comp_sales_invoice` `a` join `comp_sales_invoice_detail` `b`) join `comp_sales_agent` `d`) join `customer` `e`) where ((`a`.`companyID` = `d`.`companyID`) and (`a`.`ID` = `b`.`invoiceID`) and (`a`.`agentID` = `d`.`ID`) and (`a`.`customerID` = `e`.`ID`) and (`a`.`agentID` > 0) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) group by `a`.`ID` union select `a`.`projectID` AS `projectID`,`e`.`customerName` AS `customer`,`a`.`ID` AS `invoiceID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,NULL AS `NULL`,`b`.`lineNo` AS `lineNo`,'wakaf' AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,0 AS `taxID`,0 AS `taxAmount`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'wakafExpense'))) AS `drAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'wakafAcrual'))) AS `crAccountID`,NULL AS `drTaxAccountID`,NULL AS `crTaxAccountID` from ((((`comp_sales_invoice` `a` join `comp_sales_invoice_detail` `b`) join `wakaf_acrual` `c`) join `item` `d`) join `customer` `e`) where ((`a`.`ID` = `b`.`invoiceID`) and (`a`.`customerID` = `e`.`ID`) and (`a`.`companyID` = `c`.`companyID`) and (`b`.`itemID` = `d`.`ID`) and (`d`.`incomeID` = `c`.`salesAccountID`) and (`a`.`salesInvoiceDate` between `c`.`from` and `c`.`to`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_unpost_ar_payment`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_ar_payment`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_ar_payment`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_ar_payment` AS select `a`.`ID` AS `paymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,NULL AS `purchaseInvoiceID`,`b`.`customerName` AS `customerName`,0 AS `lineNo`,NULL AS `paymentDetailID`,`a`.`referenceNo` AS `item`,`a`.`bankCharges` AS `amtPaid_amtAppl`,0 AS `discount_bankCharges`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'bankchargesAccount'))) AS `drAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankID`)) AS `crAccountID`,NULL AS `drDiscountAccountID`,NULL AS `crDiscountAccountID` from (`comp_receive_payment` `a` join `customer` `b`) where ((`a`.`customerID` = `b`.`ID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `a`.`ID` AS `paymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,`b`.`invoiceID` AS `invoiceID`,`e`.`customerName` AS `customerName`,`b`.`lineNo` AS `lineNo`,`b`.`ID` AS `paymentDetailID`,concat(concat(concat(`d`.`formNo`,'['),convert(lpad(`d`.`serialNo`,8,'0') using latin1)),']') AS `item`,(`b`.`amountApplied` - `b`.`discount`) AS `amtPaid_amtAppl`,`b`.`discount` AS `discount_bankCharges`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankID`)) AS `drAccountID`,(select `customer`.`linkedAPAccountID` from `customer` where (`customer`.`ID` = `a`.`customerID`)) AS `crAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'saledisacct'))) AS `drDiscountAccountID`,(select `customer`.`linkedAPAccountID` from `customer` where (`customer`.`ID` = `a`.`customerID`)) AS `crDiscountAccountID` from (((`comp_receive_payment` `a` join (`comp_receive_payment_detail` `b` left join `comp_sales_invoice` `d` on((`d`.`ID` = `b`.`invoiceID`)))) join `comp_sales_invoice` `c`) join `customer` `e`) where ((`a`.`customerID` = `e`.`ID`) and (`a`.`ID` = `b`.`receivePaymentID`) and (`c`.`ID` = `b`.`invoiceID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `a`.`ID` AS `paymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,`b`.`historicalinvoiceID` AS `invoiceID`,`e`.`customerName` AS `customerName`,`b`.`ID` AS `lineNo`,`b`.`ID` AS `paymentDetailID`,concat(concat(concat(`d`.`formNo`,'['),convert(lpad(`d`.`serialNo`,8,'0') using latin1)),']') AS `item`,`b`.`amountApplied` AS `amtPaid_amtAppl`,NULL AS `discount_bankCharges`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankID`)) AS `drAccountID`,(select `customer`.`linkedAPAccountID` from `customer` where (`customer`.`ID` = `a`.`customerID`)) AS `crAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'saledisacct'))) AS `drDiscountAccountID`,(select `customer`.`linkedAPAccountID` from `customer` where (`customer`.`ID` = `a`.`customerID`)) AS `crDiscountAccountID` from (((`comp_receive_payment` `a` join (`comp_receive_payment_detail_historical_invoice` `b` left join `comp_historical_customer_invoice` `d` on((`d`.`ID` = `b`.`historicalinvoiceID`)))) join `comp_historical_customer_invoice` `c`) join `customer` `e`) where ((`a`.`customerID` = `e`.`ID`) and (`a`.`ID` = `b`.`paymentID`) and (`c`.`ID` = `b`.`historicalinvoiceID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `a`.`ID` AS `paymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,`b`.`debitnoteID` AS `invoiceID`,`e`.`customerName` AS `customerName`,`b`.`ID` AS `lineNo`,`b`.`ID` AS `paymentDetailID`,concat(concat(concat(`d`.`formNo`,'['),convert(lpad(`d`.`serialNo`,8,'0') using latin1)),']') AS `item`,`b`.`amountApplied` AS `amtPaid_amtAppl`,NULL AS `discount_bankCharges`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankID`)) AS `drAccountID`,(select `customer`.`linkedAPAccountID` from `customer` where (`customer`.`ID` = `a`.`customerID`)) AS `crAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'saledisacct'))) AS `drDiscountAccountID`,(select `customer`.`linkedAPAccountID` from `customer` where (`customer`.`ID` = `a`.`customerID`)) AS `crDiscountAccountID` from (((`comp_receive_payment` `a` join (`comp_receive_payment_detail_debitnote` `b` left join `comp_sales_debitnote` `d` on((`d`.`ID` = `b`.`debitnoteID`)))) join `comp_sales_debitnote` `c`) join `customer` `e`) where ((`a`.`customerID` = `e`.`ID`) and (`a`.`ID` = `b`.`paymentID`) and (`c`.`ID` = `b`.`debitnoteID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_unpost_cash_purchase`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_cash_purchase`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_cash_purchase`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_cash_purchase` AS select `b`.`lineNo` AS `lineNo`,`b`.`quantity` AS `quantity`,`b`.`unitPrice` AS `unitPrice`,`b`.`itemID` AS `itemID`,`b`.`itemdescription` AS `itemdescription`,`b`.`umID` AS `umID`,`a`.`locationID` AS `locationID`,`a`.`ID` AS `othersPaymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`ID`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,NULL AS `supplierID`,NULL AS `purchaseInvoiceID`,`b`.`ID` AS `paymentDetailID`,NULL AS `supplierInvoiceNo`,`b`.`lineNo` AS `ID`,`b`.`itemname` AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxAmount`,`a`.`projectID` AS `projectID`,`c`.`itemTypeID` AS `itemTypeID`,if((`c`.`itemTypeID` = 23),`c`.`cogsID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'uninvoiceAP')))) AS `drAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankId`)) AS `crAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `drDiscountAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankId`)) AS `crDiscountAccountID` from ((`comp_payment_others` `a` join `comp_payment_others_with_item` `b`) left join `item` `c` on((`c`.`ID` = `b`.`itemID`))) where ((`a`.`ID` = `b`.`otherPaymentID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_unpost_cash_sale`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_cash_sale`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_cash_sale`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_cash_sale` AS select `a`.`projectID` AS `projectID`,`a`.`paymentFrom` AS `customer`,`a`.`ID` AS `invoiceID`,5 AS `typeID`,`b`.`ID` AS `typeDetailID`,`a`.`locationID` AS `locationID`,`b`.`quantity` AS `quantity`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`b`.`itemID` AS `itemID`,`b`.`umID` AS `umID`,`b`.`lineNo` AS `lineNo`,`d`.`currencyID` AS `currencyID`,concat('[',`c`.`itemCode`,']',`c`.`description`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankID`)) AS `drAccountID`,`c`.`incomeID` AS `crAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankID`)) AS `drTaxAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `crTaxAccountID`,`c`.`cogsID` AS `cogsAcctID`,`c`.`inventoriesID` AS `inventoriesAcctID` from ((`comp_cash_sales` `a` join (`comp_cash_sales_detail` `b` left join `item` `c` on((`b`.`itemID` = `c`.`ID`)))) join `company` `d`) where ((`a`.`ID` = `b`.`invoiceID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0) and (`a`.`companyID` = `d`.`ID`)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_unpost_do`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_do`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_do`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_do` AS select `a`.`ID` AS `deliveryOrderID`,`a`.`customerID` AS `customerID`,NULL AS `projectID`,NULL AS `customer`,`a`.`ID` AS `invoiceID`,1 AS `typeID`,`b`.`ID` AS `typeDetailID`,`a`.`locationID` AS `locationID`,`b`.`quantitySent` AS `quantity`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`b`.`itemID` AS `itemID`,concat('[',`c`.`itemCode`,']',`c`.`description`) AS `itemName`,0 AS `amountExcludedtax`,NULL AS `taxid`,0 AS `taxamount`,NULL AS `drAccountID`,NULL AS `crAccountID`,NULL AS `drTaxAccountID`,NULL AS `crTaxAccountID`,if((`b`.`invoiceID` > 0),`c`.`cogsID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'unInvoiceAR')))) AS `cogsAcctID`,`c`.`inventoriesID` AS `inventoriesAcctID` from (`comp_delivery_order` `a` join (`comp_delivery_detail` `b` left join `item` `c` on((`b`.`itemID` = `c`.`ID`)))) where ((`a`.`ID` = `b`.`deliveryID`) and (`a`.`updateAble` = 1) and (`a`.`isDelete` = 0) and (`c`.`itemTypeID` <> 23)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_unpost_gst_transaction`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_gst_transaction`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_gst_transaction`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_gst_transaction` AS select `a`.`ID` AS `paymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,NULL AS `supplierID`,NULL AS `purchaseInvoiceID`,concat(`a`.`Description`,'[',`a`.`vendor_cust_name`,']') AS `supplierName`,0 AS `lineNo`,NULL AS `paymentDetailID`,NULL AS `supplierInvoiceNo`,`a`.`reference` AS `item`,`b`.`taxAmountDr` AS `amtPaid_amtAppl`,0 AS `discount_bankCharges`,`b`.`accountID` AS `drAccountID`,(select `comp_gst_transaction_detail`.`accountID` from `comp_gst_transaction_detail` where ((`comp_gst_transaction_detail`.`gstTransID` = `a`.`ID`) and (`comp_gst_transaction_detail`.`taxAmountCr` > 0))) AS `crAccountID`,NULL AS `drDiscountAccountID`,NULL AS `crDiscountAccountID` from (`comp_gst_transaction` `a` join `comp_gst_transaction_detail` `b`) where ((`a`.`ID` = `b`.`gstTransID`) and (`b`.`taxAmountDr` > 0) and (`a`.`updateAble` = 1) and (`a`.`isDelete` = 0)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_unpost_other_payment`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_other_payment`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_other_payment`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_other_payment` AS select `a`.`ID` AS `othersPaymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,NULL AS `supplierID`,NULL AS `purchaseInvoiceID`,`b`.`ID` AS `paymentDetailID`,NULL AS `supplierInvoiceNo`,`b`.`lineNo` AS `lineNo`,`b`.`itemdescription` AS `itemdescription`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,`b`.`accountID` AS `drAccountID`,if((`a`.`formNo` like '%LR%'),`a`.`bankId`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankId`))) AS `crAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `drTaxAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankId`)) AS `crTaxAccountID` from (`comp_payment_others` `a` join `comp_payment_others_without_item` `b`) where ((`a`.`ID` = `b`.`otherPaymentID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `a`.`ID` AS `othersPaymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,NULL AS `supplierID`,NULL AS `purchaseInvoiceID`,`b`.`ID` AS `paymentDetailID`,NULL AS `supplierInvoiceNo`,`b`.`lineNo` AS `lineNo`,`b`.`itemdescription` AS `itemdescription`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,`b`.`accountID` AS `drAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankId`)) AS `crAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `drTaxAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankId`)) AS `crTaxAccountID` from (`comp_payment_others` `a` join `comp_payment_others_without_item` `b`) where ((`a`.`ID` = `b`.`otherPaymentID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0) and (`a`.`simplifiedTax` = 1) and ((select coalesce(sum(`comp_payment_others_without_item`.`taxAmount`),0) from `comp_payment_others_without_item` where ((`comp_payment_others_without_item`.`otherPaymentID` = `a`.`ID`) and (`comp_payment_others_without_item`.`lineNo` <= `b`.`lineNo`))) <= (select `c`.`MaxInputTaxClaim` from `comp_gst_preference` `c` where (`c`.`companyID` = `a`.`companyID`)))) union select `a`.`ID` AS `othersPaymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,NULL AS `supplierID`,NULL AS `purchaseInvoiceID`,`b`.`ID` AS `paymentDetailID`,NULL AS `supplierInvoiceNo`,`b`.`lineNo` AS `lineNo`,`b`.`itemdescription` AS `itemdescription`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,((select `c`.`MaxInputTaxClaim` from `comp_gst_preference` `c` where (`c`.`companyID` = `a`.`companyID`)) - (select coalesce(sum(`comp_payment_others_without_item`.`taxAmount`),0) from `comp_payment_others_without_item` where ((`comp_payment_others_without_item`.`otherPaymentID` = `a`.`ID`) and (`comp_payment_others_without_item`.`lineNo` < `b`.`lineNo`)))) AS `taxamount`,`b`.`accountID` AS `drAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankId`)) AS `crAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `drTaxAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankId`)) AS `crTaxAccountID` from (`comp_payment_others` `a` join `comp_payment_others_without_item` `b`) where ((`a`.`ID` = `b`.`otherPaymentID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0) and (`a`.`simplifiedTax` = 1) and ((select coalesce(sum(`comp_payment_others_without_item`.`taxAmount`),0) from `comp_payment_others_without_item` where ((`comp_payment_others_without_item`.`otherPaymentID` = `a`.`ID`) and (`comp_payment_others_without_item`.`lineNo` <= `b`.`lineNo`))) > (select `c`.`MaxInputTaxClaim` from `comp_gst_preference` `c` where (`c`.`companyID` = `a`.`companyID`))) and ((select coalesce(sum(`comp_payment_others_without_item`.`taxAmount`),0) from `comp_payment_others_without_item` where ((`comp_payment_others_without_item`.`otherPaymentID` = `a`.`ID`) and (`comp_payment_others_without_item`.`lineNo` < `b`.`lineNo`))) < (select `c`.`MaxInputTaxClaim` from `comp_gst_preference` `c` where (`c`.`companyID` = `a`.`companyID`)))) union select `a`.`ID` AS `othersPaymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,NULL AS `supplierID`,NULL AS `purchaseInvoiceID`,`b`.`ID` AS `paymentDetailID`,NULL AS `supplierInvoiceNo`,`b`.`lineNo` AS `lineNo`,`b`.`itemdescription` AS `itemdescription`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,(select (coalesce(sum(`comp_payment_others_without_item`.`taxAmount`),0) - (select `c`.`MaxInputTaxClaim` from `comp_gst_preference` `c` where (`c`.`companyID` = `a`.`companyID`))) from `comp_payment_others_without_item` where ((`comp_payment_others_without_item`.`otherPaymentID` = `a`.`ID`) and (`comp_payment_others_without_item`.`lineNo` <= `b`.`lineNo`))) AS `taxamount`,`b`.`accountID` AS `drAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankId`)) AS `crAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'gstnoclaim'))) AS `drTaxAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankId`)) AS `crTaxAccountID` from (`comp_payment_others` `a` join `comp_payment_others_without_item` `b`) where ((`a`.`ID` = `b`.`otherPaymentID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0) and (`a`.`simplifiedTax` = 1) and ((select coalesce(sum(`comp_payment_others_without_item`.`taxAmount`),0) from `comp_payment_others_without_item` where ((`comp_payment_others_without_item`.`otherPaymentID` = `a`.`ID`) and (`comp_payment_others_without_item`.`lineNo` <= `b`.`lineNo`))) > (select `c`.`MaxInputTaxClaim` from `comp_gst_preference` `c` where (`c`.`companyID` = `a`.`companyID`))) and ((select coalesce(sum(`comp_payment_others_without_item`.`taxAmount`),0) from `comp_payment_others_without_item` where ((`comp_payment_others_without_item`.`otherPaymentID` = `a`.`ID`) and (`comp_payment_others_without_item`.`lineNo` < `b`.`lineNo`))) < (select `c`.`MaxInputTaxClaim` from `comp_gst_preference` `c` where (`c`.`companyID` = `a`.`companyID`)))) union select `a`.`ID` AS `othersPaymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,NULL AS `supplierID`,NULL AS `purchaseInvoiceID`,`b`.`ID` AS `paymentDetailID`,NULL AS `supplierInvoiceNo`,`b`.`lineNo` AS `lineNo`,`b`.`itemdescription` AS `itemdescription`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,(select (coalesce(sum(`comp_payment_others_without_item`.`taxAmount`),0) - (select `c`.`MaxInputTaxClaim` from `comp_gst_preference` `c` where (`c`.`companyID` = `a`.`companyID`))) from `comp_payment_others_without_item` where ((`comp_payment_others_without_item`.`otherPaymentID` = `a`.`ID`) and (`comp_payment_others_without_item`.`lineNo` <= `b`.`lineNo`))) AS `taxamount`,`b`.`accountID` AS `drAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankId`)) AS `crAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'gstnoclaim'))) AS `drTaxAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankId`)) AS `crTaxAccountID` from (`comp_payment_others` `a` join `comp_payment_others_without_item` `b`) where ((`a`.`ID` = `b`.`otherPaymentID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0) and (`a`.`simplifiedTax` = 1) and ((select coalesce(sum(`comp_payment_others_without_item`.`taxAmount`),0) from `comp_payment_others_without_item` where ((`comp_payment_others_without_item`.`otherPaymentID` = `a`.`ID`) and (`comp_payment_others_without_item`.`lineNo` <= (`b`.`lineNo` + 1)))) > (select `c`.`MaxInputTaxClaim` from `comp_gst_preference` `c` where (`c`.`companyID` = `a`.`companyID`)))) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_unpost_other_receive`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_other_receive`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_other_receive`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_other_receive` AS select `a`.`projectID` AS `projectID`,`a`.`receiveFrom` AS `receiveFrom`,`a`.`ID` AS `otherReceiveID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`b`.`lineNo` AS `lineNo`,`b`.`description` AS `itemdescription`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankID`)) AS `drAccountID`,`b`.`accountNoID` AS `crAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankID`)) AS `drTaxAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `crTaxAccountID` from (`comp_receive_payment_others` `a` join `comp_receive_payment_others_detail` `b`) where ((`a`.`ID` = `b`.`receivePaymentOthersID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_unpost_payment`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_payment`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_payment`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_payment` AS select `a`.`ID` AS `paymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,NULL AS `purchaseInvoiceID`,`b`.`supplierName` AS `supplierName`,0 AS `lineNo`,NULL AS `paymentDetailID`,NULL AS `supplierInvoiceNo`,`a`.`referenceNo` AS `item`,`a`.`bankCharges` AS `amtPaid_amtAppl`,0 AS `discount_bankCharges`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'bankchargesAccount'))) AS `drAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankID`)) AS `crAccountID`,NULL AS `drDiscountAccountID`,NULL AS `crDiscountAccountID` from (`comp_payment` `a` join `supplier` `b`) where ((`a`.`supplierID` = `b`.`ID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `a`.`ID` AS `paymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,`b`.`purchaseInvoiceID` AS `purchaseInvoiceID`,`e`.`supplierName` AS `supplierName`,`b`.`lineNo` AS `lineNo`,`b`.`ID` AS `paymentDetailID`,`c`.`supplierInvoiceNo` AS `supplierInvoiceNo`,concat(concat(concat(`d`.`formNo`,'['),convert(lpad(`d`.`serialNo`,8,'0') using latin1)),']') AS `item`,(`b`.`amountApplied` - `b`.`discount`) AS `amtPaid_amtAppl`,`b`.`discount` AS `discount_bankCharges`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `drAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankID`)) AS `crAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `drDiscountAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'payDisc'))) AS `crDiscountAccountID` from (((`comp_payment` `a` join (`comp_payment_detail` `b` left join `comp_supplier_invoice` `d` on((`d`.`ID` = `b`.`purchaseInvoiceID`)))) join `comp_supplier_invoice` `c`) join `supplier` `e`) where ((`a`.`supplierID` = `e`.`ID`) and (`a`.`ID` = `b`.`paymentID`) and (`c`.`ID` = `b`.`purchaseInvoiceID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `a`.`ID` AS `paymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,`b`.`historicalinvoiceID` AS `purchaseInvoiceID`,`e`.`supplierName` AS `supplierName`,`b`.`ID` AS `lineNo`,`b`.`ID` AS `paymentDetailID`,`c`.`supplierInvoiceNo` AS `supplierInvoiceNo`,concat(concat(concat(`d`.`formNo`,'['),convert(lpad(`d`.`serialNo`,8,'0') using latin1)),']') AS `item`,`b`.`amountApplied` AS `amtPaid_amtAppl`,NULL AS `discount_bankCharges`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `drAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankID`)) AS `crAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `drDiscountAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'payDisc'))) AS `crDiscountAccountID` from (((`comp_payment` `a` join (`comp_payment_detail_historical_invoice` `b` left join `comp_historical_supplier_invoice` `d` on((`d`.`ID` = `b`.`historicalinvoiceID`)))) join `comp_historical_supplier_invoice` `c`) join `supplier` `e`) where ((`a`.`supplierID` = `e`.`ID`) and (`a`.`ID` = `b`.`paymentID`) and (`c`.`ID` = `b`.`historicalinvoiceID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `a`.`ID` AS `paymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,`b`.`creditnoteID` AS `purchaseInvoiceID`,`e`.`supplierName` AS `supplierName`,`b`.`ID` AS `lineNo`,`b`.`ID` AS `paymentDetailID`,`c`.`supplierInvoiceID` AS `supplierInvoiceNo`,concat(concat(concat(`d`.`formNo`,'['),convert(lpad(`d`.`serialNo`,8,'0') using latin1)),']') AS `item`,`b`.`amountApplied` AS `amtPaid_amtAppl`,NULL AS `discount_bankCharges`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `drAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankID`)) AS `crAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `drDiscountAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'payDisc'))) AS `crDiscountAccountID` from (((`comp_payment` `a` join (`comp_payment_detail_creditnote` `b` left join `comp_supplier_creditnote` `d` on((`d`.`ID` = `b`.`creditnoteID`)))) join `comp_supplier_creditnote` `c`) join `supplier` `e`) where ((`a`.`supplierID` = `e`.`ID`) and (`a`.`ID` = `b`.`paymentID`) and (`c`.`ID` = `b`.`creditnoteID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_unpost_receive_item`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_receive_item`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_receive_item`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_receive_item` AS select `a`.`ID` AS `receiveID`,`a`.`companyID` AS `companyID`,`a`.`locationID` AS `locationID`,`a`.`deliveryDate` AS `transactionDate`,`a`.`supplierID` AS `supplierID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`b`.`lineNo` AS `lineNo`,`b`.`itemID` AS `itemID`,concat('[',`c`.`itemCode`,']',`c`.`name`) AS `itemName`,`a`.`exchangeRate` AS `exchangeRate`,`b`.`unitPrice` AS `unitPrice`,`b`.`quantityReceived` AS `quantityReceived`,`b`.`umID` AS `umID`,`b`.`amount` AS `amount`,ifnull((select `item`.`inventoriesID` from `item` where (`item`.`ID` = `b`.`itemID`)),(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'invAcct')))) AS `drAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'unInvoiceAP'))) AS `crAccountID` from ((`comp_receive_item` `a` join `comp_receive_item_detail` `b`) join `item` `c`) where ((`a`.`updateAble` = 1) and (`a`.`ID` = `b`.`receiveID`) and (`b`.`itemID` = `c`.`ID`) and (`c`.`itemTypeID` <> 23)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_wakaf_accrual`
--

/*!50001 DROP TABLE IF EXISTS `view_wakaf_accrual`*/;
/*!50001 DROP VIEW IF EXISTS `view_wakaf_accrual`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_wakaf_accrual` AS select `b`.`companyID` AS `companyID`,`b`.`acctID` AS `acctID`,`b`.`year` AS `year`,sum(`b`.`total`) AS `totalAmount` from (`company` `a` join `comp_acc_det` `b`) where ((`a`.`ID` = `b`.`companyID`) and `b`.`acctID` in (select distinct `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where (`comp_control_acct_setup`.`accountCode` = 'wakafAcrual'))) group by `b`.`companyID`,`b`.`acctID`,`b`.`year` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_wakaf_from_profit`
--

/*!50001 DROP TABLE IF EXISTS `view_wakaf_from_profit`*/;
/*!50001 DROP VIEW IF EXISTS `view_wakaf_from_profit`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_wakaf_from_profit` AS select `a`.`companyID` AS `companyid`,`a`.`year` AS `year`,`c`.`ID` AS `acctType`,sum(`a`.`amountdr`) AS `totalDr`,sum(`a`.`amountcr`) AS `totalCr` from ((`comp_acc_det` `a` join `comp_chart_of_acct` `b`) join `_ref_acct_group` `c`) where ((`b`.`ID` = `a`.`acctID`) and (`c`.`ID` = `b`.`acctGroupID`) and (`c`.`ID` in (3,4))) group by `a`.`companyID`,`a`.`year`,`acctType` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2016-12-09 12:19:47
