-- 预制132库存事务
DELETE FROM T_IM_INVSCHEMES WHERE FID=775234692366208000;
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) VALUES(775234692366208000, '132', 1, 1, '1',  {ts'2019-12-06 14:45:24'},  {ts'2019-12-06 14:53:12'}, 775234692366208000, 376675954728127488, 0, NULL, 'A', 731218411396427776, 691928582720825344, '1', 691930349319792640, 'bd_supplier', 'bos_org', 'bd_supplier', 'bos_org', '1', '1', 'im_purinbill', '0');


DELETE FROM T_IM_INVSCHEMES_L WHERE FPKID='0E718Y3SO2UN';
DELETE FROM T_IM_INVSCHEMES_L WHERE FPKID='0E718Y3SO2UO';
INSERT INTO T_IM_INVSCHEMES_L (FPKID, FID, FLOCALEID, FNAME, FDESCRIPTION) VALUES('0E718Y3SO2UN', 775234692366208000, 'zh_CN', 'VMI采购收货检验合格入库', 'VMI采购收货检验合格入库');
INSERT INTO T_IM_INVSCHEMES_L (FPKID, FID, FLOCALEID, FNAME, FDESCRIPTION) VALUES('0E718Y3SO2UO', 775234692366208000, 'zh_TW', 'VMI采購收貨檢驗合格入庫', 'VMI采購收貨檢驗合格入庫');


DELETE FROM T_IM_BIZTYPEENTRY WHERE FENTRYID=775234692408151040;
DELETE FROM T_IM_BIZTYPEENTRY WHERE FENTRYID=775234692408151041;
INSERT INTO T_IM_BIZTYPEENTRY (FID, FENTRYID, FSEQ, FBIZTYPEID, FALLOWMANUALADD) VALUES(775234692366208000, 775234692408151040, 1, 688852433954466816, '1');
INSERT INTO T_IM_BIZTYPEENTRY (FID, FENTRYID, FSEQ, FBIZTYPEID, FALLOWMANUALADD) VALUES(775234692366208000, 775234692408151041, 2, 691915699186345984, '1');


DELETE FROM T_IM_OUTINVTYPEENTRY WHERE FENTRYID=775234692407833600;
INSERT INTO T_IM_OUTINVTYPEENTRY (FID, FENTRYID, FSEQ, FISDEFAULT, FOUTINVTYPEID) VALUES(775234692366208000, 775234692407833600, 1, '1', 688884312753630208);


DELETE FROM T_IM_INVTYPEENTRY WHERE FENTRYID=775234692399762432;
INSERT INTO T_IM_INVTYPEENTRY (FID, FENTRYID, FSEQ, FISDEFAULT, FINVTYPEID) VALUES(775234692366208000, 775234692399762432, 1, '1', 688884312753630208);


DELETE FROM T_IM_INVTYPEENTRY WHERE FENTRYID=738842165932910592;
DELETE FROM T_IM_INVTYPEENTRY WHERE FENTRYID=738842822953783296;
INSERT INTO T_IM_INVTYPEENTRY (FID, FENTRYID, FSEQ, FISDEFAULT, FINVTYPEID) VALUES(738842165890967552, 738842165932910592, 1, '1', 688884217048001536);
INSERT INTO T_IM_INVTYPEENTRY (FID, FENTRYID, FSEQ, FISDEFAULT, FINVTYPEID) VALUES(738842822920228864, 738842822953783296, 1, '1', 688884217048001536);


DELETE FROM T_IM_OUTINVTYPEENTRY WHERE FENTRYID=775234692407833600;
INSERT INTO T_IM_OUTINVTYPEENTRY (FID, FENTRYID, FSEQ, FISDEFAULT, FOUTINVTYPEID) VALUES(775234692366208000, 775234692407833600, 1, '1', 688884217048001536);

