/**Begin D:\work\PDM\PDM_UPGRADE_1224\PDM1\HRCS_constraint.sql **/
 EXEC P_ALTERPK 'PK_HRCS_ENTITYFIELDMP_L', 'T_HRCS_ENTITYFIELDMP_L', 'FPKID', '1';

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


 EXEC P_ALTERPK 'PK_HRCS_ENTITYFIELDMP', 'T_HRCS_ENTITYFIELDMP', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HRCS_ENTITYFIELDMP') CREATE INDEX IDX_HRCS_ENTITYFIELDMP ON T_HRCS_ENTITYFIELDMP ( FDESCRIPTION );



/**End D:\work\PDM\PDM_UPGRADE_1224\PDM1\HRCS_constraint.sql **/
