-- 预设平衡利库预留参数
DELETE FROM t_sbs_scmcapplevelparam WHERE FID = 2003562733408200704;
INSERT INTO t_sbs_scmcapplevelparam(FID,FCREATETIME,FMODIFIERID,FENABLE,FISPRESET,FMODIFYTIME,FDESCRIPTION,FSTATUS,FCREATORID,FNUMBER,FNAME) VALUES (2003562733408200704,{ts'2024-07-27  00:00:00'},1,'1','1',{ts'2024-07-27  00:00:00'},'启用时，平衡利库默认会预留；禁用时，平衡利库不会预留，可能会导致供应明细重复匹配需求明细和安全库存需求。','C',1,'PHLK001','平衡利库预留'); 

DELETE FROM t_sbs_scmcapplevelparam_l WHERE FPKID = '4=2W2C=37FV6';
INSERT INTO t_sbs_scmcapplevelparam_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (2003562733408200704,'4=2W2C=37FV6','zh_CN','启用时，平衡利库默认会预留；禁用时，平衡利库不会预留，可能会导致供应明细重复匹配需求明细和安全库存需求。','平衡利库预留'); 

-- 预设平衡利库工作台运算步骤
DELETE FROM t_im_balanceinvcalstep WHERE FID = 2005077139757779968;
INSERT INTO t_im_balanceinvcalstep(FID,FBILLSTATUS,FSTEP,FCALCTYPE,FIMPLCLASS,FNAME) VALUES (2005077139757779968,'A',1,'B','kd.scmc.im.business.balanceinv.workbench.steps.impl.BalanceInvWorkBenchPrepareStep','利库运算准备'); 
DELETE FROM t_im_balanceinvcalstep WHERE FID = 2005078324145343488;
INSERT INTO t_im_balanceinvcalstep(FID,FBILLSTATUS,FSTEP,FCALCTYPE,FIMPLCLASS,FNAME) VALUES (2005078324145343488,'A',3,'C','kd.scmc.im.business.balanceinv.workbench.steps.impl.BalanceInvWorkBenchInitSafeInvStep','初始化安全库存'); 
DELETE FROM t_im_balanceinvcalstep WHERE FID = 2005079894392098816;
INSERT INTO t_im_balanceinvcalstep(FID,FBILLSTATUS,FSTEP,FCALCTYPE,FIMPLCLASS,FNAME) VALUES (2005079894392098816,'A',7,'C','kd.scmc.im.business.balanceinv.workbench.steps.impl.BalanceInvWorkBenchProcessSafeInvStep','安全库存平衡利库'); 
DELETE FROM t_im_balanceinvcalstep WHERE FID = 2005080190459628544;
INSERT INTO t_im_balanceinvcalstep(FID,FBILLSTATUS,FSTEP,FCALCTYPE,FIMPLCLASS,FNAME) VALUES (2005080190459628544,'A',8,'C','kd.scmc.im.business.balanceinv.workbench.steps.impl.BalanceInvWorkBenchSaveMatchDetailStep','保存匹配明细'); 
DELETE FROM t_im_balanceinvcalstep WHERE FID = 2005078814618865664;
INSERT INTO t_im_balanceinvcalstep(FID,FBILLSTATUS,FSTEP,FCALCTYPE,FIMPLCLASS,FNAME) VALUES (2005078814618865664,'A',4,'C','kd.scmc.im.business.balanceinv.workbench.steps.impl.BalanceInvWorkBenchGetDemandStep','获取需求数据'); 
DELETE FROM t_im_balanceinvcalstep WHERE FID = 2005079054432391168;
INSERT INTO t_im_balanceinvcalstep(FID,FBILLSTATUS,FSTEP,FCALCTYPE,FIMPLCLASS,FNAME) VALUES (2005079054432391168,'A',5,'C','kd.scmc.im.business.balanceinv.workbench.steps.impl.BalanceInvWorkBenchGetSupplyStep','获取供应数据'); 
DELETE FROM t_im_balanceinvcalstep WHERE FID = 2005079457597279232;
INSERT INTO t_im_balanceinvcalstep(FID,FBILLSTATUS,FSTEP,FCALCTYPE,FIMPLCLASS,FNAME) VALUES (2005079457597279232,'A',6,'C','kd.scmc.im.business.balanceinv.workbench.steps.impl.BalanceInvWorkBenchMatchStep','供需匹配'); 
DELETE FROM t_im_balanceinvcalstep WHERE FID = 2005077507891842048;
INSERT INTO t_im_balanceinvcalstep(FID,FBILLSTATUS,FSTEP,FCALCTYPE,FIMPLCLASS,FNAME) VALUES (2005077507891842048,'A',2,'B','kd.scmc.im.business.balanceinv.workbench.steps.impl.BalanceInvWorkBenchClearDataStep','清理历史数据'); 

DELETE FROM t_im_balanceinvcalstep_l WHERE FPKID = '4==40TY2RL45';
INSERT INTO t_im_balanceinvcalstep_l(FID,FPKID,FLOCALEID,FNAME) VALUES (2005077139757779968,'4==40TY2RL45','zh_CN','利库运算准备'); 
DELETE FROM t_im_balanceinvcalstep_l WHERE FPKID = '4==43HJA3G+=';
INSERT INTO t_im_balanceinvcalstep_l(FID,FPKID,FLOCALEID,FNAME) VALUES (2005077507891842048,'4==43HJA3G+=','zh_CN','清理历史数据'); 
DELETE FROM t_im_balanceinvcalstep_l WHERE FPKID = '4==49FI902G=';
INSERT INTO t_im_balanceinvcalstep_l(FID,FPKID,FLOCALEID,FNAME) VALUES (2005078324145343488,'4==49FI902G=','zh_CN','初始化安全库存'); 
DELETE FROM t_im_balanceinvcalstep_l WHERE FPKID = '4==4C/XEE514';
INSERT INTO t_im_balanceinvcalstep_l(FID,FPKID,FLOCALEID,FNAME) VALUES (2005078814618865664,'4==4C/XEE514','zh_CN','获取需求数据'); 
DELETE FROM t_im_balanceinvcalstep_l WHERE FPKID = '4==4DS1DCS4N';
INSERT INTO t_im_balanceinvcalstep_l(FID,FPKID,FLOCALEID,FNAME) VALUES (2005079054432391168,'4==4DS1DCS4N','zh_CN','获取供应数据'); 
DELETE FROM t_im_balanceinvcalstep_l WHERE FPKID = '4==4GPMW0I3K';
INSERT INTO t_im_balanceinvcalstep_l(FID,FPKID,FLOCALEID,FNAME) VALUES (2005079457597279232,'4==4GPMW0I3K','zh_CN','供需匹配'); 
DELETE FROM t_im_balanceinvcalstep_l WHERE FPKID = '4==4JWS2FR/W';
INSERT INTO t_im_balanceinvcalstep_l(FID,FPKID,FLOCALEID,FNAME) VALUES (2005079894392098816,'4==4JWS2FR/W','zh_CN','安全库存平衡利库'); 
DELETE FROM t_im_balanceinvcalstep_l WHERE FPKID = '4==4M0XJKOLM';
INSERT INTO t_im_balanceinvcalstep_l(FID,FPKID,FLOCALEID,FNAME) VALUES (2005080190459628544,'4==4M0XJKOLM','zh_CN','保存匹配明细'); 
