Skip to main content

hr.time_accounting_entries

Schema: hr
English table: hr.time_accounting_entries
Italian original table: hr.in_rendiconto_ore
Description: Detailed logs of time accounting, including hours worked per project, travel data, and GPS locations.

Overview

  • Columns: 49
  • Primary key: id
  • Outgoing foreign keys: 2
  • Incoming foreign keys: 0
  • Indexes: 12

Columns

English columnItalian original columnTypeNullDefault / GeneratedDescription
ididintegerNOSurrogate primary key.
tae_idrendcont_idintegerNOIdentifier of the related tae record.
tae_employment_idrendcont_rap_idintegerNOIdentifier of the related tae employment record.
tae_project_idrendcont_com_idintegerYESIdentifier of the related tae project record.
tae_project_line_idrendcont_coml_idintegerYESIdentifier of the related tae project line record.
tae_project_activity_idrendcont_comat_idintegerNOIdentifier of the related tae project activity record.
tae_daterendcont_datadateNODate associated with the record.
tae_total_hoursrendcont_oreintegerNONumeric value.
tae_is_travelrendcont_viaggiobooleanNOBoolean flag.
tae_notesrendcont_notetextNOFree-form notes.
tae_start_timerendcont_dalle_oreintegerNOStart time in minutes/seconds from midnight (integer).
tae_end_timerendcont_alle_oreintegerNONumeric value.
tae_is_reimbursable_travelrendcont_viaggio_darimbbooleanNOBoolean flag.
tae_has_work_reportrendcont_rapportinobooleanNOBoolean flag.
tae_expense_summary_idrendcont_nsm_idintegerNOReference to the monthly expense summary (NSM).
tae_is_driverrendcont_conducentebooleanNOBoolean flag.
tae_vehicle_idrendcont_anaauto_idintegerNOIdentifier of the related tae vehicle record.
tae_has_allowancerendcont_indennitabooleanNOBoolean flag.
tae_start_latituderendcont_lat_ininumeric(12,8)NOTae start latitude.
tae_start_longituderendcont_long_ininumeric(12,8)NOTae start longitude.
tae_end_latituderendcont_lat_finenumeric(12,8)NOTae end latitude.
tae_end_longituderendcont_long_finenumeric(12,8)NOTae end longitude.
tae_is_start_position_confirmedrendcont_conf_pos_inibooleanNOBoolean flag.
tae_start_addressrendcont_indirizzo_initextNOText value.
tae_is_end_position_confirmedrendcont_conf_pos_finebooleanNOBoolean flag.
tae_end_addressrendcont_indirizzo_finetextNOText value.
tae_is_manually_editedrendcont_modificatobooleanNOBoolean flag.
rendcont_custom1rendcont_custom1textNOText value.
rendcont_custom2rendcont_custom2textNOText value.
rendcont_custom3rendcont_custom3textNOText value.
rendcont_custom4rendcont_custom4textNOText value.
rendcont_custom5rendcont_custom5textNOText value.
tae_kilometersrendcont_kmintegerNONumeric value.
tae_customer_idrendcont_incli_idintegerYESIdentifier of the related tae customer record.
tae_customer_site_idrendcont_inclise_idintegerYESIdentifier of the related tae customer site record.
tae_start_clocking_idrendcont_tim_id_iniziointegerNOIdentifier of the related tae start clocking record.
tae_end_clocking_idrendcont_tim_id_fineintegerNOIdentifier of the related tae end clocking record.
tae_requires_verificationrendcont_da_verificarebooleanNOBoolean flag.
tae_start_clocking_point_idrendcont_puntotim_iniintegerNOIdentifier of the related tae start clocking point record.
tae_end_clocking_point_idrendcont_puntotim_fineintegerNOIdentifier of the related tae end clocking point record.
tae_is_start_point_confirmedrendcont_conf_punto_inibooleanNOBoolean flag.
tae_is_end_point_confirmedrendcont_conf_punto_finebooleanNOBoolean flag.
tae_ordinary_hoursrendcont_ore_ordintegerNONumeric value.
tae_overtime_hoursrendcont_ore_straointegerNONumeric value.
tae_expiration_daterendcont_data_scadenzadateNODate associated with the record.
tae_visibility_codetenant_idnumeric(1,0)NO0 if visible, other values indicate hidden or archived states.
tenant_idcolcustomintegerYESTenant identifier for data isolation.
colcustom_deletedjsonbYES'{}'::jsonbJSON payload containing additional attributes.
_deletedrendcont_nascostobooleanYESfalseFlag indicating whether the record is soft-deleted.

Relationships

Outgoing foreign keys

ConstraintLocal columnsReferencesReferenced columnsOn updateOn delete
fk_time_accounting_entries_employmenttae_employment_id, tenant_idhr.employment_relationshipser_id, tenant_idRESTRICTCASCADE
fk_time_accounting_entries_tenanttenant_idcloud.tenantsten_internal_idRESTRICTCASCADE

Referenced by

No incoming foreign keys found.

Constraints

  • Primary key: pk_time_accounting_entriesid
  • Unique: uk_time_accounting_entries_idtae_id, tenant_id

Indexes

NameUniqueMethodColumns / expression
idx_tae_customer_site_tenantNObtreetenant_id, tae_customer_site_id) WHERE (_deleted = false
idx_tae_customer_tenantNObtreetenant_id, tae_customer_id) WHERE (_deleted = false
idx_tae_date_tenantNObtreetenant_id, tae_date) WHERE (_deleted = false
idx_tae_employment_tenantNObtreetenant_id, tae_employment_id) WHERE (_deleted = false
idx_tae_expense_summary_tenantNObtreetenant_id, tae_expense_summary_id) WHERE (_deleted = false
idx_tae_id_tenantNObtreetenant_id, tae_id) WHERE (_deleted = false
idx_tae_project_activity_tenantNObtreetenant_id, tae_project_activity_id) WHERE (_deleted = false
idx_tae_project_line_tenantNObtreetenant_id, tae_project_line_id) WHERE (_deleted = false
idx_tae_project_tenantNObtreetenant_id, tae_project_id) WHERE (_deleted = false
idx_tae_tenantNObtreetenant_id
idx_tae_vehicle_tenantNObtreetenant_id, tae_vehicle_id) WHERE (_deleted = false
idx_tae_visibility_date_tenantNObtreetenant_id, tae_visibility_code, tae_date) WHERE ((_deleted = false) AND (tae_visibility_code = (0)::numeric)