Skip to main content

hr.company_account_payment_methods

Schema: hr
English table: hr.company_account_payment_methods
Italian original table: hr.azienda_conti_mezzipag
Description: Payment method details linked to a company bank account.

Overview

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

Columns

English columnItalian original columnTypeNullDefault / GeneratedDescription
ididintegerNOSurrogate primary key.
capm_idazcp_idintegerNOCompany account payment method internal identifier, unique per tenant.
capm_company_account_idazcp_azc_idintegerNOReference to the related company bank account.
capm_payment_method_type_idazcp_xtipipag_idintegerNOReference to the payment method type.
capm_descriptionazcp_descriptioncharacter varying(50)NOShort description of the payment method.
capm_codeazcp_codecharacter varying(50)NOExternal or internal code for the payment method.
capm_account_codeazcp_account_codecharacter varying(15)NOAccounting code associated with this payment method.
tenant_idtenant_idintegerYESTenant identifier.
colcustomcolcustomjsonbYES'{}'::jsonbCustom fields in JSON format.
_deleted_deletedbooleanYESfalseSoft delete flag.

Relationships

Outgoing foreign keys

ConstraintLocal columnsReferencesReferenced columnsOn updateOn delete
fk_cmpaccpm_tenant_idtenant_idcloud.tenantsten_internal_idRESTRICTCASCADE

Referenced by

No incoming foreign keys found.

Constraints

  • Primary key: pk_company_account_payment_methodsid
  • Unique: uk_cmpaccpm_capm_id_tenantcapm_id, tenant_id

Indexes

NameUniqueMethodColumns / expression
idx_cmpaccpm_tenantNObtreetenant_id
idx_cmpaccpm_tenant_accountNObtreetenant_id, capm_company_account_id) WHERE (_deleted = false
idx_cmpaccpm_tenant_capmNObtreetenant_id, capm_id) WHERE (_deleted = false
idx_cmpaccpm_tenant_typeNObtreetenant_id, capm_payment_method_type_id) WHERE (_deleted = false