/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\MRP_constraint.sql **/
EXEC p_DropIdx 'IDX_MRP_CALDETAILENTRY_FSEQ', 'T_MRP_CALDETAILENTRY';
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_MRP_CALDETAILENTRY_SRC') CREATE INDEX IDX_MRP_CALDETAILENTRY_SRC ON T_MRP_CALDETAILENTRY ( FREQSOURCEBILLNO );

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


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