-- 编码规则
DELETE FROM T_CR_CodeRule_l WHERE FID = '2PKQ4+JTFPB8' AND FLOCALEID = 'zh_CN';
DELETE FROM T_CR_CodeRule_l WHERE FID = '2PKQ4+JTFPB8' AND FLOCALEID = 'zh_TW';
DELETE FROM T_CR_CodeRule_l WHERE FID = '2PW=0M+0YC62' AND FLOCALEID = 'zh_CN';
INSERT INTO T_CR_CodeRule_l(FID,FPKID,FLOCALEID,FNAME) VALUES ('2PW=0M+0YC62','2PW=0M+4D3HN','zh_CN','供应商订单变更编码规则'); 


DELETE FROM T_CR_CodeRule WHERE FID = '2PKQ4+JTFPB8';
DELETE FROM T_CR_CodeRule WHERE FID = '2PW=0M+0YC62';
INSERT INTO T_CR_CodeRule(FEXAMPLE,FAPPMODE,FISADDVIEW,FISAPPCONDITION,FMASTERID,FISUNIQUE,FISMODIFIABLE,FCREATETIME,FBIZOBJECTID,FENABLE,FISUPDATERECOVER,FISAPPORG,FISSERIALNUMBER,FISCHECKCODE,FID,FCTRLMODE,FSPLITSIGN,FISLOG,FSTATUS,FNUMBER,FEXAMPLELENGTH,FISFAST,FMODIFIERID,FISNONBREAK,FMODIFYTIME,FCREATORID) VALUES (' ','2','1','0','2PW=0M+0YC62','0','0',{ts'2022-09-08  00:00:00'},'scp_ordchange','1','0','0','1','0','2PW=0M+0YC62','1','-','0','C','2PW9YPDBXY/1',' ','1',1210069609236019200,'0',{ts'2022-09-13  00:00:00'},0); 

DELETE FROM T_CR_CodeRuleEntry WHERE FENTRYID = '2PW+1GDM6F1W';
DELETE FROM T_CR_CodeRuleEntry WHERE FENTRYID = '2PW+1GDM6F1X';
DELETE FROM T_CR_CodeRuleEntry WHERE FENTRYID = '2PW+1GDM6F1Y';

DELETE FROM T_CR_CodeRuleEntry WHERE FENTRYID = '2QASXI=9V8J9';
INSERT INTO T_CR_CodeRuleEntry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FLENGTH,FISVISABLE,FFORMAT,FADDSTYLE,FSETTINGVALUE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('2PW=0M+0YC62',1,'8',' ','1','2QASXI=9V8J9',1,'1','3',0,8,'1',' ','1',' ','pobillno','0',' '); 
DELETE FROM T_CR_CodeRuleEntry WHERE FENTRYID = '2QASXI=9V8J=';
INSERT INTO T_CR_CodeRuleEntry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FLENGTH,FISVISABLE,FFORMAT,FADDSTYLE,FSETTINGVALUE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('2PW=0M+0YC62',1,'1','#','0','2QASXI=9V8J=',1,'1',' ',1,8,'1','SCO','1',' ',' ','1',' '); 
DELETE FROM T_CR_CodeRuleEntry WHERE FENTRYID = '2QASXI=9V8JA';
INSERT INTO T_CR_CodeRuleEntry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FLENGTH,FISVISABLE,FFORMAT,FADDSTYLE,FSETTINGVALUE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('2PW=0M+0YC62',1,'16',' ','0','2QASXI=9V8JA',1,'1',' ',2,2,'1',' ','1',' ',' ','0',' '); 
