ERP/3.0/Developers Guide/Database Model/org.openbravo.model.ad.alert/AD AlertRecipient
Contents |
AD_AlertRecipient
- Name:AD_AlertRecipient
- Classname:ADAlertRecipient
This table contains the following columns:
Name | Nullable | Data Type | Description
|
AD_User_ID | Yes | VARCHAR (32) | The User identifies a unique user in the system. This could be an internal user or a business partner contact |
AD_Client_ID | No | VARCHAR (32) | A Client is a company or a legal entity. You cannot share data between Clients. |
AD_Org_ID | No | VARCHAR (32) | An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations. |
IsActive | No | CHAR (1) | There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reporting. There are two reasons for de-activating and not deleting records:
(1) The system requires the record for auditing purposes. (2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are existing invoices for it. By de-activating the Business Partner you prevent it from being used in future transactions. |
Created | No | TIMESTAMP (7) | The Created field indicates the date that this record was created. |
Createdby | No | VARCHAR (32) | The Created By field indicates the user who created this record. |
Updated | No | TIMESTAMP (7) | The Updated field indicates the date that this record was updated. |
Updatedby | No | VARCHAR (32) | The Updated By field indicates the user who updated this record. |
AD_Alertrecipient_ID | No | VARCHAR (32) | |
AD_AlertRule_ID | Yes | VARCHAR (32) | Definition of the alert element. |
AD_Role_ID | No | VARCHAR (32) | The Role determines security and access a user who has this Role will have in the System. |
Sendemail | Yes | CHAR (1) | Send emails with document attached (e.g. Invoice, Delivery Note, etc.) |
Inherited_From | Yes | VARCHAR (32) | The role from which a permission has been inherited. If a permission has this field set it means that this is an inherited permission, an therefore that the role owner of the permission is able to access it because it inherits from the role defined in this field. |
Columns
User/Contact
- Physical column name: AD_User_ID
- Property Name: userContact
- Reference: TableDir
- This column is part of the table's identifier
Foreign key column to AD_User table, (column: AD_User_ID)
It has a validation "AD_User Alert", with the following code
AD_User.AD_User_ID in (select AD_User_ID from AD_User_Roles where @AD_Role_Id@=AD_Role_ID)
Client
- Physical column name: AD_Client_ID
- Property Name: client
- Reference: TableDir
Foreign key column to AD_Client table, (column: AD_Client_ID)
It has a validation "AD_Client Security validation", with the following code
AD_Client.AD_Client_ID in (@#User_Client@)
Organization
- Physical column name: AD_Org_ID
- Property Name: organization
- Reference: TableDir
Foreign key column to AD_Org table, (column: AD_Org_ID)
Active
- Physical column name: IsActive
- Property Name: active
- Reference: YesNo
- Default value: Y
Creation Date
- Physical column name: Created
- Property Name: creationDate
- Reference: DateTime
- Default value: SYSDATE
Created By
- Physical column name: Createdby
- Property Name: createdBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Updated
- Physical column name: Updated
- Property Name: updated
- Reference: DateTime
- Default value: SYSDATE
Updated By
- Physical column name: Updatedby
- Property Name: updatedBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
AD_Alertrecipient_ID
- Physical column name: AD_Alertrecipient_ID
- Property Name: id
- Reference: ID
Alert Rule
- Physical column name: AD_AlertRule_ID
- Property Name: alertRule
- Reference: TableDir
- This column is part of the table's identifier
- This column is a child for a business object (is Parent)
Foreign key column to AD_AlertRule table, (column: AD_AlertRule_ID)
Role
- Physical column name: AD_Role_ID
- Property Name: role
- Reference: TableDir
- This column is part of the table's identifier
Foreign key column to AD_Role table, (column: AD_Role_ID)
It has a validation "AD_Role of Client", with the following code
AD_Role.AD_Client_ID=@#AD_Client_ID@
Send EMail
- Physical column name: Sendemail
- Property Name: sendEMail
- Reference: YesNo
- Default value: N
Inherited_From
- Physical column name: Inherited_From
- Property Name: inheritedFrom
- Reference: Table
Foreign key column to AD_Role table, (column: AD_Role_ID)
Other Info
Indices
These are the indices for this table (for each index there is a list of all the columns included within it):
- AD_ALERTRECIP_ALERTRULE_IDX Not Unique. Columns:
- AD_ALERTRULE_ID
![]() | Back to org.openbravo.model.ad.alert |