--单据头
DELETE FROM t_im_invschemes WHERE fid=1990688230088923136;
INSERT INTO t_im_invschemes
(fid, fnumber, fcreatorid, fmodifierid, fenable, fcreatetime, fmodifytime, fmasterid, fgroupid, fdisablerid, fdisabledate, finvdc, ftransceivertypeid, finvstatusid, fisoutupdate, foutinvstatusid, fownertype, fkeepertype, foutownertype, foutkeepertype, fisinupdate, fispreset, fbillformid, fisnotupdate, fisforwardamount, fname, fdescription, ftransceiver, fbizdirection, fzerocost)
VALUES(1990688230088923136, 'WX141', 1850843891356641280, 1850843891356641280, '1', {ts'2024-07-09 15:00:15'}, {ts'2024-07-25 08:59:05'}, 1990688230088923136, 376675954728127488, 0, NULL, 'A', 687616874967685120, 0, '0', 0, ' ', ' ', ' ', ' ', '1', '1', 'im_purinbill', '0', '1', '产品委外采购入库', ' ', '0', '0', '0');

DELETE FROM t_im_invschemes WHERE fid=1990689130404665344;
INSERT INTO t_im_invschemes
(fid, fnumber, fcreatorid, fmodifierid, fenable, fcreatetime, fmodifytime, fmasterid, fgroupid, fdisablerid, fdisabledate, finvdc, ftransceivertypeid, finvstatusid, fisoutupdate, foutinvstatusid, fownertype, fkeepertype, foutownertype, foutkeepertype, fisinupdate, fispreset, fbillformid, fisnotupdate, fisforwardamount, fname, fdescription, ftransceiver, fbizdirection, fzerocost)
VALUES(1990689130404665344, 'WX14101', 1850843891356641280, 1850843891356641280, '1', {ts'2024-07-09 15:02:14'}, {ts'2024-07-25 08:59:53'}, 1990689130404665344, 376675954728127488, 0, NULL, 'A', 687617195957770240, 0, '0', 0, ' ', ' ', ' ', ' ', '1', '1', 'im_purinbill', '0', '1', '产品委外采购退、补货', '产品委外采购退、补货', '0', '1', '0');

--多语言
DELETE FROM t_im_invschemes_l WHERE fpkid='48I6J27QR3=P';
INSERT INTO t_im_invschemes_l
(fpkid, fid, flocaleid, fname, fdescription)
VALUES('48I6J27QR3=P', 1990688230088923136, 'zh_CN', '产品委外采购入库', ' ');

DELETE FROM t_im_invschemes_l WHERE fpkid='48I6PN+=K4Q3';
INSERT INTO t_im_invschemes_l
(fpkid, fid, flocaleid, fname, fdescription)
VALUES('48I6PN+=K4Q3', 1990689130404665344, 'zh_CN', '产品委外采购退、补货', '产品委外采购退、补货');

--业务类型
DELETE FROM t_im_biztypeentry
WHERE fentryid=2002101900367258624;
DELETE FROM t_im_biztypeentry
WHERE fentryid=2002102304035464192;
DELETE FROM t_im_biztypeentry
WHERE fentryid=2002102304035464193;
INSERT INTO t_im_biztypeentry
(fid, fentryid, fseq, fbiztypeid, fallowmanualadd, fbiztypeispreset)
VALUES(1990688230088923136, 2002101900367258624, 1, 422857170485263360, '1', '1');
INSERT INTO t_im_biztypeentry
(fid, fentryid, fseq, fbiztypeid, fallowmanualadd, fbiztypeispreset)
VALUES(1990689130404665344, 2002102304035464192, 1, 688847172015446016, '1', '1');
INSERT INTO t_im_biztypeentry
(fid, fentryid, fseq, fbiztypeid, fallowmanualadd, fbiztypeispreset)
VALUES(1990689130404665344, 2002102304035464193, 2, 688850502762584064, '1', '1');

--入库库存类型
DELETE FROM t_im_invtypeentry
WHERE fentryid=1990688230483187712;
DELETE FROM t_im_invtypeentry
WHERE fentryid=2005765486448793600;
DELETE FROM t_im_invtypeentry
WHERE fentryid=1990689130429831168;
DELETE FROM t_im_invtypeentry
WHERE fentryid=1990689130429831169;
INSERT INTO t_im_invtypeentry
(fid, fentryid, fseq, fisdefault, finvtypeid, finvtypeispreset, fkeepertype1, fownertype1)
VALUES(1990688230088923136, 1990688230483187712, 1, '1', 688884005529250816, '1', 'bd_supplier', 'bos_org');
INSERT INTO t_im_invtypeentry
(fid, fentryid, fseq, fisdefault, finvtypeid, finvtypeispreset, fkeepertype1, fownertype1)
VALUES(1990688230088923136, 2005765486448793600, 2, '0', 688884099724930048, '1', 'bd_supplier', 'bos_org');
INSERT INTO t_im_invtypeentry
(fid, fentryid, fseq, fisdefault, finvtypeid, finvtypeispreset, fkeepertype1, fownertype1)
VALUES(1990689130404665344, 1990689130429831168, 1, '1', 688884005529250816, '1', 'bd_supplier', 'bos_org');
INSERT INTO t_im_invtypeentry
(fid, fentryid, fseq, fisdefault, finvtypeid, finvtypeispreset, fkeepertype1, fownertype1)
VALUES(1990689130404665344, 1990689130429831169, 2, '0', 688884099724930048, '1', 'bd_supplier', 'bos_org');

--入库库存状态
DELETE FROM t_im_invstatusentry
WHERE fentryid=1990688230483185666;
DELETE FROM t_im_invstatusentry
WHERE fentryid=1990689130429829122;
INSERT INTO t_im_invstatusentry
(fentryid, fid, fseq, finvstatusid, fisdefault, finvstatusispreset)
VALUES(1990688230483185666, 1990688230088923136, 1, 691928582720825344, '1', '1');
INSERT INTO t_im_invstatusentry
(fentryid, fid, fseq, finvstatusid, fisdefault, finvstatusispreset)
VALUES(1990689130429829122, 1990689130404665344, 1, 691928582720825344, '1', '1');

