Document Status alert
Table public.document_status_alert
public.document_status_alertSpalten
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_alertIntroduction
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
idMeaning: 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_idMeaning: 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_idMeaning: 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_keyMeaning: Key representing the type of document.
Role: Descriptive field.
Typical Contents: A string such as 'INVOICE' or 'XML_INVOICE'.
doc_status
doc_statusMeaning: Current status of the document.
Role: Descriptive field.
Typical Contents: Descriptive status strings like 'validated_pending_approval' or 'error'.
email_address
email_addressMeaning: Email address where alerts are sent.
Role: Notification field.
Typical Contents: An email address; can be
Noneif no email is specified.
send_to_assigned_user
send_to_assigned_userMeaning: Indicates if the alert should be sent to the user assigned to the document.
Role: Boolean field.
Typical Contents:
TrueorFalse.
delay_delta
delay_deltaMeaning: Amount of time to delay the alert.
Role: Timing field.
Typical Contents: Integer representing the delay duration.
delay_delta_type
delay_delta_typeMeaning: Unit of time for
delay_delta.Role: Timing field.
Typical Contents: Typically 'minutes'.
created_by
created_byMeaning: Identifier of the user who created the alert record.
Role: Foreign key (assumed).
Typical Contents: Integer representing a user ID.
created_on
created_onMeaning: Timestamp when the alert record was created.
Role: Technical field.
Typical Contents: Datetime with timezone information.
last_modified_on
last_modified_onMeaning: Timestamp of the last modification to the alert record.
Role: Technical field.
Typical Contents: Datetime with timezone information; can be
Noneif not modified.
is_deleted
is_deletedMeaning: Indicates if the alert record is marked as deleted.
Role: Boolean field.
Typical Contents:
TrueorFalse.
name
nameMeaning: Name or label for the alert.
Role: Descriptive field.
Typical Contents: A string representing the alert name.
is_recursive
is_recursiveMeaning: Indicates if the alert should recur at set intervals.
Role: Boolean field.
Typical Contents:
TrueorFalse.
is_active
is_activeMeaning: Indicates if the alert is currently active.
Role: Boolean field.
Typical Contents:
TrueorFalse.
priority
priorityMeaning: 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_idMeaning: 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?