Document Status alert
Table public.document_status_alert
public.document_status_alert
Spalten
id
: internalorg_id
: ID to organisationdoc_type_id
: internaldoc_type_key
: internaldoc_status
: internalemail_address
: textsend_to_assigned_user
: booleandelay_delta
: integerdelay_delta_type
: internalcreated_by
: integercreated_on
: timestamp with time zonelast_modified_on
: timestamp with time zoneis_deleted
: booleanname
: internalis_recursive
: booleanis_active
: booleanpriority
: internalemail_template_id
: internal
Analyse & Beschreibung
Table Documentation: public.document_status_alert
public.document_status_alert
Introduction
The public.document_status_alert
table appears to be designed for managing alerts related to document statuses within an organization. Based on the column names, the table stores information about various document types and their statuses, including details about notifications and timing for alerts. This table is likely used to trigger alerts based on certain document statuses and conditions, possibly to notify users or escalate processes.
Column Descriptions
id
id
Meaning: Unique identifier for each alert record.
Role: Primary key.
Typical Contents: A UUID string that uniquely identifies each row in the table.
org_id
org_id
Meaning: Identifier for the organization associated with the alert.
Role: Foreign key.
Typical Contents: A UUID string linking to an organization record.
doc_type_id
doc_type_id
Meaning: Identifier for the document type.
Role: Foreign key (assumed).
Typical Contents: Typically a UUID, though the example data shows
None
, indicating this field might be optional.
doc_type_key
doc_type_key
Meaning: Key representing the type of document.
Role: Descriptive field.
Typical Contents: A string such as 'INVOICE' or 'XML_INVOICE'.
doc_status
doc_status
Meaning: Current status of the document.
Role: Descriptive field.
Typical Contents: Descriptive status strings like 'validated_pending_approval' or 'error'.
email_address
email_address
Meaning: Email address where alerts are sent.
Role: Notification field.
Typical Contents: An email address; can be
None
if no email is specified.
send_to_assigned_user
send_to_assigned_user
Meaning: Indicates if the alert should be sent to the user assigned to the document.
Role: Boolean field.
Typical Contents:
True
orFalse
.
delay_delta
delay_delta
Meaning: Amount of time to delay the alert.
Role: Timing field.
Typical Contents: Integer representing the delay duration.
delay_delta_type
delay_delta_type
Meaning: Unit of time for
delay_delta
.Role: Timing field.
Typical Contents: Typically 'minutes'.
created_by
created_by
Meaning: Identifier of the user who created the alert record.
Role: Foreign key (assumed).
Typical Contents: Integer representing a user ID.
created_on
created_on
Meaning: Timestamp when the alert record was created.
Role: Technical field.
Typical Contents: Datetime with timezone information.
last_modified_on
last_modified_on
Meaning: Timestamp of the last modification to the alert record.
Role: Technical field.
Typical Contents: Datetime with timezone information; can be
None
if not modified.
is_deleted
is_deleted
Meaning: Indicates if the alert record is marked as deleted.
Role: Boolean field.
Typical Contents:
True
orFalse
.
name
name
Meaning: Name or label for the alert.
Role: Descriptive field.
Typical Contents: A string representing the alert name.
is_recursive
is_recursive
Meaning: Indicates if the alert should recur at set intervals.
Role: Boolean field.
Typical Contents:
True
orFalse
.
is_active
is_active
Meaning: Indicates if the alert is currently active.
Role: Boolean field.
Typical Contents:
True
orFalse
.
priority
priority
Meaning: Priority level of the alert.
Role: Descriptive field.
Typical Contents: Could be strings like 'High', 'Medium', 'Low'; example data shows
None
.
email_template_id
email_template_id
Meaning: Identifier for the email template used for the alert.
Role: Foreign key (assumed).
Typical Contents: Typically a UUID; example data shows
None
, indicating this field might be optional.
Last updated
Was this helpful?