--use MicroERP

insert into tbUserGroup(GroupName,Remark) values('管理员组','具备所有权限')
insert into tbUser(LoginName,LoginPassword,TrueName,IsDeleted,Remark,GroupID) values('admin','admin','管理员',0,'系统管理员',1)
insert into tbDepartment(ID,TypeName,ParentID) values(1,'所有部门',0)
insert into tbGoodsType(ID,TypeName,ParentID) values(1,'所有分类',0)
--会计科目
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(1,'1000','资产类',0,'资产类分类',1,0,0,NULL,0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(2,'2000','负债类',0,'负债类分类',1,0,0,NULL,0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(3,'3000','共同类',0,'共同类分类',1,0,0,NULL,0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(4,'4000','所有者权益类',0,'所有者权益类分类',1,0,0,NULL,0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(5,'5000','成本类',0,'成本类分类',1,0,0,NULL,0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(6,'6000','损益类',0,'损益类分类',1,0,0,NULL,0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(7,'1001','库存现金',1,'资产类',1,0,7,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(8,'1002','银行存款',1,'资产类',1,0,8,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(9,'1003','存放中央银行款项',1,'资产类',1,0,9,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(10,'1011','存放同业',1,'资产类',1,0,10,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(11,'1012','其他货币资金',1,'资产类',1,0,11,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(12,'1021','结算备付金',1,'资产类',1,0,12,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(13,'1031','存出保证金',1,'资产类',1,0,13,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(14,'1101','交易性金融资产',1,'资产类',1,0,14,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(15,'1111','买入返售金融资产',1,'资产类',1,0,15,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(16,'1121','应收票据',1,'资产类',1,0,16,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(17,'1122','应收账款',1,'资产类',1,0,17,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(18,'1123','预付账款',1,'资产类',1,0,18,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(19,'1131','应收股利',1,'资产类',1,0,19,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(20,'1132','应收利息',1,'资产类',1,0,20,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(21,'1201','应收代位追偿款',1,'资产类',1,0,21,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(22,'1211','应收分保账款',1,'资产类',1,0,22,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(23,'1212','应收分保合同准备金',1,'资产类',1,0,23,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(24,'1221','其他应收款',1,'资产类',1,0,24,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(25,'1231','坏账准备',1,'资产类',1,0,25,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(26,'1301','贴现资产',1,'资产类',1,0,26,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(27,'1302','拆出资金',1,'资产类',1,0,27,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(28,'1303','贷款',1,'资产类',1,0,28,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(29,'1304','贷款损失准备',1,'资产类',1,0,29,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(30,'1311','代理兑付证券',1,'资产类',1,0,30,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(31,'1321','代理业务资产',1,'资产类',1,0,31,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(32,'1401','材料采购',1,'资产类',1,0,32,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(33,'1402','在途物资',1,'资产类',1,0,33,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(34,'1403','原材料',1,'资产类',1,0,34,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(35,'1404','材料成本差异',1,'资产类',1,0,35,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(36,'1405','库存商品',1,'资产类',1,0,36,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(37,'1406','发出商品',1,'资产类',1,0,37,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(38,'1407','商品进销差价',1,'资产类',1,0,38,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(39,'1408','委托加工物资',1,'资产类',1,0,39,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(40,'1411','周转材料',1,'资产类',1,0,40,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(41,'1421','消耗性生物资产',1,'资产类',1,0,41,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(42,'1431','贵金属',1,'资产类',1,0,42,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(43,'1441','抵债资产',1,'资产类',1,0,43,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(44,'1451','损余物资',1,'资产类',1,0,44,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(45,'1461','融资租赁资产',1,'资产类',1,0,45,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(46,'1471','存货跌价准备',1,'资产类',1,0,46,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(47,'1501','持有至到期投资',1,'资产类',1,0,47,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(48,'1502','持有至到期投资减值准备',1,'资产类',1,0,48,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(49,'1503','可供出售金融资产',1,'资产类',1,0,49,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(50,'1511','长期股权投资',1,'资产类',1,0,50,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(51,'1512','长期股权投资减值准备',1,'资产类',1,0,51,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(52,'1521','投资性房地产',1,'资产类',1,0,52,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(53,'1531','长期应收款',1,'资产类',1,0,53,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(54,'1532','未实现融资收益',1,'资产类',1,0,54,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(55,'1541','存出资本保证金',1,'资产类',1,0,55,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(56,'1601','固定资产',1,'资产类',1,0,56,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(57,'1602','累计折旧',1,'资产类',1,0,57,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(58,'1603','固定资产减值准备',1,'资产类',1,0,58,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(59,'1604','在建工程',1,'资产类',1,0,59,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(60,'1605','工程物资',1,'资产类',1,0,60,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(61,'1606','固定资产清理',1,'资产类',1,0,61,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(62,'1611','未担保余值',1,'资产类',1,0,62,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(63,'1621','生产性生物资产',1,'资产类',1,0,63,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(64,'1622','生产性生物资产累计折旧',1,'资产类',1,0,64,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(65,'1623','公益性生物资产',1,'资产类',1,0,65,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(66,'1631','油气资产',1,'资产类',1,0,66,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(67,'1632','累计折耗',1,'资产类',1,0,67,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(68,'1701','无形资产',1,'资产类',1,0,68,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(69,'1702','累计摊销',1,'资产类',1,0,69,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(70,'1703','无形资产减值准备',1,'资产类',1,0,70,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(71,'1711','商誉',1,'资产类',1,0,71,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(72,'1801','长期待摊费用',1,'资产类',1,0,72,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(73,'1811','递延所得税资产',1,'资产类',1,0,73,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(74,'1821','独立账户资产',1,'资产类',1,0,74,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(75,'1901','待处理财产损溢',1,'资产类',1,0,75,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(76,'2001','短期借款',2,'负债类',1,0,76,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(77,'2002','存入保证金',2,'负债类',1,0,77,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(78,'2003','拆入资金',2,'负债类',1,0,78,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(79,'2004','向中央银行借款',2,'负债类',1,0,79,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(80,'2011','吸收存款',2,'负债类',1,0,80,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(81,'2012','同业存放',2,'负债类',1,0,81,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(82,'2021','贴现负债',2,'负债类',1,0,82,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(83,'2101','交易性金融负债',2,'负债类',1,0,83,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(84,'2111','卖出回购金融资产款',2,'负债类',1,0,84,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(85,'2201','应付票据',2,'负债类',1,0,85,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(86,'2202','应付账款',2,'负债类',1,0,86,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(87,'2203','预收账款',2,'负债类',1,0,87,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(88,'2211','应付职工薪酬',2,'负债类',1,0,88,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(89,'2221','应交税费',2,'负债类',1,0,89,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(90,'2231','应付利息',2,'负债类',1,0,90,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(91,'2232','应付股利',2,'负债类',1,0,91,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(92,'2241','其他应付款',2,'负债类',1,0,92,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(93,'2251','应付保单红利',2,'负债类',1,0,93,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(94,'2261','应付分保账款',2,'负债类',1,0,94,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(95,'2311','代理买卖证券款',2,'负债类',1,0,95,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(96,'2312','代理承销证券款',2,'负债类',1,0,96,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(97,'2313','代理兑付证券款',2,'负债类',1,0,97,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(98,'2314','代理业务负债',2,'负债类',1,0,98,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(99,'2401','递延收益',2,'负债类',1,0,99,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(100,'2501','长期借款',2,'负债类',1,0,100,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(101,'2502','应付债券',2,'负债类',1,0,101,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(102,'2601','未到期责任准备金',2,'负债类',1,0,102,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(103,'2602','保险责任准备金',2,'负债类',1,0,103,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(104,'2611','保户储金',2,'负债类',1,0,104,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(105,'2621','独立账户负债',2,'负债类',1,0,105,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(106,'2701','长期应付款',2,'负债类',1,0,106,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(107,'2702','未确认融资费用',2,'负债类',1,0,107,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(108,'2711','专项应付款',2,'负债类',1,0,108,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(109,'2801','预计负债',2,'负债类',1,0,109,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(110,'2901','递延所得税负债',2,'负债类',1,0,110,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(111,'3001','清算资金往来',3,'共同类',1,0,111,'未定义',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(112,'3002','货币兑换',3,'共同类',1,0,112,'未定义',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(113,'3101','衍生工具',3,'共同类',1,0,113,'未定义',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(114,'3201','套期工具',3,'共同类',1,0,114,'未定义',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(115,'3202','被套期项目',3,'共同类',1,0,115,'未定义',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(116,'4001','实收资本',4,'所有者权益类',1,0,116,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(117,'4002','资本公积',4,'所有者权益类',1,0,117,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(118,'4101','盈余公积',4,'所有者权益类',1,0,118,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(119,'4102','一般风险准备',4,'所有者权益类',1,0,119,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(120,'4103','本年利润',4,'所有者权益类',1,0,120,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(121,'4104','利润分配',4,'所有者权益类',1,0,121,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(122,'4201','库存股',4,'所有者权益类',1,0,122,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(123,'5001','生产成本',5,'成本类',1,0,123,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(124,'5101','制造费用',5,'成本类',1,0,124,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(125,'5201','劳务成本',5,'成本类',1,0,125,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(126,'5301','研发支出',5,'成本类',1,0,126,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(127,'5401','工程施工',5,'成本类',1,0,127,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(128,'5402','工程结算',5,'成本类',1,0,128,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(129,'5403','机械作业',5,'成本类',1,0,129,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(130,'6001','主营业务收入',6,'损益类',1,0,130,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(131,'6011','利息收入',6,'损益类',1,0,131,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(132,'6021','手续费及佣金收入',6,'损益类',1,0,132,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(133,'6031','保费收入',6,'损益类',1,0,133,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(134,'6041','租赁收入',6,'损益类',1,0,134,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(135,'6051','其他业务收入',6,'损益类',1,0,135,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(136,'6061','汇兑损益',6,'损益类',1,0,136,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(137,'6101','公允价值变动损益',6,'损益类',1,0,137,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(138,'6111','投资收益',6,'损益类',1,0,138,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(139,'6201','摊回保险责任准备金',6,'损益类',1,0,139,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(140,'6202','摊回赔付支出',6,'损益类',1,0,140,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(141,'6203','摊回分保费用',6,'损益类',1,0,141,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(142,'6301','营业外收入',6,'损益类',1,0,142,'贷',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(143,'6401','主营业务成本',6,'损益类',1,0,143,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(144,'6402','其他业务成本',6,'损益类',1,0,144,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(145,'6403','营业税金及附加',6,'损益类',1,0,145,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(146,'6411','利息支出',6,'损益类',1,0,146,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(147,'6421','手续费及佣金支出',6,'损益类',1,0,147,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(148,'6501','提取未到期责任准备金',6,'损益类',1,0,148,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(149,'6502','提取保险责任准备金',6,'损益类',1,0,149,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(150,'6511','赔付支出',6,'损益类',1,0,150,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(151,'6521','保单红利支出',6,'损益类',1,0,151,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(152,'6531','退保金',6,'损益类',1,0,152,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(153,'6541','分出保费',6,'损益类',1,0,153,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(154,'6542','分保费用',6,'损益类',1,0,154,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(155,'6601','营业费用',6,'损益类',1,0,155,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(156,'6602','管理费用',6,'损益类',1,0,156,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(157,'6603','财务费用',6,'损益类',1,0,157,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(158,'6604','勘探费用',6,'损益类',1,0,158,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(159,'6701','资产减值损失',6,'损益类',1,0,159,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(160,'6711','营业外支出',6,'损益类',1,0,160,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(161,'6801','所得税费用',6,'损益类',1,0,161,'借',0,0)
insert into tbKeMu(ID,ItemCode,ItemValue,ParentID,KMType,IsSystem,IsDeleted,ZZID,YEFX,JFYE,DFYE) values(162,'6901','以前年度损益调整',6,'损益类',1,0,162,'借',0,0)
--权限模块
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(1,0,'权限模块',0,'权限模块')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(2,1,'是否使用该模块',100,'生产加工管理')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(3,1,'是否使用该模块',200,'车辆管理')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(4,1,'是否使用该模块',300,'物流仓储管理')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(5,1,'是否使用该模块',400,'应收应付管理')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(6,1,'是否使用该模块',500,'总账管理')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(7,1,'是否使用该模块',600,'固定资产管理')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(8,1,'是否使用该模块',700,'基础资料')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(9,2,'生产加工管理权限',101,'生产订单')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(10,2,'生产加工管理权限',102,'生产计划单')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(11,2,'生产加工管理权限',103,'生产进度控制')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(12,2,'生产加工管理权限',104,'完工核算')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(13,2,'生产加工管理权限',106,'生产报表')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(14,3,'物流仓储管理权限',201,'采购申请单')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(15,3,'物流仓储管理权限',202,'采购入库单')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(16,3,'物流仓储管理权限',203,'采购退货单')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(17,3,'物流仓储管理权限',204,'产品入库单')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(18,3,'物流仓储管理权限',205,'销售出库单')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(19,3,'物流仓储管理权限',206,'销售退货单')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(20,3,'物流仓储管理权限',207,'内部支领单')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(21,3,'物流仓储管理权限',208,'支领退还单')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(22,3,'物流仓储管理权限',209,'库存盘点单')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(23,3,'物流仓储管理权限',210,'仓库调拨单')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(24,3,'物流仓储管理权限',211,'其它入库单')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(25,3,'物流仓储管理权限',212,'其它出库单')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(26,3,'物流仓储管理权限',213,'库存期初结转单')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(27,4,'车辆运输管理权限',301,'出车记录')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(28,4,'车辆运输管理权限',302,'加油记录')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(29,4,'车辆运输管理权限',303,'维修记录')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(30,4,'车辆运输管理权限',304,'保养记录')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(31,4,'车辆运输管理权限',305,'违章记录')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(32,4,'车辆运输管理权限',306,'事故记录')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(33,4,'车辆运输管理权限',307,'年检记录')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(34,4,'车辆运输管理权限',308,'保险记录')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(35,4,'车辆运输管理权限',309,'车管报表')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(36,5,'应收应付管理权限',401,'应收单')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(37,5,'应收应付管理权限',402,'应付单')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(38,5,'应收应付管理权限',403,'收款单')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(39,5,'应收应付管理权限',404,'付款单')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(40,5,'应收应付管理权限',405,'转账单')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(41,5,'应收应付管理权限',406,'账户余额期初结转单')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(42,5,'应收应付管理权限',407,'应收余额期初结转单')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(43,5,'应收应付管理权限',408,'应付余额期初结转单')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(44,5,'应收应付管理权限',409,'应收应付报表')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(45,6,'总账管理权限',501,'凭证录入')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(46,6,'总账管理权限',502,'凭证登账')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(47,6,'总账管理权限',504,'科目余额期初结转')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(48,6,'总账管理权限',505,'账务报表')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(49,7,'固定资产管理权限',601,'卡片管理')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(50,7,'固定资产管理权限',602,'工作量录入')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(51,7,'固定资产管理权限',603,'计提折旧')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(52,7,'固定资产管理权限',607,'固定资产报表')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(53,8,'基础资料权限',701,'物品资料')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(54,8,'基础资料权限',702,'产品配方')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(55,8,'基础资料权限',703,'生产工序定义')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(57,8,'基础资料权限',705,'员工资料')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(58,8,'基础资料权限',706,'车辆资料')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(59,8,'基础资料权限',707,'库房资料')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(60,8,'基础资料权限',708,'货位资料')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(61,8,'基础资料权限',709,'供应商资料')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(62,8,'基础资料权限',710,'客户资料')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(63,8,'基础资料权限',711,'会计科目')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(64,8,'基础资料权限',712,'现金银行账户')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(65,8,'基础资料权限',713,'收入支出类别')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(66,8,'基础资料权限',714,'固定资产变动类别')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(67,8,'基础资料权限',715,'固定资产存放地点')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(68,3,'物流仓储管理权限',214,'库存报表')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(69,7,'固定资产管理权限',604,'资产检修')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(70,7,'固定资产管理权限',605,'资产租赁')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(71,7,'固定资产管理权限',606,'资产转移')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(72,2,'生产加工管理权限',105,'质量检验单')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(73,3,'物流仓储管理权限',215,'零售单POS')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(74,6,'总账管理权限',503,'凭证审核')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(75,1,'是否使用该模块',800,'人力资源管理')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(76,75,'人力资源管理',801,'调岗调级')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(77,75,'人力资源管理',802,'离职离岗')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(78,75,'人力资源管理',803,'合同签订')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(79,75,'人力资源管理',804,'职称评定')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(80,75,'人力资源管理',805,'奖励记录')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(81,75,'人力资源管理',806,'惩罚记录')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(82,75,'人力资源管理',807,'福利记录')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(83,75,'人力资源管理',808,'证件保管')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(84,75,'人力资源管理',809,'招聘计划')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(85,75,'人力资源管理',810,'应聘记录')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(86,75,'人力资源管理',811,'培训需求')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(87,75,'人力资源管理',815,'带薪休假')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(88,75,'人力资源管理',816,'出差记录')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(89,75,'人力资源管理',817,'请假记录')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(90,75,'人力资源管理',818,'技能技术')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(91,75,'人力资源管理',819,'档案保管')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(92,8,'基础资料权限',716,'员工技能')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(93,75,'人力资源管理',820,'加班记录')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(94,75,'人力资源管理',821,'早退记录')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(95,75,'人力资源管理',822,'迟到记录')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(96,75,'人力资源管理',823,'矿工记录')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(97,75,'人力资源管理',824,'综合报表')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(98,8,'基础资料权限',717,'工资项目')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(99,8,'基础资料权限',718,'工资结构')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(100,8,'基础资料权限',719,'所得税率表')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(101,1,'是否使用该模块',900,'工资薪酬管理')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(102,101,'工资薪酬管理',901,'工资录入')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(103,101,'工资薪酬管理',902,'计件工资')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(104,101,'工资薪酬管理',903,'计时工资')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(105,101,'工资薪酬管理',905,'工资查询')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(106,8,'基础资料权限',720,'绩效考核指标')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(107,3,'物流仓储管理权限',216,'采购询价单')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(108,3,'物流仓储管理权限',217,'销售报价单')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(109,1,'是否使用该模块',1000,'绩效考核管理')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(110,109,'绩效考核管理',1001,'批次管理')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(111,109,'绩效考核管理',1002,'考核配置')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(112,109,'绩效考核管理',1003,'考核评分')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(113,109,'绩效考核管理',1004,'考核成绩')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(114,109,'绩效考核管理',1005,'审诉记录')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(115,101,'工资薪酬管理',904,'工分记录')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(116,109,'绩效考核管理',1006,'飞行检查')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(117,3,'物流仓储管理权限',218,'出入库扩展')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(118,5,'应收应付管理权限',410,'报销单')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(119,5,'应收应付管理权限',411,'预算单')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(120,1,'是否使用该模块',1100,'客户关系管理')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(121,120,'客户关系管理',1101,'联系人')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(122,120,'客户关系管理',1102,'目标计划')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(123,120,'客户关系管理',1103,'项目机会')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(124,120,'客户关系管理',1104,'合同订单')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(125,120,'客户关系管理',1105,'回款记录')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(126,120,'客户关系管理',1106,'跟踪回访')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(127,120,'客户关系管理',1107,'客户服务')
insert into tbUserAccess(ID,ParentID,ParentName,Code,TypeName) values(128,120,'客户关系管理',1108,'客户投诉')
--单据类型
insert into tbBillType(ID,BillTypeName) values(1,'采购入库单')
insert into tbBillType(ID,BillTypeName) values(2,'采购退货单')
insert into tbBillType(ID,BillTypeName) values(3,'内部支领单')
insert into tbBillType(ID,BillTypeName) values(4,'支领退还单')
insert into tbBillType(ID,BillTypeName) values(5,'盘点单')
insert into tbBillType(ID,BillTypeName) values(6,'调拨单')
insert into tbBillType(ID,BillTypeName) values(7,'其它入库单')
insert into tbBillType(ID,BillTypeName) values(8,'其它出库单')
insert into tbBillType(ID,BillTypeName) values(9,'库存量期初结转')
insert into tbBillType(ID,BillTypeName) values(10,'收款单')
insert into tbBillType(ID,BillTypeName) values(11,'付款单')
insert into tbBillType(ID,BillTypeName) values(12,'转账单')
insert into tbBillType(ID,BillTypeName) values(13,'账户余额期初结转')
insert into tbBillType(ID,BillTypeName) values(14,'采购申请单')
insert into tbBillType(ID,BillTypeName) values(15,'销售出库单')
insert into tbBillType(ID,BillTypeName) values(16,'销售退货单')
insert into tbBillType(ID,BillTypeName) values(17,'应收单')
insert into tbBillType(ID,BillTypeName) values(18,'应付单')
insert into tbBillType(ID,BillTypeName) values(19,'应收余额期初结转')
insert into tbBillType(ID,BillTypeName) values(20,'应付余额期初结转')
insert into tbBillType(ID,BillTypeName) values(21,'生产订单')
insert into tbBillType(ID,BillTypeName) values(22,'生产任务单')
insert into tbBillType(ID,BillTypeName) values(23,'产品入库单')
insert into tbBillType(ID,BillTypeName) values(24,'质量检验单')
insert into tbBillType(ID,BillTypeName) values(25,'零售单')
insert into tbBillType(ID,BillTypeName) values(26,'出入库扩展')
insert into tbBillType(ID,BillTypeName) values(27,'报销单')
insert into tbBillType(ID,BillTypeName) values(28,'预算单')
--所得税率表
insert into tbGZTax(DownPrice,UpPrice,Tax,Kouchu) values(0,1500,0.03,0)
insert into tbGZTax(DownPrice,UpPrice,Tax,Kouchu) values(1500,4500,0.1,105)
insert into tbGZTax(DownPrice,UpPrice,Tax,Kouchu) values(4500,9000,0.2,555)
insert into tbGZTax(DownPrice,UpPrice,Tax,Kouchu) values(9000,35000,0.25,1005)
insert into tbGZTax(DownPrice,UpPrice,Tax,Kouchu) values(35000,55000,0.3,2755)
insert into tbGZTax(DownPrice,UpPrice,Tax,Kouchu) values(55000,80000,35,5505)
insert into tbGZTax(DownPrice,UpPrice,Tax,Kouchu) values(80000,100000000,0.45,13505)

 posted on 2015-07-30 10:29  chncoder  阅读(817)  评论(0编辑  收藏  举报