--- 库存事务分组
DELETE FROM t_im_invschemegroup WHERE FID = 1576004359660100608;
INSERT INTO t_im_invschemegroup(FID,FDISABLEDATE,FMASTERID,FPARENTID,FSTATUS,FNUMBER,FNAME,FCREATETIME,FISLEAF,FENABLE,FMODIFIERID,FMODIFYTIME,FLEVEL,FLONGNUMBER,FCREATORID,FFULLNAME,FDISABLERID) VALUES (1576004359660100608,NULL,1576004359660100608,0,'C','invInspect','库存请检单',{ts'2022-12-15  00:00:00'},'1','1',1155582543786049536,{ts'2022-12-15  00:00:00'},1,'invInspect',1155582543786049536,'库存请检单',0);

DELETE FROM t_im_invschemegroup_l WHERE FPKID = '2YKGMTD95RQK';
INSERT INTO t_im_invschemegroup_l(FID,FPKID,FLOCALEID,FFULLNAME,FNAME) VALUES (1576004359660100608,'2YKGMTD95RQK','zh_CN','库存请检单','库存请检单');
DELETE FROM t_im_invschemegroup_l WHERE FPKID = '2YKGMTD95RQL';
INSERT INTO t_im_invschemegroup_l(FID,FPKID,FLOCALEID,FFULLNAME,FNAME) VALUES (1576004359660100608,'2YKGMTD95RQL','zh_TW',' ','庫存請檢單');

--库存事务410
DELETE FROM t_im_invschemes WHERE FID = 1576083779586372608;
INSERT INTO t_im_invschemes(FISNOTUPDATE,FISINUPDATE,FOUTOWNERTYPE,FOUTKEEPERTYPE,FDESCRIPTION,FMASTERID,FBILLFORMID,FOWNERTYPE,FTRANSCEIVERTYPEID,FCREATETIME,FENABLE,FINVDC,FISOUTUPDATE,FDISABLERID,FID,FISFORWARDAMOUNT,FOUTINVSTATUSID,FDISABLEDATE,FGROUPID,FNAME,FNUMBER,FBIZDIRECTION,FMODIFIERID,FTRANSCEIVER,FISPRESET,FMODIFYTIME,FKEEPERTYPE,FCREATORID,FINVSTATUSID) VALUES ('0','1','bos_org','bos_org',' ',1576083779586372608,'im_invinspectbill','bos_org',1575990703282992128,{ts'2022-12-15  00:00:00'},'1','A','1',0,1576083779586372608,'1',0,NULL,1576004359660100608,'物料类销售请检','410','0',1155582543786049536,'2','1',{ts'2022-12-15  00:00:00'},'bos_org',1155582543786049536,0);

DELETE FROM t_im_invschemes_L WHERE FPKID = '2YKVGJ+LMPJH';
INSERT INTO t_im_invschemes_L(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1576083779586372608,'2YKVGJ+LMPJH','zh_CN',' ','物料类销售请检');
DELETE FROM t_im_invschemes_L WHERE FPKID = '2YKVGJ+LMPJI';
INSERT INTO t_im_invschemes_L(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1576083779586372608,'2YKVGJ+LMPJI','zh_TW',' ','物料類銷售請檢');

DELETE FROM t_im_invstatusentry WHERE FENTRYID = 1576083779922025475;
INSERT INTO t_im_invstatusentry(FID,FENTRYID,FISDEFAULT,FSEQ,FINVSTATUSISPRESET,FINVSTATUSID) VALUES (1576083779586372608,1576083779922025475,'1',1,'1',691930349319792640);

DELETE FROM t_im_invtypeentry WHERE FENTRYID = 1576083779921916928;
INSERT INTO t_im_invtypeentry(FID,FENTRYID,FISDEFAULT,FSEQ,FINVTYPEID,FINVTYPEISPRESET) VALUES (1576083779586372608,1576083779921916928,'1',1,688884005529250816,'1');

DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1576083779922025474;
INSERT INTO t_im_outinvtypeentry(FOUTINVTYPEISPRESET,FID,FOUTINVTYPEID,FENTRYID,FSEQ,FISDEFAULT) VALUES ('1',1576083779586372608,688884005529250816,1576083779922025474,1,'1');

DELETE FROM t_im_outinvstatusentry WHERE FENTRYID = 1576083779921916930;
INSERT INTO t_im_outinvstatusentry(FID,FOUTINVSTATUSID,FENTRYID,FISDEFAULT,FOUTINVSTATUSISPRESET) VALUES (1576083779586372608,691928582720825344,1576083779921916930,'1','1');

DELETE FROM t_im_biztypeentry WHERE FENTRYID = 1576083779921916929;
INSERT INTO t_im_biztypeentry(FID,FBIZTYPEID,FENTRYID,FBIZTYPEISPRESET,FSEQ,FALLOWMANUALADD) VALUES (1576083779586372608,422876630176775168,1576083779921916929,'1',1,'1');

--4101
DELETE FROM t_im_invschemes WHERE FID = 1576121557565168640;
INSERT INTO t_im_invschemes(FISNOTUPDATE,FISINUPDATE,FOUTOWNERTYPE,FOUTKEEPERTYPE,FDESCRIPTION,FMASTERID,FBILLFORMID,FOWNERTYPE,FTRANSCEIVERTYPEID,FCREATETIME,FENABLE,FINVDC,FISOUTUPDATE,FDISABLERID,FID,FISFORWARDAMOUNT,FOUTINVSTATUSID,FDISABLEDATE,FGROUPID,FNAME,FNUMBER,FBIZDIRECTION,FMODIFIERID,FTRANSCEIVER,FISPRESET,FMODIFYTIME,FKEEPERTYPE,FCREATORID,FINVSTATUSID) VALUES ('0','1',' ',' ',' ',1576121557565168640,'im_invinspectbill','bos_org',687619869340030976,{ts'2022-12-15  00:00:00'},'1','A','0',0,1576121557565168640,'1',0,NULL,1576004359660100608,'物料类销售退货检验（更新库存）','4101','0',1155582543786049536,'0','1',{ts'2022-12-15  00:00:00'},'bos_org',1155582543786049536,0);

DELETE FROM t_im_invschemes_L WHERE FPKID = '2YL0IU6ZISTU';
INSERT INTO t_im_invschemes_L(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1576121557565168640,'2YL0IU6ZISTU','zh_CN',' ','物料类销售退货检验（更新库存）');
DELETE FROM t_im_invschemes_L WHERE FPKID = '2YL0IU6ZISTV';
INSERT INTO t_im_invschemes_L(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1576121557565168640,'2YL0IU6ZISTV','zh_TW',' ','物料類銷售退貨檢驗（更新庫存）');

DELETE FROM t_im_invstatusentry WHERE FENTRYID = 1576121557909101569;
INSERT INTO t_im_invstatusentry(FID,FENTRYID,FISDEFAULT,FSEQ,FINVSTATUSISPRESET,FINVSTATUSID) VALUES (1576121557565168640,1576121557909101569,'1',1,'1',691930349319792640);

DELETE FROM t_im_invtypeentry WHERE FENTRYID = 1576121557909101568;
INSERT INTO t_im_invtypeentry(FID,FENTRYID,FISDEFAULT,FSEQ,FINVTYPEID,FINVTYPEISPRESET) VALUES (1576121557565168640,1576121557909101568,'1',1,688884005529250816,'1');

DELETE FROM t_im_biztypeentry WHERE FENTRYID = 1576121557908993026;
INSERT INTO t_im_biztypeentry(FID,FBIZTYPEID,FENTRYID,FBIZTYPEISPRESET,FSEQ,FALLOWMANUALADD) VALUES (1576121557565168640,688855385217756160,1576121557908993026,'1',1,'1');

--4102
DELETE FROM t_im_invschemes WHERE FID = 1576164122117026816;
INSERT INTO t_im_invschemes(FISNOTUPDATE,FISINUPDATE,FOUTOWNERTYPE,FOUTKEEPERTYPE,FDESCRIPTION,FMASTERID,FBILLFORMID,FOWNERTYPE,FTRANSCEIVERTYPEID,FCREATETIME,FENABLE,FINVDC,FISOUTUPDATE,FDISABLERID,FID,FISFORWARDAMOUNT,FOUTINVSTATUSID,FDISABLEDATE,FGROUPID,FNAME,FNUMBER,FBIZDIRECTION,FMODIFIERID,FTRANSCEIVER,FISPRESET,FMODIFYTIME,FKEEPERTYPE,FCREATORID,FINVSTATUSID) VALUES ('1','0',' ',' ',' ',1576164122117026816,'im_invinspectbill',' ',687619869340030976,{ts'2022-12-15  00:00:00'},'1','A','0',0,1576164122117026816,'0',0,NULL,1576004359660100608,'物料类销售退货检验（不更新库存）','4102','0',1155582543786049536,'0','1',{ts'2022-12-15  00:00:00'},' ',1155582543786049536,0);

DELETE FROM t_im_invschemes_L WHERE FPKID = '2YL8H+MSB4LG';
INSERT INTO t_im_invschemes_L(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1576164122117026816,'2YL8H+MSB4LG','zh_CN',' ','物料类销售退货检验（不更新库存）');
DELETE FROM t_im_invschemes_L WHERE FPKID = '2YL8H+MSB4LH';
INSERT INTO t_im_invschemes_L(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1576164122117026816,'2YL8H+MSB4LH','zh_TW',' ','物料類銷售退貨檢驗（不更新庫存）');

DELETE FROM t_im_biztypeentry WHERE FENTRYID = 1576164122150581248;
INSERT INTO t_im_biztypeentry(FID,FBIZTYPEID,FENTRYID,FBIZTYPEISPRESET,FSEQ,FALLOWMANUALADD) VALUES (1576164122117026816,688855385217756160,1576164122150581248,'1',1,'1');


--420
DELETE FROM t_im_invschemes WHERE FID = 1576154402379543552;
INSERT INTO t_im_invschemes(FISNOTUPDATE,FISINUPDATE,FOUTOWNERTYPE,FOUTKEEPERTYPE,FDESCRIPTION,FMASTERID,FBILLFORMID,FOWNERTYPE,FTRANSCEIVERTYPEID,FCREATETIME,FENABLE,FINVDC,FISOUTUPDATE,FDISABLERID,FID,FISFORWARDAMOUNT,FOUTINVSTATUSID,FDISABLEDATE,FGROUPID,FNAME,FNUMBER,FBIZDIRECTION,FMODIFIERID,FTRANSCEIVER,FISPRESET,FMODIFYTIME,FKEEPERTYPE,FCREATORID,FINVSTATUSID) VALUES ('0','1','bos_org','bos_org',' ',1576154402379543552,'im_saloutbill','bos_org',1576001318999415808,{ts'2022-12-15  00:00:00'},'1','A','1',0,1576154402379543552,'1',0,NULL,452663424212569088,'物料类销售退货质检出库','420','1',1155582543786049536,'2','1',{ts'2022-12-15  00:00:00'},'bos_org',1155582543786049536,0);

DELETE FROM t_im_invschemes_L WHERE FPKID = '2YL6O5FHE660';
INSERT INTO t_im_invschemes_L(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1576154402379543552,'2YL6O5FHE660','zh_CN',' ','物料类销售退货质检出库');
DELETE FROM t_im_invschemes_L WHERE FPKID = '2YL6O5FHE661';
INSERT INTO t_im_invschemes_L(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1576154402379543552,'2YL6O5FHE661','zh_TW',' ','物料類銷售退貨質檢出庫');

DELETE FROM t_im_biztypeentry WHERE FENTRYID = 1576154402723476481;
INSERT INTO t_im_biztypeentry(FID,FBIZTYPEID,FENTRYID,FBIZTYPEISPRESET,FSEQ,FALLOWMANUALADD) VALUES (1576154402379543552,688855385217756160,1576154402723476481,'1',1,'1');

DELETE FROM t_im_invstatusentry WHERE FENTRYID = 1576154402723585027;
INSERT INTO t_im_invstatusentry(FID,FENTRYID,FISDEFAULT,FSEQ,FINVSTATUSISPRESET,FINVSTATUSID) VALUES (1576154402379543552,1576154402723585027,'1',1,'1',691928582720825344);
DELETE FROM t_im_invstatusentry WHERE FENTRYID = 1576154402723585028;
INSERT INTO t_im_invstatusentry(FID,FENTRYID,FISDEFAULT,FSEQ,FINVSTATUSISPRESET,FINVSTATUSID) VALUES (1576154402379543552,1576154402723585028,'0',2,'1',1536101894978546688);

DELETE FROM t_im_invtypeentry WHERE FENTRYID = 1576154402723476480;
INSERT INTO t_im_invtypeentry(FID,FENTRYID,FISDEFAULT,FSEQ,FINVTYPEID,FINVTYPEISPRESET) VALUES (1576154402379543552,1576154402723476480,'1',1,688884005529250816,'1');

DELETE FROM t_im_outinvstatusentry WHERE FENTRYID = 1576154402723476482;
INSERT INTO t_im_outinvstatusentry(FID,FOUTINVSTATUSID,FENTRYID,FISDEFAULT,FOUTINVSTATUSISPRESET) VALUES (1576154402379543552,691930349319792640,1576154402723476482,'1','1');

DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1576154402723585026;
INSERT INTO t_im_outinvtypeentry(FOUTINVTYPEISPRESET,FID,FOUTINVTYPEID,FENTRYID,FSEQ,FISDEFAULT) VALUES ('1',1576154402379543552,688884005529250816,1576154402723585026,1,'1');


--2101
DELETE FROM t_im_outinvstatusentry WHERE FENTRYID = 1132683144038712321;
INSERT INTO t_im_outinvstatusentry(FID,FOUTINVSTATUSID,FENTRYID,FISDEFAULT,FOUTINVSTATUSISPRESET) VALUES (688857009403099136,691928582720825344,1132683144038712321,'1','1');
DELETE FROM t_im_outinvstatusentry WHERE FENTRYID = 1555706155215593472;
INSERT INTO t_im_outinvstatusentry(FID,FOUTINVSTATUSID,FENTRYID,FISDEFAULT,FOUTINVSTATUSISPRESET) VALUES (688857009403099136,691930349319792640,1555706155215593472,'0','1');
DELETE FROM t_im_outinvstatusentry WHERE FENTRYID = 1576164517220572160;
INSERT INTO t_im_outinvstatusentry(FID,FOUTINVSTATUSID,FENTRYID,FISDEFAULT,FOUTINVSTATUSISPRESET) VALUES (688857009403099136,1536101894978546688,1576164517220572160,'0','1');
