/**Begin D:\PDM_UPGRADE\PDM1\HRPTMC_constraint.sql **/
 EXEC P_ALTERPK 'PK_HRPTMC_ANOBJCONFIGHIS_L', 'T_HRPTMC_ANOBJCONFIGHIS_L', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HRPTMC_ANHIS_L') CREATE INDEX IDX_HRPTMC_ANHIS_L ON T_HRPTMC_ANOBJCONFIGHIS_L ( FID ,FLOCALEID );


 EXEC P_ALTERPK 'PK_HRPTMC_REPORTCONFIGHIS_L', 'T_HRPTMC_REPORTCONFIGHIS_L', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HRPTMC_RPTHIS_L') CREATE INDEX IDX_HRPTMC_RPTHIS_L ON T_HRPTMC_REPORTCONFIGHIS_L ( FID ,FLOCALEID );



/**End D:\PDM_UPGRADE\PDM1\HRPTMC_constraint.sql **/
