/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\SIM_constraint.sql **/
 EXEC P_ALTERPK 'PK_SIM_ORIGINAL_BILL_E', 'T_SIM_ORIGINAL_BILL_E', 'FID', '0';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_SIM_ORIGINAL_BILL_E') CREATE  CLUSTERED INDEX IDX_SIM_ORIGINAL_BILL_E ON T_SIM_ORIGINAL_BILL_E ( FDEDUCTION );



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