/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\HSAS_constraint.sql **/

 EXEC P_ALTERPK 'PK_HPDI_PAYROLLACTGTIPS', 'T_HPDI_PAYROLLACTGTIPS', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_TABNAME = 'T_HPDI_PAYROLLACTGTIPS' AND KSQL_INDNAME = 'IDX_HPDI_PAYROLLACTGTIPS') CREATE INDEX IDX_HPDI_PAYROLLACTGTIPS ON T_HPDI_PAYROLLACTGTIPS ( FENTITYOBJECTID );



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