/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\HPDI_constraint.sql **/
 EXEC P_ALTERPK 'PK_HPDI_BIZDATAOPERATEHIS', 'T_HPDI_BIZDATAOPERATEHIS', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HPDI_BIZDATAOPERATEHIS') CREATE INDEX IDX_HPDI_BIZDATAOPERATEHIS ON T_HPDI_BIZDATAOPERATEHIS ( FCURRENTBIZDATACODE );



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