/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\BEI_constraint.sql **/
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BEI_TRANSDETAIL1') CREATE INDEX IDX_BEI_TRANSDETAIL1 ON T_BEI_TRANSDETAIL ( FBILLNO );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BEI_TRANSDETAIL2') CREATE INDEX IDX_BEI_TRANSDETAIL2 ON T_BEI_TRANSDETAIL ( FBIZDATE );


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