-- 暂估应收单
DELETE FROM t_cr_coderule WHERE FID = '05OLPQ57DC8Z';
INSERT INTO t_cr_coderule (FID, FNUMBER, FRULETYPE, FBIZOBJECTID, FSPLITSIGN, FCTRLMODE, FAPPMODE, FEXAMPLE, FEXAMPLELENGTH, FENABLE, FSTATUS, FCREATORID, FCREATETIME, FMODIFIERID, FMODIFYTIME, FDISABLERID, FDISABLEDATE, FMASTERID, FISUPDATERECOVER) VALUES ('05OLPQ57DC8Z', ' ', NULL, 'ar_busbill', '-', '1', '2', ' ', ' ', '1', 'C', '1', {ts'2018-08-08 18:08:08'}, '1', {ts'2018-08-08 18:08:08'}, NULL, NULL, '05OLPQ57DC8Z', '0');
DELETE FROM t_cr_coderule_l WHERE FID = '05OLPQ57DC8Z';
INSERT INTO t_cr_coderule_l (FPKID, FID, FLOCALEID, FNAME) VALUES ('05OLPQ57DPQ3', '05OLPQ57DC8Z', 'zh_CN', '暂估应收单编码规则');
DELETE FROM t_cr_coderuleentry WHERE FID = '05OLPQ57DC8Z';
INSERT INTO t_cr_coderuleentry (FENTRYID, FID, FSEQ, FATTRIBUTETYPE, FATTUSINGMODE, FVALUEATRIBUTE, FFORMAT, FSETTINGVALUE, FLENGTH, FINITIAL, FSTEP, FADDCHAR, FISSPLITSIGN, FADDSTYLE, FCUTSTYLE, FISSORTITEM, FSPLITSIGN,FISVISABLE) VALUES ('085R/9FL9B31', '05OLPQ57DC8Z', 0, '1', '1', ' ', 'ARUB', ' ', 8, 1, 1, ' ', '0', '1', '1', '0', ' ', '1');
INSERT INTO t_cr_coderuleentry (FENTRYID, FID, FSEQ, FATTRIBUTETYPE, FATTUSINGMODE, FVALUEATRIBUTE, FFORMAT, FSETTINGVALUE, FLENGTH, FINITIAL, FSTEP, FADDCHAR, FISSPLITSIGN, FADDSTYLE, FCUTSTYLE, FISSORTITEM, FSPLITSIGN,FISVISABLE) VALUES ('085R/9FL9B32', '05OLPQ57DC8Z', 1, '16', '1', ' ', ' ', ' ', 6, 1, 1, ' ', '1', '1', '1', '0', '-', '1');