/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\BEI_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_BEI_DETAIL_UPDATE_LOG', 'T_BEI_DETAIL_UPDATE_LOG', 'FID', '0';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BEI_DETAIL_UPDATE_LOG') CREATE  CLUSTERED INDEX IDX_BEI_DETAIL_UPDATE_LOG ON T_BEI_DETAIL_UPDATE_LOG ( FISUPATE );



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