DELETE FROM t_tpo_rule_configs WHERE FID = 1002855965860616192;
INSERT INTO t_tpo_rule_configs(FID,FBIZNAME,FISCHILD,FTAXTYPE,FSUBNAME,FNAME) VALUES (1002855965860616192,'红字增值税专用发票信息表','1',',VAT_ROLLOUT,','redspecialinvoiceitems','tdm_invoice_input_red'); 

DELETE FROM t_tpo_rule_configs_entry WHERE FENTRYID = 1002855965860615168;
INSERT INTO t_tpo_rule_configs_entry(FID,FORGSTATE,FBIZSUBNAME,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FDESCRICE,FDATASTATE) VALUES (1002855965860616192,'0','单据编号','0',1002855965860615168,'0','tdm_invoice_input_red','0','0','0',1,'billno','单据编号','0'); 
DELETE FROM t_tpo_rule_configs_entry WHERE FENTRYID = 1002855965860615169;
INSERT INTO t_tpo_rule_configs_entry(FID,FORGSTATE,FBIZSUBNAME,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FDESCRICE,FDATASTATE) VALUES (1002855965860616192,'0','单据状态','0',1002855965860615169,'0','tdm_invoice_input_red','0','0','0',2,'billstatus','单据状态','0'); 
DELETE FROM t_tpo_rule_configs_entry WHERE FENTRYID = 1002855965860615170;
INSERT INTO t_tpo_rule_configs_entry(FID,FORGSTATE,FBIZSUBNAME,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FDESCRICE,FDATASTATE) VALUES (1002855965860616192,'0','创建人','0',1002855965860615170,'0','tdm_invoice_input_red','0','0','0',3,'creator','创建人','0'); 
DELETE FROM t_tpo_rule_configs_entry WHERE FENTRYID = 1002855965860615171;
INSERT INTO t_tpo_rule_configs_entry(FID,FORGSTATE,FBIZSUBNAME,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FDESCRICE,FDATASTATE) VALUES (1002855965860616192,'0','修改人','0',1002855965860615171,'0','tdm_invoice_input_red','0','0','0',4,'modifier','修改人','0'); 
DELETE FROM t_tpo_rule_configs_entry WHERE FENTRYID = 1002855965860615172;
INSERT INTO t_tpo_rule_configs_entry(FID,FORGSTATE,FBIZSUBNAME,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FDESCRICE,FDATASTATE) VALUES (1002855965860616192,'0','审核人','0',1002855965860615172,'0','tdm_invoice_input_red','0','0','0',5,'auditor','审核人','0'); 
DELETE FROM t_tpo_rule_configs_entry WHERE FENTRYID = 1002855965860615173;
INSERT INTO t_tpo_rule_configs_entry(FID,FORGSTATE,FBIZSUBNAME,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FDESCRICE,FDATASTATE) VALUES (1002855965860616192,'0','审核日期','0',1002855965860615173,'0','tdm_invoice_input_red','0','0','0',6,'auditdate','审核日期','0'); 
DELETE FROM t_tpo_rule_configs_entry WHERE FENTRYID = 1002855965860615174;
INSERT INTO t_tpo_rule_configs_entry(FID,FORGSTATE,FBIZSUBNAME,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FDESCRICE,FDATASTATE) VALUES (1002855965860616192,'0','修改时间','0',1002855965860615174,'0','tdm_invoice_input_red','0','0','0',7,'modifytime','修改时间','0'); 
DELETE FROM t_tpo_rule_configs_entry WHERE FENTRYID = 1002855965860615175;
INSERT INTO t_tpo_rule_configs_entry(FID,FORGSTATE,FBIZSUBNAME,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FDESCRICE,FDATASTATE) VALUES (1002855965860616192,'0','创建时间','0',1002855965860615175,'0','tdm_invoice_input_red','0','0','0',8,'createtime','创建时间','0'); 
DELETE FROM t_tpo_rule_configs_entry WHERE FENTRYID = 1002855965860615176;
INSERT INTO t_tpo_rule_configs_entry(FID,FORGSTATE,FBIZSUBNAME,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FDESCRICE,FDATASTATE) VALUES (1002855965860616192,'1','组织','0',1002855965860615176,'0','tdm_invoice_input_red','0','0','0',9,'org','组织','0'); 
DELETE FROM t_tpo_rule_configs_entry WHERE FENTRYID = 1002855965860615177;
INSERT INTO t_tpo_rule_configs_entry(FID,FORGSTATE,FBIZSUBNAME,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FDESCRICE,FDATASTATE) VALUES (1002855965860616192,'0','发票类型','0',1002855965860615177,'0','tdm_invoice_input_red','0','0','0',10,'type','发票类型','0'); 
DELETE FROM t_tpo_rule_configs_entry WHERE FENTRYID = 1002855965860615178;
INSERT INTO t_tpo_rule_configs_entry(FID,FORGSTATE,FBIZSUBNAME,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FDESCRICE,FDATASTATE) VALUES (1002855965860616192,'0','对应蓝字发票代码','0',1002855965860615178,'0','tdm_invoice_input_red','0','1','0',11,'invoicecode','对应蓝字发票代码','0'); 
DELETE FROM t_tpo_rule_configs_entry WHERE FENTRYID = 1002855965860615179;
INSERT INTO t_tpo_rule_configs_entry(FID,FORGSTATE,FBIZSUBNAME,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FDESCRICE,FDATASTATE) VALUES (1002855965860616192,'0','对应蓝字发票号码','0',1002855965860615179,'0','tdm_invoice_input_red','0','1','0',12,'invoiceno','对应蓝字发票号码','0'); 
DELETE FROM t_tpo_rule_configs_entry WHERE FENTRYID = 1002855965860615180;
INSERT INTO t_tpo_rule_configs_entry(FID,FORGSTATE,FBIZSUBNAME,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FDESCRICE,FDATASTATE) VALUES (1002855965860616192,'0','填开日期','0',1002855965860615180,'0','tdm_invoice_input_red','0','0','0',13,'invoicedate','填开日期','1'); 
DELETE FROM t_tpo_rule_configs_entry WHERE FENTRYID = 1002855965860615181;
INSERT INTO t_tpo_rule_configs_entry(FID,FORGSTATE,FBIZSUBNAME,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FDESCRICE,FDATASTATE) VALUES (1002855965860616192,'0','红字专用发票信息表编号','0',1002855965860615181,'0','tdm_invoice_input_red','0','1','0',14,'serialno','红字专用发票信息表编号','0'); 
DELETE FROM t_tpo_rule_configs_entry WHERE FENTRYID = 1002855965860615182;
INSERT INTO t_tpo_rule_configs_entry(FID,FORGSTATE,FBIZSUBNAME,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FDESCRICE,FDATASTATE) VALUES (1002855965860616192,'0','销方名称','0',1002855965860615182,'0','tdm_invoice_input_red','0','1','0',15,'salername','销方名称','0'); 
DELETE FROM t_tpo_rule_configs_entry WHERE FENTRYID = 1002855965860615183;
INSERT INTO t_tpo_rule_configs_entry(FID,FORGSTATE,FBIZSUBNAME,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FDESCRICE,FDATASTATE) VALUES (1002855965860616192,'0','销方税号','0',1002855965860615183,'0','tdm_invoice_input_red','0','1','0',16,'salertaxno','销方税号','0'); 
DELETE FROM t_tpo_rule_configs_entry WHERE FENTRYID = 1002855965860615184;
INSERT INTO t_tpo_rule_configs_entry(FID,FORGSTATE,FBIZSUBNAME,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FDESCRICE,FDATASTATE) VALUES (1002855965860616192,'0','购方名称','0',1002855965860615184,'0','tdm_invoice_input_red','0','1','0',17,'buyername','购方名称','0'); 
DELETE FROM t_tpo_rule_configs_entry WHERE FENTRYID = 1002855965860615185;
INSERT INTO t_tpo_rule_configs_entry(FID,FORGSTATE,FBIZSUBNAME,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FDESCRICE,FDATASTATE) VALUES (1002855965860616192,'0','购方税号','0',1002855965860615185,'0','tdm_invoice_input_red','0','1','0',18,'buyertaxno','购方税号','0'); 
DELETE FROM t_tpo_rule_configs_entry WHERE FENTRYID = 1002855965860615186;
INSERT INTO t_tpo_rule_configs_entry(FID,FORGSTATE,FBIZSUBNAME,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FDESCRICE,FDATASTATE) VALUES (1002855965860616192,'0','合计金额','0',1002855965860615186,'0','tdm_invoice_input_red','0','0','1',19,'invoiceamount','合计金额','0'); 
DELETE FROM t_tpo_rule_configs_entry WHERE FENTRYID = 1002855965860615187;
INSERT INTO t_tpo_rule_configs_entry(FID,FORGSTATE,FBIZSUBNAME,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FDESCRICE,FDATASTATE) VALUES (1002855965860616192,'0','合计税额','0',1002855965860615187,'1','tdm_invoice_input_red','0','0','1',20,'totaltaxamount','合计税额','0'); 
DELETE FROM t_tpo_rule_configs_entry WHERE FENTRYID = 1002855965860615188;
INSERT INTO t_tpo_rule_configs_entry(FID,FORGSTATE,FBIZSUBNAME,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FDESCRICE,FDATASTATE) VALUES (1002855965860616192,'0','价税合计','0',1002855965860615188,'0','tdm_invoice_input_red','0','0','1',21,'totalamount','价税合计','0'); 
DELETE FROM t_tpo_rule_configs_entry WHERE FENTRYID = 1002855965860615189;
INSERT INTO t_tpo_rule_configs_entry(FID,FORGSTATE,FBIZSUBNAME,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FDESCRICE,FDATASTATE) VALUES (1002855965860616192,'0','购买方抵扣状态','0',1002855965860615189,'0','tdm_invoice_input_red','0','1','0',22,'deductedstatus','购买方抵扣状态','0'); 
DELETE FROM t_tpo_rule_configs_entry WHERE FENTRYID = 1002855965860615190;
INSERT INTO t_tpo_rule_configs_entry(FID,FORGSTATE,FBIZSUBNAME,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FDESCRICE,FDATASTATE) VALUES (1002855965860616192,'0','分录行号','0',1002855965860615190,'0','redspecialinvoiceitems','0','0','0',23,'seq','分录行号','0'); 
DELETE FROM t_tpo_rule_configs_entry WHERE FENTRYID = 1002855965860615191;
INSERT INTO t_tpo_rule_configs_entry(FID,FORGSTATE,FBIZSUBNAME,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FDESCRICE,FDATASTATE) VALUES (1002855965860616192,'0','货物（劳务服务）名称','0',1002855965860615191,'0','redspecialinvoiceitems','0','1','0',24,'goodsname','货物（劳务服务）名称','0'); 
DELETE FROM t_tpo_rule_configs_entry WHERE FENTRYID = 1002855965860615192;
INSERT INTO t_tpo_rule_configs_entry(FID,FORGSTATE,FBIZSUBNAME,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FDESCRICE,FDATASTATE) VALUES (1002855965860616192,'0','单价','0',1002855965860615192,'0','redspecialinvoiceitems','0','0','1',25,'unitprice','单价','0'); 
DELETE FROM t_tpo_rule_configs_entry WHERE FENTRYID = 1002855965860615193;
INSERT INTO t_tpo_rule_configs_entry(FID,FORGSTATE,FBIZSUBNAME,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FDESCRICE,FDATASTATE) VALUES (1002855965860616192,'0','数量','0',1002855965860615193,'0','redspecialinvoiceitems','0','0','1',26,'count','数量','0'); 
DELETE FROM t_tpo_rule_configs_entry WHERE FENTRYID = 1002855965860615194;
INSERT INTO t_tpo_rule_configs_entry(FID,FORGSTATE,FBIZSUBNAME,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FDESCRICE,FDATASTATE) VALUES (1002855965860616192,'0','税率','0',1002855965860615194,'0','redspecialinvoiceitems','0','0','1',27,'taxrate','税率','0'); 
DELETE FROM t_tpo_rule_configs_entry WHERE FENTRYID = 1002855965860615195;
INSERT INTO t_tpo_rule_configs_entry(FID,FORGSTATE,FBIZSUBNAME,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FDESCRICE,FDATASTATE) VALUES (1002855965860616192,'0','金额','0',1002855965860615195,'0','redspecialinvoiceitems','0','0','1',28,'detailamount','金额','0'); 
DELETE FROM t_tpo_rule_configs_entry WHERE FENTRYID = 1002855965860615196;
INSERT INTO t_tpo_rule_configs_entry(FID,FORGSTATE,FBIZSUBNAME,FYEARSTATE,FENTRYID,FSTATE,FSUBNAME,FMONTHSTATE,FWHERESTATE,FISAMOUNT,FSEQ,FFIELDNAME,FDESCRICE,FDATASTATE) VALUES (1002855965860616192,'0','税额','0',1002855965860615196,'0','redspecialinvoiceitems','0','0','1',29,'taxamount','税额','0'); 
