/**Begin D:\software\PDM_UPGRADE\PDM1\FPM_constraint.sql **/
EXEC P_ALTERPK 'PK_T_FPM_SUPPLEMENT', 'T_FPM_SUPPLEMENT', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_SUPPLEMENT_BILLNO') CREATE INDEX IDX_SUPPLEMENT_BILLNO ON T_FPM_SUPPLEMENT ( FBILLNO );


EXEC P_ALTERPK 'PK_T_FPM_SUPPLEMENT_DETAIL', 'T_FPM_SUPPLEMENT_DETAIL', 'FENTRYID', '1';

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



/**End D:\software\PDM_UPGRADE\PDM1\FPM_constraint.sql **/
