Skip to main content

hr.job_profiles

Schema: hr
English table: hr.job_profiles
Italian original table: hr.profilo_job
Description: Job profiles used for internal job configuration and cost allocation percentages (multi-tenant).

Overview

  • Columns: 8
  • Primary key: id
  • Outgoing foreign keys: 1
  • Incoming foreign keys: 2
  • Indexes: 2

Columns

English columnItalian original columnTypeNullDefault / GeneratedDescription
ididintegerNOSurrogate primary key.
jp_codeprojob_idintegerNOBusiness identifier for the job profile (unique per tenant).
jp_descriptionprojob_descrizionetextNOJob profile description.
jp_direct_cost_pctprojob_perc_costo_direttonumeric(3,0)NODirect cost percentage associated with the job profile.
jp_indirect_cost_pctprojob_perc_costo_indirettonumeric(3,0)NOIndirect cost percentage associated with the job profile.
tenant_idtenant_idintegerYESTenant identifier.
colcustomcolcustomjsonbYES'{}'::jsonbCustom fields stored as JSON.
_deleted_deletedbooleanYESfalseSoft delete flag (technical).

Relationships

Outgoing foreign keys

ConstraintLocal columnsReferencesReferenced columnsOn updateOn delete
fk_jp_tenant_idtenant_idcloud.tenantsten_internal_idRESTRICTCASCADE

Referenced by

From tableForeign keySource columnsTarget columns
hr.job_role_profile_linksfk_jrpl_profilejrpl_job_profile_code_id, tenant_idjp_code, tenant_id
hr.organization_unitsfk_ou_job_profileou_job_profile_id, tenant_idjp_code, tenant_id

Constraints

  • Primary key: pk_job_profilesid
  • Unique: uk_jp_code_tenantjp_code, tenant_id

Indexes

NameUniqueMethodColumns / expression
idx_jp_tenantNObtreetenant_id
idx_jp_tenant_codeNObtreetenant_id, jp_code) WHERE (_deleted = false