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

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

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

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

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

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

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

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

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


