/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\EB_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_EB_TASKPROSUPERVISOR', 'T_EB_TASKPROSUPERVISOR', 'FENTRYID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IX_EB_TASKPROSUPERVISOR') CREATE INDEX IX_EB_TASKPROSUPERVISOR ON T_EB_TASKPROSUPERVISOR ( FID );


 EXEC P_ALTERPK 'PK_T_EB_TASKSUPERVISOR', 'T_EB_TASKSUPERVISOR', 'FENTRYID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IX__EB_TASKSUPERVISOR_FID') CREATE INDEX IX__EB_TASKSUPERVISOR_FID ON T_EB_TASKSUPERVISOR ( FID );


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