-- 添加资产类采购收货，资产类采购退货库存事务预制数据
DELETE FROM T_IM_INVENTORY WHERE FID=721586050417422336;
DELETE FROM T_IM_INVENTORY WHERE FID=721586603671230464;
INSERT INTO T_IM_INVENTORY (FID, FNUMBER, FCREATORID, FMODIFIERID, FENABLE, FCREATETIME, FMODIFYTIME, FMASTERID, FGROUPID, FDISABLERID, FDISABLEDATE, FINVDC, FTRANSCEIVERTYPEID, FINVSTATUSID, FISOUTUPDATE, FOUTINVSTATUSID, FOWNERTYPE, FKEEPERTYPE, FOUTOWNERTYPE, FOUTKEEPERTYPE, FISINUPDATE, FISPRESET, FBILLFORMID, FISNOTUPDATE) VALUES(721586050417422336, '116', 1, 1, '1',  {ts'2019-09-23 14:21:00'},  {ts'2019-09-23 14:22:40'}, 721586050417422336, 631628592878492672, 0, NULL, 'A', 687616874967685120, 691928582720825344, '0', 0, 'bos_org', 'bos_org', ' ', ' ', '1', '1', 'im_purreceivebill', '1');
INSERT INTO T_IM_INVENTORY (FID, FNUMBER, FCREATORID, FMODIFIERID, FENABLE, FCREATETIME, FMODIFYTIME, FMASTERID, FGROUPID, FDISABLERID, FDISABLEDATE, FINVDC, FTRANSCEIVERTYPEID, FINVSTATUSID, FISOUTUPDATE, FOUTINVSTATUSID, FOWNERTYPE, FKEEPERTYPE, FOUTOWNERTYPE, FOUTKEEPERTYPE, FISINUPDATE, FISPRESET, FBILLFORMID, FISNOTUPDATE) VALUES(721586603671230464, '117', 1, 1, '1',  {ts'2019-09-23 14:22:47'},  {ts'2019-09-23 14:23:46'}, 721586603671230464, 631628592878492672, 0, NULL, 'A', 687617195957770240, 691928582720825344, '0', 0, 'bos_org', 'bos_org', ' ', ' ', '1', '1', 'im_purreceivebill', '1');

DELETE FROM T_IM_INVENTORY_L WHERE FPKID='08M086G1XOR6';
DELETE FROM T_IM_INVENTORY_L WHERE FPKID='08M086G1XOR7';
DELETE FROM T_IM_INVENTORY_L WHERE FPKID='08M0B7MCD+G7';
DELETE FROM T_IM_INVENTORY_L WHERE FPKID='08M0B7MCD+G8';
INSERT INTO T_IM_INVENTORY_L (FPKID, FID, FLOCALEID, FNAME, FDESCRIPTION) VALUES('08M086G1XOR6', 721586050417422336, 'zh_CN', '资产类采购收货', '资产类采购收货');
INSERT INTO T_IM_INVENTORY_L (FPKID, FID, FLOCALEID, FNAME, FDESCRIPTION) VALUES('08M086G1XOR7', 721586050417422336, 'zh_TW', '資產類采購收貨', '資產類采購收貨');
INSERT INTO T_IM_INVENTORY_L (FPKID, FID, FLOCALEID, FNAME, FDESCRIPTION) VALUES('08M0B7MCD+G7', 721586603671230464, 'zh_CN', '资产类采购退货', '资产类采购退货');
INSERT INTO T_IM_INVENTORY_L (FPKID, FID, FLOCALEID, FNAME, FDESCRIPTION) VALUES('08M0B7MCD+G8', 721586603671230464, 'zh_TW', '資產類采購退貨', '資產類采購退貨');


DELETE FROM T_IM_BIZTYPEENTRY WHERE FENTRYID=721586050727745538;
DELETE FROM T_IM_BIZTYPEENTRY WHERE FENTRYID=721586603738394626;
INSERT INTO T_IM_BIZTYPEENTRY (FID, FENTRYID, FSEQ, FBIZTYPEID) VALUES(721586050417422336, 721586050727745538, 1, 422860896797212672);
INSERT INTO T_IM_BIZTYPEENTRY (FID, FENTRYID, FSEQ, FBIZTYPEID) VALUES(721586603671230464, 721586603738394626, 1, 691914634286114816);


DELETE FROM T_IM_INVTYPEENTRY WHERE FENTRYID=721586050727800832;
DELETE FROM T_IM_INVTYPEENTRY WHERE FENTRYID=721586603738339328;
INSERT INTO T_IM_INVTYPEENTRY (FID, FENTRYID, FSEQ, FISDEFAULT, FINVTYPEID) VALUES(721586050417422336, 721586050727800832, 1, '1', 688884005529250816);
INSERT INTO T_IM_INVTYPEENTRY (FID, FENTRYID, FSEQ, FISDEFAULT, FINVTYPEID) VALUES(721586603671230464, 721586603738339328, 1, '1', 688884005529250816);









