/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\PUR_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_PUR_SALOUTSTOCK_REJ', 'T_PUR_SALOUTSTOCK_REJ', 'FENTRYID', '1';

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



/**End E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\PUR_constraint.sql **/
