/**Begin D:\PDM\PDM_UPGRADE\PDM1\IFM_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_IFM_ACCEPTMODIFYENTRY', 'T_IFM_ACCEPTMODIFYENTRY', 'FENTRYID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_IFMACCTACCEPTMODIFY_FID') CREATE INDEX IDX_IFMACCTACCEPTMODIFY_FID ON T_IFM_ACCEPTMODIFYENTRY ( FID );


 EXEC P_ALTERPK 'PK_T_IFM_ACCEPTMODIFY_CUR', 'T_IFM_ACCEPTMODIFY_CUR', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_ACCTACCEPTMODCUR_FENTRYID') CREATE INDEX IDX_ACCTACCEPTMODCUR_FENTRYID ON T_IFM_ACCEPTMODIFY_CUR ( FENTRYID );


 EXEC P_ALTERPK 'PK_T_IFM_ACCEPTMODIFY_ST', 'T_IFM_ACCEPTMODIFY_ST', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_ACCTACCEPTMODST_FENTRYID') CREATE INDEX IDX_ACCTACCEPTMODST_FENTRYID ON T_IFM_ACCEPTMODIFY_ST ( FENTRYID );



/**End D:\PDM\PDM_UPGRADE\PDM1\IFM_constraint.sql **/
