DELETE FROM T_META_BIZUNITRELFORM WHERE FID = (SELECT FID FROM T_META_FORMDESIGN WHERE FNUMBER = 'eb_tempaltelist_old');
DELETE FROM T_META_FORM WHERE FNUMBER = 'eb_tempaltelist_old';
DELETE FROM T_META_ENTITY WHERE FNUMBER = 'eb_tempaltelist_old';
DELETE FROM T_META_ENTITYINFO WHERE FID = 'eb_tempaltelist_old';     
DELETE FROM T_META_FORMDESIGN WHERE FNUMBER = 'eb_tempaltelist_old'; 
DELETE FROM T_META_FORMDESIGN_L WHERE FNUMBER = 'eb_tempaltelist_old'; 
DELETE FROM T_META_ENTITYDESIGN WHERE FNUMBER = 'eb_tempaltelist_old'; 
DELETE FROM T_META_ENTITYDESIGN_L WHERE FNUMBER = 'eb_tempaltelist_old'; 
DELETE FROM T_META_MAINENTITYINFO WHERE FID = 'eb_tempaltelist_old'; 
DELETE FROM T_META_MAINENTITYINFO_L WHERE FID = 'eb_tempaltelist_old';

DELETE FROM T_META_BIZUNITRELFORM WHERE FID = (SELECT FID FROM T_META_FORMDESIGN WHERE FNUMBER = 'epm_brexecuteinfo');
DELETE FROM T_META_FORM WHERE FNUMBER = 'epm_brexecuteinfo';
DELETE FROM T_META_ENTITY WHERE FNUMBER = 'epm_brexecuteinfo';
DELETE FROM T_META_ENTITYINFO WHERE FID = 'epm_brexecuteinfo';     
DELETE FROM T_META_FORMDESIGN WHERE FNUMBER = 'epm_brexecuteinfo'; 
DELETE FROM T_META_FORMDESIGN_L WHERE FNUMBER = 'epm_brexecuteinfo'; 
DELETE FROM T_META_ENTITYDESIGN WHERE FNUMBER = 'epm_brexecuteinfo'; 
DELETE FROM T_META_ENTITYDESIGN_L WHERE FNUMBER = 'epm_brexecuteinfo'; 
DELETE FROM T_META_MAINENTITYINFO WHERE FID = 'epm_brexecuteinfo'; 
DELETE FROM T_META_MAINENTITYINFO_L WHERE FID = 'epm_brexecuteinfo';


DELETE FROM T_META_BIZUNITRELFORM WHERE FID = (SELECT FID FROM T_META_FORMDESIGN WHERE FNUMBER = 'eb_tplreportview');
DELETE FROM T_META_FORM WHERE FNUMBER = 'eb_tplreportview';
DELETE FROM T_META_ENTITY WHERE FNUMBER = 'eb_tplreportview';
DELETE FROM T_META_ENTITYINFO WHERE FID = 'eb_tplreportview';     
DELETE FROM T_META_FORMDESIGN WHERE FNUMBER = 'eb_tplreportview'; 
DELETE FROM T_META_FORMDESIGN_L WHERE FNUMBER = 'eb_tplreportview'; 
DELETE FROM T_META_ENTITYDESIGN WHERE FNUMBER = 'eb_tplreportview'; 
DELETE FROM T_META_ENTITYDESIGN_L WHERE FNUMBER = 'eb_tplreportview'; 
DELETE FROM T_META_MAINENTITYINFO WHERE FID = 'eb_tplreportview'; 
DELETE FROM T_META_MAINENTITYINFO_L WHERE FID = 'eb_tplreportview';


DELETE FROM T_META_BIZUNITRELFORM WHERE FID = (SELECT FID FROM T_META_FORMDESIGN WHERE FNUMBER = 'bcm_eb_memberperm_view');
DELETE FROM T_META_FORM WHERE FNUMBER = 'bcm_eb_memberperm_view';
DELETE FROM T_META_ENTITY WHERE FNUMBER = 'bcm_eb_memberperm_view';
DELETE FROM T_META_ENTITYINFO WHERE FID = 'bcm_eb_memberperm_view';     
DELETE FROM T_META_FORMDESIGN WHERE FNUMBER = 'bcm_eb_memberperm_view'; 
DELETE FROM T_META_FORMDESIGN_L WHERE FNUMBER = 'bcm_eb_memberperm_view'; 
DELETE FROM T_META_ENTITYDESIGN WHERE FNUMBER = 'bcm_eb_memberperm_view'; 
DELETE FROM T_META_ENTITYDESIGN_L WHERE FNUMBER = 'bcm_eb_memberperm_view'; 
DELETE FROM T_META_MAINENTITYINFO WHERE FID = 'bcm_eb_memberperm_view'; 
DELETE FROM T_META_MAINENTITYINFO_L WHERE FID = 'bcm_eb_memberperm_view';


DELETE FROM T_META_BIZUNITRELFORM WHERE FID = (SELECT FID FROM T_META_FORMDESIGN WHERE FNUMBER = 'epm_brexecuteinfoentity');
DELETE FROM T_META_FORM WHERE FNUMBER = 'epm_brexecuteinfoentity';
DELETE FROM T_META_ENTITY WHERE FNUMBER = 'epm_brexecuteinfoentity';
DELETE FROM T_META_ENTITYINFO WHERE FID = 'epm_brexecuteinfoentity';     
DELETE FROM T_META_FORMDESIGN WHERE FNUMBER = 'epm_brexecuteinfoentity'; 
DELETE FROM T_META_FORMDESIGN_L WHERE FNUMBER = 'epm_brexecuteinfoentity'; 
DELETE FROM T_META_ENTITYDESIGN WHERE FNUMBER = 'epm_brexecuteinfoentity'; 
DELETE FROM T_META_ENTITYDESIGN_L WHERE FNUMBER = 'epm_brexecuteinfoentity'; 
DELETE FROM T_META_MAINENTITYINFO WHERE FID = 'epm_brexecuteinfoentity'; 
DELETE FROM T_META_MAINENTITYINFO_L WHERE FID = 'epm_brexecuteinfoentity';


DELETE FROM T_META_BIZUNITRELFORM WHERE FID = (SELECT FID FROM T_META_FORMDESIGN WHERE FNUMBER = 'bgm_rptview');
DELETE FROM T_META_FORM WHERE FNUMBER = 'bgm_rptview';
DELETE FROM T_META_ENTITY WHERE FNUMBER = 'bgm_rptview';
DELETE FROM T_META_ENTITYINFO WHERE FID = 'bgm_rptview';     
DELETE FROM T_META_FORMDESIGN WHERE FNUMBER = 'bgm_rptview'; 
DELETE FROM T_META_FORMDESIGN_L WHERE FNUMBER = 'bgm_rptview'; 
DELETE FROM T_META_ENTITYDESIGN WHERE FNUMBER = 'bgm_rptview'; 
DELETE FROM T_META_ENTITYDESIGN_L WHERE FNUMBER = 'bgm_rptview'; 
DELETE FROM T_META_MAINENTITYINFO WHERE FID = 'bgm_rptview'; 
DELETE FROM T_META_MAINENTITYINFO_L WHERE FID = 'bgm_rptview';


DELETE FROM T_META_BIZUNITRELFORM WHERE FID = (SELECT FID FROM T_META_FORMDESIGN WHERE FNUMBER = 'epm_brexecuteinfo');
DELETE FROM T_META_FORM WHERE FNUMBER = 'epm_brexecuteinfo';
DELETE FROM T_META_ENTITY WHERE FNUMBER = 'epm_brexecuteinfo';
DELETE FROM T_META_ENTITYINFO WHERE FID = 'epm_brexecuteinfo';     
DELETE FROM T_META_FORMDESIGN WHERE FNUMBER = 'epm_brexecuteinfo'; 
DELETE FROM T_META_FORMDESIGN_L WHERE FNUMBER = 'epm_brexecuteinfo'; 
DELETE FROM T_META_ENTITYDESIGN WHERE FNUMBER = 'epm_brexecuteinfo'; 
DELETE FROM T_META_ENTITYDESIGN_L WHERE FNUMBER = 'epm_brexecuteinfo'; 
DELETE FROM T_META_MAINENTITYINFO WHERE FID = 'epm_brexecuteinfo'; 
DELETE FROM T_META_MAINENTITYINFO_L WHERE FID = 'epm_brexecuteinfo';

DELETE FROM T_META_BIZUNITRELFORM WHERE FID = (SELECT FID FROM T_META_FORMDESIGN WHERE FNUMBER = 'epm_bizrulescatalog');
DELETE FROM T_META_FORM WHERE FNUMBER = 'epm_bizrulescatalog';
DELETE FROM T_META_ENTITY WHERE FNUMBER = 'epm_bizrulescatalog';
DELETE FROM T_META_ENTITYINFO WHERE FID = 'epm_bizrulescatalog';     
DELETE FROM T_META_FORMDESIGN WHERE FNUMBER = 'epm_bizrulescatalog'; 
DELETE FROM T_META_FORMDESIGN_L WHERE FNUMBER = 'epm_bizrulescatalog'; 
DELETE FROM T_META_ENTITYDESIGN WHERE FNUMBER = 'epm_bizrulescatalog'; 
DELETE FROM T_META_ENTITYDESIGN_L WHERE FNUMBER = 'epm_bizrulescatalog'; 
DELETE FROM T_META_MAINENTITYINFO WHERE FID = 'epm_bizrulescatalog'; 
DELETE FROM T_META_MAINENTITYINFO_L WHERE FID = 'epm_bizrulescatalog';


DELETE FROM T_META_BIZUNITRELFORM WHERE FID = (SELECT FID FROM T_META_FORMDESIGN WHERE FNUMBER = 'epm_bizrulescope');
DELETE FROM T_META_FORM WHERE FNUMBER = 'epm_bizrulescope';
DELETE FROM T_META_ENTITY WHERE FNUMBER = 'epm_bizrulescope';
DELETE FROM T_META_ENTITYINFO WHERE FID = 'epm_bizrulescope';     
DELETE FROM T_META_FORMDESIGN WHERE FNUMBER = 'epm_bizrulescope'; 
DELETE FROM T_META_FORMDESIGN_L WHERE FNUMBER = 'epm_bizrulescope'; 
DELETE FROM T_META_ENTITYDESIGN WHERE FNUMBER = 'epm_bizrulescope'; 
DELETE FROM T_META_ENTITYDESIGN_L WHERE FNUMBER = 'epm_bizrulescope'; 
DELETE FROM T_META_MAINENTITYINFO WHERE FID = 'epm_bizrulescope'; 
DELETE FROM T_META_MAINENTITYINFO_L WHERE FID = 'epm_bizrulescope';