/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\HBSS_constraint.sql **/
 EXEC P_ALTERPK 'PK_HBSS_RECRUTYP', 'T_HBSS_RECRUTYP', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HBSS_RECRUTYP_FNUMBER') CREATE INDEX IDX_HBSS_RECRUTYP_FNUMBER ON T_HBSS_RECRUTYP ( FNUMBER );


 EXEC P_ALTERPK 'PK_HBSS_RECRUTYP_L', 'T_HBSS_RECRUTYP_L', 'FPKID', '1';

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



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