/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\BOS_constraint.sql **/
EXEC p_DropIdx 'IDX_T_CR_INTERMITNO_FCRID', 'T_CR_INTERMITNO';
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_T_CR_INTERMITNO_SERIAL') CREATE UNIQUE INDEX IDX_T_CR_INTERMITNO_SERIAL ON T_CR_INTERMITNO ( FCODERULEID ,FSORTITEMVALUE ,FSERIAL );


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