/**Begin C:\PDM_UPGRADE\PDM1\PUR_constraint.sql **/
 EXEC P_ALTERPK 'PK_PUR_SPLITROW', 'T_PUR_SPLITROW', 'FID', '1';

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

 EXEC P_ALTERPK 'PK_PUR_SPLITROWENTRY', 'T_PUR_SPLITROWENTRY', 'FENTRYID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_SPLITROWENTRY_FID_FSEQ') CREATE INDEX IDX_SPLITROWENTRY_FID_FSEQ ON T_PUR_SPLITROWENTRY ( FID ,FSEQ );



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