Skip to main content

hr._payslip_marker

Schema: hr
English table: hr._payslip_marker
Italian original table: hr._cedolini_marker
Description: Definitions used by the payslip PDF parser: markers/tokens to search and their expected positions (coordinates and offsets) to extract values.

Overview

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

Columns

English columnItalian original columnTypeNullDefault / GeneratedDescription
ididintegerNOSurrogate primary key.
psm_idcedma_idintegerNOLogical marker identifier (unique per tenant).
psm_titlecedma_titlecharacter varying(100)NOMarker title/label used for configuration and readability.
psm_tablecedma_tablecharacter varying(50)NOTarget table name (logical) where the extracted value will be written/mapped.
psm_fieldcedma_fieldcharacter varying(50)NOTarget field/column name (logical) where the extracted value will be written/mapped.
psm_pos_in_xcedma_posinxnumeric(16,12)NOExpected X coordinate of the first point/anchor (PDF coordinate system).
psm_pos_in_ycedma_posinynumeric(16,12)NOExpected Y coordinate of the first point/anchor (PDF coordinate system).
psm_offset_xcedma_offset_xnumeric(16,12)NOX offset applied to the detected anchor/area when extracting the value.
psm_offset_ycedma_offset_ynumeric(16,12)NOY offset applied to the detected anchor/area when extracting the value.
psm_headercedma_headercharacter varying(100)NOText header/anchor to locate the marker in the PDF.
psm_fld_idcedma_fld_idintegerNOInternal field identifier used by the extraction/mapping engine.
psm_pos_in_x2cedma_posinx2numeric(16,12)NOExpected X coordinate of the second point (used to define a bounding box/area).
psm_pos_in_y2cedma_posiny2numeric(16,12)NOExpected Y coordinate of the second point (used to define a bounding box/area).
psm_payslip_template_idcedma_cedtempl_idintegerNOReference to the payslip template this marker belongs to.
psm_pdf_extraction_type_idcedma_xties_idintegerNOExtraction type/strategy used by the PDF parser for this marker.
psm_delete_duplicatescedma_delete_duplicatesbooleanNOIf true, remove duplicated extracted tokens/values.
psm_groupcedma_gruppointegerNOMarker group (used to organize markers and/or apply grouped extraction logic).
psm_ocrcedma_delete_spacebooleanNOIf true, OCR is enabled/required for this marker extraction.
tenant_idcedma_ocrintegerYESTenant identifier (multi-tenant isolation).
psm_delete_spacetenant_idbooleanYESIf true, remove spaces from the extracted value (post-processing).

Relationships

Outgoing foreign keys

ConstraintLocal columnsReferencesReferenced columnsOn updateOn delete
fk_psm_payslip_templatepsm_payslip_template_id, tenant_idhr._payslip_templatepst_id, tenant_idRESTRICTRESTRICT
fk_psm_pdf_extraction_typepsm_pdf_extraction_type_id, tenant_idhr.x_pdf_extraction_typepxet_id, tenant_idRESTRICTRESTRICT
fk_psm_tenanttenant_idcloud.tenantsten_internal_idRESTRICTCASCADE

Referenced by

No incoming foreign keys found.

Constraints

  • Primary key: _payslip_marker_pkeyid
  • Unique: uk_psm_id_tenantpsm_id, tenant_id

Indexes

NameUniqueMethodColumns / expression
idx__payslip_marker_tenantNObtreetenant_id
idx_payslip_marker_group_tenantNObtreetenant_id, psm_group
idx_payslip_marker_template_group_tenantNObtreetenant_id, psm_payslip_template_id, psm_group
idx_payslip_marker_template_tenantNObtreetenant_id, psm_payslip_template_id