
--签约到采购订单的关系
DELETE FROM t_pbd_linkbillnode WHERE FID = '4+PTYST1E/3F';
INSERT INTO t_pbd_linkbillnode(FID,FSOURCEENTITYID,FTARGETENTITYID,FNODEDESC,FNAME,FNUMBER,FCREATETIME,FMODIFIERID,FDEFINELINKID,FBIZAPPID,FMODIFYTIME,FPRESET,FCREATORID) VALUES ('4+PTYST1E/3F','src_contract','pm_purorderbill','签约到采购订单','{"@class":"kd.scm.common.helper.businesstracking.domain.BillBotpRelationParam","sourceEntry":"entryentity","targetEntry":"billentry","executeSourceEntity":"src_contract","executeTargetEntity":"pm_purorderbill"}','373CFC43',{ts'2024-03-21  00:00:00'},1,'3DNB6+0FIY5L','0DUM2+6E41IA',{ts'2024-03-21  00:00:00'},'1',1); 

--预置寻源管理单据关系图-签约-采购订单关系
DELETE FROM t_pbd_trackingdetail WHERE FDETAILID = '4+PU39C4+2L6';
INSERT INTO t_pbd_trackingdetail(FDETAILID,FDEFINELINKID,FENTRYID,FSEQ,FEXECUTELINKCONFIG,FTARGETENTITYID) VALUES ('4+PU39C4+2L6','3DNB6+0FIY5L','3TRJCFAKFP+C',2,'{"@class":"kd.scm.common.helper.businesstracking.domain.BillBotpRelationParam","sourceEntry":"entryentity","targetEntry":"billentry","executeSourceEntity":"src_contract","executeTargetEntity":"pm_purorderbill"}','pm_purorderbill'); 



