/**Begin D:\pdm\PDM_UPGRADE\PDM1\HRCS_constraint.sql **/
 EXEC P_ALTERPK 'PK_HRCS_LBLOBJMNLENTRY', 'T_HRCS_LBLOBJMNLENTRY', 'FENTRYID', '1';

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


 EXEC P_ALTERPK 'PK_HRCS_LBLOBJMNLENTRY_L', 'T_HRCS_LBLOBJMNLENTRY_L', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HRCS_LBLOBJMNLENTRY_L') CREATE INDEX IDX_HRCS_LBLOBJMNLENTRY_L ON T_HRCS_LBLOBJMNLENTRY_L ( FENTRYID ,FLOCALEID );



/**End D:\pdm\PDM_UPGRADE\PDM1\HRCS_constraint.sql **/
