Skip to main content

pres.payroll_additional_reasons

Schema: pres
English table: pres.payroll_additional_reasons
Italian original table: pres.causpaghe
Description: Manual or additional payroll reasons (bonuses, expenses, etc.) that are not automatically derived from daily attendance clockings.

Overview

  • Columns: 10
  • Primary key: id
  • Outgoing foreign keys: 3
  • Incoming foreign keys: 0
  • Indexes: 0

Columns

English columnItalian original columnTypeNullDefault / GeneratedDescription
ididintegerNOIdentifier of the related record.
par_idcaup_idintegerNOUnique internal identifier for the payroll record.
tenant_idtenant_idintegerNOIdentifier of the related tenant.
par_employment_idcaup_rap_idintegerNO0Identifier of the related par employment.
par_reference_datecaup_datadateNOReference date for the payroll entry.
par_reason_codecaup_cod_giustcharacter(4)NO''::bpcharReference code for the justification/payroll reason.
par_hours_amountcaup_orenumeric(11,2)NO0Quantity in hours (if applicable).
par_monetary_valuecaup_valorenumeric(11,2)NO0Monetary amount or multiplier for the reason.
par_is_forcedcaup_forzatobooleanNOfalseFlag to indicate if this value was manually forced by an operator.
par_notescaup_notetextNOValue of par notes.

Relationships

Outgoing foreign keys

ConstraintLocal columnsReferencesReferenced columnsOn updateOn delete
fk_causpaghe_caup_rap_id_to_rapportitenant_id, par_employment_idhr.employment_relationshipstenant_id, er_idRESTRICTCASCADE
fk_par_reason_typetenant_id, par_reason_codepres.attendance_reasonstenant_id, ar_codeCASCADERESTRICT
fk_par_tenanttenant_idcloud.tenantsten_internal_idCASCADECASCADE

Referenced by

No incoming foreign keys found.

Constraints

  • Primary key: pk_payroll_additional_reasonsid
  • Unique: c_uk_par_employment_date_reason_tenanttenant_id, par_employment_id, par_reference_date, par_reason_code
  • Unique: c_uk_par_id_tenanttenant_id, par_id

Indexes

No indexes detected.