Skip to main content

pres.employee_leave_balances_today

Schema: pres
English table: pres.employee_leave_balances_today
Italian original table: pres.ferie_today
Description: Real-time leave and vacation balances, aggregating residues from past years and current year accruals.

Overview

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

Columns

English columnItalian original columnTypeNullDefault / GeneratedDescription
ididintegerNOIdentifier of the related record.
elbt_idft_idintegerNOIdentifier of the related elbt.
tenant_idtenant_idintegerNOIdentifier of the related tenant.
elbt_employment_idft_rap_idintegerNOIdentifier of the related elbt employment.
elbt_reference_dateft_datadateNODate associated with elbt reference date.
elbt_leave_typeft_typecharacter(3)NOValue of elbt leave type.
elbt_uomft_udmcharacter(1)NOValue of elbt uom.
elbt_residue_old_yearsft_resid_antnumeric(7,2)YES0Value of elbt residue old years.
elbt_used_old_yearsft_goduto_antnumeric(7,2)YES0Value of elbt used old years.
elbt_available_old_yearsft_disponibile_antnumeric(7,2)YES0Value of elbt available old years.
elbt_residue_prev_yearft_resid_apnumeric(7,0)YES0Value of elbt residue prev year.
elbt_paid_out_prev_yearft_liquid_apnumeric(7,2)YES0Value of elbt paid out prev year.
elbt_used_prev_yearft_goduto_apnumeric(7,2)YES0Value of elbt used prev year.
elbt_available_prev_yearft_disponibile_apnumeric(7,2)YES0Value of elbt available prev year.
elbt_accrued_currentft_maturatonumeric(7,2)YES0Value of elbt accrued current.
elbt_accrued_accrualsft_maturato_rateinumeric(7,2)YES0Value of elbt accrued accruals.
elbt_accrual_countft_rateismallintYES0Number of accrual months (ratei) processed so far in the year.
elbt_used_currentft_godutonumeric(7,2)YES0Value of elbt used current.
elbt_paid_out_currentft_liquidatonumeric(7,2)YES0Value of elbt paid out current.
elbt_booked_futureft_impegnatonumeric(7,2)YES0Hours/Days already requested and approved for future dates.
elbt_net_availableft_disponibilenumeric(7,2)YES0Value of elbt net available.
ft_disponibile_rateift_disponibile_rateinumeric(7,2)YES0Value of ft disponibile ratei.
elbt_total_availableft_disponibile_totalenumeric(7,2)YES0Value of elbt total available.
ft_disponibile_totale_rateift_disponibile_totale_rateinumeric(7,2)YES0Value of ft disponibile totale ratei.
elbt_target_usageft_goduto_obbiettivonumeric(7,2)YES0Value of elbt target usage.

Relationships

Outgoing foreign keys

ConstraintLocal columnsReferencesReferenced columnsOn updateOn delete
fk_elbt_tenanttenant_idcloud.tenantsten_internal_idCASCADECASCADE
fk_ferie_today_ft_rap_id_to_rapportitenant_id, elbt_employment_idhr.employment_relationshipstenant_id, er_idRESTRICTCASCADE

Referenced by

No incoming foreign keys found.

Constraints

  • Primary key: pk_employee_leave_balances_todayid
  • Unique: c_uk_elbt_id_tenanttenant_id, elbt_id

Indexes

NameUniqueMethodColumns / expression
idx_elbt_lookup_compositeNObtreetenant_id, elbt_employment_id, elbt_reference_date, elbt_leave_type