--355
--更新出库货主类型
update t_im_outinvtypeentry set foutownertype1 = 'bos_org' where fid = 739551937573353472 and foutinvtypeid in (688884005529250816,688884099724930048,688884427652393984,688884593092520960);

update t_im_outinvtypeentry set foutownertype1 = 'bd_supplier' where fid = 739551937573353472 and foutinvtypeid in (688884217048001536,688884312753630208,688884505809054720);

--更新出库保管者类型
update t_im_outinvtypeentry set foutkeepertype1 = 'bos_org' where fid = 739551937573353472 and foutinvtypeid in (688884005529250816,688884099724930048,688884217048001536,688884312753630208,688884505809054720);

update t_im_outinvtypeentry set foutkeepertype1 = 'bd_customer' where fid = 739551937573353472 and foutinvtypeid in (688884427652393984,688884593092520960);

--354
--更新入库货主类型
update t_im_invtypeentry set fownertype1 = 'bos_org' where fid = 739550538571644928 and finvtypeid in (688884005529250816,
688884099724930048,688884427652393984,688884593092520960);

update t_im_invtypeentry set fownertype1 = 'bd_supplier' where fid = 739550538571644928 and finvtypeid in (688884217048001536,
688884312753630208,688884505809054720);

--更新入库保管者类型
update t_im_invtypeentry set fkeepertype1 = 'bos_org' where fid = 739550538571644928 and finvtypeid in (688884005529250816,
688884099724930048,688884217048001536,688884312753630208,688884505809054720);

update t_im_invtypeentry set fkeepertype1 = 'bd_customer' where fid = 739550538571644928 and finvtypeid in (688884427652393984,
688884593092520960);

--出库方向设置中，增加一条“出库库存类型=VMI，出库货主类型=供应商，出库保管者类型=库存组织”的记录
DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1686175625972286464;
INSERT INTO t_im_outinvtypeentry(FID,FOUTINVTYPEISPRESET,FOUTKEEPERTYPE1,FOUTINVTYPEID,FENTRYID,FISDEFAULT,FSEQ,FOUTOWNERTYPE1) VALUES (1513162031883327488,'1','bos_org',688884312753630208,1686175625972286464,'0',2,'bd_supplier'); 
DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1686236988044215296;
INSERT INTO t_im_outinvtypeentry(FID,FOUTINVTYPEISPRESET,FOUTKEEPERTYPE1,FOUTINVTYPEID,FENTRYID,FISDEFAULT,FSEQ,FOUTOWNERTYPE1) VALUES (1513160759440545792,'1','bos_org',688884312753630208,1686236988044215296,'0',2,'bd_supplier'); 
DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1686237128754849792;
INSERT INTO t_im_outinvtypeentry(FID,FOUTINVTYPEISPRESET,FOUTKEEPERTYPE1,FOUTINVTYPEID,FENTRYID,FISDEFAULT,FSEQ,FOUTOWNERTYPE1) VALUES (1513158710313326592,'1','bos_org',688884312753630208,1686237128754849792,'0',2,'bd_supplier'); 
DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1686237265724041216;
INSERT INTO t_im_outinvtypeentry(FID,FOUTINVTYPEISPRESET,FOUTKEEPERTYPE1,FOUTINVTYPEID,FENTRYID,FISDEFAULT,FSEQ,FOUTOWNERTYPE1) VALUES (1234609588754574336,'1','bos_org',688884312753630208,1686237265724041216,'0',3,'bd_supplier'); 
DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1686237405612344320;
INSERT INTO t_im_outinvtypeentry(FID,FOUTINVTYPEISPRESET,FOUTKEEPERTYPE1,FOUTINVTYPEID,FENTRYID,FISDEFAULT,FSEQ,FOUTOWNERTYPE1) VALUES (1234608882995693568,'1','bos_org',688884312753630208,1686237405612344320,'0',3,'bd_supplier'); 
DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1686237545718999040;
INSERT INTO t_im_outinvtypeentry(FID,FOUTINVTYPEISPRESET,FOUTKEEPERTYPE1,FOUTINVTYPEID,FENTRYID,FISDEFAULT,FSEQ,FOUTOWNERTYPE1) VALUES (1234608103266191360,'1','bos_org',688884312753630208,1686237545718999040,'0',3,'bd_supplier'); 
DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1686237784257332224;
INSERT INTO t_im_outinvtypeentry(FID,FOUTINVTYPEISPRESET,FOUTKEEPERTYPE1,FOUTINVTYPEID,FENTRYID,FISDEFAULT,FSEQ,FOUTOWNERTYPE1) VALUES (1234607078681610240,'1','bos_org',688884312753630208,1686237784257332224,'0',3,'bd_supplier'); 
DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1686237938733548544;
INSERT INTO t_im_outinvtypeentry(FID,FOUTINVTYPEISPRESET,FOUTKEEPERTYPE1,FOUTINVTYPEID,FENTRYID,FISDEFAULT,FSEQ,FOUTOWNERTYPE1) VALUES (989622526302930944,'1','bos_org',688884312753630208,1686237938733548544,'0',3,'bd_supplier'); 
DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1686238102730834944;
INSERT INTO t_im_outinvtypeentry(FID,FOUTINVTYPEISPRESET,FOUTKEEPERTYPE1,FOUTINVTYPEID,FENTRYID,FISDEFAULT,FSEQ,FOUTOWNERTYPE1) VALUES (1046873570090720256,'1','bos_org',688884312753630208,1686238102730834944,'0',3,'bd_supplier'); 
DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1686238224810247168;
INSERT INTO t_im_outinvtypeentry(FID,FOUTINVTYPEISPRESET,FOUTKEEPERTYPE1,FOUTINVTYPEID,FENTRYID,FISDEFAULT,FSEQ,FOUTOWNERTYPE1) VALUES (988407304724715520,'1','bos_org',688884312753630208,1686238224810247168,'0',3,'bd_supplier'); 
DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1686238367970355200;
INSERT INTO t_im_outinvtypeentry(FID,FOUTINVTYPEISPRESET,FOUTKEEPERTYPE1,FOUTINVTYPEID,FENTRYID,FISDEFAULT,FSEQ,FOUTOWNERTYPE1) VALUES (988405218813331456,'1','bos_org',688884312753630208,1686238367970355200,'0',3,'bd_supplier'); 
DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1686238505862169600;
INSERT INTO t_im_outinvtypeentry(FID,FOUTINVTYPEISPRESET,FOUTKEEPERTYPE1,FOUTINVTYPEID,FENTRYID,FISDEFAULT,FSEQ,FOUTOWNERTYPE1) VALUES (932398198176292864,'1','bos_org',688884312753630208,1686238505862169600,'0',3,'bd_supplier'); 
DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1686238650960046080;
INSERT INTO t_im_outinvtypeentry(FID,FOUTINVTYPEISPRESET,FOUTKEEPERTYPE1,FOUTINVTYPEID,FENTRYID,FISDEFAULT,FSEQ,FOUTOWNERTYPE1) VALUES (767260487355520000,'1','bos_org',688884312753630208,1686238650960046080,'0',3,'bd_supplier'); 
DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1686239157380187136;
INSERT INTO t_im_outinvtypeentry(FID,FOUTINVTYPEISPRESET,FOUTKEEPERTYPE1,FOUTINVTYPEID,FENTRYID,FISDEFAULT,FSEQ,FOUTOWNERTYPE1) VALUES (767253254882251776,'1','bos_org',688884312753630208,1686239157380187136,'0',3,'bd_supplier'); 
DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1686239294072678400;
INSERT INTO t_im_outinvtypeentry(FID,FOUTINVTYPEISPRESET,FOUTKEEPERTYPE1,FOUTINVTYPEID,FENTRYID,FISDEFAULT,FSEQ,FOUTOWNERTYPE1) VALUES (767248561212626944,'1','bos_org',688884312753630208,1686239294072678400,'0',3,'bd_supplier'); 
DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1686239516001567744;
INSERT INTO t_im_outinvtypeentry(FID,FOUTINVTYPEISPRESET,FOUTKEEPERTYPE1,FOUTINVTYPEID,FENTRYID,FISDEFAULT,FSEQ,FOUTOWNERTYPE1) VALUES (739555593085450240,'1','bos_org',688884312753630208,1686239516001567744,'0',2,'bd_supplier'); 
DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1686239651586638848;
INSERT INTO t_im_outinvtypeentry(FID,FOUTINVTYPEISPRESET,FOUTKEEPERTYPE1,FOUTINVTYPEID,FENTRYID,FISDEFAULT,FSEQ,FOUTOWNERTYPE1) VALUES (699737860114593792,'1','bos_org',688884312753630208,1686239651586638848,'0',3,'bd_supplier'); 
DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1686239856067347456;
INSERT INTO t_im_outinvtypeentry(FID,FOUTINVTYPEISPRESET,FOUTKEEPERTYPE1,FOUTINVTYPEID,FENTRYID,FISDEFAULT,FSEQ,FOUTOWNERTYPE1) VALUES (699728741555085312,'1','bos_org',688884312753630208,1686239856067347456,'0',3,'bd_supplier'); 
DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1686240307861121024;
INSERT INTO t_im_outinvtypeentry(FID,FOUTINVTYPEISPRESET,FOUTKEEPERTYPE1,FOUTINVTYPEID,FENTRYID,FISDEFAULT,FSEQ,FOUTOWNERTYPE1) VALUES (1098498903210210304,'1','bos_org',688884312753630208,1686240307861121024,'0',3,'bd_supplier'); 
DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1686240448303196160;
INSERT INTO t_im_outinvtypeentry(FID,FOUTINVTYPEISPRESET,FOUTKEEPERTYPE1,FOUTINVTYPEID,FENTRYID,FISDEFAULT,FSEQ,FOUTOWNERTYPE1) VALUES (688862983769717760,'1','bos_org',688884312753630208,1686240448303196160,'0',3,'bd_supplier'); 
DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1686240584374682624;
INSERT INTO t_im_outinvtypeentry(FID,FOUTINVTYPEISPRESET,FOUTKEEPERTYPE1,FOUTINVTYPEID,FENTRYID,FISDEFAULT,FSEQ,FOUTOWNERTYPE1) VALUES (688857009403099136,'1','bos_org',688884312753630208,1686240584374682624,'0',3,'bd_supplier'); 
DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1686240715824169984;
INSERT INTO t_im_outinvtypeentry(FID,FOUTINVTYPEISPRESET,FOUTKEEPERTYPE1,FOUTINVTYPEID,FENTRYID,FISDEFAULT,FSEQ,FOUTOWNERTYPE1) VALUES (688856244043282432,'1','bos_org',688884312753630208,1686240715824169984,'0',3,'bd_supplier'); 
DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1691182478964012032;
INSERT INTO t_im_outinvtypeentry(FID,FOUTINVTYPEISPRESET,FOUTKEEPERTYPE1,FOUTINVTYPEID,FENTRYID,FISDEFAULT,FSEQ,FOUTOWNERTYPE1) VALUES (1513174322267666432,'1','bos_org',688884312753630208,1691182478964012032,'0',2,'bd_supplier'); 
DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1691182592260551680;
INSERT INTO t_im_outinvtypeentry(FID,FOUTINVTYPEISPRESET,FOUTKEEPERTYPE1,FOUTINVTYPEID,FENTRYID,FISDEFAULT,FSEQ,FOUTOWNERTYPE1) VALUES (1513175203868547072,'1','bos_org',688884312753630208,1691182592260551680,'0',2,'bd_supplier'); 
