Skip to main content

pres.monthly_payroll_print_layouts

Schema: pres
English table: pres.monthly_payroll_print_layouts
Italian original table: pres.descri_mese
Description: Stores pre-formatted strings for monthly LUL (Libro Unico del Lavoro) and attendance reports generation.

Overview

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

Columns

English columnItalian original columnTypeNullDefault / GeneratedDescription
ididintegerNOIdentifier of the related record.
mppl_iddesc_idintegerNOIdentifier of the related mppl.
tenant_idtenant_idintegerNOIdentifier of the related tenant.
mppl_employment_iddesc_rap_idintegerNO0Identifier of the related mppl employment.
mppl_reference_datedesc_datadateNODate associated with mppl reference date.
mppl_calendar_days_strdesc_calencharacter(250)NO''::bpcharString representation of calendar days (e.g., weekdays, holidays).
mppl_regular_hours_strdesc_ordincharacter(250)NO''::bpcharPositional string of daily regular hours for the entire month.
mppl_overtime_hours_strdesc_straocharacter(250)NO''::bpcharTime associated with mppl overtime hours str.
mppl_shifts_strdesc_turnocharacter(250)NO''::bpcharValue of mppl shifts str.
mppl_justifications_tier1_strdesc_giu1character(250)NO''::bpcharString representation of primary justifications/leave codes.
mppl_justifications_tier2_strdesc_giu2character(250)NO''::bpcharValue of mppl justifications tier2 str.
mppl_justifications_tier3_strdesc_giu3character(250)NO''::bpcharValue of mppl justifications tier3 str.
mppl_justifications_tier4_strdesc_giu4character(250)NO''::bpcharValue of mppl justifications tier4 str.
mppl_justifications_tier5_strdesc_giu5character(250)NO''::bpcharValue of mppl justifications tier5 str.
mppl_custom_area_1desc_area1textYESValue of mppl custom area 1.
mppl_custom_area_2desc_area2textYESValue of mppl custom area 2.
mppl_custom_area_3desc_area3textYESValue of mppl custom area 3.
mppl_custom_area_4desc_area4textYESValue of mppl custom area 4.

Relationships

Outgoing foreign keys

ConstraintLocal columnsReferencesReferenced columnsOn updateOn delete
fk_descri_mese_desc_rap_id_to_rapportitenant_id, mppl_employment_idhr.employment_relationshipstenant_id, er_idRESTRICTCASCADE
fk_mppl_tenanttenant_idcloud.tenantsten_internal_idCASCADECASCADE

Referenced by

No incoming foreign keys found.

Constraints

  • Primary key: pk_monthly_payroll_print_layoutsid
  • Unique: c_uk_mppl_employment_date_tenanttenant_id, mppl_employment_id, mppl_reference_date
  • Unique: c_uk_mppl_id_tenanttenant_id, mppl_id

Indexes

NameUniqueMethodColumns / expression
idx_mppl_date_lookupNObtreetenant_id, mppl_reference_date