-- 库存事务主表
DELETE FROM T_IM_INVENTORY WHERE FID=702781688496965632;
DELETE FROM T_IM_INVENTORY WHERE FID=702782367278103552;
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 (702781688496965632, '313', 1, 1, '1', {ts'2019-08-21 14:05:08'}, {ts'2019-08-21 14:05:08'}, 702781688496965632, 508543364719724544, 0, null, 'A', 687618670800885760, 0, '1', 691928582720825344, ' ', ' ', 'bos_org', 'bos_org', '0', '1', 'im_transoutbill', '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 (702782367278103552, '314', 1, 1, '1', {ts'2019-08-21 14:05:08'}, {ts'2019-08-21 14:05:08'}, 702782367278103552, 508544029483354112, 0, null, 'A', 687618512088422400, 691928582720825344, '0', 0, 'bos_org', 'bos_org', ' ', ' ', '1', '1', 'im_transinbill', '1');

-- 多语言
DELETE FROM T_IM_INVENTORY_L WHERE FPKID='06=YQ3WQKOC8';
DELETE FROM T_IM_INVENTORY_L WHERE FPKID='06=YQ3WQKOC9';
DELETE FROM T_IM_INVENTORY_L WHERE FPKID='06=YV1T6=GD/';
DELETE FROM T_IM_INVENTORY_L WHERE FPKID='06=YV1T6=GD0';
insert into T_IM_INVENTORY_L (FPKID, FID, FLOCALEID, FNAME, FDESCRIPTION)
values ('06=YQ3WQKOC8', 702781688496965632, 'zh_CN', '成本调出', '成本调出');
insert into T_IM_INVENTORY_L (FPKID, FID, FLOCALEID, FNAME, FDESCRIPTION)
values ('06=YQ3WQKOC9', 702781688496965632, 'zh_TW', '成本調出', '成本調出');
insert into T_IM_INVENTORY_L (FPKID, FID, FLOCALEID, FNAME, FDESCRIPTION)
values ('06=YV1T6=GD/', 702782367278103552, 'zh_CN', '成本调入', '成本调入');
insert into T_IM_INVENTORY_L (FPKID, FID, FLOCALEID, FNAME, FDESCRIPTION)
values ('06=YV1T6=GD0', 702782367278103552, 'zh_TW', '成本調入', '成本調入');

-- 出库库存类型分录
DELETE FROM T_IM_OUTINVTYPEENTRY WHERE FENTRYID=704312136658441216;
DELETE FROM T_IM_OUTINVTYPEENTRY WHERE FENTRYID=704312136658441217;
insert into T_IM_OUTINVTYPEENTRY (FID, FENTRYID, FSEQ, FISDEFAULT, FOUTINVTYPEID)
values (702781688496965632, 704312136658441216, 1, '1', 688884005529250816);
insert into T_IM_OUTINVTYPEENTRY (FID, FENTRYID, FSEQ, FISDEFAULT, FOUTINVTYPEID)
values (702781688496965632, 704312136658441217, 2, '0', 688884099724930048);

-- 入库库存型分录
DELETE FROM T_IM_INVTYPEENTRY WHERE FENTRYID=704311876284437504;
DELETE FROM T_IM_INVTYPEENTRY WHERE FENTRYID=704311876284437505;
insert into T_IM_INVTYPEENTRY (FID, FENTRYID, FSEQ, FISDEFAULT, FINVTYPEID)
values (702782367278103552, 704311876284437504, 1, '1', '688884005529250816');
insert into T_IM_INVTYPEENTRY (FID, FENTRYID, FSEQ, FISDEFAULT, FINVTYPEID)
values (702782367278103552, 704311876284437505, 2, '0', '688884099724930048');

-- 业务类型分录
DELETE FROM T_IM_BIZTYPEENTRY WHERE FENTRYID=702781688530664448;
DELETE FROM T_IM_BIZTYPEENTRY WHERE FENTRYID=702782367319902210;
insert into T_IM_BIZTYPEENTRY (FID, FENTRYID, FSEQ, FBIZTYPEID)
values (702781688496965632, 702781688530664448, 1, 422889961931423744);
insert into T_IM_BIZTYPEENTRY (FID, FENTRYID, FSEQ, FBIZTYPEID)
values (702782367278103552, 702782367319902210, 1, 422889961931423744);

