
--通用备货运算日志编码规则
DELETE FROM T_CR_CodeRule WHERE FID = '2N=AEWFTSV0L';
INSERT INTO T_CR_CodeRule(FEXAMPLE,FAPPMODE,FISADDVIEW,FISAPPCONDITION,FISUNIQUE,FMASTERID,FISMODIFIABLE,FCREATETIME,FBIZOBJECTID,FISUPDATERECOVER,FENABLE,FISAPPORG,FISSERIALNUMBER,FISCHECKCODE,FID,FCTRLMODE,FSPLITSIGN,FISLOG,FSTATUS,FNUMBER,FEXAMPLELENGTH,FISFAST,FMODIFIERID,FISNONBREAK,FMODIFYTIME,FCREATORID) VALUES (' ','2','1','0','0','2N=AEWFTSV0L','0',{ts'2018-08-08  18:08:08'},'mds_generallog','0','1','0','1','0','2N=AEWFTSV0L','1','-','0','C','2N=AC+ZOVXQB',' ','0',1155080440374427648,'0',{ts'2018-08-08  18:08:08'},0); 

DELETE FROM T_CR_CodeRule_l WHERE FPKID = '2N=AEWFTRBG=';
INSERT INTO T_CR_CodeRule_l(FID,FPKID,FLOCALEID,FNAME) VALUES ('2N=AEWFTSV0L','2N=AEWFTRBG=','zh_CN','通用备货运算日志'); 

--分录
DELETE FROM T_CR_CodeRuleEntry WHERE FENTRYID = '2N=AEWHOA4WV';
INSERT INTO T_CR_CodeRuleEntry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FLENGTH,FISVISABLE,FFORMAT,FADDSTYLE,FSETTINGVALUE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('2N=AEWFTSV0L',1,'1',' ','0','2N=AEWHOA4WV',1,'1','1',0,8,'1','TY','1',' ',' ','0',' '); 
DELETE FROM T_CR_CodeRuleEntry WHERE FENTRYID = '2N=AEWHOA4WW';
INSERT INTO T_CR_CodeRuleEntry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FLENGTH,FISVISABLE,FFORMAT,FADDSTYLE,FSETTINGVALUE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('2N=AEWFTSV0L',1,'9','-','1','2N=AEWHOA4WW',1,'1',' ',1,8,'1','yyyyMMdd','1',' ',' ','1',' '); 
DELETE FROM T_CR_CodeRuleEntry WHERE FENTRYID = '2N=AEWHOA4WX';
INSERT INTO T_CR_CodeRuleEntry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FLENGTH,FISVISABLE,FFORMAT,FADDSTYLE,FSETTINGVALUE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('2N=AEWFTSV0L',1,'16','-','0','2N=AEWHOA4WX',1,'1',' ',2,8,'1',' ','1',' ',' ','1',' '); 
