CREATE TABLE IF NOT EXISTS `crm_numberprefix` (
  `ModuleID` varchar(11) NOT NULL,
  `NumberPrefix` varchar(255) DEFAULT NULL,
  `Remarks` varchar(255) DEFAULT NULL,
  `Length` int(11) DEFAULT NULL,
  `LastID` int(11) DEFAULT NULL,
  `Status` int(1) NOT NULL DEFAULT '1',
  `Group` varchar(255) DEFAULT NULL,
  `Hide` tinyint(1) DEFAULT '0',
  PRIMARY KEY (`ModuleID`),
  KEY `ModuleID` (`ModuleID`) USING BTREE,
  KEY `NumberPrefix` (`NumberPrefix`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_numberprefix
-- 

INSERT INTO `crm_numberprefix`(`ModuleID`,`NumberPrefix`,`Remarks`,`Length`,`LastID`,`Status`,`Group`,`Hide`) VALUES
('CA','CA','Campaign',5,102,1,'Marketing',0),
('LE','LE','Lead',5,78,1,'Marketing',0),
('OP','OP','Opportunity',5,57,1,'Sales',0),
('AC','AC','User Activity',11,6637,1,'Activities',1),
('AC_EV','EV','Event',5,110,1,'Activities',0),
('AC_NO','NO','Note',5,127,1,'Activities',0),
('AC_TA','TA','Task',5,78,1,'Activities',0),
('AC_ME','ME','Meeting',5,115,1,'Activities',0),
('AC_CL','CL','Call',5,222,1,'Activities',0),
('CS','CS','Case and Solution',5,78,1,'Support',0),
('UM','U','User Management',5,1,1,'Administrator',1),
('RM','R','Role Management',5,37,1,'Administrator',1),
('CO','CON','Contact',5,72,1,'Sales',0),
('LOC','LO','Location',5,41,1,'Activities',1),
('DB','DB','Database',5,1,0,'DB',1),
('CUST','C','Customer',5,1,1,'Sales',0),
('ART','ART','Article',5,12,1,'Support',1),
('COM','COM','Competitor',5,55,1,'Marketing',1),
('MS','MS','Market Survey',5,39,1,'Marketing',1),
('CAT','CAT','Categories Management',NULL,1,1,'Administrator',1),
('Q','Q','Quotation',NULL,1,1,'Quotation',0),
('S','S','Sale Order',NULL,1,1,'Sale Order',0),
('CA_0001','CA-RPT','Top Campaign',NULL,1,1,'Report Marketing',1),
('CA_0002','CA-RPT','Lead by campaign',NULL,1,1,'Report Marketing',1),
('LE_00001','LE_RPT','Exec Leads',NULL,1,1,'Report Marketing',1),
('CS_00001','CS_RPT','Case & Solution',NULL,1,1,'Report Support',1),
('OP_00001','OP_RPT','Opportunity',NULL,1,1,'Report Sale',1),
('CL-RPT','CL-RPT','Call Report',NULL,NULL,1,'Report Activities',1),
('LP','PL','Project List',5,34,1,'Marketing',1),
('SET_M','SET-M','Setting Module',NULL,1,1,'Administrator',1),
('AUTH_GROUP','AUTH_GROUP','Authorization Group',NULL,NULL,1,'Administrator',1),
('SET_AUTH','SET_AUTH','Setup Authorization',NULL,NULL,1,'Administrator',1),
('EMP_ASSIGN','EMP_ASSIGN','Employee Assignment',NULL,NULL,1,'Administrator',1),
('DA','DA','Delivery Address',5,188,0,'DA',1),
('AUTH_APPROV','AuthApp','Authorization Approval',NULL,NULL,1,'Administrator',1),
('SC','SC','Visit',5,120,1,'Activities',1),
('RPT-PL','RPT-PL','Report Project List',NULL,NULL,1,'Report Marketing',1),
('PO','PO','PO Forecasting',5,18,1,'Marketing',1),
('R_BG','R_BG','Budget Requisition',5,73,1,'Request',1),
('R_G','R_G','General Requisition',5,76,1,'Request',1),
('VI','VI','Visit Customer',5,6805,1,'Activities',1),
('COM_ITEM','CI','Competitor Item',5,56,1,'Activities',1),
('SO-RPT','SO-RPT','Sale Order Report',NULL,NULL,1,'Report Sale',1),
('QO-RPT','QO-RPT','Quotation Report',NULL,NULL,1,'Report Sale',1),
('CUST-RPT','CUST-RPT','Customer Report',NULL,NULL,1,'Report Sale',1),
('MC','MC','Mail Configuration',NULL,NULL,1,'Administrator',1),
('ME-RPT','ME-RPT','Meeting Report',NULL,NULL,1,'Report Activities',1),
('R_MA','R_MA','Material Requisition',11,1,1,'Request',1),
('R_OD','R_OD','Temporary Over Due Date',11,2,1,'Request',1),
('R_TC','R_TC','Temporary Credit',11,1,1,'Request',1),
('INQ_SK','INQ_SK','Stock On Hand',11,1,1,'Inquiry',1),
('TA-RPT','TA-RPT','Report Task',NULL,NULL,1,'Report Activities',1),
('EV-RPT','EV-RPT','Report Event',NULL,NULL,1,'Report Activities',1),
('CA-RPT','CA-RPT','Report Campaign',NULL,NULL,1,'Report Marketing',1),
('LE-RPT','LE-RPT','Report Lead',NULL,NULL,1,'Report Marketing',1),
('CT-RPT','CT-RPT','Report Contact',NULL,NULL,1,'Report Sale',1),
('VI_RPT','VI_RPT','Report Visit',NULL,NULL,1,'Report Activities',1),
('CRMCITY','CRMCITY','City Address',2,25,1,'City Address',1),
('MSD_VI','MV','MSD Visit',11,22,0,'Sale',1),
('SR','R','Sale Return',5,1,1,'Sale Return',1),
('POSM','P','Point Of Sale Material',5,1,1,'Sale',1),
('RCP','R','Receipt',NULL,NULL,1,'Receipt',1),
('ITEM','I','Product',NULL,NULL,1,'Products',1),
('CONF','CO','Default Configuration',NULL,NULL,1,'Setting',1),
('SN','INV','Sale Invoice',NULL,NULL,1,'Sales',1),
('SN-RPT','SN-RPT','Sale Invoice Report',NULL,NULL,1,'Report Sale',1),
('SR-RPT','SR-RPT','Sale Return Report',NULL,NULL,1,'Report Sale',1),
('SI-0001','SI-0001','Sales By Salesman',NULL,NULL,1,'Report Sale',1),
('SI-0003','SI-0003','Sale by Month',NULL,NULL,1,'Report Sale',1),
('SI-0004','SI-0004','Sale By Salesman By Weekly',NULL,NULL,1,'Report Sale',1),
('SI-0005','SI-0005','Sale By Salesman By Month',NULL,NULL,1,'Report Sale',1),
('SI-0006','SI-0006','Sale By Customer',NULL,NULL,1,'Report Sale',1),
('SI-0007','SI-0007','Stock Check',NULL,NULL,1,'Report Sale',1),
('SI-0008','SI-0008','Stock Customer',NULL,NULL,1,'Report Sale',1),
('SI-0009','SI-0009','Sales By Employee By Invoice',NULL,NULL,1,'Report Sale',1),
('SI-0010','SI-0010','Sales By Employee By Item',NULL,NULL,1,'Report Sale',1),
('SI-0011','SI-0011','Sales By Customer By Employee',NULL,NULL,1,'Report Sale',1),
('SI-0012','SI-0012','Sales By Item',NULL,NULL,1,'Report Sale',1),
('RPT-PL001','RPT-PL001','Project List Detail',NULL,NULL,1,'Report Marketing',1),
('RPT-PL002','RPT-PL002','Future Project List',NULL,NULL,1,'Report Marketing',1),
('RPT-PL003','RPT-PL003','Project List Excel',NULL,NULL,1,'Report Marketing',1),
('ZONE','Z','Sale Zone',5,12,1,'Sale',1),
('LANG','L','Language',6,1,1,'Administrator',0);

-- 
-- Definition of crm_opportunity
-- 

CREATE TABLE IF NOT EXISTS `crm_opportunity` (
  `OP_ID` varchar(11) NOT NULL,
  `OP_Name` varchar(150) DEFAULT NULL,
  `OP_CloseDate` date DEFAULT NULL,
  `OP_TypeID` int(3) DEFAULT NULL,
  `OP_StageID` int(3) DEFAULT NULL,
  `OP_Probability` int(3) DEFAULT NULL,
  `OP_LeadSourceID` int(3) DEFAULT NULL,
  `OP_NextStep` varchar(255) DEFAULT NULL,
  `OP_CampID` varchar(11) DEFAULT NULL,
  `OP_Des` text,
  `OP_ATo` varchar(11) DEFAULT NULL,
  `OP_CBy` varchar(11) DEFAULT NULL,
  `OP_CDate` datetime DEFAULT NULL,
  `OP_MBy` varchar(11) DEFAULT NULL,
  `OP_MDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `OP_CustID` varchar(255) DEFAULT NULL,
  `OP_PriceCode` varchar(50) DEFAULT NULL,
  `OP_Class` varchar(50) DEFAULT NULL,
  `OP_TotalSTax` double DEFAULT NULL,
  `OP_TotalVTax` double DEFAULT NULL,
  `OP_TotalAmt` double DEFAULT NULL,
  `OP_DisInvDol` double DEFAULT NULL,
  `OP_DisInvPer` double DEFAULT NULL,
  `OP_TotalDis` double DEFAULT NULL,
  `OP_Amt` double NOT NULL,
  `OP_IsApproved` varchar(100) DEFAULT '1',
  PRIMARY KEY (`OP_ID`),
  KEY `crm_opportunity_ibfk_1` (`OP_TypeID`) USING BTREE,
  KEY `crm_opportunity_ibfk_2` (`OP_StageID`) USING BTREE,
  KEY `crm_opportunity_ibfk_3` (`OP_LeadSourceID`) USING BTREE,
  KEY `crm_opportunity_ibfk_4` (`OP_ATo`) USING BTREE,
  KEY `OP_CampID` (`OP_CampID`) USING BTREE,
  KEY `OP_CustID` (`OP_CustID`) USING BTREE,
  KEY `FK_kom693hggqut6ba5xbc6ahwnl` (`OP_Class`) USING BTREE,
  KEY `FK_n1qt2ylvey9i12qiot0xwyh1a` (`OP_PriceCode`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_opportunity
-- 

INSERT INTO `crm_opportunity`(`OP_ID`,`OP_Name`,`OP_CloseDate`,`OP_TypeID`,`OP_StageID`,`OP_Probability`,`OP_LeadSourceID`,`OP_NextStep`,`OP_CampID`,`OP_Des`,`OP_ATo`,`OP_CBy`,`OP_CDate`,`OP_MBy`,`OP_MDate`,`OP_CustID`,`OP_PriceCode`,`OP_Class`,`OP_TotalSTax`,`OP_TotalVTax`,`OP_TotalAmt`,`OP_DisInvDol`,`OP_DisInvPer`,`OP_TotalDis`,`OP_Amt`,`OP_IsApproved`) VALUES
('OP000000001','aaaa','2017-06-28 00:00:00',NULL,1,10,NULL,'',NULL,'',NULL,'balancika','2017-06-28 00:00:00',NULL,'2017-06-29 00:13:47','C01076','Latest Selling Price',NULL,0,0,0,0,0,0,1111,'1'),
('OP000000002','rrr','2017-06-28 00:00:00',NULL,1,10,NULL,'',NULL,'',NULL,'balancika','2017-06-28 00:00:00',NULL,'2017-06-29 00:47:39','C01023','Latest Selling Price',NULL,0,0,0,0,0,0,12322,'1'),
('OP000000003','sss','2017-06-13 00:00:00',NULL,5,10,NULL,'',NULL,'',NULL,'balancika','2017-06-28 00:00:00',NULL,'2018-07-17 11:17:23','C00002','PC1',NULL,0,0,0,0,0,0,333,'Rejected'),
('OP000000004','dara','2017-06-21 00:00:00',NULL,3,10,NULL,'',NULL,'','sambath','balancika','2017-06-28 00:00:00','balancika','2018-07-17 11:17:23','C00002','PC1',NULL,0,0,0,0,0,0,1111,'Rejected'),
('OP000000005','ssss','2017-06-23 00:00:00',NULL,1,10,NULL,'',NULL,'',NULL,'balancika','2017-06-30 00:00:00','balancika','2017-07-22 22:47:25','C00004','PC1',NULL,0,0,0,0,0,0,1.23456789012346E+308,'1'),
('OP000000006','sadasdas','2017-07-22 00:00:00',NULL,2,20,NULL,'',NULL,'',NULL,'balancika','2017-07-22 00:00:00',NULL,'2017-07-22 23:17:06','C00005','PC1','Phnom Penh',0,0,0,0,0,0,200000,'1'),
('OP000000007','123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890','2017-07-26 00:00:00',10,2,20,3,'123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890','CA000000003','123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890','vichet','balancika','2017-07-26 00:00:00',NULL,'2017-07-27 03:58:49','C00004','PC1','C0003',0,0,0,0,0,0,1.23456789012346E+149,'1'),
('OP000000008','TEST','2017-08-03 00:00:00',10,2,20,NULL,'TEST',NULL,'','vong','balancika','2017-08-04 00:00:00',NULL,'2017-08-05 06:35:03','C00004','PC1',NULL,0,0,0,0,0,0,1123,'1'),
('OP000000009','xx','2017-09-05 00:00:00',NULL,1,10,NULL,'',NULL,'',NULL,'balancika','2017-09-05 00:00:00',NULL,'2018-07-17 11:17:23','C00002','Latest Selling Price',NULL,0,0,0,0,0,0,123,'Rejected'),
('OP000000010','ddd','2017-09-05 00:00:00',NULL,1,10,NULL,'','CA000000001','',NULL,'balancika',NULL,NULL,'2018-07-17 11:17:23','C00002',NULL,NULL,0,0,0,0,0,0,123,'Rejected'),
('OP000000011','ddd','2017-09-05 00:00:00',NULL,1,10,NULL,'','CA000000001','',NULL,'balancika',NULL,NULL,'2018-07-17 11:17:23','C00002',NULL,NULL,0,0,0,0,0,0,123,'Rejected'),
('OP000000012','dfgdsfdsfgds','2017-09-05 00:00:00',NULL,1,10,NULL,'',NULL,'',NULL,'balancika','2017-09-05 00:00:00',NULL,'2017-09-06 16:20:51','C00003','PC1',NULL,0,0,0,0,0,0,12,'1'),
('OP000000013','sdfsdfsa','2017-09-05 00:00:00',NULL,1,10,NULL,'','CA000000003','',NULL,'balancika',NULL,NULL,'2017-09-06 16:23:25','C01148',NULL,NULL,0,0,0,0,0,0,123,'0'),
('OP000000014','None Approved Opportunity','2017-09-09 00:00:00',NULL,1,10,NULL,'','CA000000004','',NULL,'balancika',NULL,NULL,'2017-09-09 09:59:48','C01154',NULL,NULL,0,0,0,0,0,0,123,'1'),
('OP000000015','Pending','2017-09-09 00:00:00',NULL,2,20,NULL,'','CA000000001','',NULL,'balancika',NULL,NULL,'2017-09-09 12:39:47','C01155',NULL,NULL,0,0,0,0,0,0,123,'1'),
('OP000000016','Create Opportunity Direct+Required','2017-09-11 00:00:00',NULL,2,20,NULL,'',NULL,'',NULL,'balancika','2017-09-11 00:00:00',NULL,'2018-07-17 11:17:23','C00002','PC1',NULL,0,0,1,0,0,0,1,'Rejected'),
('OP000000017','Create Opportunity Convert+Required','2017-09-11 00:00:00',NULL,1,10,NULL,'','CA000000001','',NULL,'balancika',NULL,NULL,'2017-09-12 10:38:58','C01162',NULL,NULL,0,0,0,0,0,0,123,'1'),
('OP000000018','Create Opportunity Direct+Non-Required','2017-09-11 00:00:00',NULL,3,40,NULL,'',NULL,'',NULL,'balancika','2017-09-11 00:00:00',NULL,'2017-12-15 08:25:40','C00005','PC1',NULL,0,0,2520,0,0,0,2520,'1'),
('OP000000019','Create Opportunity Convert+Non-required','2017-09-11 00:00:00',NULL,2,20,NULL,'','CA000000003','',NULL,'balancika',NULL,NULL,'2017-09-11 16:21:55','C01170',NULL,NULL,0,0,0,0,0,0,123,'1'),
('OP000000020','123','2017-09-29 00:00:00',NULL,1,10,NULL,'',NULL,'',NULL,'balancika','2017-09-29 00:00:00',NULL,'2017-09-29 15:45:20','C01208','Latest Selling Price',NULL,0,0,0,0,0,0,123,'1'),
('OP000000021','123','2017-09-22 00:00:00',NULL,1,10,NULL,'',NULL,'',NULL,'balancika','2017-09-29 00:00:00',NULL,'2017-10-02 10:47:14','C01208','Latest Selling Price',NULL,0,0,145.2,0,0,0,145.2,'1'),
('OP000000022','ss','2017-10-10 00:00:00',NULL,1,10,NULL,'',NULL,'',NULL,'balancika','2017-10-09 00:00:00',NULL,'2017-10-09 16:03:30','C01221','Sub-Wholesale',NULL,0,0,0,0,0,0,0.01,'1'),
('OP000000023','sdfsadfasdf','2017-10-20 00:00:00',NULL,2,20,NULL,'',NULL,'',NULL,'balancika','2017-10-20 00:00:00',NULL,'2017-10-20 15:51:53','C01240','Wholesale',NULL,0,0,0,0,0,0,12,'1'),
('OP000000024','katalon','2018-12-31 00:00:00',10,1,75,2,'need follow up','CA000000001','katalon studio','chamroeurn','G1-EMP10','2017-10-20 00:00:00','balancika','2017-12-13 15:23:19','C00063','Latest Selling Price','C0001',0,0,0,0,0,0,123,'1'),
('OP000000025','asdfasdfasd','2017-11-30 00:00:00',NULL,2,20,NULL,'','CA000000015','',NULL,'balancika','2017-11-13 00:00:00',NULL,'2017-11-13 11:39:41','C02365',NULL,NULL,0,0,0,0,0,0,10000,'0'),
('OP00027','Dara Airport','2019-01-01 00:00:00',9,1,80,2,'Maintaining','CA000000001','Opportunity converted from lead','G1-EMP10','balancika','2018-01-08 00:00:00',NULL,'2018-01-08 13:58:26','C00063',NULL,NULL,0,0,0,0,0,0,1200,'1'),
('OP00028','Dara Airport','2019-01-01 00:00:00',9,1,80,2,'Maintaining','CA000000001','Opportunity converted from lead','G1-EMP10','balancika','2018-01-08 00:00:00',NULL,'2018-01-08 14:11:02','C06489',NULL,NULL,0,0,0,0,0,0,1200,'0'),
('OP00029','sdfsdfsaf','2018-01-10 00:00:00',NULL,1,10,2,'','CA000000001','','G1-EMP10','balancika','2018-01-10 00:00:00',NULL,'2018-01-10 10:20:08','C02385',NULL,NULL,0,0,0,0,0,0,12,'1'),
('OP00031','123','2018-01-10 00:00:00',NULL,1,10,2,'','CA000000001','',NULL,'G1-EMP10','2018-01-10 00:00:00',NULL,'2018-01-10 10:41:09','C00063',NULL,NULL,0,0,0,0,0,0,123,'1'),
('OP00032','123','2018-01-10 00:00:00',NULL,1,10,2,'','CA000000001','',NULL,'G1-EMP10','2018-01-10 00:00:00',NULL,'2018-01-10 10:42:10','C00063',NULL,NULL,0,0,0,0,0,0,123,'1'),
('OP00033','fgbdsfgdsfg','2018-01-10 00:00:00',NULL,2,20,2,'','CA000000001','',NULL,'G1-EMP10','2018-01-10 00:00:00',NULL,'2018-01-10 10:53:59','C06495',NULL,NULL,0,0,0,0,0,0,342,'0'),
('OP00034','jkljjjlljk;j;j','2018-01-10 00:00:00',NULL,3,40,2,'','CA000000001','',NULL,'G1-EMP10','2018-01-10 00:00:00',NULL,'2018-01-10 11:20:34','C00064',NULL,NULL,0,0,0,0,0,0,123,'1'),
('OP00035','fsdfasdfas','2018-01-09 00:00:00',NULL,3,40,NULL,'','CA000000003','',NULL,'balancika','2018-01-10 00:00:00',NULL,'2018-01-11 09:24:15','C00065',NULL,NULL,0,0,25,0,0,0,25,'1'),
('OP00036','sdfsdfsdf','2018-01-10 00:00:00',NULL,2,20,2,'','CA000000001','',NULL,'balancika','2018-01-10 00:00:00',NULL,'2018-01-10 15:11:45','C00066',NULL,NULL,0,456,1665,1665,100,123,0,'1'),
('OP00037','123123','2018-01-12 00:00:00',NULL,1,10,NULL,'','CA000000004','',NULL,'balancika','2018-01-12 00:00:00',NULL,'2018-01-12 09:00:59','C00063',NULL,NULL,0,0,0,0,0,0,123123,'1'),
('OP00038','Opportunity Convert From Lead LE00045','2018-01-26 00:00:00',NULL,3,40,2,'','CA000000001','',NULL,'balancika','2018-01-12 00:00:00',NULL,'2018-01-12 09:41:52','C00096',NULL,NULL,0,0,0,0,0,0,1500,'1'),
('OP00039','Opportunity Convert From Lead LE00045','2018-01-26 00:00:00',NULL,3,40,2,'','CA000000001','',NULL,'balancika','2018-01-12 00:00:00',NULL,'2018-01-12 09:50:33','C00096',NULL,NULL,0,0,0,0,0,0,1500,'1'),
('OP00040','Opportunity Convert From Lead LE00045','2018-01-26 00:00:00',NULL,3,40,2,'','CA000000001','',NULL,'balancika','2018-01-12 00:00:00',NULL,'2018-01-12 09:58:17','C00096',NULL,NULL,0,0,0,0,0,0,1500,'1'),
('OP00041','Opportunity Convert From Lead LE00045','2018-01-26 00:00:00',NULL,3,40,2,'','CA000000001','',NULL,'balancika','2018-01-12 00:00:00',NULL,'2018-01-12 10:41:01','C00096',NULL,NULL,0,0,0,0,0,0,1500,'1'),
('OP00042','Opportunity Convert From Lead LE00045','2018-01-26 00:00:00',NULL,3,40,2,'','CA000000001','',NULL,'balancika','2018-01-12 00:00:00',NULL,'2018-01-12 10:43:29','C00096',NULL,NULL,0,0,0,0,0,0,1500,'1'),
('OP00043','fasdfsadfsadfsa','2018-01-13 00:00:00',NULL,1,10,NULL,'','CA000000001','',NULL,'ADM0001','2018-01-13 00:00:00',NULL,'2018-01-13 13:51:00','C00065',NULL,NULL,0,0,0,0,0,0,123,'1'),
('OP00044','rrrrrfrrr','2018-02-23 00:00:00',9,5,90,6,'','CA00080','',NULL,'balancika','2018-02-22 00:00:00',NULL,'2018-02-22 16:01:05','C00065','FREE','C0001',0,0,1000,0,0,0,1000,'1'),
('OP00046','sfsfsfsf','2018-06-05 00:00:00',9,1,10,3,'whg23hweheh','CA000000003','sfgsgsgsdgsgs','ADMIN','balancika','2018-06-05 00:00:00','balancika','2018-06-05 14:50:13','C00064','Retails','C0003',0,0,0,0,0,0,500,'1'),
('OP00049','ddddd','2018-07-15 00:00:00',9,2,20,4,'ddddddd','CA000000003','sfsfsfsfsf','balancika','balancika','2018-07-15 14:51:02',NULL,'2018-07-15 14:51:02','C00025','PC001','P00017',NULL,NULL,NULL,NULL,NULL,NULL,123131,'0'),
('OP00050','dddddddddddd','2018-07-10 00:00:00',10,4,70,15,'dddddddddddddd','CA000000001','dddddddddddddddddddddddddd','balancika','balancika','2018-07-15 14:51:38','balancika','2018-07-16 09:13:11','C00001','PC004','P00025',NULL,NULL,NULL,NULL,NULL,NULL,11111,'0'),
('OP00051','ssssssssssss','2018-07-31 00:00:00',9,1,10,3,'1000000000000000000000','CA000000001','ssssssssssssssssssssssssss','balancika','balancika','2018-07-16 09:22:30',NULL,'2018-07-16 09:22:30','C00025','PC001','P00018',NULL,NULL,NULL,NULL,NULL,NULL,10000,'0'),
('OP00052','eeeeeeeeee','2018-07-31 00:00:00',0,2,20,0,'',NULL,'',NULL,'balancika','2018-07-16 09:31:36',NULL,'2018-07-16 09:31:36','C00025','PC001',NULL,NULL,NULL,NULL,NULL,NULL,NULL,2000,'0'),
('OP00053','1000','2018-07-11 00:00:00',9,2,20,2,'ddddddddddd','CA000000001','sfsfffffffffffffffffffffff','balancika','balancika','2018-07-16 09:32:21','balancika','2018-07-16 10:26:45','C00025','PC001','P00017',NULL,NULL,NULL,NULL,NULL,NULL,10000,'0'),
('OP00054','test convert lead','2018-08-31 00:00:00',10,2,20,2,'dddddd','CA000000003','sssssssssssssssssss','balancika','balancika','2018-08-03 10:33:46',NULL,'2018-08-03 10:33:46',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1000,'0'),
('OP00055','sfsf','2018-08-31 00:00:00',9,2,20,2,'asfsfsf','CA000000001','sfsfsfs','ddddddddd','balancika','2018-08-03 10:47:48',NULL,'2018-08-03 10:47:48',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,100,'0'),
('OP00056','amount asfsf','2018-08-31 00:00:00',9,2,20,5,'wsehbewgweheheh','CA000000003','sfgwgw2gwgw','balancika','balancika','2018-08-03 11:09:55',NULL,'2018-08-03 11:09:55',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,10000,'0');

-- 
-- Definition of crm_opportunity_contact
-- 

CREATE TABLE IF NOT EXISTS `crm_opportunity_contact` (
  `OPCON_ID` int(11) NOT NULL AUTO_INCREMENT,
  `OPCON_OPID` varchar(11) NOT NULL,
  `OPCON_CONID` varchar(11) NOT NULL,
  `OPCON_Type` varchar(11) DEFAULT NULL,
  `OPCON_Role` varchar(11) DEFAULT NULL,
  PRIMARY KEY (`OPCON_ID`),
  KEY `OPCON_OPID` (`OPCON_OPID`) USING BTREE,
  KEY `OPCON_CONID` (`OPCON_CONID`) USING BTREE
) ENGINE=MyISAM AUTO_INCREMENT=16 DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_opportunity_contact
-- 

INSERT INTO `crm_opportunity_contact`(`OPCON_ID`,`OPCON_OPID`,`OPCON_CONID`,`OPCON_Type`,`OPCON_Role`) VALUES
(11,'OP000000020','CON00000005','Primary',NULL),
(12,'OP000000021','CON00000001','Primary',NULL),
(13,'OP000000022','CON00000005','Normal',NULL),
(14,'OP000000017','CON00000001','Normal',NULL),
(15,'OP000000024','CON00000002','Primary',NULL);

-- 
-- Definition of crm_opportunity_detail
-- 

CREATE TABLE IF NOT EXISTS `crm_opportunity_detail` (
  `OP_D_ID` int(11) NOT NULL AUTO_INCREMENT,
  `OP_ID` varchar(11) DEFAULT NULL,
  `LineNo` int(11) DEFAULT NULL,
  `ItemID` varchar(255) DEFAULT NULL,
  `UomID` varchar(255) DEFAULT NULL,
  `LocationID` varchar(255) DEFAULT NULL,
  `SalQty` double DEFAULT NULL,
  `UnitPrice` double DEFAULT NULL,
  `TotalAmt` double DEFAULT NULL,
  `NetTotalAmt` double DEFAULT NULL,
  `DisDol` double DEFAULT NULL,
  `DisPer` double DEFAULT NULL,
  `STaxDol` double DEFAULT NULL,
  `STaxPer` double DEFAULT NULL,
  `VTaxDol` double DEFAULT NULL,
  `VTaxPer` double DEFAULT NULL,
  `ReportPrice` double DEFAULT NULL,
  `Factor` double DEFAULT NULL,
  `ClassID` varchar(255) DEFAULT NULL,
  `DisInv` double DEFAULT '0',
  PRIMARY KEY (`OP_D_ID`),
  KEY `ItemID` (`ItemID`) USING BTREE,
  KEY `LocationID` (`LocationID`) USING BTREE,
  KEY `OpID` (`OP_ID`) USING BTREE,
  KEY `FK_3xxq9ybeq8px8am4lftkjbd5u` (`ClassID`) USING BTREE,
  KEY `FK_q5isyp5nkr2cdb4or1run5qdq` (`UomID`) USING BTREE
) ENGINE=MyISAM AUTO_INCREMENT=142 DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_opportunity_detail
-- 

INSERT INTO `crm_opportunity_detail`(`OP_D_ID`,`OP_ID`,`LineNo`,`ItemID`,`UomID`,`LocationID`,`SalQty`,`UnitPrice`,`TotalAmt`,`NetTotalAmt`,`DisDol`,`DisPer`,`STaxDol`,`STaxPer`,`VTaxDol`,`VTaxPer`,`ReportPrice`,`Factor`,`ClassID`,`DisInv`) VALUES
(132,'OP000000016',1,'Test-00003','BAG','Angel',1,1,1,1,0,0,0,0,0,0,0,1,NULL,0),
(136,'OP000000021',2,'WHB-00008','BAG20','LC2',12,12,144,144,0,0,0,0,0,0,0,1,NULL,0),
(135,'OP000000021',1,'Test-00003','BAG','Angel',12,123,1.2,1.2,0,0,0,0,0,0,0,1232,NULL,0),
(137,'OP000000018',1,'CL3-Camera-00003','BAG10','TQ',45,56,2520,2520,0,0,0,0,0,0,0,1,NULL,0),
(139,'OP00036',1,'ACC-00002','âËÅ','Dyamon',111,12,1332,1665,123,9.23423,0,0,456,37.71712,0,1,'C0001',1665),
(140,'OP00035',1,'ACC-00002','BOX24','TQ',5,5,25,25,0,0,0,0,0,0,0,1,NULL,0),
(141,'OP00044',1,'ACC-00001','BAG','Angel',100,10,1000,1000,0,0,0,0,0,0,0,1,NULL,0);

-- 
-- Definition of crm_opportunity_lead_project
-- 

CREATE TABLE IF NOT EXISTS `crm_opportunity_lead_project` (
  `OPID` varchar(11) NOT NULL,
  `LPID` int(11) NOT NULL,
  PRIMARY KEY (`OPID`,`LPID`),
  KEY `FK_jv45jqta2m86wegj6lnj861hh` (`LPID`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_opportunity_lead_project
-- 

INSERT INTO `crm_opportunity_lead_project`(`OPID`,`LPID`) VALUES
('OP000000022',6),
('OP000000032',5);

-- 
-- Definition of crm_opportunity_quote
-- 

CREATE TABLE IF NOT EXISTS `crm_opportunity_quote` (
  `L_ID` int(11) NOT NULL AUTO_INCREMENT,
  `OP_ID` varchar(11) NOT NULL,
  `QuotID` varchar(255) NOT NULL,
  PRIMARY KEY (`L_ID`),
  UNIQUE KEY `L_ID` (`L_ID`) USING BTREE,
  KEY `OP_ID` (`OP_ID`) USING BTREE
) ENGINE=MyISAM AUTO_INCREMENT=11 DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_opportunity_quote
-- 

INSERT INTO `crm_opportunity_quote`(`L_ID`,`OP_ID`,`QuotID`) VALUES
(8,'OP000000008','QUO00008'),
(9,'OP000000020','QUO00069'),
(10,'OP000000021','QUO00068');

-- 
-- Definition of crm_opportunity_saleorder
-- 

CREATE TABLE IF NOT EXISTS `crm_opportunity_saleorder` (
  `L_ID` int(11) NOT NULL AUTO_INCREMENT,
  `OP_ID` varchar(255) NOT NULL,
  `S_O_ID` varchar(255) NOT NULL,
  PRIMARY KEY (`L_ID`)
) ENGINE=MyISAM AUTO_INCREMENT=17 DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_opportunity_saleorder
-- 

INSERT INTO `crm_opportunity_saleorder`(`L_ID`,`OP_ID`,`S_O_ID`) VALUES
(16,'OP000000021','SO00207');

-- 
-- Definition of crm_opportunity_stage
-- 

CREATE TABLE IF NOT EXISTS `crm_opportunity_stage` (
  `OS_ID` int(3) NOT NULL AUTO_INCREMENT,
  `OS_Name` varchar(150) NOT NULL,
  `OS_Des` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`OS_ID`),
  UNIQUE KEY `StageName` (`OS_Name`) USING BTREE
) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_opportunity_stage
-- 

INSERT INTO `crm_opportunity_stage`(`OS_ID`,`OS_Name`,`OS_Des`) VALUES
(1,'Prospecting','10'),
(2,'Qualification','20'),
(3,'Analysis','40'),
(4,'Proposal','70'),
(5,'Negotiation','90'),
(6,'Closed Won','100'),
(7,'Closed Lost','0');

-- 
-- Definition of crm_opportunity_type
-- 

CREATE TABLE IF NOT EXISTS `crm_opportunity_type` (
  `OT_ID` int(3) NOT NULL AUTO_INCREMENT,
  `OT_Name` varchar(150) NOT NULL,
  `OT_Des` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`OT_ID`),
  UNIQUE KEY `TypeName` (`OT_Name`) USING BTREE
) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_opportunity_type
-- 

INSERT INTO `crm_opportunity_type`(`OT_ID`,`OT_Name`,`OT_Des`) VALUES
(9,'Existing Business',''),
(10,'New Business','');

-- 
-- Definition of crm_optional_field
-- 

CREATE TABLE IF NOT EXISTS `crm_optional_field` (
  `AFID` int(11) NOT NULL AUTO_INCREMENT,
  `Label` varchar(100) DEFAULT NULL,
  `AFV` varchar(1000) NOT NULL,
  `AFT` varchar(100) NOT NULL,
  `Description` varchar(255) DEFAULT '',
  `Group` varchar(50) DEFAULT '',
  `Rang` int(2) DEFAULT NULL,
  PRIMARY KEY (`AFID`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_optional_field
-- 

INSERT INTO `crm_optional_field`(`AFID`,`Label`,`AFV`,`AFT`,`Description`,`Group`,`Rang`) VALUES
(1,'Color','Red;Black;Blue;Green','Tag','color','Customer',1),
(2,'Size','XL;\r\nS;\r\nM;\r\nL','Select','size','Customer',2),
(3,'Brand','LV;\nBoss;\nSEB','Select','brand','Customer',3),
(4,'Opt 4','','Date','','Customer',4),
(5,'Date Register','','Date','','Customer',5),
(6,'Opt 6','','Datetime','','Customer',6),
(7,'Opt 7','','Textarea','','Customer',7),
(8,'Opt 8','AAA;\nbbb;\nbbbb','Select','','Customer',8),
(9,'Expire','','Datetime','','Customer',9),
(10,'Register Date','','Date','','Customer',10);

-- 
-- Definition of crm_po_forecasting
-- 

CREATE TABLE IF NOT EXISTS `crm_po_forecasting` (
  `PO_ID` varchar(255) NOT NULL,
  `PO_Name` varchar(255) DEFAULT NULL,
  `PO_StartDate` datetime DEFAULT NULL,
  `PO_EndDate` datetime DEFAULT NULL,
  `PO_CreatedDate` datetime DEFAULT NULL,
  `PO_Number` varchar(255) DEFAULT NULL,
  `PO_PreparedBy` varchar(255) DEFAULT NULL,
  `PO_ApprovedBy` varchar(255) DEFAULT NULL,
  `PO_CreatedBy` varchar(255) DEFAULT NULL,
  `PO_ModifiedBy` varchar(255) DEFAULT NULL,
  `PO_ModifiedDate` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`PO_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_po_forecasting
-- 

INSERT INTO `crm_po_forecasting`(`PO_ID`,`PO_Name`,`PO_StartDate`,`PO_EndDate`,`PO_CreatedDate`,`PO_Number`,`PO_PreparedBy`,`PO_ApprovedBy`,`PO_CreatedBy`,`PO_ModifiedBy`,`PO_ModifiedDate`) VALUES
('PO000000004','First Record','2017-10-20 00:00:00','2017-10-20 00:00:00','2017-10-20 09:29:51','POF00001','EMP00010','EMP00010','G1-EMP10',NULL,NULL),
('PO000000005','werwer','2017-10-23 00:00:00','2017-10-28 00:00:00','2017-10-23 10:11:48','werrwevr werw','EMP00010','E-00006','g1-emp10','g1-emp10','2017-10-23 10:21:42'),
('PO000000006','sadfasdfasdf','2017-10-23 00:00:00','2017-10-31 00:00:00','2017-10-23 10:15:30','asdfasdfasdf','EMP00010','E-00006','g1-emp10','g1-emp10','2017-10-23 10:21:22'),
('PO000000007','fasdfasdfasdf','2017-10-31 00:00:00','2017-11-04 00:00:00','2017-10-23 10:20:46','asdfasd fasdfasdfasdf','EMP00010','E-00007','g1-emp10',NULL,NULL),
('PO000000008','dsfgdsgfg','2017-10-25 00:00:00','2017-10-25 00:00:00','2017-10-25 10:05:05','fdsfgdsf','x','E-00006','G1-EMP10',NULL,NULL),
('PO00011','Condo Project','2017-12-01 00:00:00','2017-12-05 00:00:00','2017-12-06 17:07:16','PO000001','EMP00010','EMP00010','balancika',NULL,NULL),
('PO00012','Condo Project','2017-12-01 00:00:00','2017-12-05 00:00:00','2017-12-07 08:16:44','PO000002','EMP00010','EMP00010','balancika',NULL,NULL),
('PO00013','Condo Project','2017-12-01 00:00:00','2017-12-05 00:00:00','2017-12-07 08:19:10','PO000003','EMP00010','EMP00010','balancika','balancika','2017-12-07 09:04:58'),
('PO00014','Condo Project','2017-12-01 00:00:00','2017-12-05 00:00:00','2017-12-07 11:03:06','PO000004','EMP00010','EMP00010','balancika',NULL,NULL),
('PO00015','Condo Project','2017-12-01 00:00:00','2017-12-05 00:00:00','2017-12-07 11:05:30','PO000005','EMP00010','EMP00010','balancika','balancika','2017-12-11 08:32:36'),
('PO00017','PO Forecasting 3 Months in Advance  For CSBU & IBU Forecast sale May-Aug 2017','2017-12-20 00:00:00','2017-12-31 00:00:00','2017-12-20 10:27:30','SV17/05/16-001','EMP00025','EMP00035','balancika',NULL,NULL);

-- 
-- Definition of crm_po_forecasting_details
-- 

CREATE TABLE IF NOT EXISTS `crm_po_forecasting_details` (
  `POD_ID` int(11) NOT NULL AUTO_INCREMENT,
  `ItemID` varchar(255) DEFAULT NULL,
  `UomID` varchar(255) DEFAULT NULL,
  `POD_AmtToOrder` int(11) DEFAULT NULL,
  `POD_Remark` varchar(255) DEFAULT NULL,
  `PO_ID` varchar(255) DEFAULT NULL,
  `PL_ID` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`POD_ID`)
) ENGINE=InnoDB AUTO_INCREMENT=161 DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_po_forecasting_details
-- 

INSERT INTO `crm_po_forecasting_details`(`POD_ID`,`ItemID`,`UomID`,`POD_AmtToOrder`,`POD_Remark`,`PO_ID`,`PL_ID`) VALUES
(138,'ACC-00010','BAG',100,'A','PO000000004',''),
(139,'ACC-00011','BAG',101,'B','PO000000004',''),
(140,'ACC-00010','BAG',12,'condo materail 1','PO00011',''),
(141,'ACC-00010','BAG',12,'condo materail 1','PO00012',''),
(148,'ACC-00011','BAG',12,'condo materail 2','PO00013',''),
(149,'ACC-00012','BAG',12,'condo materail 2','PO00013',''),
(150,'ACC-00010','BAG',12,'Reference Form Projectlist: PL000000003','PO00014','PL000000003'),
(151,'ACC-00011','BAG',123,'Reference Form Projectlist: PL000000003','PO00014','PL000000003'),
(154,'ACC-00011','BAG',123,'Reference Form Projectlist: PL000000003','PO00015','PL000000003'),
(155,'ACC-00012','BAG',12,'condo materail 2','PO00015',''),
(156,'G01-00013','KG',45,'kgsdf gsdflkgsdlfg sdflgksdlfgksd fg s;dlfgks;dlfg sd fkgsdf gsdlfkgs;dlfg sdfgosldfkgsdfgsdfgsdfgsdfgsdfgsdfgsdfg','PO00017',''),
(157,'G01-00023','KG',45,'asdf asdfaskldf asdlfkasd fasdlkfalsd fasldfkasd fasdlkf alsdflaskdflk;jashdjfhsdjfasbdf asdjfhasdf asdjkfnasd faskdjf  asdfkljasjdflkajsdflkas dfasjkdjf ewiurfisd fasdfka sdf','PO00017',''),
(158,'G06-00030','KG',50,'asdfas dflkasdkf asdflaskdf asdlkfas a d f asddkjfjas dfkj askjdf dsakjrfjkjasldkjfalsdnfakjsdhfhjwqgdsjhasd fajsdhflasjdfoksjdfkasdsamcvxncaslkjdbfakjsd  sadkjfaskdjfa','PO00017',''),
(159,'G12-00030','KG',90,'asdfasdkjfa sdfaksjdfasdfasdfasdfasdfasdf','PO00017',''),
(160,'G12-00065','KG',67,'sdfgsd fg sdfjkasjd fsadkjfjaksdf asd askdj,fkasdjfkasd faksdjfaksdfasdfasd fasdfasdfasd','PO00017','');

-- 
-- Definition of crm_projectlist
-- 

CREATE TABLE IF NOT EXISTS `crm_projectlist` (
  `pl_id` varchar(255) NOT NULL,
  `pl_name` varchar(255) DEFAULT NULL,
  `pl_type` int(11) DEFAULT NULL,
  `pl_location` varchar(255) DEFAULT NULL,
  `pl_owner` varchar(255) DEFAULT NULL,
  `pl_remark` varchar(255) DEFAULT NULL,
  `pl_enddate` datetime DEFAULT NULL,
  `empid` varchar(255) DEFAULT NULL,
  `pl_buildcompleted` int(11) DEFAULT '0',
  `pl_createdby` varchar(255) DEFAULT NULL,
  `pl_createddate` datetime DEFAULT NULL,
  `pl_modifiedby` varchar(255) DEFAULT NULL,
  `pl_modifieddate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `pl_status` int(11) DEFAULT NULL,
  `co_no` varchar(100) DEFAULT NULL,
  `co_street` varchar(100) DEFAULT NULL,
  `co_village` varchar(100) DEFAULT NULL,
  `co_commune` varchar(100) DEFAULT NULL,
  `co_district` varchar(100) DEFAULT NULL,
  `co_city` varchar(100) DEFAULT NULL,
  `co_state` varchar(100) DEFAULT NULL,
  `co_country` varchar(100) DEFAULT NULL,
  `company_address` varchar(300) DEFAULT NULL,
  `company_no` varchar(100) DEFAULT NULL,
  `company_street` varchar(100) DEFAULT NULL,
  `company_village` varchar(100) DEFAULT NULL,
  `company_commune` varchar(100) DEFAULT NULL,
  `company_district` varchar(100) DEFAULT NULL,
  `company_city` varchar(100) DEFAULT NULL,
  `company_state` varchar(100) DEFAULT NULL,
  `company_country` varchar(100) DEFAULT NULL,
  `pl_last_visit` date DEFAULT NULL,
  `pl_startdate` date DEFAULT NULL,
  `pl_cost_in_usd` double DEFAULT '0',
  `pl_next_follow_date` date DEFAULT NULL,
  `ComName` varchar(255) CHARACTER SET utf8mb4 DEFAULT NULL,
  `TypeBus` varchar(255) DEFAULT NULL,
  `SizeBus` varchar(255) DEFAULT NULL,
  `Url` varchar(255) DEFAULT NULL,
  `Consultant` varchar(255) DEFAULT NULL,
  `ConsulPerson` varchar(255) DEFAULT NULL,
  `ConsulNumber` varchar(255) DEFAULT NULL,
  `ConsulEmail` varchar(255) DEFAULT NULL,
  `Architect` varchar(255) DEFAULT NULL,
  `ArchPerson` varchar(255) DEFAULT NULL,
  `ArchNumber` varchar(255) DEFAULT NULL,
  `ArchEmail` varchar(255) DEFAULT NULL,
  `MainConstuctor` varchar(255) DEFAULT NULL,
  `MainPerson` varchar(255) DEFAULT NULL,
  `MainNumber` varchar(255) DEFAULT NULL,
  `MainEmail` varchar(255) DEFAULT NULL,
  `SubConstuctor` varchar(255) DEFAULT NULL,
  `SubPerson` varchar(255) DEFAULT NULL,
  `SubNumber` varchar(255) DEFAULT NULL,
  `SubEmail` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`pl_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_projectlist
-- 

INSERT INTO `crm_projectlist`(`pl_id`,`pl_name`,`pl_type`,`pl_location`,`pl_owner`,`pl_remark`,`pl_enddate`,`empid`,`pl_buildcompleted`,`pl_createdby`,`pl_createddate`,`pl_modifiedby`,`pl_modifieddate`,`pl_status`,`co_no`,`co_street`,`co_village`,`co_commune`,`co_district`,`co_city`,`co_state`,`co_country`,`company_address`,`company_no`,`company_street`,`company_village`,`company_commune`,`company_district`,`company_city`,`company_state`,`company_country`,`pl_last_visit`,`pl_startdate`,`pl_cost_in_usd`,`pl_next_follow_date`,`ComName`,`TypeBus`,`SizeBus`,`Url`,`Consultant`,`ConsulPerson`,`ConsulNumber`,`ConsulEmail`,`Architect`,`ArchPerson`,`ArchNumber`,`ArchEmail`,`MainConstuctor`,`MainPerson`,`MainNumber`,`MainEmail`,`SubConstuctor`,`SubPerson`,`SubNumber`,`SubEmail`) VALUES
('PL00001','TK Avenue',6,'No. 151 B+C St. 154, Sangkat Phsar Thmel 1, KhanDoun Penh,PP','Sereyvong','TK Avenue at ToulKork','2020-02-29 00:00:00','E00001',20,'ADM001','2018-02-12 15:15:06','ADM001','2018-02-13 21:53:12',1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
('PL00002','BKK Condo',2,'Ket MengKet MengKet MengKet MengKet MengKet MengKet MengKet Meng','Ket Meng','Ket Meng','2020-02-01 00:00:00','E00048',0,'ADM001','2018-02-12 15:26:13','ADM001','2018-02-19 09:25:45',6,NULL,NULL,'','','','',NULL,NULL,'',NULL,NULL,'','','','',NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
('PL00003','ABC',2,'sfsfsf','sfsfsf','sfsfsf','2018-02-28 00:00:00','E00024',10,'ADM001','2018-02-13 12:02:55',NULL,'2018-02-13 12:02:51',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
('PL00004','sfsfsf',2,'sfsfsfs','sfsfs','sfsfsf','2018-02-15 00:00:00','E00025',50,'ADM001','2018-02-13 12:06:36','ADM001','2018-02-13 16:55:27',4,NULL,NULL,'24010406','240104','2401','24',NULL,NULL,'dehrrjhj',NULL,NULL,'23010305','230103','2301','23',NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
('PL00005','ABE YYY',4,'sfsfsf','Sereyvong Group','','2020-02-01 00:00:00','E00004',30,'ADM001','2018-02-13 12:14:47','ADM001','2018-02-17 11:08:46',4,NULL,NULL,'25071219','250712','2507','25',NULL,NULL,'',NULL,NULL,'24010101','240101','2401','24',NULL,NULL,'2018-02-28 00:00:00','2018-03-01 00:00:00',600000,'2018-02-28 00:00:00',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
('PL00006','project condo TK',1,'sfswfsfsf','Sereyvong','sereyvong sfsf','2018-02-28 00:00:00','E00026',50,'ADM001','2018-02-13 12:59:40','ADM001','2018-02-13 16:36:37',5,NULL,NULL,'14131117','141311','1413','14',NULL,NULL,'sfsfsfsf',NULL,NULL,'23020101','230201','2302','23',NULL,NULL,'2018-02-28 00:00:00','2018-02-28 00:00:00',6000,'2018-02-28 00:00:00',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
('PL00007','sfsfsfsf',2,'sfsfsfsf','sfsfsf','sfsfsfsfs','2018-02-22 00:00:00','E00023',50,'ADM001','2018-02-13 16:57:15','ADM001','2018-02-14 10:30:03',3,NULL,NULL,'25071313','250713','2507','25',NULL,NULL,'sgwsgwg',NULL,NULL,'24020404','240204','2402','24',NULL,NULL,'2018-02-28 00:00:00','2018-02-28 00:00:00',60,'2018-02-28 00:00:00',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
('PL00010','OOE',3,'','','','2018-03-01 00:00:00',NULL,0,'ADM001','2018-02-17 11:04:16','ADM001','2018-02-17 11:07:05',3,NULL,NULL,'','','','',NULL,NULL,'',NULL,NULL,'','','','',NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
('PL00011','kakak',1,'E569 st. 344 Boeng village, Sang Kat Ponhea Pon, Khan Praek Pnov , Phnom Penh','eefe','wfwfw','2019-02-01 00:00:00','E00004',43,'ADM001','2018-02-21 08:57:14','ADM001','2018-02-21 09:48:45',1,'E569','st. 344','12110204','121102','1211','12',NULL,NULL,'E569 st. 344 Boeng village, Sang Kat Ponhea Pon, Khan Praek Pnov , Phnom Penh','E569','st. 344','12110204','121102','1211','12',NULL,NULL,'2018-02-28 00:00:00','2018-02-01 00:00:00',50000,'2018-02-28 00:00:00','Chak','construction','Small','https://www.cleancss.com/json-editor/','Chenda Co., Ltd','Mr. Chenda','098 787 454',NULL,'Vichet Co., Ltd','Mr. Vichet','098 666 555',NULL,'Sereyvong Co., Ltd','Mr. Sereyvong','098 333 208',NULL,NULL,NULL,NULL,NULL),
('PL00012','Borey Manchei',1,'No. 105, St. 566, Sangkat Boeung Kak 2, Khan Toul Kork, Phnom Penh','Borey Manchei','Borey Manchei 271','2019-12-31 00:00:00','E00024',60,'ADM001','2018-02-21 09:51:27','ADM001','2018-02-22 11:07:37',5,'566','105','12040819','120408','1204','12',NULL,NULL,'No. 107, St. 766, Sangkat Boeung Kak 2, Khan Toul Kork, Phnom Penh','107','766','12040821','120408','1204','12',NULL,NULL,'2018-03-10 00:00:00','2018-03-01 00:00:00',800000,'2018-03-03 00:00:00','Borey Manchei','Borey Construction','Big','','Sereyvong Consultant','Mr. Thorn Sereyvong','098 333 208',NULL,'Sereyvong Architect','Mr. Theara','098 666 568',NULL,'Sokphorn','Mr. Sokphorn','098 666 568',NULL,NULL,NULL,NULL,NULL),
('PL00026','sffsf',1,'sfsfsf','sfsf','ssfsf','2018-03-29 00:00:00','E-00009',50,'balancika','2018-03-13 13:39:20',NULL,'2018-03-13 13:39:12',1,'sfsfsf','sfsfs','24010309','240103','2401','24',NULL,NULL,'sfsfsfs','sfsf','sfsf','23020203','230202','2302','23',NULL,NULL,'2018-03-30 00:00:00','2018-03-13 00:00:00',444,'2018-03-27 00:00:00','sfsf','sfsfs','sfsfs','sfsfsf','sfsfs','sfsf','sfsf',NULL,'sfsf','sfsf','sfsfs',NULL,'sfsfs','sfsf','sfsfs',NULL,NULL,NULL,NULL,NULL),
('PL00027','hello 1.2.3',1,'sereee','busss','sfsfsf','2018-03-31 00:00:00','E-00006',50,'balancika','2018-03-26 08:37:55',NULL,'2018-03-26 08:37:45',1,'sfsf','1ss','25071414','250714','2507','25',NULL,NULL,'sfsfs','sfs','sfs','24020402','240204','2402','24',NULL,NULL,'2018-03-27 00:00:00','2018-03-26 00:00:00',1000,'2018-03-27 00:00:00','sfsf','sfsfs','sfsf','sfsfs','sfsf','sfsf','sfsfs',NULL,'sfsf','sfsf','sfsf',NULL,'sfsfs','fsfs','sfsf',NULL,NULL,NULL,NULL,NULL),
('PL00028','sfsf',NULL,'','','','2018-03-27 00:00:00',NULL,0,'balancika','2018-03-26 08:38:39',NULL,'2018-03-26 08:38:29',NULL,'','','','','','',NULL,NULL,'','','','','','','',NULL,NULL,NULL,NULL,0,NULL,'','','','','','','',NULL,'','','',NULL,'','','',NULL,NULL,NULL,NULL,NULL),
('PL00029','adafafa',NULL,'','','',NULL,NULL,0,'balancika','2018-06-19 09:45:27',NULL,'2018-06-19 09:45:19',NULL,'','','','','','',NULL,NULL,'','','','','','','',NULL,NULL,NULL,NULL,0,NULL,'','','','','afasfsa','sfsfs','sfsfsf',NULL,'sfasf','ssfsf','sfsfsf',NULL,'sfsfs','fsfs','sfsf',NULL,NULL,NULL,NULL,NULL),
('PL00030','sfaasfafaf',NULL,'','','',NULL,NULL,0,'balancika','2018-06-19 10:04:10','balancika','2018-06-19 10:06:28',NULL,'','','','','','',NULL,NULL,'','','','','','','',NULL,NULL,NULL,NULL,0,NULL,'','','','','sfsfs','sfsfsf','sfsfsf','sfsf@sgsg','sfsf','sfsfs','sfsfs','sfsfs@xsgdg','sfsfsf','sfsfsf','sfsfs','dbh@sgsg','gsgeg','wgehe','dhdh','dghdh@dgdsg'),
('PL00031','sfssffwgwg',NULL,'','','',NULL,NULL,0,'balancika','2018-06-19 10:07:03',NULL,'2018-06-19 10:06:54',NULL,'','','','','','',NULL,NULL,'','','','','','','',NULL,NULL,NULL,NULL,0,NULL,'','','','','','','','sfsfsf@gsddg','','','','shwh@dshdh','','','','dbhdsh@dhdh','','','','dgdgdg@sgsdg'),
('PL00032','sfsfsfsf',NULL,'','','',NULL,NULL,0,'balancika','2018-07-16 13:09:40',NULL,'2018-07-16 13:09:42',NULL,'','','','','','',NULL,NULL,'','','','','','','',NULL,NULL,NULL,NULL,0,NULL,'','','','','','','','','','','','','','','','','','','',''),
('PL00033','sfsfsfs',NULL,'','','',NULL,NULL,0,'balancika','2018-07-17 13:03:07',NULL,'2018-07-17 13:03:12',NULL,'','','','','','',NULL,NULL,'','','','','','','',NULL,NULL,NULL,NULL,0,NULL,'','','','','','','','','','','','','','','','','','','','');

-- 
-- Definition of crm_projectlist_details
-- 

CREATE TABLE IF NOT EXISTS `crm_projectlist_details` (
  `pld_id` int(11) NOT NULL AUTO_INCREMENT,
  `pld_mainconstructor` varchar(255) DEFAULT NULL,
  `pld_constructor` varchar(255) DEFAULT NULL,
  `pld_contact` varchar(255) DEFAULT NULL,
  `pld_personincharge` varchar(255) DEFAULT NULL,
  `pld_mobile` varchar(255) DEFAULT NULL,
  `pl_id` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`pld_id`)
) ENGINE=InnoDB AUTO_INCREMENT=53 DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_projectlist_details
-- 

INSERT INTO `crm_projectlist_details`(`pld_id`,`pld_mainconstructor`,`pld_constructor`,`pld_contact`,`pld_personincharge`,`pld_mobile`,`pl_id`) VALUES
(3,'Sambath','Sambath','Sambath','Mr Virak','098 333 204','PL00001'),
(4,'Chenda','Chenda','Chenda','Mr Samnang','098 655 898','PL00001'),
(5,'sfsfgsg','sgsgsg','sgsgsg','sgsg','sgsgsg','PL00003'),
(8,'chenda','chenda','chenda','chenda','098 333 208','PL00006'),
(13,'wgeh1','sghsh','ehehh','eherheh','9888','PL00004'),
(22,'sfsg','wshwh','whwh','whwh','6655','PL00007'),
(23,'sgwg','weg2whwq2h','geheh','whwh','64654','PL00007'),
(30,'Sokphorn','Sokphorn','Sokphorn','Sokphorn','098 333 208 / 097 5555 635','PL00005'),
(31,'Sokphorn','Sokphorn','Sokphorn','Sokphorn','098 333 208 / 097 5555 635','PL00005'),
(32,'Sokphorn','Sokphorn','Sokphorn','Sokphorn','098 333 208 / 097 5555 635','PL00005'),
(33,'Sokphorn','Sokphorn','Sokphorn','Sokphorn','','PL00005'),
(34,'Sokphorn','Sokphorn','Sokphorn','Sokphorn','','PL00005'),
(35,'Sokphorn','Sokphorn','Sokphorn','Sokphorn','','PL00005'),
(36,'Kanika','Kanika','Kanika','Mr. Virak','098 326 998','PL00002'),
(37,'Kanika 1','Kanika 1','Kanika 1','Kanika 1','098 333 205','PL00002'),
(38,'Kanika 2','Kanika 2','Kanika 2','Kanika 2','Kanika 2','PL00002'),
(45,NULL,'Sambath','Sambath','Virak','098 789 654','PL00011'),
(46,NULL,'Sophorn','Sophorn','virak','098 456 321','PL00011'),
(48,NULL,'Chenda','Mr. Chenda','TATA','098 3633 208','PL00012'),
(49,NULL,'vichet','Mr. Vichet','TATA','087 987 569','PL00012'),
(50,'','sfsfs','sfsf','sfsf','sfsfsfs','PL00026'),
(51,'','sfs','sfsf','sfsf','sfsf','PL00027'),
(52,'','sfsf','sfs','sfsf','sfsf','PL00027');

-- 
-- Definition of crm_projectlist_product
-- 

CREATE TABLE IF NOT EXISTS `crm_projectlist_product` (
  `plp_id` int(11) NOT NULL AUTO_INCREMENT,
  `pl_id` varchar(255) DEFAULT NULL,
  `itemid` varchar(255) DEFAULT NULL,
  `plp_boq` varchar(255) DEFAULT NULL,
  `plp_qty` varchar(255) DEFAULT '0',
  `plp_unitprice` double DEFAULT '0',
  `plp_priceper` double DEFAULT '0',
  `plp_totalbalance` double DEFAULT '0',
  `plp_qtytoused` varchar(255) DEFAULT '0',
  `plp_percentagetobuy` int(11) DEFAULT '0',
  `plp_qtytobuy` varchar(255) DEFAULT '0',
  `plp_dateexptouse` date DEFAULT NULL,
  `plp_balance` varchar(255) DEFAULT '0',
  `plp_status` int(11) DEFAULT NULL,
  `plp_remark` varchar(255) DEFAULT NULL,
  `plp_totalbalfinished` double DEFAULT '0',
  `uomid` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`plp_id`)
) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_projectlist_product
-- 

INSERT INTO `crm_projectlist_product`(`plp_id`,`pl_id`,`itemid`,`plp_boq`,`plp_qty`,`plp_unitprice`,`plp_priceper`,`plp_totalbalance`,`plp_qtytoused`,`plp_percentagetobuy`,`plp_qtytobuy`,`plp_dateexptouse`,`plp_balance`,`plp_status`,`plp_remark`,`plp_totalbalfinished`,`uomid`) VALUES
(2,'PL00001','G01-00001','600','650',700,800,850,'900',50,'1000','2018-02-15 00:00:00','1100',2,'hello 1000',12000,'SHEET'),
(3,'PL00001','G01-00002','400','450',500,550,600,'650',50,'900','2018-02-15 00:00:00','3000',2,'SFSFSF',60000,'SHEET'),
(5,'PL00007','G01-00002','60','50',50,60,60,'50',50,'505','2018-02-28 00:00:00','60',2,'wgwgwh',2464,'SHEET'),
(6,'PL00007','G01-00005','6060','353',353,353,3535,'3535',35,'4353','2018-02-28 00:00:00','353',1,'35',35,'SHEET'),
(7,'PL00005','G01-00001','60000','500',500,4000,60000,'40',50,'90','2018-02-28 00:00:00','5000000',2,'',500000,'SHEET'),
(8,'PL00002','G01-00002','500','555',555,5,5,'5',5,'5','2018-02-17 00:00:00','5',1,'wegwege',600,'SHEET'),
(9,'PL00002','G01-00004','90','90',850,50,74,'852',98,'50','2018-02-28 00:00:00','50',2,'50',8000,'SHEET'),
(10,'PL00002','CL3-Vehicle & Truck-00003','60','80',70,90,50,'50',6,'50','2018-02-28 00:00:00','690',3,'',9000,'UNIT'),
(12,'PL00012','G01-00001','500','555',555,555,555,'5555',55,'5555','2018-02-28 00:00:00','555',2,'555555',55555,'SHEET'),
(13,'PL00012','G01-00003','999','9999',9999,999,999,'99',9,'999','2018-02-28 00:00:00','8998',2,'5555000',555588,'SHEET'),
(19,'PL00010','G01-00001','0','0',0,0,0,'0',0,'0',NULL,'0',NULL,'',0,'SHEET');

-- 
-- Definition of crm_projectlist_product_status
-- 

CREATE TABLE IF NOT EXISTS `crm_projectlist_product_status` (
  `plps_id` int(11) NOT NULL AUTO_INCREMENT,
  `plps_name` varchar(255) DEFAULT NULL,
  `plps_des` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`plps_id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_projectlist_product_status
-- 

INSERT INTO `crm_projectlist_product_status`(`plps_id`,`plps_name`,`plps_des`) VALUES
(1,'Finished',NULL),
(2,'Need Followup',NULL),
(3,'Fail','sfsgsgsgsg');

-- 
-- Definition of crm_projectlist_status
-- 

CREATE TABLE IF NOT EXISTS `crm_projectlist_status` (
  `pls_id` int(11) NOT NULL AUTO_INCREMENT,
  `pls_name` varchar(255) DEFAULT NULL,
  `pls_des` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`pls_id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_projectlist_status
-- 

INSERT INTO `crm_projectlist_status`(`pls_id`,`pls_name`,`pls_des`) VALUES
(1,'On Going','edjherjhejerj'),
(2,'Fail',NULL),
(3,'Finished',NULL),
(4,'Secure',NULL),
(5,'Bidding',NULL),
(6,'Future',NULL),
(7,'Pending',NULL);

-- 
-- Definition of crm_projectlist_type
-- 

CREATE TABLE IF NOT EXISTS `crm_projectlist_type` (
  `plt_id` int(11) NOT NULL AUTO_INCREMENT,
  `plt_name` varchar(255) DEFAULT NULL,
  `plt_des` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`plt_id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_projectlist_type
-- 

INSERT INTO `crm_projectlist_type`(`plt_id`,`plt_name`,`plt_des`) VALUES
(1,'Industry',NULL),
(2,'Flooring','sgfwgwgwg'),
(3,'Admixture',NULL),
(4,'Residental',NULL),
(5,'Water Treatment',NULL),
(6,'Condo',NULL),
(7,'Housing & Villa-Borey',NULL),
(8,'Hotel',NULL),
(9,'Comerial Office',NULL),
(10,'Road & Street',NULL);

-- 
-- Definition of crm_relationship_type
-- 

CREATE TABLE IF NOT EXISTS `crm_relationship_type` (
  `RelID` int(11) NOT NULL AUTO_INCREMENT,
  `RelDescription` varchar(255) DEFAULT NULL,
  `M` varchar(255) DEFAULT NULL,
  `F` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`RelID`),
  UNIQUE KEY `RelDescription` (`RelDescription`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_relationship_type
-- 

INSERT INTO `crm_relationship_type`(`RelID`,`RelDescription`,`M`,`F`) VALUES
(1,'Father','Son','Daughter'),
(3,'Uncle','Nephew','Niece'),
(7,'Spouse','Spouse','Spouse'),
(8,'Brother','Brother','Brother'),
(9,'Sister','Sister','Sister'),
(12,'Daughter','Father','Mother');

-- 
-- Definition of crm_role
-- 

CREATE TABLE IF NOT EXISTS `crm_role` (
  `RM_ID` varchar(11) NOT NULL,
  `RM_Name` varchar(50) NOT NULL,
  `RM_TypeID` int(11) DEFAULT NULL,
  `RM_Des` varchar(255) DEFAULT NULL,
  `RM_CBy` varchar(255) DEFAULT NULL,
  `RM_CDate` datetime DEFAULT NULL,
  `RM_MBy` varchar(255) DEFAULT NULL,
  `RM_MDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `RM_Status` int(1) NOT NULL,
  PRIMARY KEY (`RM_ID`),
  UNIQUE KEY `RM_ID` (`RM_ID`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_role
-- 

INSERT INTO `crm_role`(`RM_ID`,`RM_Name`,`RM_TypeID`,`RM_Des`,`RM_CBy`,`RM_CDate`,`RM_MBy`,`RM_MDate`,`RM_Status`) VALUES
('R0001','CRM_ADMINISTRATOR',1,'Full control','balancika','2017-01-11 15:36:14','balancika','2018-05-24 14:06:08',1),
('R0000000015','ROLE GROUP02',2,'Created by Tester','balancika','2017-09-14 17:31:53','G1-EMP10','2018-05-02 17:35:43',1),
('R0000000016','ROLE INDIVIDUAL',2,'Created by Tester','balancika','2017-09-14 17:32:39','rong111','2018-01-04 11:34:20',1),
('R0000000014','ROLE GROUP01',1,'Created by Tester','balancika','2017-09-14 17:24:14','G1-EMP10','2017-10-19 11:56:23',1),
('R0000000013','ADMIN',2,'Created by Tester','balancika','2017-09-14 17:18:09','balancika','2018-01-03 15:15:04',1),
('R00026','SALE ADMIN',1,'','temp','2017-12-29 09:02:43','ADM0001','2018-01-12 16:16:41',1),
('R00027','SALE REP',2,'','temp','2017-12-29 09:03:57','balancika','2018-01-12 16:21:28',1),
('R00028','TESTR',1,'','balancika','2018-02-21 13:02:58',NULL,'2018-02-21 13:02:50',1),
('R00035','SFSFSF',1,'sfsfsfs','balancika','2018-07-18 09:49:17',NULL,'2018-07-18 09:49:18',1),
('R00036','afafafaf',2,'','balancika','2018-07-18 09:49:38','balancika','2018-07-18 09:50:02',1);

-- 
-- Definition of crm_role_detail
-- 

CREATE TABLE IF NOT EXISTS `crm_role_detail` (
  `RM_DetailID` int(3) NOT NULL AUTO_INCREMENT,
  `RM_ModuleID` varchar(11) NOT NULL,
  `RM_Delete` varchar(10) DEFAULT NULL,
  `RM_Edit` varchar(10) DEFAULT NULL,
  `RM_Export` varchar(10) DEFAULT NULL,
  `RM_Import` varchar(10) DEFAULT NULL,
  `RM_List` varchar(10) DEFAULT NULL,
  `RM_View` varchar(10) DEFAULT NULL,
  `RM_Access` varchar(10) DEFAULT NULL,
  `RM_RoleID` varchar(11) DEFAULT NULL,
  PRIMARY KEY (`RM_DetailID`),
  UNIQUE KEY `RM_DetailID` (`RM_DetailID`) USING BTREE,
  KEY `RM_RoleID` (`RM_RoleID`) USING BTREE,
  KEY `FK_i4xjjrcisoo2qarxhvcihso9x` (`RM_ModuleID`) USING BTREE
) ENGINE=MyISAM AUTO_INCREMENT=7562 DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_role_detail
-- 

INSERT INTO `crm_role_detail`(`RM_DetailID`,`RM_ModuleID`,`RM_Delete`,`RM_Edit`,`RM_Export`,`RM_Import`,`RM_List`,`RM_View`,`RM_Access`,`RM_RoleID`) VALUES
(6602,'CS','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6601,'ART','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6770,'CS','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6769,'ART','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6760,'R_BG','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6316,'ART','YES','YES','YES','YES','YES','YES','YES','R0000000016'),
(6315,'OP','YES','YES','YES','YES','YES','YES','YES','R0000000016'),
(6314,'CUST','YES','YES','YES','YES','YES','YES','YES','R0000000016'),
(6313,'CO','YES','YES','YES','YES','YES','YES','YES','R0000000016'),
(6312,'S','YES','YES','YES','YES','YES','YES','YES','R0000000016'),
(6311,'R_TC','NO','NO','NO','NO','NO','NO','NO','R0000000016'),
(6310,'R_OD','NO','NO','NO','NO','NO','NO','NO','R0000000016'),
(6309,'R_MA','NO','NO','NO','NO','NO','NO','NO','R0000000016'),
(6308,'R_G','NO','NO','NO','NO','NO','NO','NO','R0000000016'),
(6307,'R_BG','NO','NO','NO','NO','NO','NO','NO','R0000000016'),
(6306,'CS_00001','YES','YES','YES','YES','YES','YES','YES','R0000000016'),
(6305,'SO-RPT','NO','NO','NO','NO','NO','NO','YES','R0000000016'),
(6767,'CUST','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6304,'QO-RPT','NO','NO','NO','NO','NO','NO','YES','R0000000016'),
(6303,'OP_00001','YES','YES','YES','YES','YES','YES','YES','R0000000016'),
(6302,'CUST-RPT','NO','NO','NO','NO','NO','NO','YES','R0000000016'),
(6765,'S','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6764,'R_TC','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6600,'OP','NO','NO','NO','NO','NO','NO','NO','R00027'),
(7294,'SI-0005','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7293,'SI-0004','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7292,'SI-0003','YES','YES','YES','YES','YES','YES','YES','R0001'),
(3253,'VI','NO','NO','NO','NO','NO','NO','NO','R00023'),
(3254,'AUTH_APPROV','NO','NO','NO','NO','NO','NO','NO','R00023'),
(3255,'AUTH_GROUP','NO','NO','NO','NO','NO','NO','NO','R00023'),
(3256,'CAT','NO','NO','NO','NO','NO','NO','NO','R00023'),
(3257,'EMP_ASSIGN','NO','NO','NO','NO','NO','NO','NO','R00023'),
(3258,'RM','NO','NO','NO','NO','NO','NO','NO','R00023'),
(3259,'SET_AUTH','NO','NO','NO','NO','NO','NO','NO','R00023'),
(3260,'SET_M','NO','NO','NO','NO','NO','NO','NO','R00023'),
(3261,'UM','NO','NO','NO','NO','NO','NO','NO','R00023'),
(3262,'CA','NO','NO','NO','NO','NO','NO','NO','R00023'),
(7291,'SI-0001','YES','YES','YES','YES','YES','YES','YES','R0001'),
(1920,'CS','NO','NO','NO','NO','NO','NO','NO','R0000000004'),
(1919,'ART','NO','NO','NO','NO','NO','NO','NO','R0000000004'),
(1918,'OP','NO','NO','NO','NO','NO','NO','NO','R0000000004'),
(1917,'CUST','NO','NO','NO','NO','NO','NO','NO','R0000000004'),
(1916,'CO','NO','NO','NO','NO','NO','NO','NO','R0000000004'),
(1915,'S','NO','NO','NO','NO','NO','NO','NO','R0000000004'),
(1914,'CS_00001','NO','NO','NO','NO','NO','NO','NO','R0000000004'),
(1913,'OP_00001','NO','NO','NO','NO','NO','NO','NO','R0000000004'),
(1912,'LE_00001','NO','NO','NO','NO','NO','NO','NO','R0000000004'),
(1911,'CA_0002','NO','NO','NO','NO','NO','NO','NO','R0000000004'),
(1910,'CA_0001','NO','NO','NO','NO','NO','NO','NO','R0000000004'),
(1908,'Q','NO','NO','NO','NO','NO','NO','NO','R0000000004'),
(1907,'MS','NO','NO','NO','NO','NO','NO','NO','R0000000004'),
(1906,'LP','NO','NO','NO','NO','NO','NO','NO','R0000000004'),
(1905,'LE','NO','NO','NO','NO','NO','NO','NO','R0000000004'),
(1904,'COM','NO','NO','NO','NO','NO','NO','NO','R0000000004'),
(1903,'CA','NO','NO','NO','NO','NO','NO','NO','R0000000004'),
(1902,'UM','NO','NO','NO','NO','NO','NO','NO','R0000000004'),
(3285,'CS','NO','NO','NO','NO','NO','NO','NO','R00023'),
(3284,'ART','NO','NO','NO','NO','NO','NO','NO','R00023'),
(3283,'OP','NO','NO','NO','NO','NO','NO','NO','R00023'),
(3282,'CUST','NO','NO','NO','NO','NO','NO','NO','R00023'),
(3281,'CO','NO','NO','NO','NO','NO','NO','NO','R00023'),
(3280,'S','NO','NO','NO','NO','NO','NO','NO','R00023'),
(3279,'R_G','NO','NO','NO','NO','NO','NO','NO','R00023'),
(3278,'R_BG','NO','NO','NO','NO','NO','NO','NO','R00023'),
(3277,'CS_00001','NO','NO','NO','NO','NO','NO','NO','R00023'),
(1893,'AC_CL','NO','NO','NO','NO','NO','NO','NO','R0000000004'),
(1894,'AC_EV','NO','NO','NO','NO','NO','NO','NO','R0000000004'),
(1895,'AC_ME','NO','NO','NO','NO','NO','NO','NO','R0000000004'),
(1896,'AC_NO','NO','NO','NO','NO','NO','NO','NO','R0000000004'),
(1897,'AC_TA','NO','NO','NO','NO','NO','NO','NO','R0000000004'),
(1898,'LOC','NO','NO','NO','NO','NO','NO','NO','R0000000004'),
(1899,'CAT','NO','NO','NO','NO','NO','NO','NO','R0000000004'),
(1900,'RM','NO','NO','NO','NO','NO','NO','NO','R0000000004'),
(1901,'SET_M','NO','NO','NO','NO','NO','NO','NO','R0000000004'),
(1892,'AC','NO','NO','NO','NO','NO','NO','NO','R0000000004'),
(7290,'QO-RPT','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7289,'OP_00001','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7288,'CUST-RPT','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7287,'CT-RPT','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7286,'RPT-PL003','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7285,'RPT-PL002','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7284,'RPT-PL001','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7283,'RPT-PL','YES','YES','YES','YES','YES','YES','YES','R0001'),
(6826,'POSM','YES','YES','YES','YES','YES','YES','YES','R00028'),
(7282,'LE_00001','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7281,'LE-RPT','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7280,'CA_0002','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7279,'CA_0001','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7278,'CA-RPT','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7277,'VI_RPT','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7276,'TA-RPT','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7275,'ME-RPT','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7274,'EV-RPT','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7273,'CL-RPT','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7272,'RCP','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7271,'Q','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7270,'ITEM','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7269,'PO','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7268,'MS','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7267,'LP','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7266,'LE','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7265,'COM','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7264,'CA','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7261,'UM','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7263,'INQ_SK','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7262,'CRMCITY','YES','YES','YES','YES','YES','YES','YES','R0001'),
(6763,'R_OD','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6599,'CUST','YES','YES','YES','YES','YES','YES','YES','R00027'),
(6598,'CO','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6597,'S','YES','YES','YES','YES','YES','YES','YES','R00027'),
(6596,'R_TC','YES','YES','YES','YES','YES','YES','YES','R00027'),
(6595,'R_OD','YES','YES','YES','YES','YES','YES','YES','R00027'),
(6594,'R_MA','YES','YES','YES','YES','YES','YES','YES','R00027'),
(6300,'RPT-PL','YES','YES','YES','YES','YES','YES','YES','R0000000016'),
(6299,'LE_00001','YES','YES','YES','YES','YES','YES','YES','R0000000016'),
(6298,'LE-RPT','NO','NO','NO','NO','NO','NO','NO','R0000000016'),
(7260,'SET_M','YES','YES','YES','YES','YES','YES','YES','R0001'),
(6297,'CA_0002','YES','YES','YES','YES','YES','YES','YES','R0000000016'),
(6296,'CA_0001','YES','YES','YES','YES','YES','YES','YES','R0000000016'),
(6295,'CA-RPT','NO','NO','NO','NO','NO','NO','NO','R0000000016'),
(6294,'VI_RPT','NO','NO','NO','NO','NO','NO','YES','R0000000016'),
(6291,'EV-RPT','NO','NO','NO','NO','NO','NO','NO','R0000000016'),
(6292,'ME-RPT','NO','NO','NO','NO','NO','NO','NO','R0000000016'),
(6825,'R_TC','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6824,'R_OD','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6823,'R_MA','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6822,'R_G','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6821,'R_BG','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6820,'CS_00001','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6819,'SR-RPT','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6818,'SO-RPT','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6817,'SN-RPT','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6816,'QO-RPT','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6815,'OP_00001','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6814,'CUST-RPT','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6813,'CT-RPT','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6812,'RPT-PL','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6811,'LE_00001','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6810,'LE-RPT','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6809,'CA_0002','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6808,'CA_0001','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6807,'CA-RPT','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6806,'VI_RPT','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6805,'TA-RPT','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6804,'ME-RPT','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6803,'EV-RPT','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6802,'CL-RPT','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6593,'R_G','YES','YES','YES','YES','YES','YES','YES','R00027'),
(6592,'R_BG','YES','YES','YES','YES','YES','YES','YES','R00027'),
(6591,'CS_00001','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6590,'SO-RPT','NO','NO','NO','NO','NO','NO','YES','R00027'),
(6589,'QO-RPT','NO','NO','NO','NO','NO','NO','YES','R00027'),
(6588,'OP_00001','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6801,'RCP','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6587,'CUST-RPT','NO','NO','NO','NO','NO','NO','YES','R00027'),
(6586,'CT-RPT','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6585,'RPT-PL','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6584,'LE_00001','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6583,'LE-RPT','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6582,'CA_0002','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6581,'CA_0001','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6580,'CA-RPT','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6579,'VI_RPT','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6578,'TA-RPT','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6577,'ME-RPT','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6576,'EV-RPT','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6575,'CL-RPT','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6574,'Q','YES','YES','YES','YES','YES','YES','YES','R00027'),
(6573,'PO','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6572,'MS','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6571,'LP','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6570,'LE','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6569,'COM','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6568,'CA','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6800,'Q','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6799,'ITEM','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6798,'PO','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6797,'MS','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6796,'LP','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6795,'LE','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6794,'COM','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6793,'CA','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6792,'INQ_SK','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6791,'CRMCITY','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6790,'UM','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6789,'SET_M','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6567,'INQ_SK','NO','NO','NO','NO','NO','NO','NO','R00027'),
(7218,'SI-0009','NO','NO','NO','NO','NO','NO','NO','R0000000013'),
(7216,'SI-0007','NO','NO','NO','NO','NO','NO','NO','R0000000013'),
(7217,'SI-0008','NO','NO','NO','NO','NO','NO','NO','R0000000013'),
(7214,'SI-0005','NO','NO','NO','NO','NO','NO','NO','R0000000013'),
(7215,'SI-0006','NO','NO','NO','NO','NO','NO','NO','R0000000013'),
(7213,'SI-0004','NO','NO','NO','NO','NO','NO','NO','R0000000013'),
(7212,'SI-0003','NO','NO','NO','NO','NO','NO','NO','R0000000013'),
(7209,'OP_00001','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7210,'QO-RPT','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7211,'SI-0001','NO','NO','NO','NO','NO','NO','NO','R0000000013'),
(7208,'CUST-RPT','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7204,'RPT-PL001','NO','NO','NO','NO','NO','NO','NO','R0000000013'),
(7205,'RPT-PL002','NO','NO','NO','NO','NO','NO','NO','R0000000013'),
(7206,'RPT-PL003','NO','NO','NO','NO','NO','NO','NO','R0000000013'),
(7207,'CT-RPT','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(6788,'SET_AUTH','YES','YES','YES','YES','YES','YES','YES','R00028'),
(7202,'LE_00001','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7203,'RPT-PL','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7201,'LE-RPT','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7200,'CA_0002','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7189,'PO','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7190,'ITEM','NO','NO','NO','NO','NO','NO','NO','R0000000013'),
(7191,'Q','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7192,'RCP','NO','NO','NO','NO','NO','NO','NO','R0000000013'),
(7193,'CL-RPT','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7194,'EV-RPT','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7195,'ME-RPT','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7196,'TA-RPT','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7197,'VI_RPT','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7198,'CA-RPT','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7199,'CA_0001','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7259,'SET_AUTH','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7258,'RM','YES','YES','YES','YES','YES','YES','YES','R0001'),
(6787,'RM','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6786,'MC','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6785,'EMP_ASSIGN','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6784,'CAT','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6783,'AUTH_GROUP','YES','YES','YES','YES','YES','YES','YES','R00028'),
(3276,'SO-RPT','NO','NO','NO','NO','NO','NO','NO','R00023'),
(3275,'QO-RPT','NO','NO','NO','NO','NO','NO','NO','R00023'),
(3274,'OP_00001','NO','NO','NO','NO','NO','NO','NO','R00023'),
(3273,'CUST-RPT','NO','NO','NO','NO','NO','NO','NO','R00023'),
(3272,'RPT-PL','NO','NO','NO','NO','NO','NO','NO','R00023'),
(3271,'LE_00001','NO','NO','NO','NO','NO','NO','NO','R00023'),
(3270,'CA_0002','NO','NO','NO','NO','NO','NO','NO','R00023'),
(3269,'CA_0001','NO','NO','NO','NO','NO','NO','NO','R00023'),
(7257,'MC','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7256,'LANG','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7222,'SN-RPT','NO','NO','NO','NO','NO','NO','NO','R0000000013'),
(3268,'Q','NO','NO','NO','NO','NO','NO','NO','R00023'),
(3267,'PO','NO','NO','NO','NO','NO','NO','NO','R00023'),
(3266,'MS','NO','NO','NO','NO','NO','NO','NO','R00023'),
(3265,'LP','NO','NO','NO','NO','NO','NO','NO','R00023'),
(3264,'LE','NO','NO','NO','NO','NO','NO','NO','R00023'),
(3263,'COM','NO','NO','NO','NO','NO','NO','NO','R00023'),
(6566,'CRMCITY','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6782,'AUTH_APPROV','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6565,'UM','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6564,'SET_M','NO','NO','NO','NO','NO','NO','NO','R00027'),
(3252,'SC','NO','NO','NO','NO','NO','NO','NO','R00023'),
(3251,'LOC','NO','NO','NO','NO','NO','NO','NO','R00023'),
(7187,'LP','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7188,'MS','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7186,'LE','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7185,'COM','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7184,'CA','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7183,'INQ_SK','NO','NO','NO','NO','NO','NO','NO','R0000000013'),
(7182,'CRMCITY','NO','NO','NO','NO','NO','NO','NO','R0000000013'),
(7181,'UM','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(6293,'TA-RPT','NO','NO','NO','NO','NO','NO','NO','R0000000016'),
(6290,'CL-RPT','NO','NO','NO','NO','NO','NO','NO','R0000000016'),
(6562,'RM','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6563,'SET_AUTH','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6561,'MC','NO','NO','NO','NO','NO','NO','NO','R00027'),
(7255,'EMP_ASSIGN','YES','YES','YES','YES','YES','YES','YES','R0001'),
(3250,'COM_ITEM','NO','NO','NO','NO','NO','NO','NO','R00023'),
(3249,'AC_TA','NO','NO','NO','NO','NO','NO','NO','R00023'),
(3248,'AC_NO','NO','NO','NO','NO','NO','NO','NO','R00023'),
(3247,'AC_ME','NO','NO','NO','NO','NO','NO','NO','R00023'),
(3246,'AC_EV','NO','NO','NO','NO','NO','NO','NO','R00023'),
(6781,'VI','YES','YES','YES','YES','YES','YES','YES','R00028'),
(3244,'AC','NO','NO','NO','NO','NO','NO','NO','R00023'),
(3245,'AC_CL','NO','NO','NO','NO','NO','NO','NO','R00023'),
(6559,'CAT','NO','NO','NO','NO','NO','NO','NO','R00027'),
(7254,'CAT','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7253,'AUTH_GROUP','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7252,'AUTH_APPROV','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7223,'SO-RPT','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7221,'SI-0012','NO','NO','NO','NO','NO','NO','NO','R0000000013'),
(7220,'SI-0011','NO','NO','NO','NO','NO','NO','NO','R0000000013'),
(7219,'SI-0010','NO','NO','NO','NO','NO','NO','NO','R0000000013'),
(6288,'PO','NO','NO','NO','NO','NO','NO','NO','R0000000016'),
(6287,'MS','YES','YES','YES','YES','YES','YES','YES','R0000000016'),
(6768,'OP','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6759,'CS_00001','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6758,'SO-RPT','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6757,'QO-RPT','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6756,'OP_00001','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6755,'CUST-RPT','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6752,'LE_00001','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6753,'RPT-PL','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6750,'CA_0002','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6751,'LE-RPT','YES','YES','YES','YES','YES','YES','YES','R00026'),
(7251,'VI','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7250,'SC','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7249,'LOC','YES','YES','YES','YES','YES','YES','YES','R0001'),
(6289,'Q','YES','YES','YES','YES','YES','YES','YES','R0000000016'),
(6762,'R_MA','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6761,'R_G','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6754,'CT-RPT','NO','NO','NO','NO','NO','NO','YES','R00026'),
(6749,'CA_0001','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6748,'CA-RPT','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6747,'VI_RPT','NO','NO','NO','NO','NO','NO','YES','R00026'),
(6746,'TA-RPT','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6745,'ME-RPT','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6744,'EV-RPT','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6743,'CL-RPT','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6742,'Q','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6741,'PO','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6740,'MS','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6739,'LP','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6738,'LE','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6737,'COM','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6736,'CA','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6735,'INQ_SK','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6734,'CRMCITY','NO','NO','NO','NO','NO','NO','NO','R00026'),
(6733,'UM','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6732,'SET_M','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6731,'SET_AUTH','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6730,'RM','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6729,'MC','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6726,'AUTH_GROUP','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6727,'CAT','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6728,'EMP_ASSIGN','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6725,'AUTH_APPROV','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6724,'VI','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6723,'SC','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6722,'LOC','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6721,'COM_ITEM','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6720,'AC_TA','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6719,'AC_NO','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6718,'AC_ME','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6717,'AC_EV','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6716,'AC_CL','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6715,'AC','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6286,'LP','YES','YES','YES','YES','YES','YES','YES','R0000000016'),
(6285,'LE','YES','YES','YES','YES','YES','YES','YES','R0000000016'),
(6284,'COM','YES','YES','YES','YES','YES','YES','YES','R0000000016'),
(6283,'CA','YES','YES','YES','YES','YES','YES','YES','R0000000016'),
(6280,'SET_M','YES','YES','YES','YES','YES','YES','YES','R0000000016'),
(6281,'UM','YES','YES','YES','YES','YES','YES','YES','R0000000016'),
(6282,'INQ_SK','NO','NO','NO','NO','NO','NO','NO','R0000000016'),
(6278,'RM','YES','YES','YES','YES','YES','YES','YES','R0000000016'),
(6279,'SET_AUTH','YES','YES','YES','YES','YES','YES','YES','R0000000016'),
(6277,'MC','NO','NO','NO','NO','NO','NO','NO','R0000000016'),
(6276,'EMP_ASSIGN','YES','YES','YES','YES','YES','YES','YES','R0000000016'),
(6275,'CAT','YES','YES','YES','YES','YES','YES','YES','R0000000016'),
(6274,'AUTH_GROUP','YES','YES','YES','YES','YES','YES','YES','R0000000016'),
(6273,'AUTH_APPROV','YES','YES','YES','YES','YES','YES','YES','R0000000016'),
(6272,'VI','NO','NO','NO','NO','NO','NO','NO','R0000000016'),
(7126,'SI-0008','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7125,'SI-0007','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(6271,'SC','YES','YES','YES','YES','YES','YES','YES','R0000000016'),
(7247,'AC_TA','YES','YES','YES','YES','YES','YES','YES','R0001'),
(6268,'AC_TA','YES','YES','YES','YES','YES','YES','YES','R0000000016'),
(6269,'COM_ITEM','NO','NO','NO','NO','NO','NO','NO','R0000000016'),
(6270,'LOC','YES','YES','YES','YES','YES','YES','YES','R0000000016'),
(7124,'SI-0006','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7123,'SI-0005','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7122,'SI-0004','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7121,'SI-0003','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7120,'SI-0001','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7119,'QO-RPT','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7118,'OP_00001','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7117,'CUST-RPT','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7116,'CT-RPT','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7115,'RPT-PL003','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7114,'RPT-PL002','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(6970,'SI-0010','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(7113,'RPT-PL001','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7112,'RPT-PL','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7111,'LE_00001','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7110,'LE-RPT','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7109,'CA_0002','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7108,'CA_0001','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7107,'CA-RPT','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7106,'VI_RPT','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7105,'TA-RPT','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7104,'ME-RPT','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7103,'EV-RPT','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7102,'CL-RPT','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7101,'RCP','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7100,'Q','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7099,'ITEM','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7098,'PO','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7097,'MS','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7096,'LP','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7095,'LE','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7094,'COM','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7093,'CA','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7092,'INQ_SK','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7091,'CRMCITY','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7090,'UM','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7089,'SET_M','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7088,'SET_AUTH','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7087,'RM','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7086,'MC','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(6267,'AC_NO','YES','YES','YES','YES','YES','YES','YES','R0000000016'),
(6780,'SC','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6266,'AC_ME','YES','YES','YES','YES','YES','YES','YES','R0000000016'),
(6265,'AC_EV','YES','YES','YES','YES','YES','YES','YES','R0000000016'),
(6779,'LOC','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6778,'COM_ITEM','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6777,'AC_TA','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6969,'SI-0009','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6968,'SI-0008','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6967,'SI-0007','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6966,'SI-0006','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6965,'SI-0005','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6964,'SI-0004','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6963,'SI-0003','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6962,'SI-0001','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6961,'QO-RPT','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6960,'OP_00001','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6959,'CUST-RPT','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6958,'CT-RPT','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(7085,'EMP_ASSIGN','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7077,'AC_TA','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7084,'CAT','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7083,'AUTH_GROUP','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7082,'AUTH_APPROV','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7081,'VI','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7080,'SC','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7079,'LOC','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(6264,'AC_CL','YES','YES','YES','YES','YES','YES','YES','R0000000016'),
(7078,'COM_ITEM','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(6957,'RPT-PL003','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6956,'RPT-PL002','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6955,'RPT-PL001','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6954,'RPT-PL','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6953,'LE_00001','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6952,'LE-RPT','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6951,'CA_0002','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(54,'SI-0006','YES','YES','YES','YES','YES','YES','YES','R0001'),
(6776,'AC_NO','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6950,'CA_0001','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6949,'CA-RPT','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6919,'AC_TA','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6920,'COM_ITEM','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6921,'LOC','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6922,'SC','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6923,'VI','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6924,'AUTH_APPROV','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6925,'AUTH_GROUP','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6926,'CAT','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6927,'EMP_ASSIGN','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6928,'MC','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6929,'RM','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6930,'SET_AUTH','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6931,'SET_M','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6932,'UM','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6933,'CRMCITY','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6934,'INQ_SK','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6935,'CA','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6936,'COM','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6937,'LE','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6938,'LP','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6939,'MS','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6940,'PO','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6941,'ITEM','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6942,'Q','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6943,'RCP','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6944,'CL-RPT','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6945,'EV-RPT','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6946,'ME-RPT','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6947,'TA-RPT','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6948,'VI_RPT','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6916,'AC_EV','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6917,'AC_ME','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6918,'AC_NO','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(7248,'COM_ITEM','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7246,'AC_NO','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7245,'AC_ME','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7244,'AC_EV','YES','YES','YES','YES','YES','YES','YES','R0001'),
(6914,'AC','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6915,'AC_CL','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(7076,'AC_NO','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7075,'AC_ME','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7074,'AC_EV','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7073,'AC_CL','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7072,'AC','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7243,'AC_CL','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7242,'AC','YES','YES','YES','YES','YES','YES','YES','R0001'),
(6301,'CT-RPT','NO','NO','NO','NO','NO','NO','NO','R0000000016'),
(6263,'AC','YES','YES','YES','YES','YES','YES','YES','R0000000016'),
(6560,'EMP_ASSIGN','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6558,'AUTH_GROUP','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6557,'AUTH_APPROV','YES','YES','YES','YES','YES','YES','YES','R00027'),
(6556,'VI','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6555,'SC','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6554,'LOC','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6553,'COM_ITEM','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6552,'AC_TA','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6551,'AC_NO','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6550,'AC_ME','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6549,'AC_EV','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6317,'CS','YES','YES','YES','YES','NO','YES','YES','R0000000016'),
(6766,'CO','YES','YES','YES','YES','YES','YES','YES','R00026'),
(6548,'AC_CL','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6547,'AC','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6546,'','NO','NO','NO','NO','NO','NO','NO','R00027'),
(6775,'AC_ME','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6774,'AC_EV','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6773,'AC_CL','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6772,'AC','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6771,'SN','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6827,'S','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6828,'SR','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6829,'CO','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6830,'CUST','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6831,'OP','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6832,'CONF','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6833,'ART','YES','YES','YES','YES','YES','YES','YES','R00028'),
(6834,'CS','YES','YES','YES','YES','YES','YES','YES','R00028'),
(44,'VI','YES','YES','YES','YES','YES','YES','YES','R0001'),
(43,'AUTH_APPROV','YES','YES','YES','YES','YES','YES','YES','R0001'),
(42,'AUTH_GROUP','YES','YES','YES','YES','YES','YES','YES','R0001'),
(41,'CAT','YES','YES','YES','YES','YES','YES','YES','R0001'),
(40,'EMP_ASSIGN','YES','YES','YES','YES','YES','YES','YES','R0001'),
(39,'LANG','YES','YES','YES','YES','YES','YES','YES','R0001'),
(38,'MC','YES','YES','YES','YES','YES','YES','YES','R0001'),
(37,'RM','YES','YES','YES','YES','YES','YES','YES','R0001'),
(36,'SET_AUTH','YES','YES','YES','YES','YES','YES','YES','R0001'),
(35,'SET_M','YES','YES','YES','YES','YES','YES','YES','R0001'),
(34,'CRMCITY','YES','YES','YES','YES','YES','YES','YES','R0001'),
(33,'INQ_SK','YES','YES','YES','YES','YES','YES','YES','R0001'),
(32,'UM','YES','YES','YES','YES','YES','YES','YES','R0001'),
(31,'CA','YES','YES','YES','YES','YES','YES','YES','R0001'),
(30,'COM','YES','YES','YES','YES','YES','YES','YES','R0001'),
(29,'LE','YES','YES','YES','YES','YES','YES','YES','R0001'),
(28,'LP','YES','YES','YES','YES','YES','YES','YES','R0001'),
(27,'MS','YES','YES','YES','YES','YES','YES','YES','R0001'),
(26,'PO','YES','YES','YES','YES','YES','YES','YES','R0001'),
(25,'ITEM','YES','YES','YES','YES','YES','YES','YES','R0001'),
(24,'Q','YES','YES','YES','YES','YES','YES','YES','R0001'),
(23,'RCP','YES','YES','YES','YES','YES','YES','YES','R0001'),
(22,'CL-RPT','YES','YES','YES','YES','YES','YES','YES','R0001'),
(21,'EV-RPT','YES','YES','YES','YES','YES','YES','YES','R0001'),
(20,'ME-RPT','YES','YES','YES','YES','YES','YES','YES','R0001'),
(19,'TA-RPT','YES','YES','YES','YES','YES','YES','YES','R0001'),
(18,'VI_RPT','YES','YES','YES','YES','YES','YES','YES','R0001'),
(17,'CA-RPT','YES','YES','YES','YES','YES','YES','YES','R0001'),
(16,'CA_0001','YES','YES','YES','YES','YES','YES','YES','R0001'),
(15,'CA_0002','YES','YES','YES','YES','YES','YES','YES','R0001'),
(14,'LE-RPT','YES','YES','YES','YES','YES','YES','YES','R0001'),
(13,'LE_00001','YES','YES','YES','YES','YES','YES','YES','R0001'),
(12,'RPT-PL','YES','YES','YES','YES','YES','YES','YES','R0001'),
(11,'RPT-PL001','YES','YES','YES','YES','YES','YES','YES','R0001'),
(10,'RPT-PL002','YES','YES','YES','YES','YES','YES','YES','R0001'),
(9,'RPT-PL003','YES','YES','YES','YES','YES','YES','YES','R0001'),
(8,'CT-RPT','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7,'CUST-RPT','YES','YES','YES','YES','YES','YES','YES','R0001'),
(6,'OP_00001','YES','YES','YES','YES','YES','YES','YES','R0001'),
(5,'QO-RPT','YES','YES','YES','YES','YES','YES','YES','R0001'),
(4,'SI-0001','YES','YES','YES','YES','YES','YES','YES','R0001'),
(3,'SI-0003','YES','YES','YES','YES','YES','YES','YES','R0001'),
(2,'SI-0004','YES','YES','YES','YES','YES','YES','YES','R0001'),
(1,'SI-0005','YES','YES','YES','YES','YES','YES','YES','R0001'),
(53,'AC','YES','YES','YES','YES','YES','YES','YES','R0001'),
(52,'AC_CL','YES','YES','YES','YES','YES','YES','YES','R0001'),
(51,'AC_EV','YES','YES','YES','YES','YES','YES','YES','R0001'),
(50,'AC_ME','YES','YES','YES','YES','YES','YES','YES','R0001'),
(49,'AC_NO','YES','YES','YES','YES','YES','YES','YES','R0001'),
(48,'COM_ITEM','YES','YES','YES','YES','YES','YES','YES','R0001'),
(47,'AC_TA','YES','YES','YES','YES','YES','YES','YES','R0001'),
(46,'LOC','YES','YES','YES','YES','YES','YES','YES','R0001'),
(45,'SC','YES','YES','YES','YES','YES','YES','YES','R0001'),
(6971,'SI-0011','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6972,'SI-0012','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6973,'SN-RPT','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6974,'SO-RPT','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6975,'SR-RPT','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6976,'CS_00001','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6977,'R_BG','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6978,'R_G','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6979,'R_MA','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6980,'R_OD','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6981,'R_TC','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6982,'POSM','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6983,'ZONE','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6984,'S','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6985,'SR','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6986,'CO','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6987,'CUST','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6988,'OP','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6989,'SN','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6990,'CONF','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6991,'ART','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(6992,'CS','YES','YES','YES','YES','YES','YES','YES','R0000000014'),
(7180,'SET_M','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7179,'SET_AUTH','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7178,'RM','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7177,'MC','NO','NO','NO','NO','NO','NO','NO','R0000000013'),
(7176,'EMP_ASSIGN','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7175,'CAT','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7174,'AUTH_GROUP','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7173,'AUTH_APPROV','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7172,'VI','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7171,'SC','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7170,'LOC','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7169,'COM_ITEM','NO','NO','NO','NO','NO','NO','NO','R0000000013'),
(7168,'AC_TA','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7167,'AC_NO','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7166,'AC_ME','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7165,'AC_EV','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7164,'AC_CL','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7163,'AC','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7162,'R_TC','YES','YES','YES','YES','YES','YES','YES','R00029'),
(7161,'R_OD','YES','YES','YES','YES','YES','YES','YES','R00029'),
(7160,'R_MA','YES','YES','YES','YES','YES','YES','YES','R00029'),
(7159,'R_G','YES','YES','YES','YES','YES','YES','YES','R00029'),
(7158,'R_BG','YES','YES','YES','YES','YES','YES','YES','R00029'),
(7157,'UM','YES','YES','YES','YES','YES','YES','YES','R00029'),
(7156,'SET_AUTH','YES','YES','YES','YES','YES','YES','YES','R00029'),
(7155,'RM','YES','YES','YES','YES','YES','YES','YES','R00029'),
(7154,'EMP_ASSIGN','YES','YES','YES','YES','YES','YES','YES','R00029'),
(7153,'AUTH_GROUP','YES','YES','YES','YES','YES','YES','YES','R00029'),
(7152,'AUTH_APPROV','YES','YES','YES','YES','YES','YES','YES','R00029'),
(7151,'AC','YES','YES','YES','YES','YES','YES','YES','R00029'),
(7127,'SI-0009','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7128,'SI-0010','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7129,'SI-0011','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7130,'SI-0012','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7131,'SN-RPT','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7132,'SO-RPT','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7133,'SR-RPT','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7134,'CS_00001','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7135,'R_BG','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7136,'R_G','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7137,'R_MA','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7138,'R_OD','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7139,'R_TC','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7140,'POSM','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7141,'ZONE','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7142,'S','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7143,'SR','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7144,'CO','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7145,'CUST','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7146,'OP','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7147,'SN','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7148,'CONF','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7149,'ART','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7150,'CS','YES','YES','YES','YES','YES','YES','YES','R0000000015'),
(7224,'SR-RPT','NO','NO','NO','NO','NO','NO','NO','R0000000013'),
(7225,'CS_00001','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7226,'R_BG','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7227,'R_G','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7228,'R_MA','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7229,'R_OD','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7230,'R_TC','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7231,'POSM','NO','NO','NO','NO','NO','NO','NO','R0000000013'),
(7232,'ZONE','NO','NO','NO','NO','NO','NO','NO','R0000000013'),
(7233,'S','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7234,'SR','NO','NO','NO','NO','NO','NO','NO','R0000000013'),
(7235,'CO','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7236,'CUST','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7237,'OP','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7238,'SN','NO','NO','NO','NO','NO','NO','NO','R0000000013'),
(7239,'CONF','NO','NO','NO','NO','NO','NO','NO','R0000000013'),
(7240,'ART','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7241,'CS','YES','YES','YES','YES','YES','YES','YES','R0000000013'),
(7295,'SI-0006','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7296,'SI-0007','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7297,'SI-0008','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7298,'SI-0009','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7299,'SI-0010','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7300,'SI-0011','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7301,'SI-0012','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7302,'SN-RPT','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7303,'SO-RPT','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7304,'SR-RPT','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7305,'CS_00001','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7306,'R_BG','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7307,'R_G','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7308,'R_MA','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7309,'R_OD','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7310,'R_TC','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7311,'POSM','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7312,'ZONE','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7313,'S','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7314,'SR','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7315,'CO','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7316,'CUST','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7317,'OP','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7318,'SN','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7319,'CONF','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7320,'ART','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7321,'CS','YES','YES','YES','YES','YES','YES','YES','R0001'),
(55,'SI-0007','YES','YES','YES','YES','YES','YES','YES','R0001'),
(56,'SI-0008','YES','YES','YES','YES','YES','YES','YES','R0001'),
(57,'SI-0009','YES','YES','YES','YES','YES','YES','YES','R0001'),
(58,'SI-0010','YES','YES','YES','YES','YES','YES','YES','R0001'),
(59,'SI-0011','YES','YES','YES','YES','YES','YES','YES','R0001'),
(60,'SI-0012','YES','YES','YES','YES','YES','YES','YES','R0001'),
(61,'SN-RPT','YES','YES','YES','YES','YES','YES','YES','R0001'),
(62,'SO-RPT','YES','YES','YES','YES','YES','YES','YES','R0001'),
(63,'SR-RPT','YES','YES','YES','YES','YES','YES','YES','R0001'),
(64,'CS_00001','YES','YES','YES','YES','YES','YES','YES','R0001'),
(65,'R_BG','YES','YES','YES','YES','YES','YES','YES','R0001'),
(66,'R_G','YES','YES','YES','YES','YES','YES','YES','R0001'),
(67,'R_MA','YES','YES','YES','YES','YES','YES','YES','R0001'),
(68,'R_OD','YES','YES','YES','YES','YES','YES','YES','R0001'),
(69,'R_TC','YES','YES','YES','YES','YES','YES','YES','R0001'),
(70,'POSM','YES','YES','YES','YES','YES','YES','YES','R0001'),
(71,'ZONE','YES','YES','YES','YES','YES','YES','YES','R0001'),
(72,'S','YES','YES','YES','YES','YES','YES','YES','R0001'),
(73,'SR','YES','YES','YES','YES','YES','YES','YES','R0001'),
(74,'CO','YES','YES','YES','YES','YES','YES','YES','R0001'),
(75,'CUST','YES','YES','YES','YES','YES','YES','YES','R0001'),
(76,'OP','YES','YES','YES','YES','YES','YES','YES','R0001'),
(77,'SN','YES','YES','YES','YES','YES','YES','YES','R0001'),
(78,'CONF','YES','YES','YES','YES','YES','YES','YES','R0001'),
(79,'ART','YES','YES','YES','YES','YES','YES','YES','R0001'),
(80,'CS','YES','YES','YES','YES','YES','YES','YES','R0001'),
(7322,'AC','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7323,'AC_CL','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7324,'AC_EV','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7325,'AC_ME','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7326,'AC_NO','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7327,'AC_TA','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7328,'COM_ITEM','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7329,'LOC','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7330,'SC','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7331,'VI','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7332,'AUTH_APPROV','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7333,'AUTH_GROUP','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7334,'CAT','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7335,'EMP_ASSIGN','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7336,'LANG','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7337,'MC','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7338,'RM','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7339,'SET_AUTH','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7340,'SET_M','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7341,'UM','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7342,'CRMCITY','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7343,'INQ_SK','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7344,'CA','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7345,'COM','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7346,'LE','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7347,'LP','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7348,'MS','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7349,'PO','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7350,'ITEM','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7351,'Q','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7352,'RCP','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7353,'CL-RPT','NO','NO','NO','NO','NO','NO','NO','R00035'),
(7354,'EV-RPT','NO','NO','NO','NO','NO','NO','NO','R00035'),
(7355,'ME-RPT','NO','NO','NO','NO','NO','NO','NO','R00035'),
(7356,'TA-RPT','NO','NO','NO','NO','NO','NO','NO','R00035'),
(7357,'VI_RPT','NO','NO','NO','NO','NO','NO','NO','R00035'),
(7358,'CA-RPT','NO','NO','NO','NO','NO','NO','NO','R00035'),
(7359,'CA_0001','NO','NO','NO','NO','NO','NO','NO','R00035'),
(7360,'CA_0002','NO','NO','NO','NO','NO','NO','NO','R00035'),
(7361,'LE-RPT','NO','NO','NO','NO','NO','NO','NO','R00035'),
(7362,'LE_00001','NO','NO','NO','NO','NO','NO','NO','R00035'),
(7363,'RPT-PL','NO','NO','NO','NO','NO','NO','NO','R00035'),
(7364,'RPT-PL001','NO','NO','NO','NO','NO','NO','NO','R00035'),
(7365,'RPT-PL002','NO','NO','NO','NO','NO','NO','NO','R00035'),
(7366,'RPT-PL003','NO','NO','NO','NO','NO','NO','NO','R00035'),
(7367,'CT-RPT','NO','NO','NO','NO','NO','NO','NO','R00035'),
(7368,'CUST-RPT','NO','NO','NO','NO','NO','NO','NO','R00035'),
(7369,'OP_00001','NO','NO','NO','NO','NO','NO','NO','R00035'),
(7370,'QO-RPT','NO','NO','NO','NO','NO','NO','NO','R00035'),
(7371,'SI-0001','NO','NO','NO','NO','NO','NO','NO','R00035'),
(7372,'SI-0003','NO','NO','NO','NO','NO','NO','NO','R00035'),
(7373,'SI-0004','NO','NO','NO','NO','NO','NO','NO','R00035'),
(7374,'SI-0005','NO','NO','NO','NO','NO','NO','NO','R00035'),
(7375,'SI-0006','NO','NO','NO','NO','NO','NO','NO','R00035'),
(7376,'SI-0007','NO','NO','NO','NO','NO','NO','NO','R00035'),
(7377,'SI-0008','NO','NO','NO','NO','NO','NO','NO','R00035'),
(7378,'SI-0009','NO','NO','NO','NO','NO','NO','NO','R00035'),
(7379,'SI-0010','NO','NO','NO','NO','NO','NO','NO','R00035'),
(7380,'SI-0011','NO','NO','NO','NO','NO','NO','NO','R00035'),
(7381,'SI-0012','NO','NO','NO','NO','NO','NO','NO','R00035'),
(7382,'SN-RPT','NO','NO','NO','NO','NO','NO','NO','R00035'),
(7383,'SO-RPT','NO','NO','NO','NO','NO','NO','NO','R00035'),
(7384,'SR-RPT','NO','NO','NO','NO','NO','NO','NO','R00035'),
(7385,'CS_00001','NO','NO','NO','NO','NO','NO','NO','R00035'),
(7386,'R_BG','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7387,'R_G','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7388,'R_MA','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7389,'R_OD','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7390,'R_TC','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7391,'POSM','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7392,'ZONE','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7393,'S','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7394,'SR','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7395,'CO','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7396,'CUST','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7397,'OP','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7398,'SN','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7399,'CONF','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7400,'ART','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7401,'CS','YES','YES','YES','YES','YES','YES','YES','R00035'),
(7482,'AC','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7483,'AC_CL','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7484,'AC_EV','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7485,'AC_ME','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7486,'AC_NO','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7487,'AC_TA','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7488,'COM_ITEM','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7489,'LOC','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7490,'SC','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7491,'VI','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7492,'AUTH_APPROV','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7493,'AUTH_GROUP','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7494,'CAT','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7495,'EMP_ASSIGN','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7496,'LANG','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7497,'MC','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7498,'RM','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7499,'SET_AUTH','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7500,'SET_M','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7501,'UM','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7502,'CRMCITY','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7503,'INQ_SK','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7504,'CA','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7505,'COM','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7506,'LE','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7507,'LP','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7508,'MS','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7509,'PO','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7510,'ITEM','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7511,'Q','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7512,'RCP','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7513,'CL-RPT','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7514,'EV-RPT','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7515,'ME-RPT','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7516,'TA-RPT','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7517,'VI_RPT','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7518,'CA-RPT','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7519,'CA_0001','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7520,'CA_0002','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7521,'LE-RPT','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7522,'LE_00001','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7523,'RPT-PL','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7524,'RPT-PL001','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7525,'RPT-PL002','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7526,'RPT-PL003','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7527,'CT-RPT','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7528,'CUST-RPT','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7529,'OP_00001','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7530,'QO-RPT','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7531,'SI-0001','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7532,'SI-0003','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7533,'SI-0004','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7534,'SI-0005','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7535,'SI-0006','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7536,'SI-0007','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7537,'SI-0008','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7538,'SI-0009','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7539,'SI-0010','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7540,'SI-0011','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7541,'SI-0012','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7542,'SN-RPT','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7543,'SO-RPT','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7544,'SR-RPT','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7545,'CS_00001','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7546,'R_BG','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7547,'R_G','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7548,'R_MA','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7549,'R_OD','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7550,'R_TC','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7551,'POSM','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7552,'ZONE','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7553,'S','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7554,'SR','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7555,'CO','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7556,'CUST','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7557,'OP','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7558,'SN','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7559,'CONF','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7560,'ART','YES','YES','YES','YES','YES','YES','YES','R00036'),
(7561,'CS','YES','YES','YES','YES','YES','YES','YES','R00036');

-- 
-- Definition of crm_role_type
-- 

CREATE TABLE IF NOT EXISTS `crm_role_type` (
  `RMT_ID` int(11) NOT NULL AUTO_INCREMENT,
  `RMT_Name` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`RMT_ID`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_role_type
-- 

INSERT INTO `crm_role_type`(`RMT_ID`,`RMT_Name`) VALUES
(1,'List all records'),
(2,'List only assigned or owned records');

-- 
-- Definition of crm_sale_zone
-- 

CREATE TABLE IF NOT EXISTS `crm_sale_zone` (
  `ZoneID` varchar(255) NOT NULL,
  `ZoneName` varchar(255) DEFAULT NULL,
  `CO_No` varchar(100) DEFAULT NULL,
  `CO_Street` varchar(100) DEFAULT NULL,
  `CO_Village` varchar(100) DEFAULT NULL,
  `CO_Commune` varchar(100) DEFAULT NULL,
  `CO_District` varchar(100) DEFAULT NULL,
  `CO_City` varchar(100) DEFAULT NULL,
  `CO_State` varchar(100) DEFAULT NULL,
  `CO_Country` varchar(100) DEFAULT NULL,
  `Description` varchar(255) DEFAULT NULL,
  `ParentID` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`ZoneID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_sale_zone
-- 

INSERT INTO `crm_sale_zone`(`ZoneID`,`ZoneName`,`CO_No`,`CO_Street`,`CO_Village`,`CO_Commune`,`CO_District`,`CO_City`,`CO_State`,`CO_Country`,`Description`,`ParentID`) VALUES
('Z00009','sfsfs','','','','','','',NULL,NULL,'sfsf',''),
('Z00011','sfsfsf','','','','','','',NULL,NULL,'','');

-- 
-- Definition of crm_schedule_detail
-- 

CREATE TABLE IF NOT EXISTS `crm_schedule_detail` (
  `VI_ID` varchar(255) NOT NULL,
  `SC_ID` varchar(11) DEFAULT NULL,
  `SC_Title` varchar(255) NOT NULL,
  `SC_Des` varchar(255) DEFAULT NULL,
  `SC_startDate` datetime NOT NULL,
  `SC_Duration` int(11) NOT NULL,
  `SC_Employee` varchar(255) DEFAULT NULL,
  `SC_Customer` varchar(255) NOT NULL,
  `SC_Location` varchar(255) DEFAULT NULL,
  `SC_Lat` varchar(255) DEFAULT NULL,
  `SC_Lng` varchar(255) DEFAULT NULL,
  `SC_Shop` varchar(5) DEFAULT 'Open',
  `SC_VisitType` varchar(11) DEFAULT 'In Schedule',
  `VI_StartTime` varchar(255) DEFAULT NULL,
  `VI_StartLat` varchar(255) DEFAULT NULL,
  `VI_StartLong` varchar(255) DEFAULT NULL,
  `VI_EndTime` varchar(255) DEFAULT NULL,
  `VI_EndLat` varchar(255) DEFAULT NULL,
  `VI_EndLong` varchar(255) DEFAULT NULL,
  `VI_Status` varchar(25) DEFAULT 'Pending',
  `VI_Feedback` varchar(1000) DEFAULT '',
  `SaleID` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`VI_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_schedule_detail
-- 

INSERT INTO `crm_schedule_detail`(`VI_ID`,`SC_ID`,`SC_Title`,`SC_Des`,`SC_startDate`,`SC_Duration`,`SC_Employee`,`SC_Customer`,`SC_Location`,`SC_Lat`,`SC_Lng`,`SC_Shop`,`SC_VisitType`,`VI_StartTime`,`VI_StartLat`,`VI_StartLong`,`VI_EndTime`,`VI_EndLat`,`VI_EndLong`,`VI_Status`,`VI_Feedback`,`SaleID`) VALUES
('VI06344','SC00109','R-Generate_03','','2018-06-16 13:00:00',30,'EMP00002','C00007','C00007|Bill To Address','11.552930878854994','104.87121439666748','Open','In Schedule','06/08/2018 15:35:28 PM','VI06344','104.897829371549',NULL,NULL,NULL,'visiting','',NULL),
('VI06345','SC00110','R-Generate_04','asdasdasd','2018-06-15 14:00:00',60,'E00042','C00031','C00031|Bill To Address','11.55314110819589','104.88730765075684','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06346','SC00110','R-Generate_04','update too','2018-06-22 14:00:00',60,'E00042','C00031','C00031|Bill To Address','11.55314110819589','104.88730765075684','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06347','SC00110','R-Generate_04','asdasdasd','2018-06-29 14:00:00',60,'E00042','C00031','C00031|Bill To Address','11.55314110819589','104.88730765075684','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06348','SC00110','R-Generate_04','asdasdasd','2018-07-06 14:00:00',60,'E00042','C00031','C00031|Bill To Address','11.55314110819589','104.88730765075684','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06349','SC00110','R-Generate_04','asdasdasd','2018-07-13 14:00:00',60,'E00042','C00031','C00031|Bill To Address','11.55314110819589','104.88730765075684','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06350','SC00110','R-Generate_04','asdasdasd','2018-07-20 14:00:00',60,'E00042','C00031','C00031|Bill To Address','11.55314110819589','104.88730765075684','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06351','SC00110','R-Generate_04','asdasdasd','2018-07-27 14:00:00',60,'E00042','C00031','C00031|Bill To Address','11.55314110819589','104.88730765075684','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06352','SC00111','R-Generate_05','aaaaasadasdasdasd','2018-06-15 13:00:00',10,'EMP00002','2002015','2002015|Roveang district Prasvihea province Phom Penh','11.629415741626135','104.87275998872633','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06353','SC00111','R-Generate_05','aaaaasadasdasdasd','2018-06-29 13:00:00',10,'EMP00002','2002015','2002015|Roveang district Prasvihea province Phom Penh','11.629415741626135','104.87275998872633','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06354','SC00111','R-Generate_05','aaaaasadasdasdasd','2018-07-13 13:00:00',10,'EMP00002','2002015','2002015|Roveang district Prasvihea province Phom Penh','11.629415741626135','104.87275998872633','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06355','SC00111','R-Generate_05','aaaaasadasdasdasd','2018-07-27 13:00:00',10,'EMP00002','2002015','2002015|Roveang district Prasvihea province Phom Penh','11.629415741626135','104.87275998872633','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06356','SC00112','R-Generate_06','','2018-07-01 14:00:00',60,'E00042','C00025','C00025|Bill To Address','11.563547346203515','104.99495060348818','Open','In Schedule','06/08/2018 15:33:31 PM','VI06356','104.897829371549',NULL,NULL,NULL,'visiting','',NULL),
('VI06357','SC00112','R-Generate_06','','2018-08-01 14:00:00',60,'E00042','C00025','C00025|Bill To Address','11.563547346203515','104.99495060348818','Open','In Schedule','06/08/2018 15:54:41 PM','VI06357','104.897854038148','06/08/2018 15:54:51','11.5771617591841','104.897854038148','Visited without order','','no'),
('VI06358','SC00112','R-Generate_06','','2018-09-01 14:00:00',60,'E00042','C00025','C00025|Bill To Address','11.563547346203515','104.99495060348818','Close','In Schedule','06/08/2018 15:55:01 PM','VI06358','104.897854038148','06/08/2018 15:55:04','11.5771617591841','104.897854038148','Visited without order','','no'),
('VI06359','SC00113','R-Generate_07','','2018-06-15 13:00:00',120,'EMP00002','2003073','2003073|st 1 koky Market Phnom Penh Phnom Penh','11.5518776','104.90694729999996','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06360','SC00113','R-Generate_07','','2019-06-15 13:00:00',120,'EMP00002','2003073','2003073|st 1 koky Market Phnom Penh Phnom Penh','11.5518776','104.90694729999996','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06361','SC00113','R-Generate_07','','2020-06-15 13:00:00',120,'EMP00002','2003073','2003073|st 1 koky Market Phnom Penh Phnom Penh','11.5518776','104.90694729999996','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06362','SC00113','R-Generate_07','','2021-06-15 13:00:00',120,'EMP00002','2003073','2003073|st 1 koky Market Phnom Penh Phnom Penh','11.5518776','104.90694729999996','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06363','SC00113','R-Generate_07','','2022-06-15 13:00:00',120,'EMP00002','2003073','2003073|st 1 koky Market Phnom Penh Phnom Penh','11.5518776','104.90694729999996','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06612','SC00096','visit','adsdasasdd','2018-05-17 00:00:00',60,'E00042','C00021','|Phnom Penh','11.541956688383042','104.89235020370484','Open','In Schedule','06/08/2018 15:31:41 PM','VI06612','104.897841993369',NULL,NULL,NULL,'visiting','',NULL),
('VI06632','SC00097','avc','12451564','2018-05-17 00:00:00',60,'E00042','C00007','DA00136|pp','11.55158540733953','104.87110710830689','Open','In Schedule','06/08/2018 15:35:07 PM','VI06632','104.897829371549',NULL,NULL,NULL,'visiting','',NULL),
('VI06749','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-06-18 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06750','SC00114','R-Generate_08','updatesssss','2018-06-20 14:00:00',60,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06751','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-06-25 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06752','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-06-27 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06753','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-06-29 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06754','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-07-02 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06755','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-07-04 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06756','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-07-06 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06757','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-07-09 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06758','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-07-11 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06759','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-07-13 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06760','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-07-16 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06761','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-07-18 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06762','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-07-20 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06763','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-07-23 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06764','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-07-25 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06765','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-07-27 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06766','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-07-30 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06767','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-08-01 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06768','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-08-03 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06769','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-08-06 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06770','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-08-08 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06771','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-08-10 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06772','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-08-13 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06773','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-08-15 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06774','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-08-17 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06775','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-08-20 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06776','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-08-22 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06777','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-08-24 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06778','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-08-27 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06779','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-08-29 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06780','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-08-31 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06781','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-09-03 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06782','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-09-05 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06783','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-09-07 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06784','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-09-10 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06785','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-09-12 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06786','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-09-14 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06787','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-09-17 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06788','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-09-19 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06789','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-09-21 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06790','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-09-24 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06791','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-09-26 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06792','SC00114','R-Generate_08','sfdsdfdfsdfsddfasf','2018-09-28 14:00:00',30,'EMP00002','2001438','2001438|Chrey Thom Phom Penh','11.555958166149559','104.8687682220459','Open','In Schedule',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06793','SC00119','gggg','assdaasddsasa','2018-06-21 00:00:00',11,'E00042','C00007','|asdasd','11.552300189886243','104.89666319580078','Open','In Schedule','06/08/2018 15:36:10 PM','VI06793','104.897829371549',NULL,NULL,NULL,'visiting','',NULL),
('VI06794','SC00119','gggg','','2018-06-22 00:00:00',11,'E00042','C00007','asdasd','11.552300189886243','104.89666319580078','Open','In Schedule','06/08/2018 15:42:14 PM','VI06794','104.897867495384','06/08/2018 15:54:25','11.5771617591841','104.897854038148','Visited without order','Hghhh','no'),
('VI06796',NULL,'Hahahaha','','2018-08-06 15:02:00',1,'E-00004','C00001','','11.5771552674172','104.897859073446','Open','Out Route','06/08/2018 15:32:22 PM','VI06796','104.897829371549',NULL,NULL,NULL,'visiting','',NULL),
('VI06797',NULL,'aaaa','','2018-08-06 15:58:00',44,'E00002','C00002','','11.5771585615644','104.897851109063','Open','Out Route','06/08/2018 16:29:22 PM','VI06797','104.897868178964',NULL,NULL,NULL,'visiting','',NULL),
('VI06798',NULL,'aaa','','2018-08-06 15:58:00',4,'E-00004','C00001','','11.5771585615644','104.897851109063','Open','Out Route',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06799',NULL,'aaaa','','2018-08-06 15:59:00',4,'E-00004','C00001','','11.5771585615644','104.897851109063','Open','Out Route','06/08/2018 16:20:57 PM','VI06799','104.897936322821','06/08/2018 16:21:16','11.5772276189596','104.897936322821','Visited without order','','no'),
('VI06800',NULL,'Hahahaha','','2018-08-06 16:20:00',4,'E-00004','C00001','','11.5771826870577','104.898038494585','Open','Out Route','06/08/2018 16:30:04 PM','VI06800','104.897868178964',NULL,NULL,NULL,'visiting','',NULL),
('VI06801',NULL,'aaaa','','2018-08-06 16:21:00',4,'E-00004','C00001','','11.5772276189596','104.897936322821','Open','Out Route',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06802',NULL,'aaaasgg','','2018-08-06 16:21:00',4,'E-00004','C00001','','11.5772276189596','104.897936322821','Open','Out Route',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06803',NULL,'aaaasgg','','2018-08-06 16:21:00',4,'E-00004','C00001','','11.5772017615913','104.89789021229','Open','Out Route',NULL,NULL,NULL,NULL,NULL,NULL,'Pending','',NULL),
('VI06804',NULL,'aaaaa','','2018-08-06 16:24:00',44,'E00004','C00003','','11.5772034745043','104.897861304912','Open','Out Route','06/08/2018 16:24:40 PM','VI06804','104.897861304912','06/08/2018 16:24:48','11.5772034745043','104.897861304912','Visited without order','','no');

-- 
-- Definition of crm_schedule_master
-- 

CREATE TABLE IF NOT EXISTS `crm_schedule_master` (
  `SC_ID` varchar(11) NOT NULL,
  `SC_Repeat` varchar(255) DEFAULT NULL,
  `SC_Frequency` varchar(255) DEFAULT NULL,
  `SC_Amount` int(11) DEFAULT NULL,
  `SC_Tag` varchar(255) DEFAULT '',
  `SC_StartDate` datetime DEFAULT NULL,
  `SC_EndRepeat` datetime DEFAULT NULL,
  `SC_CreateBy` varchar(255) DEFAULT NULL,
  `SC_ModifiedBy` varchar(255) DEFAULT NULL,
  `SC_ModifiedDate` datetime DEFAULT NULL,
  PRIMARY KEY (`SC_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_schedule_master
-- 

INSERT INTO `crm_schedule_master`(`SC_ID`,`SC_Repeat`,`SC_Frequency`,`SC_Amount`,`SC_Tag`,`SC_StartDate`,`SC_EndRepeat`,`SC_CreateBy`,`SC_ModifiedBy`,`SC_ModifiedDate`) VALUES
('SC00096','Never','',0,'','2018-05-17 00:00:00',NULL,'balancika','balancika','2018-06-19 15:55:39'),
('SC00097','Never','',0,'','2018-05-17 00:00:00',NULL,'balancika','balancika','2018-06-19 23:57:18'),
('SC00098','Custom','Weekly',1,'Monday,Wednesday,Friday','2018-05-24 14:00:00','2018-06-30 14:00:00','balancika','balancika','2018-06-20 01:44:40'),
('SC00099','Every Day','',0,'','2018-06-14 00:00:00','2018-06-30 00:00:00','balancika',NULL,NULL),
('SC00107','Every Day','',0,'','2018-06-15 00:00:00','2018-06-30 00:00:00','balancika','balancika','2018-06-20 02:08:11'),
('SC00108','Every Day','',0,'','2018-06-15 00:00:00','2018-06-18 00:00:00','balancika','balancika','2018-06-20 01:53:40'),
('SC00109','Never','',0,'','2018-06-16 13:00:00',NULL,'balancika',NULL,NULL),
('SC00110','Every Week','',0,'','2018-06-15 14:00:00','2018-07-31 16:00:00','balancika',NULL,NULL),
('SC00111','Every 2 Weeks','',0,'','2018-06-15 13:00:00','2018-07-31 14:00:00','balancika',NULL,NULL),
('SC00112','Every Month','',0,'','2018-07-01 14:00:00','2018-09-01 14:30:00','balancika',NULL,NULL),
('SC00113','Every Year','',0,'','2018-06-15 13:00:00','2022-06-15 14:00:00','balancika',NULL,NULL),
('SC00114','Custom','Weekly',1,'Monday,Wednesday,Friday','2018-06-16 14:00:00','2018-09-28 15:00:00','balancika','balancika','2018-06-20 02:20:28'),
('SC00115','Every Day','',0,'','2018-06-15 00:00:00','2018-06-18 00:00:00','balancika','balancika','2018-06-20 02:00:33'),
('SC00116','Every Day','',0,'','2018-06-19 14:00:00','2018-06-30 16:00:00','balancika','balancika','2018-06-20 02:12:13'),
('SC00117','Every Day','',0,'','2018-06-19 00:00:00','2018-06-30 00:00:00','balancika',NULL,NULL),
('SC00118','Every Day','',0,'','2018-06-19 00:00:00','2018-06-30 00:00:00','balancika',NULL,NULL),
('SC00119','Every Day','',0,'','2018-06-21 00:00:00','2018-06-23 00:00:00','balancika',NULL,NULL);

-- 
-- Definition of crm_sequence_activity
-- 

CREATE TABLE IF NOT EXISTS `crm_sequence_activity` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `RelateType` varchar(50) NOT NULL,
  `RelateId` varchar(11) NOT NULL,
  `CDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `RelateType` (`RelateType`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_sequence_activity
-- 



-- 
-- Definition of crm_service_details
-- 

CREATE TABLE IF NOT EXISTS `crm_service_details` (
  `svd_Id` int(11) NOT NULL AUTO_INCREMENT,
  `svd_statusId` int(11) DEFAULT NULL,
  `svd_startDate` datetime DEFAULT NULL,
  `svd_endDate` datetime DEFAULT NULL,
  `sv_Id` int(11) DEFAULT NULL,
  PRIMARY KEY (`svd_Id`)
) ENGINE=InnoDB AUTO_INCREMENT=88 DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_service_details
-- 

INSERT INTO `crm_service_details`(`svd_Id`,`svd_statusId`,`svd_startDate`,`svd_endDate`,`sv_Id`) VALUES
(3,1,'2018-01-25 00:00:00','2018-01-31 00:00:00',3),
(4,2,'2018-02-01 00:00:00','2018-02-10 00:00:00',3),
(8,1,'2018-01-01 00:00:00','2018-01-02 00:00:00',5),
(10,2,'2018-01-02 00:00:00','2018-01-04 00:00:00',5),
(13,3,'2018-01-02 00:00:00','2018-01-29 00:00:00',5),
(14,4,'2018-01-26 00:00:00','2018-01-31 00:00:00',3),
(15,1,'2018-01-26 00:00:00','2018-01-30 00:00:00',6),
(17,4,'2018-01-25 00:00:00','2018-01-30 00:00:00',8),
(18,1,'2018-01-29 00:00:00','2018-01-30 00:00:00',8),
(19,1,'2018-01-30 00:00:00','2018-01-30 00:00:00',10),
(38,1,'2018-02-07 14:00:00','2018-02-22 00:00:00',17),
(39,2,'2018-02-01 14:00:00','2018-02-06 00:00:00',17),
(40,3,'2018-02-08 14:00:00','2018-02-16 17:00:00',17),
(41,2,'2018-02-01 00:00:00','2018-02-15 17:00:00',18),
(55,1,'2018-02-02 00:00:00','2018-02-02 12:00:00',26),
(56,1,'2018-02-02 00:00:00','2018-02-03 00:00:00',27),
(57,3,'2018-02-02 00:00:00','2018-02-03 00:00:00',28),
(58,4,'2018-02-02 00:00:00','2018-02-03 00:00:00',29),
(59,4,'2018-02-02 00:00:00','2018-02-03 00:00:00',30),
(60,2,'2018-02-02 00:00:00','2018-02-03 00:00:00',31),
(61,2,'2018-02-02 00:00:00','2018-02-03 00:00:00',32),
(70,2,'2018-02-02 00:00:00','2018-02-03 00:00:00',46),
(71,2,'2018-02-02 00:00:00','2018-02-03 00:00:00',47),
(72,2,'2018-02-02 00:00:00','2018-02-03 00:00:00',48),
(73,2,'2018-02-02 00:00:00','2018-02-03 00:00:00',49),
(76,2,'2018-02-02 00:00:00','2018-02-28 00:00:00',50),
(79,1,NULL,NULL,61),
(80,3,NULL,NULL,61),
(81,1,NULL,NULL,68),
(82,2,NULL,NULL,68),
(83,1,NULL,NULL,70),
(84,2,NULL,NULL,70),
(85,3,NULL,NULL,70),
(86,3,NULL,NULL,68),
(87,3,NULL,NULL,74);

-- 
-- Definition of crm_service_status
-- 

CREATE TABLE IF NOT EXISTS `crm_service_status` (
  `svs_id` int(11) NOT NULL AUTO_INCREMENT,
  `svs_name` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`svs_id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_service_status
-- 

INSERT INTO `crm_service_status`(`svs_id`,`svs_name`) VALUES
(1,'Pending'),
(2,'In Progress'),
(3,'Completed'),
(4,'Confirmed');

-- 
-- Definition of crm_service_type
-- 

CREATE TABLE IF NOT EXISTS `crm_service_type` (
  `svt_id` int(11) NOT NULL AUTO_INCREMENT,
  `svt_name` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`svt_id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_service_type
-- 

INSERT INTO `crm_service_type`(`svt_id`,`svt_name`) VALUES
(1,'Proposal'),
(2,'Implementation'),
(3,'Training'),
(4,'Client Acceptance Signed');

-- 
-- Definition of crm_shop_config
-- 

CREATE TABLE IF NOT EXISTS `crm_shop_config` (
  `ShopID` varchar(255) NOT NULL,
  PRIMARY KEY (`ShopID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_shop_config
-- 

INSERT INTO `crm_shop_config`(`ShopID`) VALUES
('1');

-- 
-- Definition of crm_state_addr
-- 

CREATE TABLE IF NOT EXISTS `crm_state_addr` (
  `StateName` varchar(255) NOT NULL,
  PRIMARY KEY (`StateName`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_state_addr
-- 



-- 
-- Definition of crm_synchrony_item
-- 

CREATE TABLE IF NOT EXISTS `crm_synchrony_item` (
  `SynCode` int(11) NOT NULL AUTO_INCREMENT,
  `ItemID` varchar(255) DEFAULT NULL,
  `Action_Status` varchar(255) DEFAULT NULL,
  `IsSyned` tinyint(1) DEFAULT NULL,
  `SynDate` datetime DEFAULT NULL,
  PRIMARY KEY (`SynCode`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_synchrony_item
-- 



-- 
-- Definition of crm_task
-- 

CREATE TABLE IF NOT EXISTS `crm_task` (
  `TA_ID` varchar(11) NOT NULL,
  `TA_Subject` varchar(255) NOT NULL,
  `TA_StartDate` datetime DEFAULT NULL,
  `TA_DueDate` datetime DEFAULT NULL,
  `TA_Priority` varchar(20) NOT NULL,
  `TA_StatusID` int(3) NOT NULL,
  `TA_Des` text,
  `TA_RToType` varchar(20) DEFAULT NULL,
  `TA_RToID` varchar(11) DEFAULT NULL,
  `TA_ContactID` varchar(11) DEFAULT NULL,
  `TA_ATo` varchar(11) DEFAULT NULL,
  `TA_CBy` varchar(11) DEFAULT NULL,
  `TA_CDate` datetime DEFAULT NULL,
  `TA_MBy` varchar(11) DEFAULT NULL,
  `TA_MDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`TA_ID`),
  KEY `TA_StatusID` (`TA_StatusID`) USING BTREE,
  KEY `TA_ContactID` (`TA_ContactID`) USING BTREE,
  KEY `TA_ATo` (`TA_ATo`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_task
-- 

INSERT INTO `crm_task`(`TA_ID`,`TA_Subject`,`TA_StartDate`,`TA_DueDate`,`TA_Priority`,`TA_StatusID`,`TA_Des`,`TA_RToType`,`TA_RToID`,`TA_ContactID`,`TA_ATo`,`TA_CBy`,`TA_CDate`,`TA_MBy`,`TA_MDate`) VALUES
('TA00071','sfsfsf','2018-07-11 00:00:00',NULL,'Medium',4,'sfwgqwgwgwg','Campaign','CA00082','CON00000006','balancika','balancika','2018-07-11 09:24:42',NULL,'2018-07-11 09:24:42'),
('TA00075','ddddddddddddddd','2018-07-11 00:00:00','2018-07-11 00:00:00','Medium',3,'wgwgwgwgwgwg eyheheheheheh','Customer','C00026','CON00000003','balancika','balancika','2018-07-11 13:26:11','balancika','2018-07-11 13:44:50');

-- 
-- Definition of crm_task_status
-- 

CREATE TABLE IF NOT EXISTS `crm_task_status` (
  `TS_ID` int(3) NOT NULL AUTO_INCREMENT,
  `TS_Name` varchar(150) NOT NULL,
  `TS_Des` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`TS_ID`),
  UNIQUE KEY `StatusName` (`TS_Name`) USING BTREE
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_task_status
-- 

INSERT INTO `crm_task_status`(`TS_ID`,`TS_Name`,`TS_Des`) VALUES
(1,'Not Started',''),
(2,'In Progress',NULL),
(3,'Completed',NULL),
(4,'Pending Input',NULL),
(5,'Deferred',NULL);

-- 
-- Definition of crm_template_authorization
-- 

CREATE TABLE IF NOT EXISTS `crm_template_authorization` (
  `TmpID` int(255) NOT NULL AUTO_INCREMENT,
  `TmpName` varchar(255) DEFAULT '',
  `TmpDescription` text,
  PRIMARY KEY (`TmpID`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_template_authorization
-- 

INSERT INTO `crm_template_authorization`(`TmpID`,`TmpName`,`TmpDescription`) VALUES
(1,'Product Return Requisition','<p><strong>Customer :&nbsp;&nbsp;</strong></p>\r\n\r\n<hr />\r\n<table border=\"1\" cellpadding=\"0\" cellspacing=\"0\" style=\"width:100%\">\r\n\t<tbody>\r\n\t\t<tr>\r\n\t\t\t<td style=\"height:20px; text-align:center\">&nbsp; <strong>No&nbsp;&nbsp;</strong></td>\r\n\t\t\t<td><strong>Invoice Number</strong></td>\r\n\t\t\t<td><strong>Issued Date&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</strong></td>\r\n\t\t\t<td style=\"height:35px; text-align:center\"><strong>Item</strong></td>\r\n\t\t\t<td style=\"text-align:center\"><strong>Qty&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</strong></td>\r\n\t\t\t<td style=\"text-align:center\"><strong>Unit Price&nbsp; &nbsp; &nbsp;</strong></td>\r\n\t\t\t<td style=\"text-align:center\"><strong>Amount&nbsp;</strong> &nbsp;&nbsp;</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td style=\"height:27px; text-align:center\">1</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</td>\r\n\t\t\t<td style=\"text-align:right\">&nbsp; &nbsp;</td>\r\n\t\t\t<td style=\"text-align:right\">&nbsp;</td>\r\n\t\t\t<td style=\"text-align:right; vertical-align:middle\">&nbsp;</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td style=\"height:27px; text-align:center\">2</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td style=\"text-align:right\">&nbsp;</td>\r\n\t\t\t<td style=\"text-align:right\">&nbsp;</td>\r\n\t\t\t<td style=\"text-align:right\">&nbsp;</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td style=\"height:27px; text-align:center\">3</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td style=\"text-align:right\">&nbsp;</td>\r\n\t\t\t<td style=\"text-align:right\">&nbsp;</td>\r\n\t\t\t<td style=\"text-align:right\">&nbsp;</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td style=\"height:27px; text-align:center\">4</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td style=\"height:27px; text-align:center\">5</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td style=\"height:27px; text-align:center\">6</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td style=\"height:27px; text-align:center\">7</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td style=\"height:27px; text-align:center\">8</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td style=\"text-align:right\">&nbsp;</td>\r\n\t\t\t<td style=\"text-align:right\">&nbsp;</td>\r\n\t\t\t<td style=\"text-align:right\">&nbsp;</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td style=\"height:27px; text-align:center\">9</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td style=\"text-align:right\">&nbsp;</td>\r\n\t\t\t<td style=\"text-align:right\">&nbsp;</td>\r\n\t\t\t<td style=\"text-align:right\">&nbsp;</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td style=\"height:27px; text-align:center\">10</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td style=\"text-align:right\">&nbsp;</td>\r\n\t\t\t<td style=\"text-align:right\">&nbsp;</td>\r\n\t\t\t<td style=\"text-align:right\">&nbsp;</td>\r\n\t\t</tr>\r\n\t</tbody>\r\n</table>\r\n'),
(2,'Advance Requisition','<table border=\"1\" cellpadding=\"0\" cellspacing=\"0\" style=\"width:100%\">\r\n\t<tbody>\r\n\t\t<tr>\r\n\t\t\t<td style=\"height:60px; text-align:center; width:64px\"><strong>ល.រ.<br />\r\n\t\t\tNo.</strong></td>\r\n\t\t\t<td style=\"text-align:center; width:112px\"><strong>ថ្ងៃខែឆ្នាំ ទិញ<br />\r\n\t\t\tDate Purchase</strong></td>\r\n\t\t\t<td colspan=\"6\" style=\"text-align:center; width:420px\"><strong>បរិយាយ<br />\r\n\t\t\tDescription</strong></td>\r\n\t\t\t<td colspan=\"2\" style=\"text-align:center; width:117px\"><strong>ចំនួនទឹកប្រាក់<br />\r\n\t\t\tAmount</strong></td>\r\n\t\t\t<td colspan=\"2\" style=\"text-align:center; width:420px\"><strong>ផ្សេងៗ<br />\r\n\t\t\tRemark</strong></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td style=\"height:36px; text-align:center\">1</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td colspan=\"6\">&nbsp;</td>\r\n\t\t\t<td colspan=\"2\">&nbsp;</td>\r\n\t\t\t<td colspan=\"2\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td style=\"height:36px; text-align:center\">2</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td colspan=\"6\">&nbsp;</td>\r\n\t\t\t<td colspan=\"2\">&nbsp;</td>\r\n\t\t\t<td colspan=\"2\">&nbsp;</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td style=\"height:36px; text-align:center\">3</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td colspan=\"6\">&nbsp;</td>\r\n\t\t\t<td colspan=\"2\">&nbsp;</td>\r\n\t\t\t<td colspan=\"2\">&nbsp;</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td style=\"height:36px; text-align:center\">4</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td colspan=\"6\">&nbsp;</td>\r\n\t\t\t<td colspan=\"2\">&nbsp;</td>\r\n\t\t\t<td colspan=\"2\">&nbsp;</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td style=\"height:36px; text-align:center\">5</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td colspan=\"6\">&nbsp;</td>\r\n\t\t\t<td colspan=\"2\">&nbsp;</td>\r\n\t\t\t<td colspan=\"2\">&nbsp;</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td style=\"height:36px; text-align:center\">6</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td colspan=\"6\">&nbsp;</td>\r\n\t\t\t<td colspan=\"2\">&nbsp;</td>\r\n\t\t\t<td colspan=\"2\">&nbsp;</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td style=\"height:36px; text-align:center\">7</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td colspan=\"6\">&nbsp;</td>\r\n\t\t\t<td colspan=\"2\">&nbsp;</td>\r\n\t\t\t<td colspan=\"2\">&nbsp;</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td style=\"height:36px; text-align:center\">8</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td colspan=\"6\">&nbsp;</td>\r\n\t\t\t<td colspan=\"2\">&nbsp;</td>\r\n\t\t\t<td colspan=\"2\">&nbsp;</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td style=\"height:36px; text-align:center\">9</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td colspan=\"6\">&nbsp;</td>\r\n\t\t\t<td colspan=\"2\">&nbsp;</td>\r\n\t\t\t<td colspan=\"2\">&nbsp;</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td style=\"height:36px; text-align:center\">10</td>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td colspan=\"6\">&nbsp;</td>\r\n\t\t\t<td colspan=\"2\">&nbsp;</td>\r\n\t\t\t<td colspan=\"2\">&nbsp;</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td colspan=\"8\" style=\"height:36px; text-align:right\">សរុបទឹកប្រាក់ដែលត្រូវដកមុន (Total Advance Amount)&nbsp; &nbsp; &nbsp;</td>\r\n\t\t\t<td colspan=\"2\">&nbsp;</td>\r\n\t\t\t<td colspan=\"2\">&nbsp;</td>\r\n\t\t</tr>\r\n\t</tbody>\r\n</table>\r\n'),
(3,'Advance Clearance Requisition','<table border=\"1\" cellpadding=\"0\" cellspacing=\"0\" style=\"width:100%\">\n\t<tbody>\n\t\t<tr>\n\t\t\t<td style=\"height:48px; text-align:center; width:64px\"><strong>ល.រ.<br />\n\t\t\tNo.</strong></td>\n\t\t\t<td style=\"text-align:center; width:112px\"><strong>ថ្ងៃខែឆ្នាំ ទិញ<br />\n\t\t\tDate Purchase</strong></td>\n\t\t\t<td style=\"text-align:center; width:420px\"><strong>បរិយាយ<br />\n\t\t\tDescription</strong></td>\n\t\t\t<td style=\"text-align:center; width:117px\"><strong>លេខវិកាយប័ត្រ<br />\n\t\t\tInvoice No.</strong></td>\n\t\t\t<td style=\"text-align:center; width:93px\"><strong>តំលៃសរុប<br />\n\t\t\tAmount</strong></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"height:37px; text-align:center\">1</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"height:37px; text-align:center\">2</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"height:37px; text-align:center\">3</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"height:37px; text-align:center\">4</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"height:37px; text-align:center\">5</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"height:37px; text-align:center\">6</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"height:37px; text-align:center\">7</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"height:37px; text-align:center\">8</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"height:37px; text-align:center\">9</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"height:37px; text-align:center\">10</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td colspan=\"4\" style=\"height:37px; text-align:right\">សរុបចំណាយ​(Total Expense)</td>\n\t\t\t<td>&nbsp;</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td colspan=\"4\" style=\"height:37px; text-align:right\">ទឹកប្រាក់បានខ្ជី(Advance Amount)</td>\n\t\t\t<td>&nbsp;</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td colspan=\"4\" style=\"height:37px; text-align:right\">សរុបទឹកប្រាក់បានខ្ជី (Total Short/Over Aount)</td>\n\t\t\t<td>&nbsp;</td>\n\t\t</tr>\n\t</tbody>\n</table>\n'),
(4,'AP Cash',''),
(5,'Other Transaction','<p><strong>Customer:&nbsp;</strong></p>\n\n<p><strong>Type:&nbsp;</strong></p>\n\n<hr />\n<table border=\"1\" cellpadding=\"0\" cellspacing=\"0\" style=\"width:100%\">\n\t<tbody>\n\t\t<tr>\n\t\t\t<td style=\"height:35px; text-align:center; width:36px\"><strong>ល.រ<br />\n\t\t\tNo</strong></td>\n\t\t\t<td style=\"text-align:center; width:107px\"><strong>លេខវិក័យប័ត្រ<br />\n\t\t\tInvoice Number</strong></td>\n\t\t\t<td style=\"text-align:center; width:119px\"><strong>ថ្ងៃចុះវិក័យប័ត្រ<br />\n\t\t\tIssued Date</strong></td>\n\t\t\t<td style=\"text-align:center; width:281px\"><strong>ឈ្មោះមុខទំនិញ<br />\n\t\t\tItem</strong></td>\n\t\t\t<td style=\"text-align:center; width:101px\"><strong>បរិមាណ<br />\n\t\t\tQty</strong></td>\n\t\t\t<td style=\"text-align:center; width:113px\"><strong>តម្លៃរាយ<br />\n\t\t\tUnit Price</strong></td>\n\t\t\t<td style=\"text-align:center; width:108px\"><strong>តម្លៃសរុប<br />\n\t\t\tAmount</strong></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"height:27px; text-align:center\">1</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"height:27px; text-align:center\">2</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"height:27px; text-align:center\">3</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"height:27px; text-align:center\">4</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"height:27px; text-align:center\">5</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"height:27px; text-align:center\">6</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"height:27px; text-align:center\">7</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"height:27px; text-align:center\">8</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"height:27px; text-align:center\">9</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"height:27px; text-align:center\">10</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td>&nbsp;</td>\n\t\t</tr>\n\t</tbody>\n</table>\n'),
(6,'sfsfsfsf','');

-- 
-- Definition of crm_user_like_collaboration
-- 

CREATE TABLE IF NOT EXISTS `crm_user_like_collaboration` (
  `LK_ID` int(11) NOT NULL AUTO_INCREMENT,
  `LK_CBID` int(3) NOT NULL,
  `LK_UID` varchar(255) NOT NULL,
  PRIMARY KEY (`LK_ID`),
  KEY `LK_CBID` (`LK_CBID`) USING BTREE
) ENGINE=MyISAM AUTO_INCREMENT=174 DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_user_like_collaboration
-- 

INSERT INTO `crm_user_like_collaboration`(`LK_ID`,`LK_CBID`,`LK_UID`) VALUES
(1,53,'balancika'),
(14,49,'balancika'),
(15,49,'vichet'),
(16,66,'balancika'),
(39,92,'G1-EMP10'),
(30,78,'balancika'),
(43,98,'G1-EMP11'),
(34,85,'balancika'),
(37,84,'balancika'),
(45,102,'G1-EMP11'),
(46,103,'G1-EMP11'),
(47,98,'G1-EMP10'),
(48,106,'G1-EMP10'),
(49,108,'G1-EMP10'),
(50,89,'G1-EMP10'),
(51,112,'G1-EMP10'),
(52,114,'G1-EMP10'),
(54,118,'G1-EMP10'),
(75,125,'balancika'),
(56,118,'G2-EMP12'),
(71,122,'G1-EMP10'),
(64,122,'G1-EMP11'),
(62,121,'G1-EMP10'),
(73,123,'G1-EMP10'),
(172,204,'balancika'),
(169,186,'balancika'),
(168,185,'balancika'),
(167,180,'balancika'),
(165,183,'balancika'),
(164,183,'G1-EMP10'),
(163,183,'G1-EMP11'),
(154,168,'balancika'),
(143,159,'balancika'),
(142,158,'balancika'),
(139,155,'balancika'),
(129,146,'balancika'),
(137,153,'balancika'),
(122,143,'balancika'),
(121,142,'balancika'),
(120,141,'balancika'),
(119,140,'balancika'),
(118,139,'balancika'),
(117,138,'balancika'),
(114,134,'balancika'),
(116,137,'balancika');

-- 
-- Definition of crm_village_addr
-- 

CREATE TABLE IF NOT EXISTS `crm_village_addr` (
  `VillageName` varchar(255) NOT NULL,
  `CommuneName` varchar(255) NOT NULL,
  PRIMARY KEY (`VillageName`,`CommuneName`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_village_addr
-- 



-- 
-- Definition of crm_visit_audio
-- 

CREATE TABLE IF NOT EXISTS `crm_visit_audio` (
  `VID_ID` int(11) NOT NULL AUTO_INCREMENT,
  `VI_ID` varchar(255) DEFAULT NULL,
  `VID_Name` varchar(255) DEFAULT NULL,
  `VID_Des` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`VID_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_visit_audio
-- 



-- 
-- Definition of crm_visit_feedback
-- 

CREATE TABLE IF NOT EXISTS `crm_visit_feedback` (
  `VIF` int(11) NOT NULL,
  `VI_ID` varchar(255) DEFAULT NULL,
  `VIF_Des` text,
  PRIMARY KEY (`VIF`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_visit_feedback
-- 



-- 
-- Definition of crm_visit_images
-- 

CREATE TABLE IF NOT EXISTS `crm_visit_images` (
  `VII_ID` int(11) NOT NULL AUTO_INCREMENT,
  `VI_ID` varchar(255) DEFAULT NULL,
  `VII_Name` varchar(255) DEFAULT NULL,
  `VII_Des` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`VII_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table crm_visit_images
-- 



-- 
-- Definition of hrm_assignment
-- 

CREATE TABLE IF NOT EXISTS `hrm_assignment` (
  `AssignID` varchar(255) NOT NULL DEFAULT '',
  `AssignmentName` varchar(255) DEFAULT NULL,
  `AssignTo` varchar(255) DEFAULT NULL,
  `StartDate` date DEFAULT NULL,
  `EndDate` date DEFAULT NULL,
  `AssignmentMemberType` varchar(255) DEFAULT NULL,
  `AssignmentMemberEmployeeID` varchar(255) DEFAULT NULL,
  `AssignmentDescription` mediumtext,
  `AssignmentNote` mediumtext,
  `EvaluationLevel` varchar(255) DEFAULT NULL,
  `EvaluationDate` date DEFAULT NULL,
  `EvaluationDescription` mediumtext,
  PRIMARY KEY (`AssignID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_assignment
-- 



-- 
-- Definition of hrm_assignment_member
-- 

CREATE TABLE IF NOT EXISTS `hrm_assignment_member` (
  `AssignID` varchar(255) DEFAULT NULL,
  `EmpID` varchar(255) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_assignment_member
-- 



-- 
-- Definition of hrm_authorisation
-- 

CREATE TABLE IF NOT EXISTS `hrm_authorisation` (
  `Auth_ID` varchar(255) NOT NULL DEFAULT '',
  `Auth_Name` varchar(255) DEFAULT NULL,
  `Auth_Type` varchar(10) DEFAULT NULL,
  `Auth_AndOr` varchar(3) DEFAULT '',
  `Auth_Amount` int(11) DEFAULT '0',
  PRIMARY KEY (`Auth_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_authorisation
-- 

INSERT INTO `hrm_authorisation`(`Auth_ID`,`Auth_Name`,`Auth_Type`,`Auth_AndOr`,`Auth_Amount`) VALUES
('Auth-00012','CustomerApp','Individual','And',2),
('Auth-00013','CustomerOr','Individual','Or',1),
('Auth-00014','Gr','Group','',0);

-- 
-- Definition of hrm_authorisation_approved
-- 

CREATE TABLE IF NOT EXISTS `hrm_authorisation_approved` (
  `Auth_ProcessID` varchar(255) DEFAULT NULL,
  `Auth_ProcessName` varchar(255) DEFAULT NULL,
  `Auth_ID` varchar(255) DEFAULT NULL,
  `Auth_GroupID` varchar(255) DEFAULT '',
  `Auth_EmpID` varchar(255) DEFAULT NULL,
  `Auth_Status` varchar(255) DEFAULT NULL,
  `Auth_Line` bigint(20) NOT NULL AUTO_INCREMENT,
  `Auth_Date` date DEFAULT NULL,
  `Watcher` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`Auth_Line`)
) ENGINE=MyISAM AUTO_INCREMENT=54371 DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_authorisation_approved
-- 

INSERT INTO `hrm_authorisation_approved`(`Auth_ProcessID`,`Auth_ProcessName`,`Auth_ID`,`Auth_GroupID`,`Auth_EmpID`,`Auth_Status`,`Auth_Line`,`Auth_Date`,`Watcher`) VALUES
('TC00015','Temporary Credit','Auth-00012','','E00003','approved',54325,'2018-07-17 00:00:00',NULL),
('TC00015','Temporary Credit','Auth-00012','','E00001','requested',54326,'2018-07-17 00:00:00',NULL),
('TC00016','Temporary Credit','Auth-00012','','E00003','requested',54327,'2018-07-17 00:00:00',NULL),
('TC00016','Temporary Credit','Auth-00012','','E00001','requested',54328,'2018-07-17 00:00:00',NULL),
('OD00010','Over Due Date','Auth-00012','','E00003','requested',54329,'2018-07-17 00:00:00',NULL),
('OD00010','Over Due Date','Auth-00012','','E00001','requested',54330,'2018-07-17 00:00:00',NULL),
('OD00011','Over Due Date','Auth-00012','','E00003','requested',54331,'2018-07-17 00:00:00',NULL),
('OD00011','Over Due Date','Auth-00012','','E00001','requested',54332,'2018-07-17 00:00:00',NULL),
('R_G00075','General Requisition','Auth-00012','','E00003','requested',54333,'2018-07-17 00:00:00',NULL),
('R_G00075','General Requisition','Auth-00012','','E00001','requested',54334,'2018-07-17 00:00:00',NULL),
('R_BG00072','Budget Requisition','Auth-00012','','E00003','requested',54335,'2018-07-17 00:00:00',NULL),
('R_BG00072','Budget Requisition','Auth-00012','','E00001','requested',54336,'2018-07-17 00:00:00',NULL),
('TC00018','Temporary Credit','Auth-00012','','E00003','requested',54337,'2018-07-17 00:00:00',NULL),
('TC00018','Temporary Credit','Auth-00012','','E00001','requested',54338,'2018-07-17 00:00:00',NULL),
('OD00015','Over Due Date','Auth-00012','','E00003','requested',54339,'2018-07-17 00:00:00',NULL),
('OD00015','Over Due Date','Auth-00012','','E00001','requested',54340,'2018-07-17 00:00:00',NULL),
('TC00025','Temporary Credit','Auth-00014','AG-00004','E00003','approved',54341,'2018-07-18 00:00:00',NULL),
('TC00025','Temporary Credit','Auth-00014','AG-00004','E00002','requested',54342,'2018-07-18 00:00:00',NULL),
('TC00025','Temporary Credit','Auth-00014','AG-00005','E00002','requested',54343,'2018-07-18 00:00:00',NULL),
('TC00025','Temporary Credit','Auth-00014','AG-00005','E00001','requested',54344,'2018-07-18 00:00:00',NULL),
('C00026','Customer','Auth-00013','','E00003','requested',54345,'2018-07-18 00:00:00',NULL),
('C00026','Customer','Auth-00013','','E00001','requested',54346,'2018-07-18 00:00:00',NULL),
('C00015','Customer','Auth-00013','','E00003','requested',54347,'2018-08-01 00:00:00',NULL),
('C00015','Customer','Auth-00013','','E00001','requested',54348,'2018-08-01 00:00:00',NULL),
('C00043','Customer','Auth-00013','','E00003','requested',54349,'2018-08-03 00:00:00',NULL),
('C00043','Customer','Auth-00013','','E00001','requested',54350,'2018-08-03 00:00:00',NULL),
('C00044','Customer','Auth-00013','','E00003','requested',54351,'2018-08-03 00:00:00',NULL),
('C00044','Customer','Auth-00013','','E00001','requested',54352,'2018-08-03 00:00:00',NULL),
('C00045','Customer','Auth-00013','','E00003','requested',54353,'2018-08-03 00:00:00',NULL),
('C00045','Customer','Auth-00013','','E00001','requested',54354,'2018-08-03 00:00:00',NULL),
('C00046','Customer','Auth-00013','','E00003','requested',54355,'2018-08-03 00:00:00',NULL),
('C00046','Customer','Auth-00013','','E00001','requested',54356,'2018-08-03 00:00:00',NULL),
('C00047','Customer','Auth-00013','','E00003','requested',54357,'2018-08-03 00:00:00',NULL),
('C00047','Customer','Auth-00013','','E00001','requested',54358,'2018-08-03 00:00:00',NULL),
('C00049','Customer','Auth-00013','','E00003','requested',54359,'2018-08-03 00:00:00',NULL),
('C00049','Customer','Auth-00013','','E00001','requested',54360,'2018-08-03 00:00:00',NULL),
('C00050','Customer','Auth-00013','','E00003','requested',54361,'2018-08-03 00:00:00',NULL),
('C00050','Customer','Auth-00013','','E00001','requested',54362,'2018-08-03 00:00:00',NULL),
('C00051','Customer','Auth-00013','','E00003','requested',54363,'2018-08-03 00:00:00',NULL),
('C00051','Customer','Auth-00013','','E00001','requested',54364,'2018-08-03 00:00:00',NULL),
('C00052','Customer','Auth-00013','','E00003','requested',54365,'2018-08-03 00:00:00',NULL),
('C00052','Customer','Auth-00013','','E00001','requested',54366,'2018-08-03 00:00:00',NULL),
('C00053','Customer','Auth-00013','','E00003','requested',54367,'2018-08-03 00:00:00',NULL),
('C00053','Customer','Auth-00013','','E00001','requested',54368,'2018-08-03 00:00:00',NULL),
('C00011','Customer','Auth-00013','','E00003','requested',54369,'2018-08-03 00:00:00',NULL),
('C00011','Customer','Auth-00013','','E00001','requested',54370,'2018-08-03 00:00:00',NULL);

-- 
-- Definition of hrm_authorisation_approved_temp
-- 

CREATE TABLE IF NOT EXISTS `hrm_authorisation_approved_temp` (
  `Auth_ProcessID` varchar(255) DEFAULT NULL,
  `Auth_ProcessName` varchar(255) DEFAULT NULL,
  `Auth_ID` varchar(255) DEFAULT NULL,
  `Auth_GroupID` varchar(255) DEFAULT '',
  `Auth_EmpID` varchar(255) DEFAULT NULL,
  `Auth_Status` varchar(255) DEFAULT NULL,
  `Auth_Line` bigint(20) NOT NULL AUTO_INCREMENT,
  `Auth_Date` date DEFAULT NULL,
  `UserID` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`Auth_Line`)
) ENGINE=MyISAM AUTO_INCREMENT=52904 DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_authorisation_approved_temp
-- 



-- 
-- Definition of hrm_authorisation_detail
-- 

CREATE TABLE IF NOT EXISTS `hrm_authorisation_detail` (
  `Auth_ID` varchar(255) DEFAULT '',
  `Auth_EmpID` varchar(255) DEFAULT '',
  `Auth_GroupID` varchar(255) DEFAULT '',
  `Auth_GroupAndOr` varchar(3) DEFAULT '',
  `Auth_GroupAmount` int(11) DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_authorisation_detail
-- 

INSERT INTO `hrm_authorisation_detail`(`Auth_ID`,`Auth_EmpID`,`Auth_GroupID`,`Auth_GroupAndOr`,`Auth_GroupAmount`) VALUES
('Auth-00012','E00001','','',0),
('Auth-00012','E00003','','',0),
('Auth-00013','E00001','','',0),
('Auth-00013','E00003','','',0),
('Auth-00014','','AG-00005','Or',1),
('Auth-00014','','AG-00004','And',2);

-- 
-- Definition of hrm_authorisation_detail_temp
-- 

CREATE TABLE IF NOT EXISTS `hrm_authorisation_detail_temp` (
  `Auth_TranID` varchar(255) DEFAULT NULL,
  `Auth_ID` varchar(255) DEFAULT '',
  `Auth_EmpID` varchar(255) DEFAULT '',
  `Auth_GroupID` varchar(255) DEFAULT '',
  `Auth_GroupAndOr` varchar(3) DEFAULT '',
  `Auth_GroupAmount` int(11) DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_authorisation_detail_temp
-- 

INSERT INTO `hrm_authorisation_detail_temp`(`Auth_TranID`,`Auth_ID`,`Auth_EmpID`,`Auth_GroupID`,`Auth_GroupAndOr`,`Auth_GroupAmount`) VALUES
('TC00015','Auth-00012','E00001','','',0),
('TC00015','Auth-00012','E00003','','',0),
('TC00016','Auth-00012','E00001','','',0),
('TC00016','Auth-00012','E00003','','',0),
('OD00010','Auth-00012','E00001','','',0),
('OD00010','Auth-00012','E00003','','',0),
('OD00011','Auth-00012','E00001','','',0),
('OD00011','Auth-00012','E00003','','',0),
('R_G00075','Auth-00012','E00001','','',0),
('R_G00075','Auth-00012','E00003','','',0),
('R_BG00072','Auth-00012','E00001','','',0),
('R_BG00072','Auth-00012','E00003','','',0),
('TC00018','Auth-00012','E00001','','',0),
('TC00018','Auth-00012','E00003','','',0),
('OD00015','Auth-00012','E00001','','',0),
('OD00015','Auth-00012','E00003','','',0),
('TC00019','Auth-00014','','AG-00005','Or',1),
('TC00019','Auth-00014','','AG-00004','And',2),
('TC00020','Auth-00014','','AG-00005','Or',1),
('TC00020','Auth-00014','','AG-00004','And',2),
('TC00021','Auth-00014','','AG-00005','Or',1),
('TC00021','Auth-00014','','AG-00004','And',2),
('TC00022','Auth-00014','','AG-00005','Or',1),
('TC00022','Auth-00014','','AG-00004','And',2),
('TC00023','Auth-00014','','AG-00005','Or',1),
('TC00023','Auth-00014','','AG-00004','And',2),
('TC00024','Auth-00014','','AG-00005','Or',1),
('TC00024','Auth-00014','','AG-00004','And',2),
('TC00025','Auth-00014','','AG-00005','Or',1),
('TC00025','Auth-00014','','AG-00004','And',2),
('C00026','Auth-00013','E00001','','',0),
('C00026','Auth-00013','E00003','','',0),
('C00015','Auth-00013','E00001','','',0),
('C00015','Auth-00013','E00003','','',0),
('C00043','Auth-00013','E00001','','',0),
('C00043','Auth-00013','E00003','','',0),
('C00044','Auth-00013','E00001','','',0),
('C00044','Auth-00013','E00003','','',0),
('C00045','Auth-00013','E00001','','',0),
('C00045','Auth-00013','E00003','','',0),
('C00046','Auth-00013','E00001','','',0),
('C00046','Auth-00013','E00003','','',0),
('C00047','Auth-00013','E00001','','',0),
('C00047','Auth-00013','E00003','','',0),
('C00049','Auth-00013','E00001','','',0),
('C00049','Auth-00013','E00003','','',0),
('C00050','Auth-00013','E00001','','',0),
('C00050','Auth-00013','E00003','','',0),
('C00051','Auth-00013','E00001','','',0),
('C00051','Auth-00013','E00003','','',0),
('C00052','Auth-00013','E00001','','',0),
('C00052','Auth-00013','E00003','','',0),
('C00053','Auth-00013','E00001','','',0),
('C00053','Auth-00013','E00003','','',0),
('C00011','Auth-00013','E00001','','',0),
('C00011','Auth-00013','E00003','','',0);

-- 
-- Definition of hrm_authorisation_employee
-- 

CREATE TABLE IF NOT EXISTS `hrm_authorisation_employee` (
  `Emp_ID` varchar(255) NOT NULL DEFAULT '',
  `Auth_Process` varchar(255) NOT NULL DEFAULT '',
  `Auth_ID` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`Emp_ID`,`Auth_Process`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_authorisation_employee
-- 

INSERT INTO `hrm_authorisation_employee`(`Emp_ID`,`Auth_Process`,`Auth_ID`) VALUES
('E00003','Budget Requisition','Auth-00012'),
('E00003','Customer','Auth-00013'),
('E00003','General Requisition','Auth-00012'),
('E00003','Over Due Date','Auth-00012'),
('E00003','Temporary Credit','Auth-00014');

-- 
-- Definition of hrm_authorisation_group
-- 

CREATE TABLE IF NOT EXISTS `hrm_authorisation_group` (
  `AuthGroup_ID` varchar(255) NOT NULL DEFAULT '',
  `AuthGroup_Name` varchar(255) DEFAULT NULL,
  `AuthGroup_Description` text,
  PRIMARY KEY (`AuthGroup_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_authorisation_group
-- 

INSERT INTO `hrm_authorisation_group`(`AuthGroup_ID`,`AuthGroup_Name`,`AuthGroup_Description`) VALUES
('AG-00004','g1',''),
('AG-00005','g2','1');

-- 
-- Definition of hrm_authorisation_group_detail
-- 

CREATE TABLE IF NOT EXISTS `hrm_authorisation_group_detail` (
  `AuthGroup_ID` varchar(255) DEFAULT NULL,
  `AuthGroup_EmpID` varchar(255) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_authorisation_group_detail
-- 

INSERT INTO `hrm_authorisation_group_detail`(`AuthGroup_ID`,`AuthGroup_EmpID`) VALUES
('AG-00004','E00002'),
('AG-00004','E00003'),
('AG-00005','E00001'),
('AG-00005','E00002');

-- 
-- Definition of hrm_authorisation_group_detail_temp
-- 

CREATE TABLE IF NOT EXISTS `hrm_authorisation_group_detail_temp` (
  `Auth_TranID` varchar(255) DEFAULT NULL,
  `AuthGroup_ID` varchar(255) DEFAULT NULL,
  `AuthGroup_EmpID` varchar(255) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_authorisation_group_detail_temp
-- 

INSERT INTO `hrm_authorisation_group_detail_temp`(`Auth_TranID`,`AuthGroup_ID`,`AuthGroup_EmpID`) VALUES
('TC00019','AG-00005','E00001'),
('TC00019','AG-00005','E00002'),
('TC00019','AG-00004','E00002'),
('TC00019','AG-00004','E00003'),
('TC00020','AG-00005','E00001'),
('TC00020','AG-00005','E00002'),
('TC00020','AG-00004','E00002'),
('TC00020','AG-00004','E00003'),
('TC00021','AG-00005','E00001'),
('TC00021','AG-00005','E00002'),
('TC00021','AG-00004','E00002'),
('TC00021','AG-00004','E00003'),
('TC00022','AG-00005','E00001'),
('TC00022','AG-00005','E00002'),
('TC00022','AG-00004','E00002'),
('TC00022','AG-00004','E00003'),
('TC00023','AG-00005','E00001'),
('TC00023','AG-00005','E00002'),
('TC00023','AG-00004','E00002'),
('TC00023','AG-00004','E00003'),
('TC00024','AG-00005','E00001'),
('TC00024','AG-00005','E00002'),
('TC00024','AG-00004','E00002'),
('TC00024','AG-00004','E00003'),
('TC00025','AG-00005','E00001'),
('TC00025','AG-00005','E00002'),
('TC00025','AG-00004','E00002'),
('TC00025','AG-00004','E00003');

-- 
-- Definition of hrm_authorisation_group_temp
-- 

CREATE TABLE IF NOT EXISTS `hrm_authorisation_group_temp` (
  `Auth_TranID` varchar(150) NOT NULL,
  `AuthGroup_ID` varchar(150) NOT NULL DEFAULT '',
  `AuthGroup_Name` varchar(255) DEFAULT NULL,
  `AuthGroup_Description` text,
  PRIMARY KEY (`Auth_TranID`,`AuthGroup_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_authorisation_group_temp
-- 

INSERT INTO `hrm_authorisation_group_temp`(`Auth_TranID`,`AuthGroup_ID`,`AuthGroup_Name`,`AuthGroup_Description`) VALUES
('TC00019','AG-00005','g2','1'),
('TC00019','AG-00004','g1',''),
('TC00020','AG-00005','g2','1'),
('TC00020','AG-00004','g1',''),
('TC00021','AG-00005','g2','1'),
('TC00021','AG-00004','g1',''),
('TC00022','AG-00005','g2','1'),
('TC00022','AG-00004','g1',''),
('TC00023','AG-00005','g2','1'),
('TC00023','AG-00004','g1',''),
('TC00024','AG-00005','g2','1'),
('TC00024','AG-00004','g1',''),
('TC00025','AG-00005','g2','1'),
('TC00025','AG-00004','g1','');

-- 
-- Definition of hrm_authorisation_module
-- 

CREATE TABLE IF NOT EXISTS `hrm_authorisation_module` (
  `AM_ID` varchar(255) DEFAULT NULL,
  `AM_APP` varchar(10) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_authorisation_module
-- 

INSERT INTO `hrm_authorisation_module`(`AM_ID`,`AM_APP`) VALUES
('Leave','HRM'),
('Dayoff','HRM'),
('Overtime','HRM'),
('Deduction','HRM'),
('Customer','AME'),
('Quote','AME'),
('Sale Order','AME'),
('Temporary Credit','AME'),
('Budget Requisition','AME'),
('General Requisition','AME'),
('Material Request','AME'),
('Over Due Date','AME');

-- 
-- Definition of hrm_authorisation_temp
-- 

CREATE TABLE IF NOT EXISTS `hrm_authorisation_temp` (
  `Auth_TranID` varchar(100) NOT NULL,
  `Auth_ID` varchar(100) NOT NULL DEFAULT '',
  `Auth_Name` varchar(255) DEFAULT NULL,
  `Auth_Type` varchar(10) DEFAULT NULL,
  `Auth_AndOr` varchar(3) DEFAULT '',
  `Auth_Amount` int(11) DEFAULT '0',
  PRIMARY KEY (`Auth_TranID`,`Auth_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_authorisation_temp
-- 

INSERT INTO `hrm_authorisation_temp`(`Auth_TranID`,`Auth_ID`,`Auth_Name`,`Auth_Type`,`Auth_AndOr`,`Auth_Amount`) VALUES
('TC00015','Auth-00012','CustomerApp','Individual','And',2),
('TC00016','Auth-00012','CustomerApp','Individual','And',2),
('OD00010','Auth-00012','CustomerApp','Individual','And',2),
('OD00011','Auth-00012','CustomerApp','Individual','And',2),
('R_G00075','Auth-00012','CustomerApp','Individual','And',2),
('R_BG00072','Auth-00012','CustomerApp','Individual','And',2),
('TC00018','Auth-00012','CustomerApp','Individual','And',2),
('OD00015','Auth-00012','CustomerApp','Individual','And',2),
('TC00019','Auth-00014','Gr','Group','',0),
('TC00020','Auth-00014','Gr','Group','',0),
('TC00021','Auth-00014','Gr','Group','',0),
('TC00022','Auth-00014','Gr','Group','',0),
('TC00023','Auth-00014','Gr','Group','',0),
('TC00024','Auth-00014','Gr','Group','',0),
('TC00025','Auth-00014','Gr','Group','',0),
('C00026','Auth-00013','CustomerOr','Individual','Or',1),
('C00015','Auth-00013','CustomerOr','Individual','Or',1),
('C00043','Auth-00013','CustomerOr','Individual','Or',1),
('C00044','Auth-00013','CustomerOr','Individual','Or',1),
('C00045','Auth-00013','CustomerOr','Individual','Or',1),
('C00046','Auth-00013','CustomerOr','Individual','Or',1),
('C00047','Auth-00013','CustomerOr','Individual','Or',1),
('C00049','Auth-00013','CustomerOr','Individual','Or',1),
('C00050','Auth-00013','CustomerOr','Individual','Or',1),
('C00051','Auth-00013','CustomerOr','Individual','Or',1),
('C00052','Auth-00013','CustomerOr','Individual','Or',1),
('C00053','Auth-00013','CustomerOr','Individual','Or',1),
('C00011','Auth-00013','CustomerOr','Individual','Or',1);

-- 
-- Definition of hrm_authorisation_watcher
-- 

CREATE TABLE IF NOT EXISTS `hrm_authorisation_watcher` (
  `Emp_ID` varchar(255) NOT NULL DEFAULT '',
  `Auth_Process` varchar(255) NOT NULL DEFAULT '',
  `Auth_ID` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`Emp_ID`,`Auth_Process`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_authorisation_watcher
-- 



-- 
-- Definition of hrm_complaint
-- 

CREATE TABLE IF NOT EXISTS `hrm_complaint` (
  `ComplaintID` varchar(255) NOT NULL DEFAULT '',
  `ComplaintName` varchar(255) DEFAULT NULL,
  `ComplaintDate` date DEFAULT NULL,
  `CreateDate` date DEFAULT NULL,
  `ComplaintAgainstTo` varchar(255) DEFAULT NULL,
  `ComplaintDescription` text,
  PRIMARY KEY (`ComplaintID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_complaint
-- 



-- 
-- Definition of hrm_complaint_file
-- 

CREATE TABLE IF NOT EXISTS `hrm_complaint_file` (
  `ComplaintID` varchar(255) DEFAULT NULL,
  `ComplaintFile` varchar(255) DEFAULT NULL,
  `Main` bigint(20) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`Main`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_complaint_file
-- 



-- 
-- Definition of hrm_delete_file_temp
-- 

CREATE TABLE IF NOT EXISTS `hrm_delete_file_temp` (
  `File_Line` bigint(20) NOT NULL AUTO_INCREMENT,
  `File_Name` text,
  PRIMARY KEY (`File_Line`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_delete_file_temp
-- 



-- 
-- Definition of hrm_emp_bank
-- 

CREATE TABLE IF NOT EXISTS `hrm_emp_bank` (
  `Bank_ID` varchar(255) NOT NULL DEFAULT '0',
  `Bank_Name` varchar(255) DEFAULT NULL,
  `Bank_Description` text,
  PRIMARY KEY (`Bank_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_emp_bank
-- 

INSERT INTO `hrm_emp_bank`(`Bank_ID`,`Bank_Name`,`Bank_Description`) VALUES
('Bank-00001','ACLEDA Bank Plc.','Account Name : Balancika (Cambodia) Co. Ltd.\nAccount Number : 3600-02-079140-12');

-- 
-- Definition of hrm_emp_branch
-- 

CREATE TABLE IF NOT EXISTS `hrm_emp_branch` (
  `Branch_ID` varchar(255) NOT NULL DEFAULT '0',
  `Branch_Name` varchar(255) DEFAULT NULL,
  `Branch_Tel` varchar(255) DEFAULT NULL,
  `Branch_Description` text,
  `Branch_Address` text,
  `Branch_HomeNo` varchar(255) DEFAULT NULL,
  `Branch_Street` varchar(255) DEFAULT '0',
  `Branch_Village` varchar(255) DEFAULT '0',
  `Branch_District` varchar(255) DEFAULT '0',
  `Branch_Commune` varchar(255) DEFAULT '0',
  `Branch_City` varchar(255) DEFAULT '0',
  `Branch_State` varchar(255) DEFAULT NULL,
  `Branch_Country` varchar(255) DEFAULT '0',
  PRIMARY KEY (`Branch_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_emp_branch
-- 

INSERT INTO `hrm_emp_branch`(`Branch_ID`,`Branch_Name`,`Branch_Tel`,`Branch_Description`,`Branch_Address`,`Branch_HomeNo`,`Branch_Street`,`Branch_Village`,`Branch_District`,`Branch_Commune`,`Branch_City`,`Branch_State`,`Branch_Country`) VALUES
('BRANCH-00001','Head Office','023 966 609','','No. 107BE0, Street 566,','','','Sangkat Boeung Kak 2','Khan Tuol Kork','','','Phnom Penh','Cambodia');

-- 
-- Definition of hrm_emp_category
-- 

CREATE TABLE IF NOT EXISTS `hrm_emp_category` (
  `Category_Name` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`Category_Name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_emp_category
-- 

INSERT INTO `hrm_emp_category`(`Category_Name`) VALUES
('test');

-- 
-- Definition of hrm_emp_contract_type
-- 

CREATE TABLE IF NOT EXISTS `hrm_emp_contract_type` (
  `ContractType_Name` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`ContractType_Name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_emp_contract_type
-- 

INSERT INTO `hrm_emp_contract_type`(`ContractType_Name`) VALUES
('test');

-- 
-- Definition of hrm_emp_department
-- 

CREATE TABLE IF NOT EXISTS `hrm_emp_department` (
  `Department_ID` varchar(255) NOT NULL DEFAULT '0',
  `Department_Name` varchar(255) DEFAULT NULL,
  `Department_Description` text,
  `Department_Parent` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`Department_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_emp_department
-- 

INSERT INTO `hrm_emp_department`(`Department_ID`,`Department_Name`,`Department_Description`,`Department_Parent`) VALUES
('DEP-00001','Management','',''),
('DEP-00002','Accounts and Administration','','DEP-00001'),
('DEP-00003','Research & Development (.NET)','',''),
('DEP-00004','Research & Development (Web & Mobile)','',''),
('DEP-00005','Research & Development (Testing & Support)','',''),
('DEP-00006','Business Operation','',''),
('DEP-00007','Sales & Marketing','',''),
('DEP-00008','Testing','','');

-- 
-- Definition of hrm_emp_grade
-- 

CREATE TABLE IF NOT EXISTS `hrm_emp_grade` (
  `Grade_Name` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_emp_grade
-- 

INSERT INTO `hrm_emp_grade`(`Grade_Name`) VALUES
('A'),
('B'),
('C'),
('D'),
('E'),
('INSERT INTO hrm_timesheet_leave_type(LeaveType_ID,LeaveType_Name,LeaveType_PayStatus,LeaveType_Year,LeaveType_AmountAllowed,LeaveType_GenderRestriction,LeaveType_PayType,LeaveType_PayAmount,LeaveType_BaseBalance) VALUES (''LT-00005'',''test'',''Unpaid'',0,'''',''All'',''Fixed Dialy'',''5.0'','''');'),
('INSERT INTO hrm_timesheet_leave_type(LeaveType_ID,LeaveType_Name,LeaveType_PayStatus,LeaveType_Year,LeaveType_AmountAllowed,LeaveType_GenderRestriction,LeaveType_PayType,LeaveType_PayAmount,LeaveType_BaseBalance) VALUES (''LT-00005'',''test'',''Unpaid'',0,''0'',''All'',''Fixed Dialy'',''5.0'','''');');

-- 
-- Definition of hrm_emp_insurance
-- 

CREATE TABLE IF NOT EXISTS `hrm_emp_insurance` (
  `Insurance_ID` varchar(255) NOT NULL,
  `Insurance_Name` varchar(255) DEFAULT NULL,
  `Insurance_Company` varchar(255) DEFAULT NULL,
  `Insurance_Type` varchar(255) DEFAULT NULL,
  `Insurance_Description` text,
  PRIMARY KEY (`Insurance_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_emp_insurance
-- 

INSERT INTO `hrm_emp_insurance`(`Insurance_ID`,`Insurance_Name`,`Insurance_Company`,`Insurance_Type`,`Insurance_Description`) VALUES
('Insurance-00002','test','test','test','');

-- 
-- Definition of hrm_emp_insurance_type
-- 

CREATE TABLE IF NOT EXISTS `hrm_emp_insurance_type` (
  `InsuranceType_Name` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`InsuranceType_Name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_emp_insurance_type
-- 

INSERT INTO `hrm_emp_insurance_type`(`InsuranceType_Name`) VALUES
('test');

-- 
-- Definition of hrm_emp_language
-- 

CREATE TABLE IF NOT EXISTS `hrm_emp_language` (
  `Language_Name` varchar(255) NOT NULL,
  PRIMARY KEY (`Language_Name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_emp_language
-- 

INSERT INTO `hrm_emp_language`(`Language_Name`) VALUES
('English'),
('Khmer'),
('Korea'),
('Mandarin');

-- 
-- Definition of hrm_emp_level
-- 

CREATE TABLE IF NOT EXISTS `hrm_emp_level` (
  `Level_Name` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`Level_Name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_emp_level
-- 

INSERT INTO `hrm_emp_level`(`Level_Name`) VALUES
('Advance'),
('Beginner'),
('Intermediate'),
('Native');

-- 
-- Definition of hrm_emp_membership_type
-- 

CREATE TABLE IF NOT EXISTS `hrm_emp_membership_type` (
  `MembershipType_Name` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`MembershipType_Name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_emp_membership_type
-- 

INSERT INTO `hrm_emp_membership_type`(`MembershipType_Name`) VALUES
('test');

-- 
-- Definition of hrm_emp_nationality
-- 

CREATE TABLE IF NOT EXISTS `hrm_emp_nationality` (
  `Nationnality_Name` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`Nationnality_Name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_emp_nationality
-- 

INSERT INTO `hrm_emp_nationality`(`Nationnality_Name`) VALUES
('Cambodian');

-- 
-- Definition of hrm_emp_nationals
-- 

CREATE TABLE IF NOT EXISTS `hrm_emp_nationals` (
  `Nationals_Name` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`Nationals_Name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_emp_nationals
-- 

INSERT INTO `hrm_emp_nationals`(`Nationals_Name`) VALUES
('Cambodia');

-- 
-- Definition of hrm_emp_occupation
-- 

CREATE TABLE IF NOT EXISTS `hrm_emp_occupation` (
  `Occupation_Name` varchar(255) NOT NULL DEFAULT '',
  `Occupation_NameKh` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`Occupation_Name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_emp_occupation
-- 



-- 
-- Definition of hrm_emp_relative
-- 

CREATE TABLE IF NOT EXISTS `hrm_emp_relative` (
  `Relative_Name` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`Relative_Name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_emp_relative
-- 



-- 
-- Definition of hrm_emp_school
-- 

CREATE TABLE IF NOT EXISTS `hrm_emp_school` (
  `School_Name` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`School_Name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_emp_school
-- 

INSERT INTO `hrm_emp_school`(`School_Name`) VALUES
('High School'),
('Korea Software HRD Center'),
('Language School'),
('SETEC Institute'),
('University');

-- 
-- Definition of hrm_emp_social_communication
-- 

CREATE TABLE IF NOT EXISTS `hrm_emp_social_communication` (
  `SocialCommunication_Name` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`SocialCommunication_Name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_emp_social_communication
-- 

INSERT INTO `hrm_emp_social_communication`(`SocialCommunication_Name`) VALUES
('test');

-- 
-- Definition of hrm_emp_status
-- 

CREATE TABLE IF NOT EXISTS `hrm_emp_status` (
  `Status_Name` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`Status_Name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_emp_status
-- 

INSERT INTO `hrm_emp_status`(`Status_Name`) VALUES
('Death'),
('Recruited'),
('Reinstated'),
('Resigned'),
('Retired'),
('Terminated');

-- 
-- Definition of hrm_emp_type
-- 

CREATE TABLE IF NOT EXISTS `hrm_emp_type` (
  `Type_Name` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`Type_Name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_emp_type
-- 

INSERT INTO `hrm_emp_type`(`Type_Name`) VALUES
('test');

-- 
-- Definition of hrm_employee_attachment
-- 

CREATE TABLE IF NOT EXISTS `hrm_employee_attachment` (
  `Emp_ID` varchar(255) DEFAULT NULL,
  `Att_FileName` varchar(255) DEFAULT NULL,
  `Att_FilePath` text,
  `MainID` bigint(20) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`MainID`)
) ENGINE=MyISAM AUTO_INCREMENT=5437 DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_employee_attachment
-- 



-- 
-- Definition of hrm_employee_contract
-- 

CREATE TABLE IF NOT EXISTS `hrm_employee_contract` (
  `Emp_ID` varchar(15) DEFAULT NULL,
  `Con_Name` varchar(255) DEFAULT NULL,
  `Con_Type` varchar(255) DEFAULT '0',
  `Con_StartDate` date DEFAULT NULL,
  `Con_EndDate` date DEFAULT NULL,
  `Con_Description` text,
  `Con_EmpPosition` varchar(255) DEFAULT '0',
  `Con_EmpType` varchar(255) DEFAULT '0',
  `Con_EmpCategory` varchar(255) DEFAULT '0',
  `Con_EmpGrade` varchar(255) DEFAULT '0',
  `Con_EmpBranchID` varchar(255) DEFAULT '0',
  `Con_EmpDepartmentID` varchar(255) DEFAULT NULL,
  `Con_AttachFile` varchar(255) DEFAULT NULL,
  `Con_AutoID` bigint(20) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`Con_AutoID`),
  KEY `EmpID` (`Emp_ID`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_employee_contract
-- 



-- 
-- Definition of hrm_employee_education
-- 

CREATE TABLE IF NOT EXISTS `hrm_employee_education` (
  `Emp_ID` varchar(15) NOT NULL DEFAULT '',
  `Edu_Name` varchar(255) DEFAULT NULL,
  `Edu_StartDate` date DEFAULT NULL,
  `Edu_EndDate` date DEFAULT NULL,
  `Edu_Degree` varchar(255) DEFAULT '0',
  `Edu_School` varchar(255) DEFAULT '0',
  `Edu_Major` varchar(255) DEFAULT '0',
  `Edu_Description` varchar(255) DEFAULT NULL,
  `Edu_Attachfile` varchar(255) DEFAULT NULL,
  `Edu_AutoID` bigint(20) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`Edu_AutoID`),
  KEY `EmpID` (`Emp_ID`) USING BTREE
) ENGINE=MyISAM AUTO_INCREMENT=656 DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_employee_education
-- 

INSERT INTO `hrm_employee_education`(`Emp_ID`,`Edu_Name`,`Edu_StartDate`,`Edu_EndDate`,`Edu_Degree`,`Edu_School`,`Edu_Major`,`Edu_Description`,`Edu_Attachfile`,`Edu_AutoID`) VALUES
('E-00001','','2013-03-01 00:00:00','2016-08-01 00:00:00','Bachelors Degree','SETEC Institute','Management Information System','','',592),
('E-00001','','2012-02-02 00:00:00','2016-05-01 00:00:00','Bachelors Degree','Language School','English Literature','','',593),
('E-00009','','2016-03-01 00:00:00','2017-01-31 00:00:00','Other','Korea Software HRD Center','Programming','','',599),
('E-00009','','2012-01-01 00:00:00','2016-12-01 00:00:00','Bachelors Degree','University','Computer Science','','',598),
('E-00012','','2013-01-01 00:00:00','2017-01-31 00:00:00','Bachelors Degree','University','Information Technology','','',607),
('E-00012','','2016-01-01 00:00:00','2017-12-29 00:00:00','Other','Korea Software HRD Center','Web & Mobile Development','','',608),
('E-00011','','2011-12-01 00:00:00','2015-05-01 00:00:00','Bachelors Degree','SETEC Institute','Management Information System','','',655),
('E-00003','','2015-11-01 00:00:00','2016-02-19 00:00:00','Other','Korea Software HRD Center','Advanced Course','','',616),
('E-00003','','2012-03-01 00:00:00','2015-05-01 00:00:00','Bachelors Degree','SETEC Institute','Management Information System','','',615),
('E-00003','','2011-03-01 00:00:00','2012-05-01 00:00:00','Diploma','University','Foundation','','',617),
('E-00008','','2013-01-01 00:00:00','2017-05-01 00:00:00','Bachelors Degree','University','Computer Science and Engineering','','',622),
('E-00008','','2016-01-01 00:00:00','2017-05-01 00:00:00','Diploma','Korea Software HRD Center','Software Expert Advanced Course','','',623),
('E-00014','','2014-03-01 00:00:00','2018-03-01 00:00:00','Bachelors Degree','SETEC Institute','Management Information System','','',625),
('E-00010','','2013-03-01 00:00:00','2017-05-31 00:00:00','Bachelors Degree','University','Information Technology','','',626),
('E-00010','','2016-03-01 00:00:00','2017-05-31 00:00:00','Diploma','Korea Software HRD Center','Advanced course','','',627),
('E-00002','','2011-01-03 00:00:00','2014-12-31 00:00:00','Bachelors Degree','University','English Literature','','',633),
('E-00002','','2011-01-03 00:00:00','2014-12-31 00:00:00','Bachelors Degree','SETEC Institute','Information Technology','','',632),
('E-00002','','2006-01-02 00:00:00','2011-12-30 00:00:00','Hight School','High School','High School','','',631),
('E-00026','','2017-03-01 00:00:00','2018-03-05 00:00:00','Other','Korea Software HRD Center','Web and Android Development','','',653),
('E-00021','','2014-01-01 00:00:00','2018-01-31 00:00:00','Bachelors Degree','University','Information Technology','','',636),
('E-00021','','2017-01-02 00:00:00','2018-01-31 00:00:00','Other','Korea Software HRD Center','IT Expert','','',637),
('E-00021','','2016-01-04 00:00:00','2017-01-31 00:00:00','Other','Language School','General English','','',638),
('E-00013','','2012-01-02 00:00:00','2016-12-30 00:00:00','Bachelors Degree','University','English for Communication','','',639),
('E-00013','','2015-01-01 00:00:00','2016-12-30 00:00:00','Other','Korea Software HRD Center','Basic and Advance Course','','',640),
('E-00025','','0001-01-01 00:00:00','2014-12-31 00:00:00','Other','Language School','English Language','','',652),
('E-00025','','2014-01-06 00:00:00','2018-01-31 00:00:00','Bachelors Degree','University','Information Technology','','',651),
('E-00025','','2016-11-01 00:00:00','2018-02-28 00:00:00','Other','Korea Software HRD Center','iOS course','','',650),
('E-00026','','2014-03-03 00:00:00','2018-03-05 00:00:00','Bachelors Degree','University','Computer Science','','',654);

-- 
-- Definition of hrm_employee_experience
-- 

CREATE TABLE IF NOT EXISTS `hrm_employee_experience` (
  `Emp_ID` varchar(15) DEFAULT NULL,
  `Ex_Position` varchar(255) DEFAULT NULL,
  `Ex_Company` varchar(255) DEFAULT NULL,
  `Ex_StartDate` date DEFAULT NULL,
  `Ex_EndDate` date DEFAULT NULL,
  `Ex_Description` text,
  `Ex_AutoID` bigint(20) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`Ex_AutoID`),
  KEY `EmpID` (`Emp_ID`) USING BTREE
) ENGINE=MyISAM AUTO_INCREMENT=313 DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_employee_experience
-- 

INSERT INTO `hrm_employee_experience`(`Emp_ID`,`Ex_Position`,`Ex_Company`,`Ex_StartDate`,`Ex_EndDate`,`Ex_Description`,`Ex_AutoID`) VALUES
('E-00009','Office Assistant','Insititute Forest Widlife Research & Development','2015-01-01 00:00:00','2016-12-30 00:00:00','',306),
('E-00003','Web Developer','PNG Team','2012-03-01 00:00:00','2014-05-01 00:00:00','',308),
('E-00002','IT Support','National Tax School','2015-01-01 00:00:00','2016-08-08 00:00:00','',312);

-- 
-- Definition of hrm_employee_family
-- 

CREATE TABLE IF NOT EXISTS `hrm_employee_family` (
  `Emp_ID` varchar(15) NOT NULL,
  `Fam_Name` varchar(255) DEFAULT NULL,
  `Fam_NameKh` varchar(255) DEFAULT NULL,
  `Fam_DOB` date DEFAULT NULL,
  `Fam_Relative` varchar(255) DEFAULT '0',
  `Fam_Occupation` varchar(255) DEFAULT '0',
  `Fam_Tel` varchar(255) DEFAULT NULL,
  `Fam_TaxDeduct` int(1) DEFAULT '0',
  `Fam_AutoID` bigint(20) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`Fam_AutoID`)
) ENGINE=MyISAM AUTO_INCREMENT=561 DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_employee_family
-- 

INSERT INTO `hrm_employee_family`(`Emp_ID`,`Fam_Name`,`Fam_NameKh`,`Fam_DOB`,`Fam_Relative`,`Fam_Occupation`,`Fam_Tel`,`Fam_TaxDeduct`,`Fam_AutoID`) VALUES
('E-00001','Pak Sreynin','','0001-01-01 00:00:00','Spouse','','096 232 900',0,558);

-- 
-- Definition of hrm_employee_insurance
-- 

CREATE TABLE IF NOT EXISTS `hrm_employee_insurance` (
  `Emp_ID` varchar(255) DEFAULT NULL,
  `Ins_InsuranceID` varchar(255) DEFAULT NULL,
  `Ins_StartDate` date DEFAULT NULL,
  `Ins_ExpireDate` date DEFAULT NULL,
  `Ins_Description` text,
  `Ins_SumInsured` double DEFAULT NULL,
  `Ins_Premium` double DEFAULT NULL,
  `Ins_AutoID` bigint(20) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`Ins_AutoID`)
) ENGINE=MyISAM AUTO_INCREMENT=309 DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_employee_insurance
-- 



-- 
-- Definition of hrm_employee_language
-- 

CREATE TABLE IF NOT EXISTS `hrm_employee_language` (
  `Emp_ID` varchar(255) DEFAULT NULL,
  `Language` varchar(255) DEFAULT '0',
  `Language_ReadLevel` varchar(255) DEFAULT '0',
  `Language_WriteLevel` varchar(255) DEFAULT '0',
  `Language_SpeakLevel` varchar(255) DEFAULT '0',
  `Language_UnderstandLevel` varchar(255) DEFAULT '0',
  `Language_Type` varchar(255) DEFAULT '0',
  `Language_AutoID` bigint(20) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`Language_AutoID`)
) ENGINE=MyISAM AUTO_INCREMENT=380 DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_employee_language
-- 

INSERT INTO `hrm_employee_language`(`Emp_ID`,`Language`,`Language_ReadLevel`,`Language_WriteLevel`,`Language_SpeakLevel`,`Language_UnderstandLevel`,`Language_Type`,`Language_AutoID`) VALUES
('E-00001','Khmer','Native','Native','Native','Native','Mother tongue',305),
('E-00001','English','Intermediate','Intermediate','Intermediate','Intermediate','Second language',306),
('E-00009','English','Intermediate','Intermediate','Intermediate','Intermediate','Second language',307),
('E-00009','Khmer','Native','Native','Native','Native','Mother tongue',308),
('E-00009','Korea','Beginner','Beginner','Beginner','Beginner','Foreign language',309),
('E-00012','English','Intermediate','Intermediate','Intermediate','Intermediate','Foreign language',320),
('E-00012','Khmer','Native','Native','Native','Native','Mother tongue',321),
('E-00012','Korea','Beginner','Beginner','Beginner','Beginner','Foreign language',322),
('E-00011','English','Intermediate','Intermediate','Intermediate','Intermediate','Foreign language',377),
('E-00011','Khmer','Native','Native','Native','Native','Mother tongue',376),
('E-00003','Khmer','Native','Native','Native','Native','Mother tongue',333),
('E-00003','English','Intermediate','Intermediate','Intermediate','Intermediate','Foreign language',332),
('E-00003','Korea','Beginner','Beginner','Beginner','Beginner','Foreign language',334),
('E-00008','English','Intermediate','Intermediate','Intermediate','Intermediate','Foreign language',339),
('E-00008','Khmer','Native','Native','Native','Native','Mother tongue',340),
('E-00008','Korea','Beginner','Beginner','Beginner','Beginner','Foreign language',341),
('E-00014','English','Intermediate','Intermediate','Intermediate','Intermediate','Foreign language',345),
('E-00014','Khmer','Native','Native','Native','Native','Mother tongue',344),
('E-00010','English','Intermediate','Intermediate','Intermediate','Intermediate','Foreign language',346),
('E-00010','Khmer','Native','Native','Native','Native','Mother tongue',347),
('E-00010','Korea','Beginner','Beginner','Beginner','Beginner','Foreign language',348),
('E-00002','Khmer','Native','Native','Native','Native','Mother tongue',354),
('E-00002','English','Intermediate','Intermediate','Intermediate','Intermediate','Foreign language',353),
('E-00026','Khmer','Native','Native','Native','Native','Mother tongue',374),
('E-00026','English','Intermediate','Intermediate','Intermediate','Intermediate','Foreign language',375),
('E-00021','English','Intermediate','Intermediate','Intermediate','Intermediate','Foreign language',357),
('E-00021','Khmer','Native','Native','Native','Native','Mother tongue',358),
('E-00021','Mandarin','Beginner','Beginner','Beginner','Beginner','Foreign language',359),
('E-00013','English','Intermediate','Intermediate','Intermediate','Intermediate','Foreign language',360),
('E-00013','Khmer','Native','Native','Native','Native','Mother tongue',361),
('E-00025','Khmer','Native','Native','Native','Native','Mother tongue',372),
('E-00025','English','Intermediate','Intermediate','Intermediate','Intermediate','Foreign language',373);

-- 
-- Definition of hrm_employee_membership
-- 

CREATE TABLE IF NOT EXISTS `hrm_employee_membership` (
  `Emp_ID` varchar(255) DEFAULT NULL,
  `Mem_Name` varchar(255) DEFAULT NULL,
  `Mem_Institute` varchar(255) DEFAULT NULL,
  `Mem_GrantedOn` date DEFAULT NULL,
  `Mem_ValidThru` date DEFAULT NULL,
  `Mem_Type` varchar(255) DEFAULT NULL,
  `Mem_Description` text,
  `Mem_Attachfile` varchar(255) DEFAULT NULL,
  `Mem_AutoID` bigint(20) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`Mem_AutoID`)
) ENGINE=MyISAM AUTO_INCREMENT=17 DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_employee_membership
-- 



-- 
-- Definition of hrm_employee_skill
-- 

CREATE TABLE IF NOT EXISTS `hrm_employee_skill` (
  `Emp_ID` varchar(255) DEFAULT NULL,
  `Skill_Name` varchar(255) DEFAULT NULL,
  `Skill_Level` varchar(255) DEFAULT '0',
  `Skill_Description` mediumtext,
  `Skill_AutoID` bigint(20) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`Skill_AutoID`)
) ENGINE=MyISAM AUTO_INCREMENT=1677 DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_employee_skill
-- 

INSERT INTO `hrm_employee_skill`(`Emp_ID`,`Skill_Name`,`Skill_Level`,`Skill_Description`,`Skill_AutoID`) VALUES
('E-00001','Adobe Photoshop','Advance','',1631),
('E-00001','Adobe Illustrator','Advance','',1632),
('E-00012','Web design','Intermediate','',1647),
('E-00012','Mobile Development','Intermediate','',1648),
('E-00011','Programming','Intermediate','VB Net, My SQL',1675),
('E-00003','Programming','Intermediate','HTML/CSS, JavaScript, Jquery, Angulerjs, SQL, Java, Abdroid, OOP, MVC',1653),
('E-00008','Web developing','Intermediate','VB Net, Android',1656),
('E-00014','Web programming','Intermediate','',1658),
('E-00010','iOS Development','Intermediate','',1659),
('E-00010','Photoshop Design','Intermediate','',1660),
('E-00010','Java Programming','Intermediate','',1661),
('E-00002','VB net','Advance','',1664),
('E-00026','Web and Android Developer','Intermediate','',1674),
('E-00021','Wed Development','Intermediate','Android, Web and iOS',1666),
('E-00013','Programming','Intermediate','Spring Web Framework , Jasper report and web development',1667),
('E-00025','Web Developer','Intermediate','iOS, Web and Java',1673);

-- 
-- Definition of hrm_employee_social_communication
-- 

CREATE TABLE IF NOT EXISTS `hrm_employee_social_communication` (
  `Emp_ID` varchar(255) DEFAULT NULL,
  `SocialCommunication` varchar(255) DEFAULT NULL,
  `SocialCommunication_Value` varchar(255) DEFAULT NULL,
  `SocailCommunication_AutoID` bigint(20) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`SocailCommunication_AutoID`)
) ENGINE=MyISAM AUTO_INCREMENT=492 DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_employee_social_communication
-- 



-- 
-- Definition of hrm_employee_training
-- 

CREATE TABLE IF NOT EXISTS `hrm_employee_training` (
  `Emp_ID` varchar(255) DEFAULT NULL,
  `Train_InstituteName` varchar(255) DEFAULT NULL,
  `Train_Certificate` varchar(255) DEFAULT NULL,
  `Train_Course` varchar(255) DEFAULT NULL,
  `Train_StartDate` date DEFAULT NULL,
  `Train_EndDate` date DEFAULT NULL,
  `Train_Description` text,
  `Train_AttachFile` varchar(255) DEFAULT NULL,
  `Train_AutoID` bigint(20) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`Train_AutoID`)
) ENGINE=MyISAM AUTO_INCREMENT=576 DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_employee_training
-- 

INSERT INTO `hrm_employee_training`(`Emp_ID`,`Train_InstituteName`,`Train_Certificate`,`Train_Course`,`Train_StartDate`,`Train_EndDate`,`Train_Description`,`Train_AttachFile`,`Train_AutoID`) VALUES
('E-00010','University Preparation For IT','','','0001-01-01 00:00:00','0001-01-01 00:00:00','','',575);

-- 
-- Definition of hrm_exit
-- 

CREATE TABLE IF NOT EXISTS `hrm_exit` (
  `EmployeeExitID` varchar(255) NOT NULL DEFAULT '',
  `EmployeeExitEmployee` varchar(255) DEFAULT NULL,
  `EmployeeExitDate` date DEFAULT NULL,
  `CreateDate` date DEFAULT NULL,
  `EmployeeExitReason` text,
  `RequestFromEmployee` varchar(255) DEFAULT NULL,
  `EmployeeExitForwardType` varchar(255) DEFAULT NULL,
  `EmployeeExitType` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`EmployeeExitID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_exit
-- 



-- 
-- Definition of hrm_exit_cc
-- 

CREATE TABLE IF NOT EXISTS `hrm_exit_cc` (
  `EmployeeExitID` varchar(255) DEFAULT NULL,
  `EmployeeForwarder` varchar(255) DEFAULT NULL,
  `CC` varchar(255) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_exit_cc
-- 



-- 
-- Definition of hrm_exit_file
-- 

CREATE TABLE IF NOT EXISTS `hrm_exit_file` (
  `EmployeeExitID` varchar(255) DEFAULT NULL,
  `EmployeeExitFile` varchar(255) DEFAULT NULL,
  `Main` bigint(20) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`Main`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_exit_file
-- 



-- 
-- Definition of hrm_exit_forwardto
-- 

CREATE TABLE IF NOT EXISTS `hrm_exit_forwardto` (
  `EmployeeExitID` varchar(255) DEFAULT NULL,
  `EmpID` varchar(255) DEFAULT NULL,
  `Approved` tinyint(4) DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_exit_forwardto
-- 



-- 
-- Definition of hrm_exit_type
-- 

CREATE TABLE IF NOT EXISTS `hrm_exit_type` (
  `EmployeeExitType` varchar(255) DEFAULT NULL,
  `EmployeeExitDescription` text
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_exit_type
-- 



-- 
-- Definition of hrm_location_country
-- 

CREATE TABLE IF NOT EXISTS `hrm_location_country` (
  `Country_Name` varchar(255) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_location_country
-- 

INSERT INTO `hrm_location_country`(`Country_Name`) VALUES
('Cambodia');

-- 
-- Definition of hrm_log
-- 

CREATE TABLE IF NOT EXISTS `hrm_log` (
  `LogDateTime` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `UID` varchar(255) DEFAULT NULL,
  `ActionType` varchar(255) DEFAULT NULL,
  `FrmSysName` varchar(255) DEFAULT NULL,
  `CarID` varchar(255) DEFAULT NULL,
  `RecordID` varchar(255) DEFAULT NULL,
  KEY `FrmSysName` (`FrmSysName`) USING BTREE,
  KEY `RecordID` (`RecordID`) USING BTREE,
  KEY `CarID` (`CarID`) USING BTREE,
  KEY `UID` (`UID`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- 
-- Dumping data for table hrm_log
-- 

INSERT INTO `hrm_log`(`LogDateTime`,`UID`,`ActionType`,`FrmSysName`,`CarID`,`RecordID`) VALUES
('2017-11-22 11:48:41','ADMIN','insert','EmployeeBranch',NULL,'BRANCH-00001'),
('2017-11-22 11:49:11','ADMIN','insert','EmployeeDepartment',NULL,'DEP-00001'),
('2017-11-22 11:49:28','ADMIN','insert','EmployeeDepartment',NULL,'DEP-00002'),
('2017-11-22 11:49:51','ADMIN','insert','EmployeeDepartment',NULL,'DEP-00003'),
('2017-11-22 11:50:14','ADMIN','insert','EmployeeDepartment',NULL,'DEP-00004'),
('2017-11-22 11:50:37','ADMIN','insert','EmployeeDepartment',NULL,'DEP-00005'),
('2017-11-22 11:51:13','ADMIN','insert','EmployeeDepartment',NULL,'DEP-00006'),
('2017-11-22 11:55:42','ADMIN','insert','EmployeePosition',NULL,'supporter'),
('2017-11-22 11:56:46','ADMIN','insert','EmployeePosition',NULL,'web development'),
('2017-11-22 11:57:04','ADMIN','insert','EmployeePosition',NULL,'administrator'),
('2017-11-22 11:57:43','ADMIN','insert','EmployeePosition',NULL,'application developer'),
('2017-11-22 11:58:08','ADMIN','update','EmployeePosition',NULL,'web developer'),
('2017-11-22 11:58:45','ADMIN','insert','EmployeePosition',NULL,'web & application developer'),
('2017-11-22 11:59:01','ADMIN','insert','EmployeeGrade',NULL,'a'),
('2017-11-22 12:03:27','ADMIN','insert','Employee',NULL,'E-00001'),
('2017-11-22 12:05:18','ADMIN','insert','Employee',NULL,'E-00002'),
('2017-11-22 12:07:10','ADMIN','update','EmployeePosition',NULL,'web developer'),
('2017-11-22 12:09:05','ADMIN','insert','Employee',NULL,'E-00003'),
('2017-11-22 13:21:54','ADMIN','insert','Employee',NULL,'E-00004'),
('2017-11-22 13:22:20','ADMIN','update','Employee',NULL,'E-00004'),
('2017-11-22 13:22:20','ADMIN','update','Employee User',NULL,'E-00004'),
('2017-11-22 13:22:52','ADMIN','insert','EmployeePosition',NULL,'designer'),
('2017-11-22 13:23:05','ADMIN','update','Employee',NULL,'E-00004'),
('2017-11-22 13:23:05','ADMIN','update','Employee User',NULL,'E-00004'),
('2017-11-22 13:24:41','ADMIN','insert','Employee',NULL,'E-00005'),
('2017-11-22 13:26:08','ADMIN','insert','Employee',NULL,'E-00006'),
('2017-11-22 13:28:31','ADMIN','insert','Employee',NULL,'E-00007'),
('2017-11-22 13:29:49','ADMIN','insert','EmployeeDepartment',NULL,'DEP-00007'),
('2017-11-22 13:30:28','ADMIN','insert','EmployeePosition',NULL,'mobile developer'),
('2017-11-22 13:32:04','ADMIN','update','Employee',NULL,'E-00007'),
('2017-11-22 13:32:04','ADMIN','update','Employee User',NULL,'E-00007'),
('2017-11-22 13:33:57','ADMIN','insert','Employee',NULL,'E-00008'),
('2017-11-22 13:35:41','ADMIN','insert','Employee',NULL,'E-00009'),
('2017-11-22 13:37:08','ADMIN','insert','Employee',NULL,'E-00010'),
('2017-11-22 13:39:55','ADMIN','insert','Employee',NULL,'E-00011'),
('2017-11-22 13:43:42','ADMIN','insert','Employee',NULL,'E-00012'),
('2017-11-22 13:49:53','ADMIN','insert','Employee',NULL,'E-00013'),
('2017-11-22 13:52:14','ADMIN','insert','Employee',NULL,'E-00014'),
('2017-11-22 13:54:36','ADMIN','insert','Employee',NULL,'E-00015'),
('2017-11-22 13:58:23','ADMIN','insert','Employee',NULL,'E-00016'),
('2017-11-22 14:00:11','ADMIN','insert','Employee',NULL,'E-00017'),
('2017-11-22 14:00:51','ADMIN','insert','EmployeePosition',NULL,'tester'),
('2017-11-22 14:01:02','ADMIN','insert','EmployeeDepartment',NULL,'DEP-00008'),
('2017-11-22 14:13:37','ADMIN','update','Employee',NULL,'E-00001'),
('2017-11-22 14:13:37','ADMIN','update','Employee User',NULL,'E-00001'),
('2017-11-22 14:18:50','ADMIN','update','Employee',NULL,'E-00005'),
('2017-11-22 14:18:50','ADMIN','update','Employee User',NULL,'E-00005'),
('2017-11-22 14:20:24','ADMIN','update','Employee',NULL,'E-00010'),
('2017-11-22 14:20:24','ADMIN','update','Employee User',NULL,'E-00010'),
('2017-11-22 14:22:04','ADMIN','update','Employee',NULL,'E-00009'),
('2017-11-22 14:22:06','ADMIN','update','Employee User',NULL,'E-00009'),
('2017-11-22 14:34:17','ADMIN','insert','WorkShift',NULL,'WS-00001'),
('2017-11-22 14:37:37','ADMIN','update','WorkShift',NULL,'WS-00001'),
('2017-11-22 14:38:32','ADMIN','update','Employee',NULL,'E-00001'),
('2017-11-22 14:38:32','ADMIN','update','Employee User',NULL,'E-00001'),
('2017-11-22 14:40:13','ADMIN','insert','Leave Type',NULL,'LT-00001'),
('2017-11-22 14:40:31','ADMIN','insert','Employee Leave Type',NULL,'E-00001'),
('2017-11-22 14:40:49','ADMIN','insert','Employee Leave Type',NULL,'[E-00001] LT-00001 [E-00002] LT-00001 [E-00003] LT-00001 [E-00004] LT-00001 [E-00005] LT-00001 [E-00006] LT-00001 [E-00007] LT-00001 [E-00008] LT-00001 [E-00009] LT-00001 [E-00010] LT-00001 [E-00011] LT-00001 [E-00012] LT-00001 [E-00013] LT-00001 [E-00014'),
('2017-11-22 14:41:39','ADMIN','insert','Role',NULL,'Role-00001'),
('2017-11-22 14:46:22','ADMIN','update','Setting',NULL,''),
('2017-11-22 14:58:30','ADMIN','import','Attendance',NULL,'LA50B55r4Iw+Y3J6gAm2Yw20171122145745FingerPrint.xlsx'),
('2017-11-22 15:02:49','ADMIN','import','Attendance',NULL,'6VpKQjHhDI+d2qtPeXqU3Q20171122150210FingerPrint.xlsx'),
('2017-11-22 15:05:29','ADMIN','insert','Autofp',NULL,'AutoFP-00001'),
('2017-11-22 15:08:52','ADMIN','update','Setting',NULL,''),
('2018-01-16 15:49:35','ADMIN','insert','Holiday',NULL,'Holiday-00001'),
('2018-01-16 15:50:27','ADMIN','delete','Holiday',NULL,'Holiday-00001'),
('2018-01-16 15:52:31','ADMIN','insert','Holiday',NULL,'Holiday-00002'),
('2018-01-16 15:52:40','ADMIN','delete','Holiday',NULL,'Holiday-00002'),
('2018-01-16 15:54:11','ADMIN','insert','Holiday',NULL,'Holiday-00003'),
('2018-01-16 15:54:18','ADMIN','delete','Holiday',NULL,'Holiday-00003'),
('2018-01-16 16:26:12','ADMIN','insert','Holiday',NULL,'Holiday-00001'),
('2018-01-16 16:27:09','ADMIN','update','Holiday',NULL,'Holiday-00001'),
('2018-01-16 16:28:39','ADMIN','update','Holiday',NULL,'Holiday-00001'),
('2018-01-16 16:32:28','ADMIN','update','Holiday',NULL,'Holiday-00001'),
('2018-01-16 16:37:16','ADMIN','update','Holiday',NULL,'Holiday-00001'),
('2018-01-16 16:38:08','ADMIN','delete','Holiday',NULL,'Holiday-00001'),
('2018-01-31 14:54:38','ADMIN','insert','Holiday',NULL,'Holiday-00001'),
('2018-02-02 14:04:24','ADMIN','update','Employee',NULL,'E-00015'),
('2018-02-02 14:04:24','ADMIN','update','Employee User',NULL,'E-00015'),
('2018-02-02 16:57:42','ADMIN','update','User',NULL,'bunvisal, bunvisal'),
('2018-02-02 16:58:11','ADMIN','update','User',NULL,'chaksamoerun, chaksamoerun'),
('2018-02-02 16:58:20','ADMIN','update','User',NULL,'khuonsovanatey, khuonsovanatey'),
('2018-02-02 16:58:34','ADMIN','update','User',NULL,'saysophannarong, saysophannarong'),
('2018-02-02 16:58:42','ADMIN','update','User',NULL,'channvichet, channvichet'),
('2018-02-02 16:58:48','ADMIN','update','User',NULL,'simfickry, simfickry'),
('2018-02-02 16:58:54','ADMIN','update','User',NULL,'kheavchansotheara, kheavchansotheara'),
('2018-02-02 16:59:00','ADMIN','update','User',NULL,'chunchamroeun, chunchamroeun'),
('2018-02-02 16:59:04','ADMIN','update','User',NULL,'pendarayuth, pendarayuth'),
('2018-02-02 16:59:08','ADMIN','update','User',NULL,'cheanavy, cheanavy'),
('2018-02-02 16:59:12','ADMIN','update','User',NULL,'cheaphakdey, cheaphakdey'),
('2018-02-02 16:59:18','ADMIN','update','User',NULL,'cheasophorn, cheasophorn'),
('2018-02-02 16:59:24','ADMIN','update','User',NULL,'sakhanvichetchenda, sakhanvichetchenda'),
('2018-02-02 16:59:29','ADMIN','update','User',NULL,'uongsathya, uongsathya'),
('2018-02-02 16:59:33','ADMIN','update','User',NULL,'thornsereyvong, thornsereyvong'),
('2018-02-02 16:59:37','ADMIN','update','User',NULL,'chumsomnang, chumsomnang'),
('2018-02-03 10:45:55','ADMIN','update','Setting',NULL,''),
('2018-02-03 10:46:39','ADMIN','insert','Leave Type',NULL,'LT-00002'),
('2018-02-03 10:47:08','ADMIN','insert','Employee Leave Type',NULL,'[E-00001] LT-00002 [E-00002] LT-00002 [E-00003] LT-00002 [E-00004] LT-00002 [E-00005] LT-00002 [E-00006] LT-00002 [E-00007] LT-00002 [E-00008] LT-00002 [E-00009] LT-00002 [E-00010] LT-00002 [E-00011] LT-00002 [E-00012] LT-00002 [E-00013] LT-00002 [E-00014'),
('2018-02-03 10:48:29','ADMIN','insert','Leave',NULL,'Leave-00001'),
('2018-02-03 10:48:34','ADMIN','delete','Leave',NULL,'Leave-00001'),
('2018-02-03 10:50:08','ADMIN','update','User',NULL,'chysambath, chysambath'),
('2018-02-03 10:51:48','ADMIN','update','Role',NULL,'Role-00001'),
('2018-02-03 10:52:32','ADMIN','update','Role',NULL,'Role-00001'),
('2018-02-03 11:11:12','saysophannarong','insert','Leave',NULL,'Leave-00002'),
('2018-02-03 11:24:54','ADMIN','delete','Leave',NULL,'Leave-00002'),
('2018-02-03 11:29:54','ADMIN','insert','Leave',NULL,'Leave-00003'),
('2018-02-03 11:31:41','ADMIN','delete','Leave',NULL,'Leave-00003'),
('2018-02-05 09:54:15','ADMIN','update','Role',NULL,'Role-00001'),
('2018-02-05 10:06:41','ADMIN','update','Role',NULL,'Role-00001'),
('2018-02-09 10:08:36','saysophannarong','insert','Leave',NULL,'Leave-00004'),
('2018-02-12 11:49:43','kheavchansotheara','insert','Leave',NULL,'Leave-00005'),
('2018-02-13 09:46:54','chunchamroeun','insert','Leave',NULL,'Leave-00007'),
('2018-02-12 16:43:38','cheaphakdey','insert','Leave',NULL,'Leave-00006'),
('2018-02-12 18:03:14','ADMIN','insert','Employee',NULL,'E-00018'),
('2018-02-12 18:03:53','ADMIN','update','Employee',NULL,'E-00018'),
('2018-02-12 18:03:53','ADMIN','update','Employee User',NULL,'E-00018'),
('2018-02-13 15:50:49','uongsathya','insert','Leave',NULL,'Leave-00008'),
('2018-02-14 10:30:19','cheanavy','insert','Leave',NULL,'Leave-00009'),
('2018-02-14 10:47:51','cheanavy','update','Setting',NULL,''),
('2018-02-14 10:48:51','cheanavy','insert','Employee',NULL,'E-00019'),
('2018-02-14 10:51:48','cheanavy','insert','Authorisation',NULL,'Auth-00001'),
('2018-02-14 10:52:27','cheanavy','insert','Authorisation',NULL,'Auth-00002'),
('2018-02-14 10:52:57','cheanavy','insert','Authorisation',NULL,'Auth-00003'),
('2018-02-14 11:01:00','thornsereyvong','update','User',NULL,'thornsereyvong, thornsereyvong'),
('2018-02-14 11:09:29','chunchamroeun','insert','EmployeeAuthorisation',NULL,'Many'),
('2018-02-14 11:10:20','chunchamroeun','insert','EmployeeAuthorisation',NULL,'Many'),
('2018-02-14 11:10:44','chunchamroeun','insert','EmployeeAuthorisation',NULL,'Many'),
('2018-02-15 13:55:17','channvichet','insert','Leave',NULL,'Leave-00010'),
('2018-02-23 13:48:49','simfickry','insert','Leave',NULL,'Leave-00011'),
('2018-02-23 14:09:09','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00010'),
('2018-02-23 14:09:16','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00011'),
('2018-02-23 17:05:32','Admin','insert','Authorsation Approve',NULL,'Leave-00010'),
('2018-02-23 17:09:15','Admin','insert','Authorsation Approve',NULL,'Leave-00011'),
('2018-02-23 17:11:22','Admin','update','Employee',NULL,'E-00018'),
('2018-02-23 17:11:22','Admin','update','Employee User',NULL,'E-00018'),
('2018-02-26 08:30:15','cheaphakdey','insert','Leave',NULL,'Leave-00012'),
('2018-02-26 08:37:24','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00012'),
('2018-02-26 11:11:58','ADMIN','insert','Late Duration',NULL,'1, 30, 30'),
('2018-02-26 11:12:15','ADMIN','insert','Late Duration',NULL,'31, 60, 60'),
('2018-02-26 12:09:26','saysophannarong','insert','Leave',NULL,'Leave-00013'),
('2018-02-26 13:02:54','Admin','insert','Authorsation Approve',NULL,'Leave-00012'),
('2018-02-26 13:03:30','Admin','insert','Authorsation Approve',NULL,'Leave-00013'),
('2018-02-26 13:14:53','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00013'),
('2018-03-01 11:34:08','chumsomnang','insert','Leave',NULL,'Leave-00014'),
('2018-03-01 15:20:51','Admin','insert','Authorsation Approve',NULL,'Leave-00014'),
('2018-03-02 12:54:36','ADMIN','insert','Employee',NULL,'E-00020'),
('2018-03-02 12:55:38','ADMIN','insert','User',NULL,'ashley'),
('2018-03-05 11:32:19','ADMIN','insert','Employee',NULL,'E-00021'),
('2018-03-05 11:33:30','ADMIN','update','Employee',NULL,'E-00021'),
('2018-03-05 11:34:10','ADMIN','insert','User',NULL,'pinvandoeurn'),
('2018-03-05 13:29:48','ADMIN','update','Employee',NULL,'E-00021'),
('2018-03-06 08:10:32','ADMIN','update','Employee',NULL,'E-00002'),
('2018-03-06 08:10:32','ADMIN','update','Employee User',NULL,'E-00002'),
('2018-03-06 08:10:54','ADMIN','update','User',NULL,'chumsomnang, chumsamnang'),
('2018-03-06 12:54:36','thornsereyvong','insert','Leave',NULL,'Leave-00015'),
('2018-03-06 12:59:17','thornsereyvong','update','Leave',NULL,'Leave-00015'),
('2018-03-06 13:01:07','ADMIN','update','Employee',NULL,'E-00019'),
('2018-03-06 13:01:13','ADMIN','update','Employee User',NULL,'E-00019'),
('2018-03-06 13:53:39','ADMIN','insert','Holiday',NULL,'Holiday-00002'),
('2018-03-07 08:16:57','ADMIN','update','Employee',NULL,'E-00019'),
('2018-03-07 08:16:57','ADMIN','update','Employee User',NULL,'E-00019'),
('2018-03-07 08:18:33','Admin','insert','Authorsation Approve',NULL,'Leave-00015'),
('2018-03-07 09:28:36','cheanavy','insert','Leave',NULL,'Leave-00016'),
('2018-03-07 09:31:50','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00016'),
('2018-03-07 09:42:35','Admin','insert','Authorsation Approve',NULL,'Leave-00016'),
('2018-03-09 09:48:56','ADMIN','insert','Employee Leave Type',NULL,'[E-00015] LT-00002 [E-00016] LT-00002 [E-00017] LT-00002 [E-00014] LT-00002 [E-00013] LT-00002 [E-00012] LT-00002 [E-00011] LT-00002 [E-00010] LT-00002 [E-00009] LT-00002 [E-00007] LT-00002 [E-00008] LT-00002 [E-00006] LT-00002 [E-00005] LT-00002 [E-00004'),
('2018-03-09 09:53:50','hanhsocheata','insert','Leave',NULL,'Leave-00017'),
('2018-03-09 10:23:09','ADMIN','insert','Authorisation',NULL,'Auth-00004'),
('2018-03-09 10:24:12','ADMIN','delete','Employee Authorisation',NULL,'E-00018, Leave, Auth-00003'),
('2018-03-09 10:24:31','ADMIN','insert','EmployeeAuthorisation',NULL,'Many'),
('2018-03-09 10:24:51','ADMIN','insert','EmployeeAuthorisation',NULL,'Many'),
('2018-03-09 10:25:20','ADMIN','update','Leave',NULL,'Leave-00017'),
('2018-03-09 10:26:57','chumsamnang','insert','Authorsation Approve',NULL,'Leave-00017'),
('2018-03-09 10:29:46','ADMIN','update','User',NULL,'pinvandoeurn, pinvandoeurn'),
('2018-03-09 10:36:51','Admin','insert','Authorsation Approve',NULL,'Leave-00017'),
('2018-03-09 14:01:10','ADMIN','insert','Employee',NULL,'E-00022'),
('2018-03-09 14:04:20','ADMIN','insert','User',NULL,'peoudara'),
('2018-03-10 09:52:47','pinvandoeurn','insert','Leave',NULL,'Leave-00018'),
('2018-03-10 11:10:18','ADMIN','insert','Leave',NULL,'Leave-00019'),
('2018-03-10 11:11:18','Admin','insert','Authorsation Approve',NULL,'Leave-00019'),
('2018-03-10 11:11:31','Admin','insert','Authorsation Approve',NULL,'Leave-00018'),
('2018-03-10 11:12:37','cheasophorn','insert','Authorsation Approve',NULL,'Leave-00019'),
('2018-03-12 08:09:22','ADMIN','insert','Leave Type',NULL,'LT-00003'),
('2018-03-12 08:10:20','ADMIN','insert','Employee Leave Type',NULL,'[E-00002] LT-00003 [E-00004] LT-00003 [E-00006] LT-00003 [E-00007] LT-00003 [E-00008] LT-00003 [E-00009] LT-00003 [E-00010] LT-00003 [E-00011] LT-00003 [E-00012] LT-00003 [E-00014] LT-00003 [E-00015] LT-00003 [E-00016] LT-00003 [E-00018] LT-00003 [E-00021'),
('2018-03-12 08:35:49','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00018'),
('2018-03-12 10:17:30','ADMIN','update','Employee',NULL,'E-00002'),
('2018-03-12 10:17:30','ADMIN','update','Employee User',NULL,'E-00002'),
('2018-03-12 10:17:47','chumsamnang','insert','Leave',NULL,'Leave-00020'),
('2018-03-12 10:37:45','pendarayuth','insert','Leave',NULL,'Leave-00021'),
('2018-03-12 15:32:48','chunchamroeun','insert','Leave',NULL,'Leave-00022'),
('2018-03-12 15:38:12','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00022'),
('2018-03-13 08:44:38','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00021'),
('2018-03-13 13:45:38','Admin','insert','Authorsation Approve',NULL,'Leave-00022'),
('2018-03-13 13:45:55','Admin','insert','Authorsation Approve',NULL,'Leave-00021'),
('2018-03-13 13:46:01','Admin','insert','Authorsation Approve',NULL,'Leave-00020'),
('2018-03-15 07:57:43','ADMIN','update','User',NULL,'chysambath, chysambath'),
('2018-03-15 12:39:54','ashley','update','Employee',NULL,'E-00020'),
('2018-03-15 12:39:54','ashley','update','Employee User',NULL,'E-00020'),
('2018-03-15 12:42:56','ashley','update','Employee',NULL,'E-00016'),
('2018-03-15 12:42:56','ashley','update','Employee User',NULL,'E-00016'),
('2018-03-15 17:12:48','cheanavy','insert','Leave',NULL,'Leave-00023'),
('2018-03-15 20:52:56','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00023'),
('2018-03-16 10:31:57','Admin','insert','Authorsation Approve',NULL,'Leave-00023'),
('2018-03-19 08:35:44','cheaphakdey','insert','Leave',NULL,'Leave-00024'),
('2018-03-19 08:37:03','cheaphakdey','insert','Leave',NULL,'Leave-00025'),
('2018-03-20 09:55:44','ashley','delete','Employee',NULL,'E-00022'),
('2018-03-20 10:04:44','ashley','update','EmployeeBranch',NULL,'BRANCH-00001'),
('2018-03-20 10:09:24','ashley','update','EmployeeDepartment',NULL,'DEP-00001'),
('2018-03-20 10:09:52','ashley','update','EmployeeDepartment',NULL,'DEP-00002'),
('2018-03-20 10:10:59','ashley','update','EmployeeDepartment',NULL,'DEP-00003'),
('2018-03-20 10:11:38','ashley','update','EmployeeDepartment',NULL,'DEP-00004'),
('2018-03-20 10:12:13','ashley','update','EmployeeDepartment',NULL,'DEP-00005'),
('2018-03-20 10:12:50','ashley','update','EmployeeDepartment',NULL,'DEP-00006'),
('2018-03-20 10:13:07','ashley','update','EmployeeDepartment',NULL,'DEP-00007'),
('2018-03-20 10:16:07','ashley','insert','EmployeeBank',NULL,'Bank-00001'),
('2018-03-20 10:18:55','ashley','insert','EmployeeLanguage',NULL,'khmer'),
('2018-03-20 10:19:07','ashley','insert','EmployeeLanguage',NULL,'english'),
('2018-03-20 10:19:17','ashley','insert','EmployeeLanguage',NULL,'mandarin'),
('2018-03-20 10:19:28','ashley','insert','EmployeeLanguage',NULL,'others'),
('2018-03-20 10:19:53','ashley','insert','EmployeeLevel',NULL,'beginner'),
('2018-03-20 10:20:07','ashley','insert','EmployeeLevel',NULL,'intermediate'),
('2018-03-20 10:20:17','ashley','insert','EmployeeLevel',NULL,'advance'),
('2018-03-20 10:20:26','ashley','insert','EmployeeLevel',NULL,'native'),
('2018-03-20 10:20:47','ashley','insert','Country',NULL,'cambodia'),
('2018-03-20 10:21:05','ashley','insert','EmployeeNationality',NULL,'cambodian'),
('2018-03-20 10:21:46','ashley','update','Employee',NULL,'E-00001'),
('2018-03-20 10:21:46','ashley','update','Employee User',NULL,'E-00001'),
('2018-03-20 10:22:05','ashley','insert','EmployeeNationals',NULL,'cambodia'),
('2018-03-20 10:27:26','ashley','update','Employee',NULL,'E-00001'),
('2018-03-20 10:27:26','ashley','update','Employee User',NULL,'E-00001'),
('2018-03-20 10:31:36','ashley','update','Employee',NULL,'E-00002'),
('2018-03-20 10:31:36','ashley','update','Employee User',NULL,'E-00002'),
('2018-03-20 10:34:22','ashley','update','Employee',NULL,'E-00003'),
('2018-03-20 10:34:22','ashley','update','Employee User',NULL,'E-00003'),
('2018-03-20 10:37:30','ashley','update','Employee',NULL,'E-00004'),
('2018-03-20 10:37:30','ashley','update','Employee User',NULL,'E-00004'),
('2018-03-20 10:40:18','ashley','update','Employee',NULL,'E-00005'),
('2018-03-20 10:40:18','ashley','update','Employee User',NULL,'E-00005'),
('2018-03-20 10:43:12','ashley','update','Employee',NULL,'E-00006'),
('2018-03-20 10:43:13','ashley','update','Employee User',NULL,'E-00006'),
('2018-03-20 10:50:53','ashley','update','Employee',NULL,'E-00007'),
('2018-03-20 10:50:53','ashley','update','Employee User',NULL,'E-00007'),
('2018-03-20 10:55:34','ashley','update','Employee',NULL,'E-00008'),
('2018-03-20 10:55:34','ashley','update','Employee User',NULL,'E-00008'),
('2018-03-20 11:00:17','ashley','update','Employee',NULL,'E-00009'),
('2018-03-20 11:00:17','ashley','update','Employee User',NULL,'E-00009'),
('2018-03-20 11:03:41','ashley','update','Employee',NULL,'E-00010'),
('2018-03-20 11:03:41','ashley','update','Employee User',NULL,'E-00010'),
('2018-03-20 11:07:12','ashley','update','Employee',NULL,'E-00011'),
('2018-03-20 11:07:12','ashley','update','Employee User',NULL,'E-00011'),
('2018-03-20 11:15:50','ashley','update','Employee',NULL,'E-00009'),
('2018-03-20 11:15:50','ashley','update','Employee User',NULL,'E-00009'),
('2018-03-20 11:16:32','ashley','update','Employee',NULL,'E-00010'),
('2018-03-20 11:16:32','ashley','update','Employee User',NULL,'E-00010'),
('2018-03-20 11:20:10','ashley','update','Employee',NULL,'E-00012'),
('2018-03-20 11:20:10','ashley','update','Employee User',NULL,'E-00012'),
('2018-03-20 11:20:51','ashley','update','Employee',NULL,'E-00012'),
('2018-03-20 11:20:51','ashley','update','Employee User',NULL,'E-00012'),
('2018-03-20 11:23:21','ashley','update','Employee',NULL,'E-00013'),
('2018-03-20 11:23:21','ashley','update','Employee User',NULL,'E-00013'),
('2018-03-20 11:26:33','ashley','update','Employee',NULL,'E-00014'),
('2018-03-20 11:26:33','ashley','update','Employee User',NULL,'E-00014'),
('2018-03-20 11:27:18','ashley','update','Employee',NULL,'E-00015'),
('2018-03-20 11:27:18','ashley','update','Employee User',NULL,'E-00015'),
('2018-03-20 11:32:35','ashley','update','Employee',NULL,'E-00016'),
('2018-03-20 11:32:35','ashley','update','Employee User',NULL,'E-00016'),
('2018-03-20 11:33:45','ashley','update','Employee',NULL,'E-00017'),
('2018-03-20 11:33:45','ashley','update','Employee User',NULL,'E-00017'),
('2018-03-20 11:36:52','ashley','update','Employee',NULL,'E-00018'),
('2018-03-20 11:36:52','ashley','update','Employee User',NULL,'E-00018'),
('2018-03-20 11:41:32','ashley','update','Employee',NULL,'E-00019'),
('2018-03-20 11:41:32','ashley','update','Employee User',NULL,'E-00019'),
('2018-03-20 11:42:25','ashley','update','Employee',NULL,'E-00020'),
('2018-03-20 11:42:25','ashley','update','Employee User',NULL,'E-00020'),
('2018-03-20 11:42:35','ashley','update','Employee',NULL,'E-00020'),
('2018-03-20 11:42:35','ashley','update','Employee User',NULL,'E-00020'),
('2018-03-20 11:44:15','ashley','update','Employee',NULL,'E-00021'),
('2018-03-20 11:44:15','ashley','update','Employee User',NULL,'E-00021'),
('2018-03-20 11:49:10','ashley','insert','Employee',NULL,'E-00023'),
('2018-03-20 11:53:43','ashley','insert','Holiday',NULL,'Holiday-00003'),
('2018-03-20 11:54:50','ashley','insert','Holiday',NULL,'Holiday-00004'),
('2018-03-20 11:55:21','ashley','insert','Holiday',NULL,'Holiday-00005'),
('2018-03-20 11:55:48','ashley','insert','Holiday',NULL,'Holiday-00006'),
('2018-03-20 11:56:17','ashley','insert','Holiday',NULL,'Holiday-00007'),
('2018-03-20 11:56:59','ashley','insert','Holiday',NULL,'Holiday-00008'),
('2018-03-20 11:57:45','ashley','insert','Holiday',NULL,'Holiday-00009'),
('2018-03-20 11:58:15','ashley','insert','Holiday',NULL,'Holiday-00010'),
('2018-03-20 11:58:56','ashley','insert','Holiday',NULL,'Holiday-00011'),
('2018-03-20 11:59:54','ashley','insert','Holiday',NULL,'Holiday-00012'),
('2018-03-20 12:00:32','ashley','insert','Holiday',NULL,'Holiday-00013'),
('2018-03-20 12:00:58','ashley','insert','Holiday',NULL,'Holiday-00014'),
('2018-03-20 12:02:15','ashley','insert','Holiday',NULL,'Holiday-00015'),
('2018-03-20 12:18:43','ashley','insert','Currency',NULL,'CUR-00001'),
('2018-03-20 14:01:06','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00024'),
('2018-03-20 20:48:14','pinvandoeurn','insert','Leave',NULL,'Leave-00026'),
('2018-03-20 22:37:19','Admin','insert','Authorsation Approve',NULL,'Leave-00024'),
('2018-03-21 09:28:27','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00025'),
('2018-03-21 09:28:32','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00026'),
('2018-03-22 14:13:41','ADMIN','insert','Employee',NULL,'E-00024'),
('2018-03-22 14:16:22','ADMIN','insert','User',NULL,'test'),
('2018-03-22 14:43:41','ADMIN','delete','User',NULL,'test'),
('2018-03-22 14:45:45','ADMIN','insert','User',NULL,'test'),
('2018-03-22 14:46:09','ADMIN','delete','User',NULL,'test'),
('2018-03-22 14:46:58','ADMIN','insert','User',NULL,'test'),
('2018-03-22 14:47:10','ADMIN','delete','User',NULL,'test'),
('2018-03-22 14:47:53','ADMIN','insert','User',NULL,'test'),
('2018-03-22 14:48:06','ADMIN','delete','User',NULL,'test'),
('2018-03-22 14:51:44','ADMIN','insert','User',NULL,'test'),
('2018-03-22 14:52:03','ADMIN','delete','User',NULL,'test'),
('2018-03-22 14:55:25','ADMIN','insert','User',NULL,'test'),
('2018-03-22 14:55:33','ADMIN','delete','User',NULL,'test'),
('2018-03-22 14:58:47','ADMIN','insert','User',NULL,'test'),
('2018-03-22 14:59:22','ADMIN','delete','User',NULL,'test'),
('2018-03-22 15:05:17','ADMIN','update','User',NULL,'khuonsovanatey, khuonsovanatey'),
('2018-03-22 15:11:41','ADMIN','update','User',NULL,'peoudara, peoudara'),
('2018-03-22 16:59:02','ADMIN','update','User',NULL,'uongsathya, uongsathya'),
('2018-03-22 16:59:23','ADMIN','update','User',NULL,'chumsamnang, chumsamnang'),
('2018-03-22 16:59:31','ADMIN','update','User',NULL,'chysambath, chysambath'),
('2018-03-26 10:38:05','ashley','update','Employee',NULL,'E-00005'),
('2018-03-26 10:38:05','ashley','update','Employee Skill',NULL,'E-00005'),
('2018-03-26 10:38:06','ashley','update','Employee User',NULL,'E-00005'),
('2018-03-26 10:38:53','ashley','insert','EmployeeSchool',NULL,'setec institute'),
('2018-03-26 10:40:19','ashley','insert','EmployeeSchool',NULL,'high school'),
('2018-03-26 10:40:37','ashley','insert','EmployeeSchool',NULL,'language school'),
('2018-03-26 10:41:19','ashley','insert','EmployeeGrade',NULL,'b'),
('2018-03-26 10:41:28','ashley','insert','EmployeeGrade',NULL,'c'),
('2018-03-26 10:41:37','ashley','insert','EmployeeGrade',NULL,'d'),
('2018-03-26 10:41:47','ashley','insert','EmployeeGrade',NULL,'e'),
('2018-03-28 06:56:15','channvichet','insert','Leave',NULL,'Leave-00027'),
('2018-03-28 08:06:52','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00027'),
('2018-03-28 08:30:30','kheavchansotheara','insert','Leave',NULL,'Leave-00028'),
('2018-03-28 08:32:35','kheavchansotheara','update','Leave',NULL,'Leave-00028'),
('2018-03-28 09:48:59','cheasophorn','insert','Authorsation Approve',NULL,'Leave-00028'),
('2018-03-28 09:54:51','Admin','insert','Authorsation Approve',NULL,'Leave-00025'),
('2018-03-28 09:55:07','Admin','insert','Authorsation Approve',NULL,'Leave-00026'),
('2018-03-28 09:55:28','Admin','insert','Authorsation Approve',NULL,'Leave-00027'),
('2018-03-28 09:56:56','Admin','insert','Authorsation Approve',NULL,'Leave-00028'),
('2018-03-29 12:41:40','ashley','update','Employee',NULL,'E-00001'),
('2018-03-29 12:41:40','ashley','update','Employee Skill',NULL,'E-00001'),
('2018-03-29 12:41:40','ashley','update','Employee Language',NULL,'E-00001'),
('2018-03-29 12:41:40','ashley','update','Employee Education',NULL,'E-00001'),
('2018-03-29 12:41:40','ashley','update','Employee Family',NULL,'E-00001'),
('2018-03-29 12:41:40','ashley','update','Employee User',NULL,'E-00001'),
('2018-03-29 12:42:19','ashley','delete','Employee',NULL,'E-00017'),
('2018-03-29 12:48:23','ashley','update','Employee',NULL,'E-00009'),
('2018-03-29 12:48:23','ashley','update','Employee User',NULL,'E-00009'),
('2018-03-29 12:48:45','ashley','insert','EmployeeSchool',NULL,'university'),
('2018-03-29 12:49:08','ashley','insert','EmployeeSchool',NULL,'korea software hrd center'),
('2018-03-29 12:53:42','ashley','delete','EmployeeLanguage',NULL,'Others'),
('2018-03-29 12:53:53','ashley','insert','EmployeeLanguage',NULL,'korea'),
('2018-03-29 12:56:14','ashley','update','Employee',NULL,'E-00009'),
('2018-03-29 12:56:14','ashley','update','Employee Education',NULL,'E-00009'),
('2018-03-29 12:56:14','ashley','update','Employee User',NULL,'E-00009'),
('2018-03-29 12:57:15','ashley','update','Employee',NULL,'E-00009'),
('2018-03-29 12:57:15','ashley','update','Employee Education',NULL,'E-00009'),
('2018-03-29 12:57:15','ashley','update','Employee Experience',NULL,'E-00009'),
('2018-03-29 12:57:15','ashley','update','Employee User',NULL,'E-00009'),
('2018-03-29 12:58:03','ashley','update','Employee',NULL,'E-00009'),
('2018-03-29 12:58:03','ashley','update','Employee Language',NULL,'E-00009'),
('2018-03-29 12:58:03','ashley','update','Employee Education',NULL,'E-00009'),
('2018-03-29 12:58:03','ashley','update','Employee Experience',NULL,'E-00009'),
('2018-03-29 12:58:07','ashley','update','Employee User',NULL,'E-00009'),
('2018-03-29 13:24:12','ashley','update','Employee',NULL,'E-00005'),
('2018-03-29 13:24:12','ashley','update','Employee Skill',NULL,'E-00005'),
('2018-03-29 13:24:12','ashley','update','Employee User',NULL,'E-00005'),
('2018-03-29 13:27:57','ashley','update','Employee',NULL,'E-00005'),
('2018-03-29 13:27:57','ashley','update','Employee Skill',NULL,'E-00005'),
('2018-03-29 13:27:57','ashley','update','Employee Language',NULL,'E-00005'),
('2018-03-29 13:27:57','ashley','update','Employee Education',NULL,'E-00005'),
('2018-03-29 13:27:57','ashley','update','Employee User',NULL,'E-00005'),
('2018-03-29 13:28:30','ashley','update','Employee',NULL,'E-00005'),
('2018-03-29 13:28:30','ashley','update','Employee Skill',NULL,'E-00005'),
('2018-03-29 13:28:30','ashley','update','Employee Language',NULL,'E-00005'),
('2018-03-29 13:28:30','ashley','update','Employee Education',NULL,'E-00005'),
('2018-03-29 13:28:30','ashley','update','Employee Family',NULL,'E-00005'),
('2018-03-29 13:28:30','ashley','update','Employee User',NULL,'E-00005'),
('2018-03-29 13:34:12','ashley','update','Employee',NULL,'E-00005'),
('2018-03-29 13:34:12','ashley','update','Employee Skill',NULL,'E-00005'),
('2018-03-29 13:34:12','ashley','update','Employee Language',NULL,'E-00005'),
('2018-03-29 13:34:12','ashley','update','Employee Education',NULL,'E-00005'),
('2018-03-29 13:34:12','ashley','update','Employee Family',NULL,'E-00005'),
('2018-03-29 13:34:12','ashley','update','Employee User',NULL,'E-00005'),
('2018-03-29 13:57:19','ashley','update','Employee',NULL,'E-00004'),
('2018-03-29 13:57:19','ashley','update','Employee User',NULL,'E-00004'),
('2018-03-29 14:01:35','ashley','update','Employee',NULL,'E-00004'),
('2018-03-29 14:01:35','ashley','update','Employee Skill',NULL,'E-00004'),
('2018-03-29 14:01:35','ashley','update','Employee Language',NULL,'E-00004'),
('2018-03-29 14:01:35','ashley','update','Employee User',NULL,'E-00004'),
('2018-03-29 14:02:18','ashley','update','Employee',NULL,'E-00004'),
('2018-03-29 14:02:18','ashley','update','Employee Skill',NULL,'E-00004'),
('2018-03-29 14:02:18','ashley','update','Employee Language',NULL,'E-00004'),
('2018-03-29 14:02:18','ashley','update','Employee Education',NULL,'E-00004'),
('2018-03-29 14:02:18','ashley','update','Employee User',NULL,'E-00004'),
('2018-03-29 14:19:22','channvichet','insert','Leave',NULL,'Leave-00029'),
('2018-03-29 14:19:59','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00029'),
('2018-03-29 14:21:12','sakhanvichetchenda','insert','Leave',NULL,'Leave-00030'),
('2018-03-29 14:21:50','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00030'),
('2018-03-29 15:30:10','Admin','insert','Authorsation Approve',NULL,'Leave-00029'),
('2018-03-29 15:30:32','Admin','insert','Authorsation Approve',NULL,'Leave-00030'),
('2018-03-30 08:26:10','chumsamnang','insert','Leave',NULL,'Leave-00031'),
('2018-03-30 10:16:16','ashley','update','Employee',NULL,'E-00012'),
('2018-03-30 10:16:16','ashley','update','Employee User',NULL,'E-00012'),
('2018-03-30 10:18:33','ashley','update','Employee',NULL,'E-00012'),
('2018-03-30 10:18:33','ashley','update','Employee User',NULL,'E-00012'),
('2018-03-30 10:33:41','ashley','update','Employee',NULL,'E-00012'),
('2018-03-30 10:33:41','ashley','update','Employee Skill',NULL,'E-00012'),
('2018-03-30 10:33:41','ashley','update','Employee Language',NULL,'E-00012'),
('2018-03-30 10:33:41','ashley','update','Employee Education',NULL,'E-00012'),
('2018-03-30 10:33:41','ashley','update','Employee User',NULL,'E-00012'),
('2018-03-30 10:38:12','ashley','update','Employee',NULL,'E-00006'),
('2018-03-30 10:38:12','ashley','update','Employee Skill',NULL,'E-00006'),
('2018-03-30 10:38:12','ashley','update','Employee Language',NULL,'E-00006'),
('2018-03-30 10:38:12','ashley','update','Employee Education',NULL,'E-00006'),
('2018-03-30 10:38:12','ashley','update','Employee User',NULL,'E-00006'),
('2018-03-30 10:38:25','ashley','delete','Employee',NULL,'E-00015'),
('2018-03-30 10:43:35','ashley','update','Employee',NULL,'E-00011'),
('2018-03-30 10:43:35','ashley','update','Employee Skill',NULL,'E-00011'),
('2018-03-30 10:43:35','ashley','update','Employee Language',NULL,'E-00011'),
('2018-03-30 10:43:35','ashley','update','Employee Education',NULL,'E-00011'),
('2018-03-30 10:43:35','ashley','update','Employee User',NULL,'E-00011'),
('2018-03-30 10:46:38','ashley','update','Employee',NULL,'E-00011'),
('2018-03-30 10:46:38','ashley','update','Employee Skill',NULL,'E-00011'),
('2018-03-30 10:46:38','ashley','update','Employee Language',NULL,'E-00011'),
('2018-03-30 10:46:38','ashley','update','Employee Education',NULL,'E-00011'),
('2018-03-30 10:46:38','ashley','update','Employee User',NULL,'E-00011'),
('2018-03-30 10:53:34','ashley','update','Employee',NULL,'E-00003'),
('2018-03-30 10:53:34','ashley','update','Employee Skill',NULL,'E-00003'),
('2018-03-30 10:53:34','ashley','update','Employee Language',NULL,'E-00003'),
('2018-03-30 10:53:34','ashley','update','Employee Education',NULL,'E-00003'),
('2018-03-30 10:53:34','ashley','update','Employee Experience',NULL,'E-00003'),
('2018-03-30 10:53:34','ashley','update','Employee User',NULL,'E-00003'),
('2018-03-30 10:56:33','ashley','update','Employee',NULL,'E-00003'),
('2018-03-30 10:56:33','ashley','update','Employee Skill',NULL,'E-00003'),
('2018-03-30 10:56:33','ashley','update','Employee Language',NULL,'E-00003'),
('2018-03-30 10:56:33','ashley','update','Employee Education',NULL,'E-00003'),
('2018-03-30 10:56:33','ashley','update','Employee Experience',NULL,'E-00003'),
('2018-03-30 10:56:33','ashley','update','Employee User',NULL,'E-00003'),
('2018-03-30 11:06:33','ashley','update','Employee',NULL,'E-00007'),
('2018-03-30 11:06:33','ashley','update','Employee Skill',NULL,'E-00007'),
('2018-03-30 11:06:33','ashley','update','Employee Language',NULL,'E-00007'),
('2018-03-30 11:06:33','ashley','update','Employee Education',NULL,'E-00007'),
('2018-03-30 11:06:33','ashley','update','Employee Experience',NULL,'E-00007'),
('2018-03-30 11:06:33','ashley','update','Employee User',NULL,'E-00007'),
('2018-03-30 11:09:19','ashley','update','Employee',NULL,'E-00007'),
('2018-03-30 11:09:19','ashley','update','Employee Skill',NULL,'E-00007'),
('2018-03-30 11:09:19','ashley','update','Employee Language',NULL,'E-00007'),
('2018-03-30 11:09:19','ashley','update','Employee Education',NULL,'E-00007'),
('2018-03-30 11:09:19','ashley','update','Employee Experience',NULL,'E-00007'),
('2018-03-30 11:09:19','ashley','update','Employee User',NULL,'E-00007'),
('2018-03-30 11:13:53','ashley','update','Employee',NULL,'E-00008'),
('2018-03-30 11:13:53','ashley','update','Employee Skill',NULL,'E-00008'),
('2018-03-30 11:13:53','ashley','update','Employee Language',NULL,'E-00008'),
('2018-03-30 11:13:53','ashley','update','Employee Education',NULL,'E-00008'),
('2018-03-30 11:13:53','ashley','update','Employee User',NULL,'E-00008'),
('2018-03-30 11:21:38','ashley','update','Employee',NULL,'E-00014'),
('2018-03-30 11:21:38','ashley','update','Employee Skill',NULL,'E-00014'),
('2018-03-30 11:21:38','ashley','update','Employee Language',NULL,'E-00014'),
('2018-03-30 11:21:38','ashley','update','Employee Education',NULL,'E-00014'),
('2018-03-30 11:21:38','ashley','update','Employee User',NULL,'E-00014'),
('2018-03-30 11:22:59','chysambath','insert','Leave',NULL,'Leave-00032'),
('2018-03-30 11:23:35','ashley','update','Employee',NULL,'E-00014'),
('2018-03-30 11:23:35','ashley','update','Employee Skill',NULL,'E-00014'),
('2018-03-30 11:23:35','ashley','update','Employee Language',NULL,'E-00014'),
('2018-03-30 11:23:35','ashley','update','Employee Education',NULL,'E-00014'),
('2018-03-30 11:23:35','ashley','update','Employee User',NULL,'E-00014'),
('2018-03-30 11:24:35','cheasophorn','insert','Authorsation Approve',NULL,'Leave-00032'),
('2018-03-30 11:30:44','ashley','update','Employee',NULL,'E-00010'),
('2018-03-30 11:30:44','ashley','update','Employee Skill',NULL,'E-00010'),
('2018-03-30 11:30:44','ashley','update','Employee Language',NULL,'E-00010'),
('2018-03-30 11:30:44','ashley','update','Employee Education',NULL,'E-00010'),
('2018-03-30 11:30:44','ashley','update','Employee Training',NULL,'E-00010'),
('2018-03-30 11:30:44','ashley','update','Employee User',NULL,'E-00010'),
('2018-03-30 11:42:16','ashley','update','Employee',NULL,'E-00018'),
('2018-03-30 11:42:16','ashley','update','Employee Skill',NULL,'E-00018'),
('2018-03-30 11:42:16','ashley','update','Employee Language',NULL,'E-00018'),
('2018-03-30 11:42:16','ashley','update','Employee User',NULL,'E-00018'),
('2018-03-30 12:21:34','Admin','insert','Authorsation Approve',NULL,'Leave-00031'),
('2018-03-30 12:21:52','Admin','insert','Authorsation Approve',NULL,'Leave-00032'),
('2018-03-31 10:19:28','cheaphakdey','insert','Leave',NULL,'Leave-00033'),
('2018-03-31 10:20:14','cheaphakdey','insert','Leave',NULL,'Leave-00034'),
('2018-03-31 11:26:51','cheanavy','insert','Leave',NULL,'Leave-00035'),
('2018-04-02 08:18:24','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00034'),
('2018-04-02 08:18:32','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00033'),
('2018-04-02 08:18:51','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00035'),
('2018-04-02 08:31:30','thornsereyvong','insert','Leave',NULL,'Leave-00036'),
('2018-04-02 09:13:16','ADMIN','insert','Employee',NULL,'E-00025'),
('2018-04-02 09:14:34','ADMIN','insert','Employee',NULL,'E-00026'),
('2018-04-02 09:14:56','ADMIN','update','Employee',NULL,'E-00026'),
('2018-04-02 09:15:41','ADMIN','insert','User',NULL,'lyboung'),
('2018-04-02 09:16:27','ADMIN','insert','User',NULL,'gnemchansethavid'),
('2018-04-02 09:30:01','ashley','update','Employee',NULL,'E-00002'),
('2018-04-02 09:30:05','ashley','update','Employee User',NULL,'E-00002'),
('2018-04-02 09:43:43','ashley','update','Employee',NULL,'E-00002'),
('2018-04-02 09:43:43','ashley','update','Employee Skill',NULL,'E-00002'),
('2018-04-02 09:43:43','ashley','update','Employee Language',NULL,'E-00002'),
('2018-04-02 09:43:43','ashley','update','Employee Education',NULL,'E-00002'),
('2018-04-02 09:43:43','ashley','update','Employee Experience',NULL,'E-00002'),
('2018-04-02 09:43:43','ashley','update','Employee User',NULL,'E-00002'),
('2018-04-02 09:45:30','ashley','update','Employee',NULL,'E-00002'),
('2018-04-02 09:45:30','ashley','update','Employee Skill',NULL,'E-00002'),
('2018-04-02 09:45:30','ashley','update','Employee Language',NULL,'E-00002'),
('2018-04-02 09:45:30','ashley','update','Employee Education',NULL,'E-00002'),
('2018-04-02 09:45:30','ashley','update','Employee Experience',NULL,'E-00002'),
('2018-04-02 09:45:30','ashley','update','Employee User',NULL,'E-00002'),
('2018-04-02 11:27:02','ashley','update','Employee',NULL,'E-00026'),
('2018-04-02 11:27:07','ashley','update','Employee Skill',NULL,'E-00026'),
('2018-04-02 11:27:07','ashley','update','Employee Language',NULL,'E-00026'),
('2018-04-02 11:27:07','ashley','update','Employee Education',NULL,'E-00026'),
('2018-04-02 11:44:02','Admin','insert','Authorsation Approve',NULL,'Leave-00036'),
('2018-04-02 11:44:14','Admin','insert','Authorsation Approve',NULL,'Leave-00035'),
('2018-04-02 11:44:35','Admin','insert','Authorsation Approve',NULL,'Leave-00033'),
('2018-04-02 11:44:56','Admin','insert','Authorsation Approve',NULL,'Leave-00034'),
('2018-04-02 11:47:21','ashley','update','Employee',NULL,'E-00021'),
('2018-04-02 11:47:21','ashley','update','Employee User',NULL,'E-00021'),
('2018-04-02 11:52:02','ashley','update','Employee',NULL,'E-00021'),
('2018-04-02 11:52:02','ashley','update','Employee Skill',NULL,'E-00021'),
('2018-04-02 11:52:02','ashley','update','Employee Language',NULL,'E-00021'),
('2018-04-02 11:52:02','ashley','update','Employee Education',NULL,'E-00021'),
('2018-04-02 11:52:02','ashley','update','Employee User',NULL,'E-00021'),
('2018-04-02 12:03:52','ashley','update','Employee',NULL,'E-00013'),
('2018-04-02 12:03:52','ashley','update','Employee Skill',NULL,'E-00013'),
('2018-04-02 12:03:52','ashley','update','Employee Language',NULL,'E-00013'),
('2018-04-02 12:03:52','ashley','update','Employee Education',NULL,'E-00013'),
('2018-04-02 12:03:52','ashley','update','Employee User',NULL,'E-00013'),
('2018-04-02 12:17:08','ashley','update','Employee',NULL,'E-00025'),
('2018-04-02 12:17:08','ashley','update','Employee User',NULL,'E-00025'),
('2018-04-02 12:20:43','ashley','update','Employee',NULL,'E-00025'),
('2018-04-02 12:20:43','ashley','update','Employee Skill',NULL,'E-00025'),
('2018-04-02 12:20:43','ashley','update','Employee Language',NULL,'E-00025'),
('2018-04-02 12:20:43','ashley','update','Employee Education',NULL,'E-00025'),
('2018-04-02 12:20:43','ashley','update','Employee User',NULL,'E-00025'),
('2018-04-02 12:21:05','ashley','update','Employee',NULL,'E-00025'),
('2018-04-02 12:21:05','ashley','update','Employee Skill',NULL,'E-00025'),
('2018-04-02 12:21:05','ashley','update','Employee Language',NULL,'E-00025'),
('2018-04-02 12:21:05','ashley','update','Employee Education',NULL,'E-00025'),
('2018-04-02 12:21:07','ashley','update','Employee User',NULL,'E-00025'),
('2018-04-02 12:21:29','ashley','update','Employee',NULL,'E-00016'),
('2018-04-02 12:21:29','ashley','update','Employee User',NULL,'E-00016'),
('2018-04-03 10:08:13','ashley','insert','Payroll',NULL,'Payroll-00001'),
('2018-04-03 10:09:20','ashley','insert','Salary',NULL,'E-00020'),
('2018-04-03 10:26:10','ashley','update','Setting',NULL,''),
('2018-04-03 10:28:50','ashley','insert','Salary',NULL,'E-00016'),
('2018-04-03 10:29:57','ashley','update','Employee',NULL,'E-00016'),
('2018-04-03 10:29:57','ashley','update','Employee User',NULL,'E-00016'),
('2018-04-03 10:38:06','ashley','insert','Deduction',NULL,'DED-00001'),
('2018-04-03 10:39:22','ashley','update','Deduction',NULL,'DED-00001'),
('2018-04-03 10:48:38','ashley','update','Setting',NULL,''),
('2018-04-04 00:56:48','saysophannarong','insert','Leave',NULL,'Leave-00037'),
('2018-04-04 07:53:19','ADMIN','update','User',NULL,'gnemchansethavid, gnemchansethavid'),
('2018-04-04 07:53:37','ADMIN','update','User',NULL,'chysambath, chysambath'),
('2018-04-04 07:57:38','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00037'),
('2018-04-04 08:00:47','thornsereyvong','insert','Leave',NULL,'Leave-00038'),
('2018-04-04 08:51:56','pinvandoeurn','insert','Leave',NULL,'Leave-00039'),
('2018-04-04 08:52:08','Admin','insert','Authorsation Approve',NULL,'Leave-00037'),
('2018-04-04 08:59:54','Admin','insert','Authorsation Approve',NULL,'Leave-00038'),
('2018-04-04 11:59:55','ADMIN','insert','Employee Leave Type',NULL,'[E-00016] LT-00002 [E-00014] LT-00002 [E-00013] LT-00002 [E-00012] LT-00002 [E-00011] LT-00002 [E-00010] LT-00002 [E-00009] LT-00002 [E-00007] LT-00002 [E-00008] LT-00002 [E-00006] LT-00002 [E-00005] LT-00002 [E-00004] LT-00002 [E-00003] LT-00002 [E-00018'),
('2018-04-04 12:00:25','ADMIN','insert','Employee Leave Type',NULL,'[E-00016] LT-00003 [E-00014] LT-00003 [E-00012] LT-00003 [E-00011] LT-00003 [E-00010] LT-00003 [E-00009] LT-00003 [E-00007] LT-00003 [E-00008] LT-00003 [E-00006] LT-00003 [E-00004] LT-00003 [E-00018] LT-00003 [E-00002] LT-00003 [E-00021] LT-00003 [E-00026'),
('2018-04-04 12:04:16','ADMIN','insert','EmployeeAuthorisation',NULL,'Many'),
('2018-04-04 12:04:28','gnemchansethavid','insert','Leave',NULL,'Leave-00040'),
('2018-04-06 08:06:19','pendarayuth','insert','Leave',NULL,'Leave-00041'),
('2018-04-06 08:26:47','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00039'),
('2018-04-06 08:26:52','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00040'),
('2018-04-06 08:26:58','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00041'),
('2018-04-06 08:34:28','simfickry','insert','Leave',NULL,'Leave-00042'),
('2018-04-06 10:02:01','Admin','insert','Authorsation Approve',NULL,'Leave-00039'),
('2018-04-06 10:02:23','Admin','insert','Authorsation Approve',NULL,'Leave-00040'),
('2018-04-06 10:02:52','Admin','insert','Authorsation Approve',NULL,'Leave-00041'),
('2018-04-06 10:03:11','Admin','insert','Authorsation Approve',NULL,'Leave-00042'),
('2018-04-06 11:37:41','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00042'),
('2018-04-08 20:55:17','pendarayuth','insert','Leave',NULL,'Leave-00043'),
('2018-04-10 08:30:29','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00043'),
('2018-04-11 08:14:13','chunchamroeun','insert','Leave',NULL,'Leave-00044'),
('2018-04-11 08:16:27','channvichet','insert','Leave',NULL,'Leave-00045'),
('2018-04-11 09:10:28','hanhsocheata','insert','Leave',NULL,'Leave-00046'),
('2018-04-11 13:07:58','chumsamnang','insert','Authorsation Approve',NULL,'Leave-00046'),
('2018-04-11 13:08:40','ashley','update','Employee',NULL,'E-00018'),
('2018-04-11 13:08:40','ashley','update','Employee Skill',NULL,'E-00018'),
('2018-04-11 13:08:40','ashley','update','Employee Language',NULL,'E-00018'),
('2018-04-11 13:08:40','ashley','update','Employee User',NULL,'E-00018'),
('2018-04-11 14:13:10','pinvandoeurn','insert','Leave',NULL,'Leave-00047'),
('2018-04-11 14:16:44','gnemchansethavid','insert','Leave',NULL,'Leave-00048'),
('2018-04-11 14:21:09','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00047'),
('2018-04-11 14:21:27','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00044'),
('2018-04-11 14:21:29','Admin','insert','Authorsation Approve',NULL,'Leave-00043'),
('2018-04-11 14:21:44','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00045'),
('2018-04-11 14:21:56','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00048'),
('2018-04-11 14:23:12','Admin','insert','Authorsation Approve',NULL,'Leave-00047'),
('2018-04-11 14:23:28','Admin','insert','Authorsation Approve',NULL,'Leave-00048'),
('2018-04-11 14:27:25','Admin','insert','Authorsation Approve',NULL,'Leave-00044'),
('2018-04-11 14:27:41','Admin','insert','Authorsation Approve',NULL,'Leave-00045'),
('2018-04-11 14:27:55','Admin','insert','Authorsation Approve',NULL,'Leave-00046'),
('2018-04-11 14:48:17','cheanavy','insert','Leave',NULL,'Leave-00049'),
('2018-04-11 14:51:52','lyboung','insert','Leave',NULL,'Leave-00050'),
('2018-04-11 14:53:30','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00050'),
('2018-04-11 14:53:44','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00049'),
('2018-04-11 16:12:14','Admin','insert','Authorsation Approve',NULL,'Leave-00049'),
('2018-04-11 16:12:31','Admin','insert','Authorsation Approve',NULL,'Leave-00050'),
('2018-04-11 17:28:17','ADMIN','update','Employee',NULL,'E-00011'),
('2018-04-11 17:28:17','ADMIN','update','Employee Skill',NULL,'E-00011'),
('2018-04-11 17:28:17','ADMIN','update','Employee Language',NULL,'E-00011'),
('2018-04-11 17:28:17','ADMIN','update','Employee Education',NULL,'E-00011'),
('2018-04-11 17:28:17','ADMIN','update','Employee User',NULL,'E-00011'),
('2018-04-12 08:25:17','uongsathya','insert','Leave',NULL,'Leave-00051'),
('2018-04-12 08:45:15','cheasophorn','insert','Leave',NULL,'Leave-00052'),
('2018-04-12 08:46:00','saysophannarong','insert','Leave',NULL,'Leave-00053'),
('2018-04-12 09:46:46','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00053'),
('2018-04-12 10:57:16','ashley','update','Employee',NULL,'E-00026'),
('2018-04-12 10:57:16','ashley','update','Employee Skill',NULL,'E-00026'),
('2018-04-12 10:57:16','ashley','update','Employee Language',NULL,'E-00026'),
('2018-04-12 10:57:16','ashley','update','Employee Education',NULL,'E-00026'),
('2018-04-12 10:57:16','ashley','update','Employee User',NULL,'E-00026'),
('2018-04-12 10:58:59','ashley','update','Employee',NULL,'E-00025'),
('2018-04-12 10:58:59','ashley','update','Employee Skill',NULL,'E-00025'),
('2018-04-12 10:58:59','ashley','update','Employee Language',NULL,'E-00025'),
('2018-04-12 10:58:59','ashley','update','Employee Education',NULL,'E-00025'),
('2018-04-12 10:58:59','ashley','update','Employee User',NULL,'E-00025'),
('2018-04-12 11:10:22','ashley','update','Employee',NULL,'E-00026'),
('2018-04-12 11:10:22','ashley','update','Employee Skill',NULL,'E-00026'),
('2018-04-12 11:10:22','ashley','update','Employee Language',NULL,'E-00026'),
('2018-04-12 11:10:22','ashley','update','Employee Education',NULL,'E-00026'),
('2018-04-12 11:10:22','ashley','update','Employee User',NULL,'E-00026'),
('2018-04-12 11:31:00','ADMIN','update','Holiday',NULL,'Holiday-00003'),
('2018-04-12 13:27:08','Admin','insert','Authorsation Approve',NULL,'Leave-00052'),
('2018-04-12 13:27:39','Admin','insert','Authorsation Approve',NULL,'Leave-00053'),
('2018-04-12 17:02:28','pinvandoeurn','insert','Leave',NULL,'Leave-00054'),
('2018-04-12 17:04:05','pinvandoeurn','update','Leave',NULL,'Leave-00054'),
('2018-04-13 07:46:20','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00054'),
('2018-04-13 09:22:46','saysophannarong','insert','Leave',NULL,'Leave-00055'),
('2018-04-13 09:25:38','Admin','insert','Authorsation Approve',NULL,'Leave-00054'),
('2018-04-13 09:31:57','saysophannarong','update','Leave',NULL,'Leave-00055'),
('2018-04-13 09:32:50','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00055'),
('2018-04-13 09:39:18','Admin','insert','Authorsation Approve',NULL,'Leave-00055'),
('2018-04-13 09:59:14','ashley','delete','Employee',NULL,'E-00016'),
('2018-04-13 10:01:20','ashley','delete','Employee',NULL,'E-00007'),
('2018-04-13 10:20:00','ashley','update','Currency',NULL,'CUR-00001'),
('2018-04-13 10:23:48','ashley','insert','Submit Payroll Detail',NULL,'SP-00001'),
('2018-04-13 10:27:27','ashley','update','User',NULL,'ashley, ashley'),
('2018-04-13 10:29:00','ashley','update','User',NULL,'ashley, ashley'),
('2018-04-13 11:44:04','ashley','insert','Payroll',NULL,'Payroll-00002'),
('2018-04-13 11:50:13','ashley','insert','Salary',NULL,'E-00001'),
('2018-04-13 11:55:32','ashley','insert','Allowance',NULL,'Allowance-00001'),
('2018-04-13 11:56:42','ashley','insert','Employee Leave Type',NULL,'[E-00001] Allowance-00001 [E-00002] Allowance-00001 [E-00003] Allowance-00001 '),
('2018-04-13 12:08:33','ashley','insert','Bonus',NULL,'Bonus-00001'),
('2018-04-20 13:57:10','cheasophorn','insert','Leave',NULL,'Leave-00056'),
('2018-04-20 13:57:33','cheasophorn','update','Leave',NULL,'Leave-00056'),
('2018-04-21 07:37:31','pendarayuth','insert','Leave',NULL,'Leave-00057'),
('2018-04-21 08:52:45','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00057'),
('2018-04-23 22:48:01','saysophannarong','insert','Leave',NULL,'Leave-00058'),
('2018-04-24 00:33:31','Admin','insert','Authorsation Approve',NULL,'Leave-00057'),
('2018-04-24 00:34:04','Admin','insert','Authorsation Approve',NULL,'Leave-00056'),
('2018-04-24 08:05:36','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00058'),
('2018-04-24 13:13:32','hanhsocheata','insert','Leave',NULL,'Leave-00059'),
('2018-04-24 14:50:34','chumsamnang','insert','Authorsation Approve',NULL,'Leave-00059'),
('2018-04-24 18:45:57','Admin','insert','Authorsation Approve',NULL,'Leave-00058'),
('2018-04-24 18:47:06','Admin','insert','Authorsation Approve',NULL,'Leave-00059'),
('2018-04-26 23:26:09','lyboung','insert','Leave',NULL,'Leave-00060'),
('2018-04-27 08:24:21','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00060'),
('2018-04-27 09:15:55','Admin','insert','Authorsation Approve',NULL,'Leave-00060'),
('2018-04-28 11:02:10','channvichet','insert','Leave',NULL,'Leave-00061'),
('2018-04-28 11:09:41','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00061'),
('2018-04-28 13:56:27','Admin','insert','Authorsation Approve',NULL,'Leave-00061'),
('2018-04-30 11:51:21','ashley','insert','Salary',NULL,'E-00006'),
('2018-04-30 11:51:41','ashley','insert','Salary',NULL,'E-00003'),
('2018-04-30 11:52:07','ashley','insert','Salary',NULL,'E-00011'),
('2018-04-30 11:52:29','ashley','insert','Salary',NULL,'E-00002'),
('2018-04-30 11:53:36','ashley','insert','Salary',NULL,'E-00013'),
('2018-04-30 11:53:58','ashley','insert','Salary',NULL,'E-00005'),
('2018-04-30 11:54:16','ashley','insert','Salary',NULL,'E-00001'),
('2018-04-30 11:54:32','ashley','insert','Salary',NULL,'E-00008'),
('2018-04-30 11:54:49','ashley','insert','Salary',NULL,'E-00014'),
('2018-04-30 11:55:08','ashley','insert','Salary',NULL,'E-00012'),
('2018-04-30 11:55:27','ashley','insert','Salary',NULL,'E-00009'),
('2018-04-30 11:55:48','ashley','insert','Salary',NULL,'E-00010'),
('2018-04-30 11:56:06','ashley','insert','Salary',NULL,'E-00021'),
('2018-04-30 11:56:24','ashley','insert','Salary',NULL,'E-00004'),
('2018-04-30 11:56:42','ashley','insert','Salary',NULL,'E-00026'),
('2018-04-30 11:57:00','ashley','insert','Salary',NULL,'E-00025'),
('2018-04-30 11:57:17','ashley','insert','Salary',NULL,'E-00018'),
('2018-04-30 11:57:36','ashley','insert','Salary',NULL,'E-00023'),
('2018-04-30 12:00:42','ashley','delete','Employee Allowance',NULL,'E-00001, Allowance-00001'),
('2018-04-30 12:00:51','ashley','delete','Employee Allowance',NULL,'E-00002, Allowance-00001'),
('2018-04-30 12:00:59','ashley','delete','Employee Allowance',NULL,'E-00003, Allowance-00001'),
('2018-04-30 12:02:48','ashley','delete','Bonus',NULL,'Bonus-00001'),
('2018-05-04 09:06:48','cheasophorn','insert','Leave',NULL,'Leave-00062'),
('2018-05-04 13:59:20','Admin','insert','Authorsation Approve',NULL,'Leave-00062'),
('2018-05-05 10:11:39','cheanavy','insert','Leave',NULL,'Leave-00063'),
('2018-05-05 10:12:32','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00063'),
('2018-05-08 13:25:40','saysophannarong','insert','Leave',NULL,'Leave-00064'),
('2018-05-08 13:35:52','Admin','insert','Authorsation Approve',NULL,'Leave-00063'),
('2018-05-08 19:09:15','Admin','insert','Authorsation Approve',NULL,'Leave-00064'),
('2018-05-09 08:12:55','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00064'),
('2018-05-09 12:47:04','thornsereyvong','insert','Leave',NULL,'Leave-00065'),
('2018-05-09 12:58:49','Admin','insert','Authorsation Approve',NULL,'Leave-00065'),
('2018-05-10 08:26:24','uongsathya','insert','Leave',NULL,'Leave-00066'),
('2018-05-10 15:53:05','gnemchansethavid','insert','Leave',NULL,'Leave-00067'),
('2018-05-10 15:53:57','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00067'),
('2018-05-10 16:26:37','hanhsocheata','insert','Leave',NULL,'Leave-00068'),
('2018-05-10 16:28:44','Admin','insert','Authorsation Approve',NULL,'Leave-00067'),
('2018-05-10 16:29:45','chumsamnang','insert','Authorsation Approve',NULL,'Leave-00068'),
('2018-05-10 16:39:49','Admin','insert','Authorsation Approve',NULL,'Leave-00068'),
('2018-05-10 16:40:24','Admin','insert','Authorsation Approve',NULL,'Leave-00066'),
('2018-05-12 08:03:09','chysambath','insert','Leave',NULL,'Leave-00069'),
('2018-05-12 10:07:39','cheasophorn','insert','Authorsation Approve',NULL,'Leave-00069'),
('2018-05-16 08:17:56','chysambath','insert','Leave',NULL,'Leave-00070'),
('2018-05-16 13:00:09','cheasophorn','insert','Authorsation Approve',NULL,'Leave-00070'),
('2018-05-18 10:34:43','ADMIN','update','Employee',NULL,'E-00011'),
('2018-05-18 10:34:43','ADMIN','update','Employee Skill',NULL,'E-00011'),
('2018-05-18 10:34:43','ADMIN','update','Employee Language',NULL,'E-00011'),
('2018-05-18 10:34:43','ADMIN','update','Employee Education',NULL,'E-00011'),
('2018-05-18 10:34:43','ADMIN','update','Employee User',NULL,'E-00011'),
('2018-05-19 00:56:45','simfickry','insert','Leave',NULL,'Leave-00071'),
('2018-05-19 07:59:49','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00071'),
('2018-05-19 08:11:20','chysambath','insert','Leave',NULL,'Leave-00072'),
('2018-05-19 08:13:37','cheasophorn','insert','Authorsation Approve',NULL,'Leave-00072'),
('2018-05-19 09:58:15','Admin','insert','Authorsation Approve',NULL,'Leave-00071'),
('2018-05-19 09:58:50','Admin','insert','Authorsation Approve',NULL,'Leave-00069'),
('2018-05-19 09:59:25','Admin','insert','Authorsation Approve',NULL,'Leave-00072'),
('2018-05-19 09:59:40','Admin','insert','Authorsation Approve',NULL,'Leave-00070'),
('2018-05-21 11:43:10','chumsamnang','insert','Leave',NULL,'Leave-00073'),
('2018-05-21 13:21:53','cheanavy','insert','Leave',NULL,'Leave-00074'),
('2018-05-21 13:24:16','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00074'),
('2018-05-21 14:15:49','Admin','insert','Authorsation Approve',NULL,'Leave-00074'),
('2018-05-21 14:15:59','Admin','insert','Authorsation Approve',NULL,'Leave-00073'),
('2018-05-22 10:40:13','ashley','update','Employee',NULL,'E-00018'),
('2018-05-22 10:40:13','ashley','update','Employee Skill',NULL,'E-00018'),
('2018-05-22 10:40:13','ashley','update','Employee Language',NULL,'E-00018'),
('2018-05-22 10:40:13','ashley','update','Employee User',NULL,'E-00018'),
('2018-05-22 10:40:29','ashley','delete','Employee',NULL,'E-00018'),
('2018-05-24 08:39:19','pendarayuth','insert','Leave',NULL,'Leave-00075'),
('2018-05-24 08:41:28','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00075'),
('2018-05-24 13:11:04','Admin','insert','Authorsation Approve',NULL,'Leave-00075'),
('2018-05-31 07:11:32','thornsereyvong','insert','Leave',NULL,'Leave-00076'),
('2018-05-31 09:31:39','ADMIN','update','User',NULL,'saysophannarong, saysophannarong'),
('2018-05-31 11:28:36','Admin','insert','Authorsation Approve',NULL,'Leave-00076'),
('2018-06-03 22:57:14','pinvandoeurn','insert','Leave',NULL,'Leave-00077'),
('2018-06-03 22:57:43','pinvandoeurn','update','Leave',NULL,'Leave-00077'),
('2018-06-04 08:00:47','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00077'),
('2018-06-04 10:04:09','Admin','insert','Authorsation Approve',NULL,'Leave-00077'),
('2018-06-05 04:36:49','simfickry','insert','Leave',NULL,'Leave-00078'),
('2018-06-05 07:53:24','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00078'),
('2018-06-06 07:53:17','thornsereyvong','insert','Leave',NULL,'Leave-00079'),
('2018-06-06 08:43:11','Admin','insert','Authorsation Approve',NULL,'Leave-00079'),
('2018-06-06 08:43:25','Admin','insert','Authorsation Approve',NULL,'Leave-00078'),
('2018-06-11 15:08:20','cheanavy','insert','Leave',NULL,'Leave-00080'),
('2018-06-11 15:11:14','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00080'),
('2018-06-11 16:06:39','Admin','insert','Authorsation Approve',NULL,'Leave-00080'),
('2018-06-11 18:34:17','Admin','insert','Authorsation Approve',NULL,'Leave-00051'),
('2018-06-12 07:53:00','simfickry','insert','Leave',NULL,'Leave-00081'),
('2018-06-15 07:44:31','chumsamnang','insert','Leave',NULL,'Leave-00082'),
('2018-06-15 09:16:28','Admin','insert','Authorsation Approve',NULL,'Leave-00082'),
('2018-06-16 09:17:16','pinvandoeurn','insert','Leave',NULL,'Leave-00083'),
('2018-06-19 09:25:30','saysophannarong','insert','Leave',NULL,'Leave-00084'),
('2018-06-21 10:23:52','cheanavy','insert','Leave',NULL,'Leave-00085'),
('2018-06-21 11:09:28','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00084'),
('2018-06-21 11:09:34','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00081'),
('2018-06-21 11:09:39','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00083'),
('2018-06-21 11:09:44','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00085'),
('2018-06-21 14:07:51','channvichet','insert','Leave',NULL,'Leave-00086'),
('2018-06-22 05:30:41','simfickry','insert','Leave',NULL,'Leave-00087'),
('2018-06-22 08:28:50','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00087'),
('2018-06-22 08:28:56','thornsereyvong','insert','Authorsation Approve',NULL,'Leave-00086'),
('2018-06-23 12:01:48','channvichet','insert','Leave',NULL,'Leave-00088'),
('2018-06-25 16:41:22','chumsamnang','insert','Leave',NULL,'Leave-00089'),
('2018-06-28 09:13:01','ADMIN','insert','Overtime',NULL,'OT-00001'),
('2018-06-28 14:00:18','ADMIN','insert','Payroll',NULL,'Payroll-00003'),
('2018-07-02 08:47:52','ADMIN','update','Role',NULL,'Role-00001'),
('2018-07-04 09:50:07','ADMIN','insert','Leave',NULL,'Leave-00090'),
('2018-07-07 09:18:21','ADMIN','insert','EmployeeBranch',NULL,'BRANCH-00002'),
('2018-07-07 09:21:15','ADMIN','delete','EmployeeBranch',NULL,'BRANCH-00002'),
('2018-07-07 09:22:08','ADMIN','insert','EmployeeDepartment',NULL,'DEP-00009'),
('2018-07-07 09:23:23','ADMIN','delete','EmployeeDepartment',NULL,'DEP-00009'),
('2018-07-07 09:23:40','ADMIN','insert','EmployeeBank',NULL,'Bank-00002'),
('2018-07-07 09:25:41','ADMIN','delete','EmployeeBank',NULL,'Bank-00002'),
('2018-07-07 09:25:51','ADMIN','insert','EmployeeCategory',NULL,'test'),
('2018-07-07 09:27:59','','delete','EmployeeStatus',NULL,''),
('2018-07-07 09:35:40','','delete','Role',NULL,''),
('2018-07-07 09:47:36','ADMIN','insert','EmployeeContractType',NULL,'test'),
('2018-07-07 09:47:42','ADMIN','delete','EmployeexContractType',NULL,'test'),
('2018-07-07 10:37:20','ADMIN','insert','EmployeePosition',NULL,'2'),
('2018-07-07 10:37:51','ADMIN','insert','EmployeePosition',NULL,'3'),
('2018-07-07 11:16:08','ADMIN','update','EmployeePosition',NULL,'human resource'),
('2018-07-07 11:29:32','ADMIN','update','EmployeePosition',NULL,'hr'),
('2018-07-07 11:29:56','ADMIN','update','EmployeePosition',NULL,'hr'),
('2018-07-07 11:37:56','ADMIN','delete','EmployeePosition',NULL,'1'),
('2018-07-07 11:38:05','ADMIN','delete','EmployeePosition',NULL,'2'),
('2018-07-07 11:38:47','ADMIN','insert','EmployeePosition',NULL,'hr'),
('2018-07-07 11:39:35','ADMIN','insert','EmployeePosition',NULL,'hr'),
('2018-07-07 11:47:56','ADMIN','update','EmployeePosition',NULL,'hr'),
('2018-07-07 11:48:01','ADMIN','update','EmployeePosition',NULL,'hr'),
('2018-07-07 14:43:27','ADMIN','update','EmployeePosition',NULL,'HRSS'),
('2018-07-07 14:43:36','ADMIN','update','EmployeePosition',NULL,'HRSS'),
('2018-07-07 14:43:43','ADMIN','update','EmployeePosition',NULL,'HRSS'),
('2018-07-07 14:52:01','ADMIN','insert','EmployeePosition',NULL,'Test'),
('2018-07-07 14:55:38','ADMIN','insert','EmployeeStatus',NULL,'test'),
('2018-07-07 14:55:45','ADMIN','delete','EmployeeStatus',NULL,'test'),
('2018-07-07 14:55:55','ADMIN','insert','EmployeeType',NULL,'test'),
('2018-07-07 14:56:00','ADMIN','delete','EmployeeType',NULL,'test'),
('2018-07-07 14:56:13','ADMIN','insert','EmployeeMembershipType',NULL,'test'),
('2018-07-07 14:56:18','ADMIN','delete','EmployeeMembershipType',NULL,'test'),
('2018-07-07 15:00:01','ADMIN','insert','EmployeeLanguage',NULL,'test'),
('2018-07-07 15:00:06','ADMIN','delete','EmployeeLanguage',NULL,'Test'),
('2018-07-07 15:00:18','ADMIN','insert','EmployeeLevel',NULL,'test'),
('2018-07-07 15:00:23','ADMIN','delete','EmployeeLevel',NULL,'test'),
('2018-07-07 15:00:41','ADMIN','insert','EmployeeInsuranceType',NULL,'test'),
('2018-07-07 15:00:46','ADMIN','delete','EmployeeInsuranceType',NULL,'test'),
('2018-07-07 15:00:54','ADMIN','insert','EmployeeInsuranceType',NULL,'test'),
('2018-07-07 15:01:06','ADMIN','insert','EmployeeInsurance',NULL,'Insurance-00001'),
('2018-07-07 15:01:15','ADMIN','delete','EmployeeInsurance',NULL,'Insurance-00001'),
('2018-07-07 15:01:25','ADMIN','insert','EmployeeSocialCommunication',NULL,'facce'),
('2018-07-07 15:01:31','ADMIN','delete','EmployeeSocialCommunication',NULL,'facce'),
('2018-07-07 15:04:15','ADMIN','insert','Country',NULL,'test'),
('2018-07-07 15:04:20','ADMIN','delete','Country',NULL,'test'),
('2018-07-07 15:04:29','ADMIN','insert','EmployeeNationals',NULL,'test'),
('2018-07-07 15:04:34','ADMIN','delete','EmployeeNationals',NULL,'test'),
('2018-07-07 15:04:46','ADMIN','insert','EmployeeNationality',NULL,'test'),
('2018-07-07 15:04:51','ADMIN','delete','EmployeeNationality',NULL,'test'),
('2018-07-07 15:05:01','ADMIN','insert','EmployeeSchool',NULL,'test'),
('2018-07-07 15:05:07','ADMIN','delete','EmployeeSchool',NULL,'test'),
('2018-07-07 15:05:20','ADMIN','insert','EmployeeGrade',NULL,'ttt'),
('2018-07-07 15:05:25','ADMIN','delete','EmployeeGrade',NULL,'ttt'),
('2018-07-07 16:43:00','ADMIN','insert','Employee',NULL,'E-00004'),
('2018-07-07 16:44:02','ADMIN','insert','EmployeeContractType',NULL,'test'),
('2018-07-07 16:44:21','ADMIN','insert','EmployeeType',NULL,'test'),
('2018-07-07 16:44:33','ADMIN','insert','EmployeeMembershipType',NULL,'test'),
('2018-07-07 16:44:59','ADMIN','insert','EmployeeInsurance',NULL,'Insurance-00002'),
('2018-07-07 16:45:13','ADMIN','insert','EmployeeSocialCommunication',NULL,'test'),
('2018-07-07 16:48:03','ADMIN','insert','Employee',NULL,'E-00005'),
('2018-07-07 16:49:10','ADMIN','insert','Employee',NULL,'E-00006'),
('2018-07-07 17:04:04','ADMIN','insert','Employee',NULL,'E-00007'),
('2018-07-07 18:02:01','ADMIN','update','Employee',NULL,'E-00005'),
('2018-07-07 18:09:43','ADMIN','update','Employee',NULL,'E-00005'),
('2018-07-07 18:11:17','ADMIN','update','Employee',NULL,'E-00005'),
('2018-07-07 18:12:39','ADMIN','update','Employee',NULL,'E-00005'),
('2018-07-07 18:13:50','ADMIN','update','Employee',NULL,'E-00005'),
('2018-07-07 18:14:45','ADMIN','update','Employee',NULL,'E-00005'),
('2018-07-07 18:26:05','ADMIN','update','Employee',NULL,'E-00005'),
('2018-07-07 18:26:59','ADMIN','update','Employee',NULL,'E-00005'),
('2018-07-07 18:26:59','ADMIN','update','Employee User',NULL,'E-00005'),
('2018-07-07 18:29:40','ADMIN','update','Employee',NULL,'E-00005'),
('2018-07-07 18:29:40','ADMIN','update','Employee User',NULL,'E-00005'),
('2018-07-07 18:30:30','ADMIN','update','Employee',NULL,'E-00005'),
('2018-07-07 18:30:58','ADMIN','update','Employee',NULL,'E-00005'),
('2018-07-07 18:30:58','ADMIN','update','Employee User',NULL,'E-00005'),
('2018-07-07 18:31:33','ADMIN','update','Employee',NULL,'E-00005'),
('2018-07-07 18:31:33','ADMIN','update','Employee User',NULL,'E-00005'),
('2018-07-07 18:33:32','ADMIN','update','Employee',NULL,'E-00005'),
('2018-07-07 18:33:32','ADMIN','update','Employee User',NULL,'E-00005'),
('2018-07-08 14:01:58','ADMIN','delete','Employee',NULL,'E-00007'),
('2018-07-08 14:24:17','ADMIN','insert','Holiday',NULL,'Holiday-00018'),
('2018-07-08 14:25:02','ADMIN','insert','Holiday',NULL,'Holiday-00019'),
('2018-07-08 14:26:03','ADMIN','insert','Holiday',NULL,'Holiday-00020'),
('2018-07-08 14:29:15','ADMIN','update','Holiday',NULL,'Holiday-00020'),
('2018-07-08 14:29:34','ADMIN','delete','Holiday',NULL,'Holiday-00019'),
('2018-07-08 14:29:40','ADMIN','delete','Holiday',NULL,'Holiday-00020'),
('2018-07-08 14:29:45','ADMIN','delete','Holiday',NULL,'Holiday-00017'),
('2018-07-08 15:00:06','ADMIN','insert','Dayoff',NULL,'Dayoff-00001'),
('2018-07-08 15:00:23','ADMIN','insert','Dayoff',NULL,'Dayoff-00002'),
('2018-07-08 15:00:43','ADMIN','delete','Holiday',NULL,'Holiday-00018'),
('2018-07-08 15:02:21','ADMIN','update','Dayoff',NULL,'Dayoff-00002'),
('2018-07-08 15:53:17','ADMIN','update','Employee',NULL,'E00001'),
('2018-07-08 15:53:17','ADMIN','update','Employee User',NULL,'E00001'),
('2018-07-08 16:07:57','ADMIN','update','Attendance',NULL,'E00001, 2018-03-31'),
('2018-07-08 16:08:12','ADMIN','update','Attendance',NULL,'E00001, 2018-03-31'),
('2018-07-08 16:42:09','ADMIN','import','Attendance',NULL,'ev7s1n2r0fBywvFZ8uv3RQ20180708164622BalancikaFingerPrint (9).xlsx'),
('2018-07-08 16:55:38','ADMIN','insert','WorkShift',NULL,'WS-00002'),
('2018-07-08 17:59:01','ADMIN','update','WorkShift',NULL,'WS-00002'),
('2018-07-08 18:00:07','ADMIN','update','Employee',NULL,'E-00006'),
('2018-07-09 09:22:56','ADMIN','insert','WorkShift',NULL,'WS-00003'),
('2018-07-09 09:24:51','ADMIN','import','Roster',NULL,'ADMIN'),
('2018-07-09 09:44:01','ADMIN','import','Roster',NULL,'6hyWABrdee56WW6iVWO1A2018070909480807-2018_Roster.xlsx'),
('2018-07-09 10:11:02','ADMIN','insert','Autofp',NULL,'AutoFP-00002'),
('2018-07-09 10:12:27','ADMIN','insert','Leave Type',NULL,'LT-00004'),
('2018-07-09 10:53:22','ADMIN','insert','Leave Type',NULL,'LT-00005'),
('2018-07-09 11:40:22','ADMIN','update','Leave Type',NULL,'LT-00005'),
('2018-07-09 11:40:32','ADMIN','update','Leave Type',NULL,'LT-00004'),
('2018-07-09 12:03:10','ADMIN','insert','Employee Leave Type',NULL,'[E-00005] LT-00005 [E-00006] LT-00005 '),
('2018-07-09 12:05:07','ADMIN','insert','Employee Leave Type',NULL,'E-00004'),
('2018-07-09 12:05:14','ADMIN','delete','Employee Leave Type',NULL,'E-00004'),
('2018-07-09 12:05:22','ADMIN','delete','Employee Leave Type',NULL,'E-00004'),
('2018-07-09 13:22:22','ADMIN','insert','EmployeeAuthorisation',NULL,'Many'),
('2018-07-09 13:22:31','ADMIN','insert','Dayoff',NULL,'Dayoff-00003'),
('2018-07-09 13:25:16','ADMIN','insert','Dayoff',NULL,'Dayoff-00004'),
('2018-07-09 13:26:07','ADMIN','insert','Dayoff',NULL,'Dayoff-00005'),
('2018-07-09 13:28:27','ADMIN','insert','Dayoff',NULL,'Dayoff-00006'),
('2018-07-09 15:35:50','ADMIN','insert','Leave',NULL,'Leave-00091'),
('2018-07-09 15:36:21','ADMIN','insert','Leave',NULL,'Leave-00092'),
('2018-07-09 15:36:33','ADMIN','update','Leave',NULL,'Leave-00092'),
('2018-07-09 15:56:42','ADMIN','insert','Currency',NULL,'CUR-00002'),
('2018-07-09 15:56:51','ADMIN','update','Currency',NULL,'CUR-00002'),
('2018-07-09 16:05:22','ADMIN','insert','Salary',NULL,'E-00004'),
('2018-07-09 16:11:56','ADMIN','insert','Allowance',NULL,'Allowance-00002'),
('2018-07-09 16:12:07','ADMIN','update','Allowance',NULL,'Allowance-00002'),
('2018-07-09 16:12:15','ADMIN','delete','Allowance',NULL,'Allowance-00002'),
('2018-07-09 16:27:20','ADMIN','insert','Employee Leave Type',NULL,'[E-00004] Allowance-00001 [E-00005] Allowance-00001 [E-00006] Allowance-00001 [E00001] Allowance-00001 [E00002] Allowance-00001 [E00003] Allowance-00001 [E00004] Allowance-00001 '),
('2018-07-09 16:28:38','ADMIN','insert','Allowance',NULL,'Allowance-00003'),
('2018-07-09 16:28:51','ADMIN','insert','Employee Allowance',NULL,'E-00004, Allowance-00003'),
('2018-07-09 16:29:06','ADMIN','delete','Employee Allowance',NULL,'E-00004, Allowance-00003'),
('2018-07-09 16:47:19','ADMIN','insert','Overtime',NULL,'OT-00003'),
('2018-07-09 16:48:37','ADMIN','insert','EmployeeAuthorisation',NULL,'Many'),
('2018-07-09 16:48:53','ADMIN','insert','EmployeeAuthorisation',NULL,'Many'),
('2018-07-09 16:48:58','ADMIN','insert','Overtime',NULL,'OT-00005'),
('2018-07-09 16:53:59','ADMIN','update','Overtime',NULL,'OT-00005'),
('2018-07-09 16:54:26','ADMIN','delete','Overtime',NULL,'OT-00005'),
('2018-07-09 16:56:43','ADMIN','insert','Overtime',NULL,'OT-00006'),
('2018-07-09 17:53:10','ADMIN','update','Overtime',NULL,'OT-00006'),
('2018-07-09 17:54:15','ADMIN','delete','Overtime',NULL,'OT-00006'),
('2018-07-10 08:33:18','ADMIN','insert','Bonus',NULL,'Bonus-00002'),
('2018-07-10 09:44:51','ADMIN','insert','Bonus',NULL,'Bonus-00003'),
('2018-07-10 09:56:46','ADMIN','update','Bonus',NULL,'Bonus-00003'),
('2018-07-10 10:04:48','ADMIN','delete','Bonus',NULL,'Bonus-00003'),
('2018-07-10 10:07:55','ADMIN','insert','Deduction',NULL,'DED-00002'),
('2018-07-10 10:08:49','ADMIN','update','Deduction',NULL,'DED-00002'),
('2018-07-10 10:09:20','ADMIN','delete','Deduction',NULL,'DED-00002'),
('2018-07-10 10:09:47','ADMIN','insert','Deduction',NULL,'DED-00003'),
('2018-07-10 10:10:38','ADMIN','insert','Payroll',NULL,'Payroll-00004'),
('2018-07-10 10:16:02','ADMIN','delete','Payroll',NULL,'Payroll-00004'),
('2018-07-10 10:24:14','ADMIN','insert','Salary',NULL,'E00001'),
('2018-07-10 10:52:21','ADMIN','insert','Salary Adjustment',NULL,'SP-00006, E00001, 2500'),
('2018-07-10 10:54:34','ADMIN','insert','Salary',NULL,'E00001'),
('2018-07-10 11:01:29','ADMIN','insert','Authorisation',NULL,'Auth-00005'),
('2018-07-10 11:02:11','ADMIN','insert','AuthorisationGroup',NULL,'AG-00001'),
('2018-07-10 11:02:28','ADMIN','insert','Authorisation',NULL,'Auth-00006'),
('2018-07-10 11:09:01','ADMIN','insert','Authorisation',NULL,'Auth-00007'),
('2018-07-10 11:13:53','ADMIN','update','Authorisation',NULL,'Auth-00007'),
('2018-07-10 11:20:00','ADMIN','update','Authorisation',NULL,'Auth-00007'),
('2018-07-10 11:25:16','ADMIN','insert','AuthorisationGroup',NULL,'AG-00002'),
('2018-07-10 11:31:13','ADMIN','update','AuthorisationGroup',NULL,'AG-00002'),
('2018-07-10 11:31:46','ADMIN','insert','EmployeeAuthorisation',NULL,'Many'),
('2018-07-10 11:32:17','ADMIN','insert','Authorisation',NULL,'Auth-00008'),
('2018-07-10 11:32:30','ADMIN','delete','Employee Authorisation',NULL,'E00001, Dayoff, Auth-00001'),
('2018-07-10 11:32:40','ADMIN','delete','Employee Authorisation',NULL,'E00001, Deduction, Auth-00002'),
('2018-07-10 11:32:49','ADMIN','delete','Employee Authorisation',NULL,'E00001, Leave, Auth-00001'),
('2018-07-10 11:33:03','ADMIN','delete','Employee Authorisation',NULL,'E00001, Overtime, Auth-00001'),
('2018-07-10 11:33:28','ADMIN','insert','EmployeeAuthorisation',NULL,'Many'),
('2018-07-10 11:33:43','ADMIN','insert','Dayoff',NULL,'Dayoff-00007'),
('2018-07-10 11:34:40','ADMIN','insert','EmployeeAuthorisation',NULL,'Many'),
('2018-07-10 11:34:52','ADMIN','insert','EmployeeAuthorisation',NULL,'Many'),
('2018-07-10 11:35:03','ADMIN','insert','EmployeeAuthorisation',NULL,'Many'),
('2018-07-10 11:35:48','ADMIN','insert','Employee Leave Type',NULL,'E00001'),
('2018-07-10 11:36:09','ADMIN','insert','Leave',NULL,'Leave-00093'),
('2018-07-10 11:36:47','ADMIN','insert','Leave',NULL,'Leave-00094'),
('2018-07-10 11:37:22','ADMIN','insert','Overtime',NULL,'OT-00007'),
('2018-07-10 11:37:47','ADMIN','insert','Deduction',NULL,'DED-00004'),
('2018-07-10 11:48:13','ADMIN','insert','Authorsation Approve',NULL,'Dayoff-00007'),
('2018-07-10 11:48:17','ADMIN','insert','Authorsation Approve',NULL,'DED-00004'),
('2018-07-10 11:48:22','ADMIN','insert','Authorsation Approve',NULL,'Leave-00094'),
('2018-07-10 11:48:30','ADMIN','insert','Authorsation Approve',NULL,'OT-00007'),
('2018-07-10 15:44:20','ADMIN','insert','User',NULL,'a3'),
('2018-07-10 16:04:12','ADMIN','update','User',NULL,'a3, a3'),
('2018-07-10 16:05:52','ADMIN','update','User',NULL,'a3, a3'),
('2018-07-10 16:06:31','ADMIN','update','User',NULL,'a3, a3'),
('2018-07-10 16:15:04','ADMIN','insert','User',NULL,'a'),
('2018-07-10 16:16:31','ADMIN','insert','User',NULL,'test'),
('2018-07-10 16:17:31','ADMIN','update','User',NULL,'test, test'),
('2018-07-10 16:24:58','ADMIN','insert','User',NULL,'test'),
('2018-07-10 16:32:05','ADMIN','insert','User',NULL,'test'),
('2018-07-10 16:41:33','ADMIN','delete','User',NULL,'test'),
('2018-07-10 16:42:07','ADMIN','insert','User',NULL,'test'),
('2018-07-10 16:46:50','ADMIN','insert','Role',NULL,'Role-00002'),
('2018-07-10 16:47:03','ADMIN','update','Role',NULL,'Role-00002'),
('2018-07-10 16:47:13','ADMIN','delete','Role',NULL,'Role-00002'),
('2018-07-14 12:04:02','balancika','insert','Authorisation',NULL,'Auth-00009'),
('2018-07-14 12:04:06','balancika','delete','Authorisation',NULL,'Auth-00009'),
('2018-07-14 12:04:12','balancika','delete','Authorisation',NULL,'Auth-00007'),
('2018-07-14 12:04:15','balancika','delete','Authorisation',NULL,'Auth-00006'),
('2018-07-14 12:04:19','balancika','delete','Authorisation',NULL,'Auth-00005'),
('2018-07-14 12:04:46','balancika','insert','AuthorisationGroup',NULL,'AG-00003'),
('2018-07-14 12:04:49','balancika','delete','AuthorisationGroup',NULL,'AG-00003'),
('2018-07-14 12:25:21','balancika','insert','Authorisation',NULL,'Auth-00010'),
('2018-07-14 16:28:50','balancika','insert','EmployeeAuthorisation',NULL,'Many'),
('2018-07-14 16:29:01','balancika','delete','Employee Authorisation',NULL,'E-00004, Customer, Auth-00001'),
('2018-07-14 16:29:04','balancika','delete','Employee Authorisation',NULL,'E-00005, Customer, Auth-00001'),
('2018-07-15 08:08:33','balancika','insert','watcherAuthorisation',NULL,'Many'),
('2018-07-15 08:08:39','balancika','delete','Wathcer Authorisation',NULL,'E-00004, Customer, Auth-00001'),
('2018-07-15 08:08:43','balancika','delete','Wathcer Authorisation',NULL,'E-00005, Customer, Auth-00001'),
('2018-07-15 08:19:56','balancika','insert','watcherAuthorisation',NULL,'Many'),
('2018-07-15 08:20:05','balancika','delete','Wathcer Authorisation',NULL,'E-00004, Customer, Auth-00008'),
('2018-07-15 14:07:54','balancika','insert','EmployeeAuthorisation',NULL,'Many'),
('2018-07-15 15:01:50','balancika','insert','watcherAuthorisation',NULL,'Many'),
('2018-07-15 15:02:10','balancika','insert','watcherAuthorisation',NULL,'Many'),
('2018-07-16 13:39:38','balancika','delete','Authorisation',NULL,'Auth-00010'),
('2018-07-16 13:40:18','balancika','insert','Authorisation',NULL,'Auth-00011'),
('2018-07-17 11:17:23','balancika','insert','Authorsation Approve',NULL,'C00002'),
('2018-07-17 11:39:36','balancika','insert','Authorisation',NULL,'Auth-00012'),
('2018-07-17 11:39:55','balancika','insert','Authorisation',NULL,'Auth-00013'),
('2018-07-17 11:40:12','balancika','insert','EmployeeAuthorisation',NULL,'Many'),
('2018-07-17 11:47:56','balancika','insert','EmployeeAuthorisation',NULL,'Many'),
('2018-07-17 14:32:45','balancika','insert','EmployeeAuthorisation',NULL,'Many'),
('2018-07-17 14:36:04','balancika','insert','EmployeeAuthorisation',NULL,'Many'),
('2018-07-17 14:50:28','balancika','insert','EmployeeAuthorisation',NULL,'Many'),
('2018-07-18 10:06:00','balancika','insert','Authorsation Approve',NULL,'TC00015'),
('2018-07-18 10:34:01','balancika','insert','AuthorisationGroup',NULL,'AG-00004'),
('2018-07-18 10:34:17','balancika','insert','AuthorisationGroup',NULL,'AG-00005'),
('2018-07-18 10:34:24','balancika','delete','Employee Authorisation',NULL,'E00003, Temporary Credit, Auth-00012'),
('2018-07-18 10:35:05','balancika','insert','Authorisation',NULL,'Auth-00014'),
('2018-07-18 10:35:22','balancika','insert','EmployeeAuthorisation',NULL,'Many'),
('2018-07-18 11:30:53','balancika','insert','Authorsation Approve',NULL,'TC00025');

-- 
-- Definition of hrm_message
-- 

