--单据关系图--

DELETE FROM t_wf_mbillsummarycfg WHERE FID = 1454950496128483328;
IF NOT EXISTS (select fid from t_wf_mbillsummarycfg where FBILLTYPE = 'pur_order') 
INSERT INTO t_wf_mbillsummarycfg(FID,FTPLNAME,FSCENE,FMASTERID,FSTATUS,FNUMBER,FNAME,FCREATETIME,FSUMMARYTPL,FENABLE,FMODIFIERID,FBILLTYPE,FDEFAULTDATAROWS,FMODIFYTIME,FCREATORID,FDEFAULTROWS) VALUES (1454950496128483328,'单据关系图卡片模板','billRelationCardSummary',1454950496128483328,'A','pur_order_BBC_S',' ',{ts'2022-07-01  00:00:00'},'bpm_billrelation_cardtpl','1',1210069609236019200,'pur_order',3,{ts'2022-07-01  00:00:00'},1210069609236019200,6); 
DELETE FROM t_wf_mbillsummarycfg WHERE FID = 1454952065771257856;
IF NOT EXISTS (select fid from t_wf_mbillsummarycfg where FBILLTYPE = 'pur_ordchange') 
INSERT INTO t_wf_mbillsummarycfg(FID,FTPLNAME,FSCENE,FMASTERID,FSTATUS,FNUMBER,FNAME,FCREATETIME,FSUMMARYTPL,FENABLE,FMODIFIERID,FBILLTYPE,FDEFAULTDATAROWS,FMODIFYTIME,FCREATORID,FDEFAULTROWS) VALUES (1454952065771257856,'单据关系图卡片模板','billRelationCardSummary',1454952065771257856,'A','pur_ordchange_BBC_S',' ',{ts'2022-07-01  00:00:00'},'bpm_billrelation_cardtpl','1',1210069609236019200,'pur_ordchange',3,{ts'2022-07-01  00:00:00'},1210069609236019200,6); 
DELETE FROM t_wf_mbillsummarycfg WHERE FID = 1454953124329701376;
IF NOT EXISTS (select fid from t_wf_mbillsummarycfg where FBILLTYPE = 'pur_receipt') 
INSERT INTO t_wf_mbillsummarycfg(FID,FTPLNAME,FSCENE,FMASTERID,FSTATUS,FNUMBER,FNAME,FCREATETIME,FSUMMARYTPL,FENABLE,FMODIFIERID,FBILLTYPE,FDEFAULTDATAROWS,FMODIFYTIME,FCREATORID,FDEFAULTROWS) VALUES (1454953124329701376,'单据关系图卡片模板','billRelationCardSummary',1454953124329701376,'A','pur_receipt_BBC_S',' ',{ts'2022-07-01  00:00:00'},'bpm_billrelation_cardtpl','1',1210069609236019200,'pur_receipt',3,{ts'2022-07-01  00:00:00'},1210069609236019200,6); 
DELETE FROM t_wf_mbillsummarycfg WHERE FID = 1454954004739153920;
IF NOT EXISTS (select fid from t_wf_mbillsummarycfg where FBILLTYPE = 'pur_instock') 
INSERT INTO t_wf_mbillsummarycfg(FID,FTPLNAME,FSCENE,FMASTERID,FSTATUS,FNUMBER,FNAME,FCREATETIME,FSUMMARYTPL,FENABLE,FMODIFIERID,FBILLTYPE,FDEFAULTDATAROWS,FMODIFYTIME,FCREATORID,FDEFAULTROWS) VALUES (1454954004739153920,'单据关系图卡片模板','billRelationCardSummary',1454954004739153920,'A','pur_insotck_BBC_S',' ',{ts'2022-07-01  00:00:00'},'bpm_billrelation_cardtpl','1',1210069609236019200,'pur_instock',3,{ts'2022-07-01  00:00:00'},1210069609236019200,6); 
DELETE FROM t_wf_mbillsummarycfg WHERE FID = 1454954964161150976;
IF NOT EXISTS (select fid from t_wf_mbillsummarycfg where FBILLTYPE = 'pur_request') 
INSERT INTO t_wf_mbillsummarycfg(FID,FTPLNAME,FSCENE,FMASTERID,FSTATUS,FNUMBER,FNAME,FCREATETIME,FSUMMARYTPL,FENABLE,FMODIFIERID,FBILLTYPE,FDEFAULTDATAROWS,FMODIFYTIME,FCREATORID,FDEFAULTROWS) VALUES (1454954964161150976,'单据关系图卡片模板','billRelationCardSummary',1454954964161150976,'A','pur_request_BBC_S',' ',{ts'2022-07-01  00:00:00'},'bpm_billrelation_cardtpl','1',1210069609236019200,'pur_request',3,{ts'2022-07-01  00:00:00'},1210069609236019200,6); 
DELETE FROM t_wf_mbillsummarycfg WHERE FID = 1454955742582030336;
IF NOT EXISTS (select fid from t_wf_mbillsummarycfg where FBILLTYPE = 'pur_receipt_return') 
INSERT INTO t_wf_mbillsummarycfg(FID,FTPLNAME,FSCENE,FMASTERID,FSTATUS,FNUMBER,FNAME,FCREATETIME,FSUMMARYTPL,FENABLE,FMODIFIERID,FBILLTYPE,FDEFAULTDATAROWS,FMODIFYTIME,FCREATORID,FDEFAULTROWS) VALUES (1454955742582030336,'单据关系图卡片模板','billRelationCardSummary',1454955742582030336,'A','pur_receipt_return_BBC_S',' ',{ts'2022-07-01  00:00:00'},'bpm_billrelation_cardtpl','1',1210069609236019200,'pur_receipt_return',3,{ts'2022-07-01  00:00:00'},1210069609236019200,6); 
DELETE FROM t_wf_mbillsummarycfg WHERE FID = 1454959510006546432;
IF NOT EXISTS (select fid from t_wf_mbillsummarycfg where FBILLTYPE = 'pur_pay') 
INSERT INTO t_wf_mbillsummarycfg(FID,FTPLNAME,FSCENE,FMASTERID,FSTATUS,FNUMBER,FNAME,FCREATETIME,FSUMMARYTPL,FENABLE,FMODIFIERID,FBILLTYPE,FDEFAULTDATAROWS,FMODIFYTIME,FCREATORID,FDEFAULTROWS) VALUES (1454959510006546432,'单据关系图卡片模板','billRelationCardSummary',1454959510006546432,'A','pur_paypay_BBC_S',' ',{ts'2022-07-01  00:00:00'},'bpm_billrelation_cardtpl','1',1210069609236019200,'pur_pay',3,{ts'2022-07-01  00:00:00'},1210069609236019200,6); 
DELETE FROM t_wf_mbillsummarycfg WHERE FID = 1454958515797114880;
IF NOT EXISTS (select fid from t_wf_mbillsummarycfg where FBILLTYPE = 'pur_payapply') 
INSERT INTO t_wf_mbillsummarycfg(FID,FTPLNAME,FSCENE,FMASTERID,FSTATUS,FNUMBER,FNAME,FCREATETIME,FSUMMARYTPL,FENABLE,FMODIFIERID,FBILLTYPE,FDEFAULTDATAROWS,FMODIFYTIME,FCREATORID,FDEFAULTROWS) VALUES (1454958515797114880,'单据关系图卡片模板','billRelationCardSummary',1454958515797114880,'A','pur_payapply_BBC_S',' ',{ts'2022-07-01  00:00:00'},'bpm_billrelation_cardtpl','1',1210069609236019200,'pur_payapply',3,{ts'2022-07-01  00:00:00'},1210069609236019200,6); 

DELETE FROM t_wf_mbillsummarycfg WHERE FID = 1473088421814622208;
IF NOT EXISTS (select fid from t_wf_mbillsummarycfg where FBILLTYPE = 'pur_return') 
INSERT INTO t_wf_mbillsummarycfg(FID,FTPLNAME,FSCENE,FMASTERID,FSTATUS,FNUMBER,FNAME,FCREATETIME,FSUMMARYTPL,FENABLE,FMODIFIERID,FBILLTYPE,FDEFAULTDATAROWS,FMODIFYTIME,FCREATORID,FDEFAULTROWS) VALUES (1473088421814622208,'单据关系图卡片模板','billRelationCardSummary',1473088421814622208,'A','pur_return_BBC_S',' ',{ts'2022-07-26  00:00:00'},'bpm_billrelation_cardtpl','1',1210069609236019200,'pur_return',3,{ts'2022-07-26  00:00:00'},1210069609236019200,6); 

DELETE FROM t_wf_mbillsummarycfg_l WHERE FID = 1454950496128483328 AND FLOCALEID = 'zh_CN';
IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454950496128483328) 
INSERT INTO t_wf_mbillsummarycfg_l (FID,FPKID,FLOCALEID,FNAME) VALUES (1454950496128483328,'2JPI8CGNKZFP','zh_CN','协同采购订单卡片'); 
DELETE FROM t_wf_mbillsummarycfg_l WHERE FID = 1454950496128483328 AND FLOCALEID = 'zh_TW';
IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454950496128483328) 
INSERT INTO t_wf_mbillsummarycfg_l (FID,FPKID,FLOCALEID,FNAME) VALUES (1454950496128483328,'2JPI8CGNKZFQ','zh_TW','協同采購訂單卡片'); 
DELETE FROM t_wf_mbillsummarycfg_l WHERE FID = 1454950496128483328 AND FLOCALEID = 'en_US';
IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454950496128483328) 
INSERT INTO t_wf_mbillsummarycfg_l (FID,FPKID,FLOCALEID,FNAME) VALUES (1454950496128483328,'2JPI8CGNKZFR','en_US','协同采购订单卡片'); 
DELETE FROM t_wf_mbillsummarycfg_l WHERE FID = 1454952065771257856 AND FLOCALEID = 'zh_CN'; 
IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454952065771257856) 
INSERT INTO t_wf_mbillsummarycfg_l (FID,FPKID,FLOCALEID,FNAME) VALUES (1454952065771257856,'2JPIITHYEEZC','zh_CN','订单变更卡片'); 
DELETE FROM t_wf_mbillsummarycfg_l WHERE FID = 1454952065771257856 AND FLOCALEID = 'zh_TW';
IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454952065771257856) 
INSERT INTO t_wf_mbillsummarycfg_l (FID,FPKID,FLOCALEID,FNAME) VALUES (1454952065771257856,'2JPIITHYEEZD','zh_TW','訂單變更卡片'); 
DELETE FROM t_wf_mbillsummarycfg_l WHERE FID = 1454952065771257856 AND FLOCALEID = 'en_US';
IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454952065771257856) 
INSERT INTO t_wf_mbillsummarycfg_l (FID,FPKID,FLOCALEID,FNAME) VALUES (1454952065771257856,'2JPIITHYEEZE','en_US','订单变更卡片'); 
DELETE FROM t_wf_mbillsummarycfg_l WHERE FID = 1454953124329701376 AND FLOCALEID = 'zh_CN';
IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454953124329701376) 
INSERT INTO t_wf_mbillsummarycfg_l (FID,FPKID,FLOCALEID,FNAME) VALUES (1454953124329701376,'2JPIQIBCLKJO','zh_CN','采购收货卡片'); 
DELETE FROM t_wf_mbillsummarycfg_l WHERE FID = 1454953124329701376 AND FLOCALEID = 'zh_TW';
IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454953124329701376) 
INSERT INTO t_wf_mbillsummarycfg_l (FID,FPKID,FLOCALEID,FNAME) VALUES (1454953124329701376,'2JPIQIBCLKJP','zh_TW','采購收貨卡片'); 
DELETE FROM t_wf_mbillsummarycfg_l WHERE FID = 1454953124329701376 AND FLOCALEID = 'en_US';
IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454953124329701376) 
INSERT INTO t_wf_mbillsummarycfg_l (FID,FPKID,FLOCALEID,FNAME) VALUES (1454953124329701376,'2JPIQIBCLKJQ','en_US','采购收货卡片'); 
DELETE FROM t_wf_mbillsummarycfg_l WHERE FID = 1454954004739153920 AND FLOCALEID = 'en_US';
IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454954004739153920) 
INSERT INTO t_wf_mbillsummarycfg_l (FID,FPKID,FLOCALEID,FNAME) VALUES (1454954004739153920,'2JPIWYJDFP3J','en_US','采购入库'); 
DELETE FROM t_wf_mbillsummarycfg_l WHERE FID = 1454954004739153920 AND FLOCALEID = 'zh_CN';
IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454954004739153920) 
INSERT INTO t_wf_mbillsummarycfg_l (FID,FPKID,FLOCALEID,FNAME) VALUES (1454954004739153920,'2JPIWYJDFP3H','zh_CN','采购入库卡片'); 
DELETE FROM t_wf_mbillsummarycfg_l WHERE FID = 1454954004739153920 AND FLOCALEID = 'zh_TW';
IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454954004739153920) 
INSERT INTO t_wf_mbillsummarycfg_l (FID,FPKID,FLOCALEID,FNAME) VALUES (1454954004739153920,'2JPIWYJDFP3I','zh_TW','采購入庫卡片'); 
DELETE FROM t_wf_mbillsummarycfg_l WHERE FID = 1454954964161150976 AND FLOCALEID = 'zh_CN';
IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454954964161150976) 
INSERT INTO t_wf_mbillsummarycfg_l (FID,FPKID,FLOCALEID,FNAME) VALUES (1454954964161150976,'2JPJ1Y7I=1A2','zh_CN','退货申请卡片'); 
DELETE FROM t_wf_mbillsummarycfg_l WHERE FID = 1454954964161150976 AND FLOCALEID = 'zh_TW';
IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454954964161150976) 
INSERT INTO t_wf_mbillsummarycfg_l (FID,FPKID,FLOCALEID,FNAME) VALUES (1454954964161150976,'2JPJ1Y7I=1A3','zh_TW','退貨申請卡片'); 
DELETE FROM t_wf_mbillsummarycfg_l WHERE FID = 1454954964161150976 AND FLOCALEID = 'en_US';
IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454954964161150976) 
INSERT INTO t_wf_mbillsummarycfg_l (FID,FPKID,FLOCALEID,FNAME) VALUES (1454954964161150976,'2JPJ1Y7I=1A4','en_US','退货申请卡片'); 
DELETE FROM t_wf_mbillsummarycfg_l WHERE FID = 1454955742582030336 AND FLOCALEID = 'zh_CN';
IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454955742582030336) 
INSERT INTO t_wf_mbillsummarycfg_l (FID,FPKID,FLOCALEID,FNAME) VALUES (1454955742582030336,'2JPJ7LEOO20P','zh_CN','收货退货卡片'); 
DELETE FROM t_wf_mbillsummarycfg_l WHERE FID = 1454955742582030336 AND FLOCALEID = 'zh_TW';
IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454955742582030336) 
INSERT INTO t_wf_mbillsummarycfg_l (FID,FPKID,FLOCALEID,FNAME) VALUES (1454955742582030336,'2JPJ7LEOO20Q','zh_TW','收貨退貨卡片'); 
DELETE FROM t_wf_mbillsummarycfg_l WHERE FID = 1454955742582030336 AND FLOCALEID = 'en_US';
IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454955742582030336) 
INSERT INTO t_wf_mbillsummarycfg_l (FID,FPKID,FLOCALEID,FNAME) VALUES (1454955742582030336,'2JPJ7LEOO20R','en_US','收货退货卡片'); 
DELETE FROM t_wf_mbillsummarycfg_l WHERE FID = 1454958515797114880 AND FLOCALEID = 'en_US';
IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454958515797114880) 
INSERT INTO t_wf_mbillsummarycfg_l (FID,FPKID,FLOCALEID,FNAME) VALUES (1454958515797114880,'2JPJQTJT9QON','en_US','付款申请单'); 
DELETE FROM t_wf_mbillsummarycfg_l WHERE FID = 1454958515797114880 AND FLOCALEID = 'zh_CN';
IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454958515797114880) 
INSERT INTO t_wf_mbillsummarycfg_l (FID,FPKID,FLOCALEID,FNAME) VALUES (1454958515797114880,'2JPJQTJT9QOL','zh_CN','付款申请单卡片'); 
DELETE FROM t_wf_mbillsummarycfg_l WHERE FID = 1454958515797114880 AND FLOCALEID = 'zh_TW';
IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454958515797114880) 
INSERT INTO t_wf_mbillsummarycfg_l (FID,FPKID,FLOCALEID,FNAME) VALUES (1454958515797114880,'2JPJQTJT9QOM','zh_TW','付款申請單卡片'); 
DELETE FROM t_wf_mbillsummarycfg_l WHERE FID = 1454959510006546432 AND FLOCALEID = 'zh_CN';
IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454959510006546432) 
INSERT INTO t_wf_mbillsummarycfg_l (FID,FPKID,FLOCALEID,FNAME) VALUES (1454959510006546432,'2JPJY12YJHCJ','zh_CN','付款单卡片'); 
DELETE FROM t_wf_mbillsummarycfg_l WHERE FID = 1454959510006546432 AND FLOCALEID = 'zh_TW';
IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454959510006546432) 
INSERT INTO t_wf_mbillsummarycfg_l (FID,FPKID,FLOCALEID,FNAME) VALUES (1454959510006546432,'2JPJY12YJHCK','zh_TW','付款單卡片'); 
DELETE FROM t_wf_mbillsummarycfg_l WHERE FID = 1454959510006546432 AND FLOCALEID = 'en_US';
IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454959510006546432) 
INSERT INTO t_wf_mbillsummarycfg_l (FID,FPKID,FLOCALEID,FNAME) VALUES (1454959510006546432,'2JPJY12YJHCL','en_US','付款单卡片'); 

DELETE FROM t_wf_mbillsummarycfg_l WHERE FID = 1473088421814622208 AND FLOCALEID = 'zh_CN';
INSERT INTO t_wf_mbillsummarycfg_l(FID,FPKID,FLOCALEID,FNAME) VALUES (1473088421814622208,'2LYE83W4WM3E','zh_CN','入库退货卡片'); 
DELETE FROM t_wf_mbillsummarycfg_l WHERE FID = 1473088421814622208 AND FLOCALEID = 'zh_TW';
INSERT INTO t_wf_mbillsummarycfg_l(FID,FPKID,FLOCALEID,FNAME) VALUES (1473088421814622208,'2LYE83W4WM3F','zh_TW','入庫退貨卡片'); 
DELETE FROM t_wf_mbillsummarycfg_l WHERE FID = 1473088421814622208 AND FLOCALEID = 'en_US';
INSERT INTO t_wf_mbillsummarycfg_l(FID,FPKID,FLOCALEID,FNAME) VALUES (1473088421814622208,'2LYE83W4WM3G','en_US','入库退货卡片'); 


DELETE FROM t_wf_mbillsumarycfgentry WHERE FENTRYID = 1454950496338198528;
IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454950496128483328) 
INSERT INTO t_wf_mbillsumarycfgentry (FID,FFONTSIZE,FENTRYLOCATION,FCONTENT,FENTRYID,FFIELDID,FENTRYLOCATIONNAME,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FFIELDNAME,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1454950496128483328,0,' ',' ',1454950496338198528,' ',' ',' ',' ','0',' ',' ','0',' ',' ',1,' ','1','采购组织：{model.org.name}'); 
DELETE FROM t_wf_mbillsumarycfgentry WHERE FENTRYID = 1454950496338198529;
IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454950496128483328) 
INSERT INTO t_wf_mbillsumarycfgentry (FID,FFONTSIZE,FENTRYLOCATION,FCONTENT,FENTRYID,FFIELDID,FENTRYLOCATIONNAME,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FFIELDNAME,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1454950496128483328,0,' ',' ',1454950496338198529,' ',' ',' ',' ','0',' ',' ','0',' ',' ',2,' ','1','确认状态：{absenum(model.cfmstatus)}'); 
DELETE FROM t_wf_mbillsumarycfgentry WHERE FENTRYID = 1454950496338198530;
IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454950496128483328) 
INSERT INTO t_wf_mbillsumarycfgentry (FID,FFONTSIZE,FENTRYLOCATION,FCONTENT,FENTRYID,FFIELDID,FENTRYLOCATIONNAME,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FFIELDNAME,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1454950496128483328,0,' ',' ',1454950496338198530,' ',' ',' ',' ','0',' ',' ','0',' ',' ',3,' ','1','价税合计：{model.sumtaxamount}'); 
DELETE FROM t_wf_mbillsumarycfgentry WHERE FENTRYID = 1454952065813200896;
IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454952065771257856) 
INSERT INTO t_wf_mbillsumarycfgentry (FID,FFONTSIZE,FENTRYLOCATION,FCONTENT,FENTRYID,FFIELDID,FENTRYLOCATIONNAME,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FFIELDNAME,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1454952065771257856,0,' ',' ',1454952065813200896,' ',' ',' ',' ','0',' ',' ','0',' ',' ',1,' ','1','订单编号：{billno}'); 
DELETE FROM t_wf_mbillsumarycfgentry WHERE FENTRYID = 1454952065813200897;

IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454952065771257856) 
INSERT INTO t_wf_mbillsumarycfgentry (FID,FFONTSIZE,FENTRYLOCATION,FCONTENT,FENTRYID,FFIELDID,FENTRYLOCATIONNAME,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FFIELDNAME,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1454952065771257856,0,' ',' ',1454952065813200897,' ',' ',' ',' ','0',' ',' ','0',' ',' ',2,' ','1','确认状态：{absenum(model.cfmstatus)}'); 
DELETE FROM t_wf_mbillsumarycfgentry WHERE FENTRYID = 1454952065813200898;

IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454952065771257856) 
INSERT INTO t_wf_mbillsumarycfgentry (FID,FFONTSIZE,FENTRYLOCATION,FCONTENT,FENTRYID,FFIELDID,FENTRYLOCATIONNAME,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FFIELDNAME,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1454952065771257856,0,' ',' ',1454952065813200898,' ',' ',' ',' ','0',' ',' ','0',' ',' ',3,' ','1','价税合计：{model.sumtaxamount}'); 
DELETE FROM t_wf_mbillsumarycfgentry WHERE FENTRYID = 1454953124363255808;

IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454953124329701376) 
INSERT INTO t_wf_mbillsumarycfgentry (FID,FFONTSIZE,FENTRYLOCATION,FCONTENT,FENTRYID,FFIELDID,FENTRYLOCATIONNAME,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FFIELDNAME,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1454953124329701376,0,' ',' ',1454953124363255808,' ',' ',' ',' ','0',' ',' ','0',' ',' ',1,' ','1','收货组织：{model.org.name}'); 
DELETE FROM t_wf_mbillsumarycfgentry WHERE FENTRYID = 1454953124363255809;

IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454953124329701376) 
INSERT INTO t_wf_mbillsumarycfgentry (FID,FFONTSIZE,FENTRYLOCATION,FCONTENT,FENTRYID,FFIELDID,FENTRYLOCATIONNAME,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FFIELDNAME,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1454953124329701376,0,' ',' ',1454953124363255809,' ',' ',' ',' ','0',' ',' ','0',' ',' ',2,' ','1','单据状态：{absenum(model.billstatus)}'); 
DELETE FROM t_wf_mbillsumarycfgentry WHERE FENTRYID = 1454953124363255810;

IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454953124329701376) 
INSERT INTO t_wf_mbillsumarycfgentry (FID,FFONTSIZE,FENTRYLOCATION,FCONTENT,FENTRYID,FFIELDID,FENTRYLOCATIONNAME,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FFIELDNAME,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1454953124329701376,0,' ',' ',1454953124363255810,' ',' ',' ',' ','0',' ',' ','0',' ',' ',3,' ','1','业务日期：{model.billdate}'); 
DELETE FROM t_wf_mbillsumarycfgentry WHERE FENTRYID = 1454954004772708352;

IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454954004739153920) 
INSERT INTO t_wf_mbillsumarycfgentry (FID,FFONTSIZE,FENTRYLOCATION,FCONTENT,FENTRYID,FFIELDID,FENTRYLOCATIONNAME,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FFIELDNAME,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1454954004739153920,0,' ',' ',1454954004772708352,' ',' ',' ',' ','0',' ',' ','0',' ',' ',1,' ','1','库存组织：{model.org.name}'); 
DELETE FROM t_wf_mbillsumarycfgentry WHERE FENTRYID = 1454954004772708353;

IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454954004739153920) 
INSERT INTO t_wf_mbillsumarycfgentry (FID,FFONTSIZE,FENTRYLOCATION,FCONTENT,FENTRYID,FFIELDID,FENTRYLOCATIONNAME,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FFIELDNAME,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1454954004739153920,0,' ',' ',1454954004772708353,' ',' ',' ',' ','0',' ',' ','0',' ',' ',2,' ','1','单据状态：{absenum(model.billstatus)}'); 
DELETE FROM t_wf_mbillsumarycfgentry WHERE FENTRYID = 1454954004772708354;

IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454954004739153920) 
INSERT INTO t_wf_mbillsumarycfgentry (FID,FFONTSIZE,FENTRYLOCATION,FCONTENT,FENTRYID,FFIELDID,FENTRYLOCATIONNAME,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FFIELDNAME,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1454954004739153920,0,' ',' ',1454954004772708354,' ',' ',' ',' ','0',' ',' ','0',' ',' ',3,' ','1','业务日期：{model.billdate}'); 
DELETE FROM t_wf_mbillsumarycfgentry WHERE FENTRYID = 1454954964236648448;

IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454954964161150976) 
INSERT INTO t_wf_mbillsumarycfgentry (FID,FFONTSIZE,FENTRYLOCATION,FCONTENT,FENTRYID,FFIELDID,FENTRYLOCATIONNAME,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FFIELDNAME,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1454954964161150976,0,' ',' ',1454954964236648448,' ',' ',' ',' ','0',' ',' ','0',' ',' ',1,' ','1','采购组织：{model.purorg.name}'); 
DELETE FROM t_wf_mbillsumarycfgentry WHERE FENTRYID = 1454954964236648449;

IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454954964161150976) 
INSERT INTO t_wf_mbillsumarycfgentry (FID,FFONTSIZE,FENTRYLOCATION,FCONTENT,FENTRYID,FFIELDID,FENTRYLOCATIONNAME,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FFIELDNAME,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1454954964161150976,0,' ',' ',1454954964236648449,' ',' ',' ',' ','0',' ',' ','0',' ',' ',2,' ','1','单据状态：{absenum(model.billstatus)}'); 
DELETE FROM t_wf_mbillsumarycfgentry WHERE FENTRYID = 1454954964236648450;

IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454954964161150976) 
INSERT INTO t_wf_mbillsumarycfgentry (FID,FFONTSIZE,FENTRYLOCATION,FCONTENT,FENTRYID,FFIELDID,FENTRYLOCATIONNAME,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FFIELDNAME,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1454954964161150976,0,' ',' ',1454954964236648450,' ',' ',' ',' ','0',' ',' ','0',' ',' ',3,' ','1','业务日期：{model.billdate}'); 
DELETE FROM t_wf_mbillsumarycfgentry WHERE FENTRYID = 1454955742615584768;

IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454955742582030336) 
INSERT INTO t_wf_mbillsumarycfgentry (FID,FFONTSIZE,FENTRYLOCATION,FCONTENT,FENTRYID,FFIELDID,FENTRYLOCATIONNAME,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FFIELDNAME,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1454955742582030336,0,' ',' ',1454955742615584768,' ',' ',' ',' ','0',' ',' ','0',' ',' ',1,' ','1','收货组织：{model.org.name}'); 
DELETE FROM t_wf_mbillsumarycfgentry WHERE FENTRYID = 1454955742615584769;

IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454955742582030336) 
INSERT INTO t_wf_mbillsumarycfgentry (FID,FFONTSIZE,FENTRYLOCATION,FCONTENT,FENTRYID,FFIELDID,FENTRYLOCATIONNAME,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FFIELDNAME,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1454955742582030336,0,' ',' ',1454955742615584769,' ',' ',' ',' ','0',' ',' ','0',' ',' ',2,' ','1','单据状态：{absenum(model.billstatus)}'); 
DELETE FROM t_wf_mbillsumarycfgentry WHERE FENTRYID = 1454955742615584770;

IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454955742582030336) 
INSERT INTO t_wf_mbillsumarycfgentry (FID,FFONTSIZE,FENTRYLOCATION,FCONTENT,FENTRYID,FFIELDID,FENTRYLOCATIONNAME,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FFIELDNAME,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1454955742582030336,0,' ',' ',1454955742615584770,' ',' ',' ',' ','0',' ',' ','0',' ',' ',3,' ','1','业务日期：{model.billdate}'); 
DELETE FROM t_wf_mbillsumarycfgentry WHERE FENTRYID = 1454958515839057920;

IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454958515797114880) 
INSERT INTO t_wf_mbillsumarycfgentry (FID,FFONTSIZE,FENTRYLOCATION,FCONTENT,FENTRYID,FFIELDID,FENTRYLOCATIONNAME,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FFIELDNAME,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1454958515797114880,0,' ',' ',1454958515839057920,' ',' ',' ',' ','0',' ',' ','0',' ',' ',1,' ','1','核算组织：{model.settleorg.name}'); 
DELETE FROM t_wf_mbillsumarycfgentry WHERE FENTRYID = 1454958515839057921;

IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454958515797114880) 
INSERT INTO t_wf_mbillsumarycfgentry (FID,FFONTSIZE,FENTRYLOCATION,FCONTENT,FENTRYID,FFIELDID,FENTRYLOCATIONNAME,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FFIELDNAME,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1454958515797114880,0,' ',' ',1454958515839057921,' ',' ',' ',' ','0',' ',' ','0',' ',' ',2,' ','1','单据状态：{absenum(model.billstatus)}'); 
DELETE FROM t_wf_mbillsumarycfgentry WHERE FENTRYID = 1454958515839057922;

IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454958515797114880) 
INSERT INTO t_wf_mbillsumarycfgentry (FID,FFONTSIZE,FENTRYLOCATION,FCONTENT,FENTRYID,FFIELDID,FENTRYLOCATIONNAME,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FFIELDNAME,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1454958515797114880,0,' ',' ',1454958515839057922,' ',' ',' ',' ','0',' ',' ','0',' ',' ',3,' ','1','合计申请付款金额：{model.sumapplyamt}'); 
DELETE FROM t_wf_mbillsumarycfgentry WHERE FENTRYID = 1454959510031712256;

IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454959510006546432) 
INSERT INTO t_wf_mbillsumarycfgentry (FID,FFONTSIZE,FENTRYLOCATION,FCONTENT,FENTRYID,FFIELDID,FENTRYLOCATIONNAME,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FFIELDNAME,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1454959510006546432,0,' ',' ',1454959510031712256,' ',' ',' ',' ','0',' ',' ','0',' ',' ',1,' ','1','核算组织：{model.settleorg.name}'); 
DELETE FROM t_wf_mbillsumarycfgentry WHERE FENTRYID = 1454959510031712257;

IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454959510006546432) 
INSERT INTO t_wf_mbillsumarycfgentry (FID,FFONTSIZE,FENTRYLOCATION,FCONTENT,FENTRYID,FFIELDID,FENTRYLOCATIONNAME,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FFIELDNAME,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1454959510006546432,0,' ',' ',1454959510031712257,' ',' ',' ',' ','0',' ',' ','0',' ',' ',2,' ','1','单据状态：{absenum(model.billstatus)}'); 
DELETE FROM t_wf_mbillsumarycfgentry WHERE FENTRYID = 1454959510031712258;

IF EXISTS (select fid from t_wf_mbillsummarycfg where FID = 1454959510006546432) 
INSERT INTO t_wf_mbillsumarycfgentry (FID,FFONTSIZE,FENTRYLOCATION,FCONTENT,FENTRYID,FFIELDID,FENTRYLOCATIONNAME,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FFIELDNAME,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1454959510006546432,0,' ',' ',1454959510031712258,' ',' ',' ',' ','0',' ',' ','0',' ',' ',3,' ','1','合计实付金额：{model.sumpayamount}'); 

DELETE FROM t_wf_mbillsumarycfgentry WHERE FENTRYID = 1473088421932062720;
INSERT INTO t_wf_mbillsumarycfgentry(FID,FFONTSIZE,FENTRYLOCATION,FCONTENT,FENTRYID,FFIELDID,FENTRYLOCATIONNAME,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FFIELDNAME,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1473088421814622208,0,' ',' ',1473088421932062720,' ',' ',' ',' ','0',' ',' ','0',' ',' ',1,' ','1','退货组织：{model.org.name}'); 
DELETE FROM t_wf_mbillsumarycfgentry WHERE FENTRYID = 1473088421932062721;
INSERT INTO t_wf_mbillsumarycfgentry(FID,FFONTSIZE,FENTRYLOCATION,FCONTENT,FENTRYID,FFIELDID,FENTRYLOCATIONNAME,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FFIELDNAME,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1473088421814622208,0,' ',' ',1473088421932062721,' ',' ',' ',' ','0',' ',' ','0',' ',' ',2,' ','1','单据状态：{absenum(model.billstatus)}'); 
DELETE FROM t_wf_mbillsumarycfgentry WHERE FENTRYID = 1473088421932062722;
INSERT INTO t_wf_mbillsumarycfgentry(FID,FFONTSIZE,FENTRYLOCATION,FCONTENT,FENTRYID,FFIELDID,FENTRYLOCATIONNAME,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FFIELDNAME,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1473088421814622208,0,' ',' ',1473088421932062722,' ',' ',' ',' ','0',' ',' ','0',' ',' ',3,' ','1','业务日期：{model.billdate}'); 

