/**Begin D:\PDM_UPGRADE\PDM1\BEI_constraint.sql **/

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BEI_TRANSDETAIL_SEQ') CREATE UNIQUE INDEX IDX_BEI_TRANSDETAIL_SEQ ON T_BEI_TRANSDETAIL ( FUNIQUESEQ );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BEI_ELECRECEIPT_NO') CREATE UNIQUE INDEX IDX_BEI_ELECRECEIPT_NO ON T_BEI_ELECRECEIPT ( FRECEIPTNO );

/**End D:\PDM_UPGRADE\PDM1\BEI_constraint.sql **/
