/**Begin C:\PDM_UPGRADE\PDM1\SRC_constraint.sql **/
 EXEC P_ALTERPK 'PK_SRC_CONTRACTITEM', 'T_SRC_CONTRACTITEM', 'FENTRYID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_SRC_CONTRACTITEM_FSID') CREATE INDEX IDX_SRC_CONTRACTITEM_FSID ON T_SRC_CONTRACTITEM ( FSUPPLIERID );

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



/**End C:\PDM_UPGRADE\PDM1\SRC_constraint.sql **/
