-- 库存供应策略引入引出模板（平衡利库专用）
-- 库存供应策略引入模板（平衡利库专用）
DELETE FROM T_BAS_IMPORTTEMPLATE WHERE FID = 1700674964442625024;
INSERT INTO T_BAS_IMPORTTEMPLATE(FID,FENABLESETNULL,FENABLEIMPORT,FMASTERID,FEXCHANGENAMEANDMARK,FSTATUS,FNAME,FTEMPLATETYPE,FNUMBER,FCREATETIME,FHIDEFIELDROW,FMODIFIERID,FENABLE,FAPPLYSCOPE,FSPLITSUBENTRIES,FPLUGIN,FFORUPDATEMULTILANGFIELDS,FMODIFYTIME,FCREATORID,FBIZOBJECT) VALUES (1700674964442625024,'1','1',1700674964442625024,'0','C','库存供应策略引入模板','IMPT','balanceinv_supply_policy_IMPT_S',{ts'2023-06-05  00:00:00'},'0',13466739,'1','0','0',' ','0',{ts'2023-06-09  00:00:00'},13466739,'balanceinv_supply_policy');

DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700673923869357060;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700674964442625024,0,' ',1700673923869357060,'0',' ',' ','0','1',' ',1700673923852580864,'createtime',10,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700673923869357061;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700674964442625024,0,' ',1700673923869357061,'0',' ',' ','0','1',' ',1700673923852580864,'modifytime',12,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700673923844191232;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700674964442625024,0,' ',1700673923844191232,'0',' ',' ','0','0',' ',0,'balanceinv_supply_policy',1,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700673923852580864;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700674964442625024,0,' ',1700673923852580864,'0',' ',' ','0','0',' ',1700673923844191232,'billhead',2,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700673923869357056;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700674964442625024,0,' ',1700673923869357056,'0',' ',' ','0','1',' ',1700673923852580864,'id',3,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700673923869358080;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700674964442625024,0,' ',1700673923869358080,'1',' ',' ','1','1',' ',1700673923852580864,'number',4,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700673923869357057;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700674964442625024,0,' ',1700673923869357057,'1',' ',' ','1','1',' ',1700673923852580864,'name',5,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700673923869357058;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700674964442625024,0,' ',1700673923869357058,'1',' ',' ','1','1',' ',1700673923852580864,'status',7,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700673923869358082;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700674964442625024,0,' ',1700673923869358082,'1',' ',' ','1','1',' ',1700673923852580864,'enable',8,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700673923869357059;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700674964442625024,0,' ',1700673923869357059,'1',' ',' ','1','1',' ',1700673923852580864,'warehousesetup',13,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700673923953244160;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700674964442625024,0,' ',1700673923953244160,'0',' ',' ','0','0',' ',1700673923844191232,'orgentity',14,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700673923953243136;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700674964442625024,0,' ',1700673923953243136,'0',' ',' ','0','1',' ',1700673923953244160,'orgentity.id',15,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700673923953244161;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700674964442625024,0,' ',1700673923953244161,'1',' ',' ','1','1',' ',1700673923953244160,'priority',17,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700673923953244162;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700674964442625024,0,' ',1700673923953244162,'0',' ',' ','0','1',' ',1700673923953244160,'invscale',18,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700673923970020352;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700674964442625024,0,' ',1700673923970020352,'0',' ',' ','0','0',' ',1700673923844191232,'invtypeentry',19,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700673923970021376;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700674964442625024,0,' ',1700673923970021376,'0',' ',' ','0','1',' ',1700673923970020352,'invtypeentry.id',20,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700673923970021377;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700674964442625024,0,' ',1700673923970021377,'0',' ',' ','1','1',' ',1700673923970020352,'isinvtypecal',22,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700673924003575808;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700674964442625024,0,' ',1700673924003575808,'0',' ',' ','0','0',' ',1700673923844191232,'invstatusentry',23,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700673924003574784;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700674964442625024,0,' ',1700673924003574784,'0',' ',' ','0','1',' ',1700673924003575808,'invstatusentry.id',24,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700673924003574785;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700674964442625024,0,' ',1700673924003574785,'1',' ',' ','1','1',' ',1700673924003575808,'isstatuscal',26,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700673924003575810;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700674964442625024,0,' ',1700673924003575810,'0',' ',' ','1','1',' ',1700673924003575808,'invstatuspriority',27,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700673924028740608;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700674964442625024,0,' ',1700673924028740608,'0',' ',' ','0','0',' ',1700673923844191232,'warehouseentry',28,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700673924037130240;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700674964442625024,0,' ',1700673924037130240,'0',' ',' ','0','1',' ',1700673924028740608,'warehouseentry.id',29,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700673924037130242;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700674964442625024,0,' ',1700673924037130242,'1',' ',' ','1','1',' ',1700673924028740608,'isalllocation',32,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700673924037130243;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700674964442625024,0,' ',1700673924037130243,'0',' ',' ','0','1',' ',1700673924028740608,'warehouseaddr',34,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700673924037129216;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700674964442625024,0,' ',1700673924037129216,'0',' ',' ','1','1',' ',1700673924028740608,'supplypriority',35,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700673923869358081;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700674964442625024,0,'number',1700673923869358081,'1','name',' ','1','1',' ',1700673923852580864,'demandorgunit',6,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700673923869358083;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700674964442625024,0,'number',1700673923869358083,'0','name',' ','0','1',' ',1700673923852580864,'creator',9,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700673923869358084;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700674964442625024,0,'number',1700673923869358084,'0','name',' ','0','1',' ',1700673923852580864,'modifier',11,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700673923953243137;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700674964442625024,0,'number',1700673923953243137,'1','name',' ','1','1',' ',1700673923953244160,'invorg',16,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700673923970020353;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700674964442625024,0,'number',1700673923970020353,'1','name',' ','1','1',' ',1700673923970020352,'invtype',21,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700673924003575809;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700674964442625024,0,'number',1700673924003575809,'1','name',' ','1','1',' ',1700673924003575808,'invstatus',25,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700673924037130241;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700674964442625024,0,'number',1700673924037130241,'0','name',' ','1','1',' ',1700673924028740608,'warehouseinvorg',30,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700673924037129217;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700674964442625024,0,'number',1700673924037129217,'0','name',' ','1','1',' ',1700673924028740608,'warehouse',31,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700673924037129218;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700674964442625024,0,'number',1700673924037129218,'0','name',' ','1','1',' ',1700673924028740608,'location',33,' ');

DELETE FROM T_BAS_IMPORTTEMPLATE_L WHERE FPKID = '3AWRTCH2S102';
INSERT INTO T_BAS_IMPORTTEMPLATE_L(FID,FPKID,FLOCALEID,FCOMMENT,FNAME) VALUES (1700674964442625024,'3AWRTCH2S102','zh_CN','系统预置模板','库存供应策略引入模板');
DELETE FROM T_BAS_IMPORTTEMPLATE_L WHERE FPKID = '3AWRTCH2S103';
INSERT INTO T_BAS_IMPORTTEMPLATE_L(FID,FPKID,FLOCALEID,FCOMMENT,FNAME) VALUES (1700674964442625024,'3AWRTCH2S103','zh_TW','係統預置模板','庫存供應策略引入模板');




-- 引出模板（平衡利库专用）

DELETE FROM T_BAS_IMPORTTEMPLATE WHERE FID = 1700675599737074688;
INSERT INTO T_BAS_IMPORTTEMPLATE(FID,FENABLESETNULL,FENABLEIMPORT,FMASTERID,FEXCHANGENAMEANDMARK,FSTATUS,FNAME,FTEMPLATETYPE,FNUMBER,FCREATETIME,FHIDEFIELDROW,FMODIFIERID,FENABLE,FAPPLYSCOPE,FSPLITSUBENTRIES,FPLUGIN,FFORUPDATEMULTILANGFIELDS,FMODIFYTIME,FCREATORID,FBIZOBJECT) VALUES (1700675599737074688,'1','1',1700675599737074688,'0','C','库存供应策略引出模板','EXPT','balanceinv_supply_policy_EXPT_S',{ts'2023-06-05  00:00:00'},'0',13466739,'1','0','0',' ','0',{ts'2023-06-05  00:00:00'},13466739,'balanceinv_supply_policy');


DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700675096126993408;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700675599737074688,0,' ',1700675096126993408,'0',' ',' ','0','0',' ',0,'balanceinv_supply_policy',1,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700675096185714688;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700675599737074688,0,' ',1700675096185714688,'0',' ',' ','0','0',' ',1700675096126993408,'billhead',2,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700675096194102272;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700675599737074688,0,' ',1700675096194102272,'1',' ',' ','1','1',' ',1700675096185714688,'number',3,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700675096202491904;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700675599737074688,0,' ',1700675096202491904,'1',' ',' ','1','1',' ',1700675096185714688,'name',4,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700675096210879488;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700675599737074688,0,' ',1700675096210879488,'1','number,name',' ','1','1',' ',1700675096185714688,'demandorgunit',5,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700675096210880512;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700675599737074688,0,' ',1700675096210880512,'0',' ',' ','0','1',' ',1700675096185714688,'status',6,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700675096219268096;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700675599737074688,0,' ',1700675096219268096,'0',' ',' ','0','1',' ',1700675096185714688,'enable',7,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700675096227657728;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700675599737074688,0,' ',1700675096227657728,'0',' ',' ','1','1',' ',1700675096185714688,'warehousesetup',8,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700675096236045312;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700675599737074688,0,' ',1700675096236045312,'0','number,name',' ','0','1',' ',1700675096185714688,'creator',9,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700675096236046336;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700675599737074688,0,' ',1700675096236046336,'0',' ',' ','0','1',' ',1700675096185714688,'createtime',10,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700675096244433920;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700675599737074688,0,' ',1700675096244433920,'0','number,name',' ','0','1',' ',1700675096185714688,'modifier',11,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700675096252823552;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700675599737074688,0,' ',1700675096252823552,'0',' ',' ','0','1',' ',1700675096185714688,'modifytime',12,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700675096512869376;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700675599737074688,0,' ',1700675096512869376,'0',' ',' ','0','0',' ',1700675096126993408,'orgentity',13,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700675096521259008;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700675599737074688,0,' ',1700675096521259008,'1',' ',' ','1','1',' ',1700675096512869376,'priority',14,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700675096529646592;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700675599737074688,0,' ',1700675096529646592,'1','number,name',' ','1','1',' ',1700675096512869376,'invorg',15,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700675096538036224;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700675599737074688,0,' ',1700675096538036224,'0',' ',' ','0','1',' ',1700675096512869376,'invscale',16,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700675096672252928;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700675599737074688,0,' ',1700675096672252928,'0',' ',' ','1','0',' ',1700675096126993408,'invtypeentry',17,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700675096680642560;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700675599737074688,0,' ',1700675096680642560,'1','number,name',' ','1','1',' ',1700675096672252928,'invtype',18,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700675096689030144;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700675599737074688,0,' ',1700675096689030144,'0',' ',' ','1','1',' ',1700675096672252928,'isinvtypecal',19,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700675096798082048;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700675599737074688,0,' ',1700675096798082048,'0',' ',' ','1','0',' ',1700675096126993408,'invstatusentry',20,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700675096806471680;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700675599737074688,0,' ',1700675096806471680,'1','number,name',' ','1','1',' ',1700675096798082048,'invstatus',21,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700675096806470656;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700675599737074688,0,' ',1700675096806470656,'0',' ',' ','1','1',' ',1700675096798082048,'isstatuscal',22,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700675096814860288;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700675599737074688,0,' ',1700675096814860288,'0',' ',' ','1','1',' ',1700675096798082048,'invstatuspriority',23,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700675096957465600;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700675599737074688,0,' ',1700675096957465600,'0',' ',' ','1','0',' ',1700675096126993408,'warehouseentry',24,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700675096965855232;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700675599737074688,0,' ',1700675096965855232,'1',' ',' ','1','1',' ',1700675096957465600,'supplypriority',25,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700675096965854208;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700675599737074688,0,' ',1700675096965854208,'1','number,name',' ','1','1',' ',1700675096957465600,'warehouseinvorg',26,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700675096965855233;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700675599737074688,0,' ',1700675096965855233,'1','number,name',' ','1','1',' ',1700675096957465600,'warehouse',27,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700675096974242816;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700675599737074688,0,' ',1700675096974242816,'0',' ',' ','1','1',' ',1700675096957465600,'isalllocation',28,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700675096982632448;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700675599737074688,0,' ',1700675096982632448,'0','number,name',' ','1','1',' ',1700675096957465600,'location',29,' ');
DELETE FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FENTRYID = 1700675096982631424;
INSERT INTO T_BAS_IMPORTTEMPLATEENTRY(FID,FCOLWIDTH,FIMPORTPROP,FENTRYID,FMUSTINPUT,FEXPORTPROP,FDESCRIPTION,FISIMPORT,FISFIELD,FSOURCENAME,FPARENTENTRYID,FFIELDKEY,FSEQ,FSOURCEENTITY) VALUES (1700675599737074688,0,' ',1700675096982631424,'0',' ',' ','1','1',' ',1700675096957465600,'warehouseaddr',30,' ');

DELETE FROM T_BAS_IMPORTTEMPLATE_L WHERE FPKID = '3AWRY/+POLH=';
INSERT INTO T_BAS_IMPORTTEMPLATE_L(FID,FPKID,FLOCALEID,FCOMMENT,FNAME) VALUES (1700675599737074688,'3AWRY/+POLH=','zh_CN','系统预置模板','库存供应策略引出模板');
DELETE FROM T_BAS_IMPORTTEMPLATE_L WHERE FPKID = '3AWRY/+POLHA';
INSERT INTO T_BAS_IMPORTTEMPLATE_L(FID,FPKID,FLOCALEID,FCOMMENT,FNAME) VALUES (1700675599737074688,'3AWRY/+POLHA','zh_TW','係統預置模板','庫存供應策略引出模板'); 
