ERP/3.0/Developers Guide/Database Model/org.openbravo.model.common.interaction/R RequestAction
R_RequestAction
The Action History Tab displays any actions which have been taken for a Request.
The Action History Tab displays any actions which have been taken for a Request.
- Name:RequestionAction
- Classname:RequestionAction
This table contains the following columns:
Name | Nullable | Data Type | Description |
R_RequestAction_ID | N | VARCHAR2(32) | Action has been requested |
AD_Client_ID | N | VARCHAR2(32) | Client for this installation. |
AD_Org_ID | N | VARCHAR2(32) | Organizational entity within client |
IsActive | N | CHAR(1) | A flag indicating whether this record is available for use or de-activated. |
Created | N | DATE | The date that this record is completed. |
CreatedBy | N | VARCHAR2(32) | User who created this records |
Updated | N | DATE | x not implemented |
UpdatedBy | N | VARCHAR2(32) | User who updated this records |
R_Request_ID | N | VARCHAR2(32) | x not implemented |
AD_User_ID | Y | VARCHAR2(32) | An acquaintance to reach for information related to the business partner. |
ActionType | Y | VARCHAR2(60) | x not implemented |
C_BPartner_ID | Y | VARCHAR2(32) | Anyone who takes part in daily business operations by acting as a customer, employee, etc. |
C_Order_ID | Y | VARCHAR2(32) | A unique and often automatically generated identifier for a sales order. |
C_Invoice_ID | Y | VARCHAR2(32) | A document listing products, quantities and prices, payment terms, etc. |
M_Product_ID | Y | VARCHAR2(32) | An item produced by a process. |
R_MailText_ID | Y | VARCHAR2(32) | A template used to organize and send mail using a standard format. |
C_Project_ID | Y | VARCHAR2(32) | Identifier of a project defined within the Project & Service Management module. |
MailText | Y | NVARCHAR2(2000) | The text located in a mail document to be sent. |
Result | Y | NVARCHAR2(2000) | x not implemented |
DateNextAction | Y | DATE | A specific time stating when the next step will be run. |
SalesRep_ID | N | VARCHAR2(32) | The person in charge of a document. |
C_Debt_Payment_ID | Y | VARCHAR2(32) | A obligation to pay or a right to collect for a specified item or service. |
Dateaction | Y | DATE | The date of the action |
Other Info
Check constraints
These are the check constraints for this table:
- R_REQUESTACTION_ISACTIVE_CHECK: ISACTIVE IN ('Y', 'N')
Indexes
These are the indexes for this table (for each index there is a list of all the columns included within it):
Unique
- R_REQUESTACTION_KEY
Columns
Request action
The Request Action indicates if the Credit Card Company has requested further action be taken.
- Physical column name: R_RequestAction_ID
- Property Name: id
- Reference: ID
Client
- Physical column name: AD_Client_ID
- Property Name: client
- Reference: TableDir
- Default value: @AD_CLIENT_ID@
Foreign key column to AD_Client table, (column: AD_Client_ID)
Validation Rule AD_Client Security validation: Clients with user access rights. With the following code:
AD_Client.AD_Client_ID IN (@#User_Client@)
Organization
- Physical column name: AD_Org_ID
- Property Name: organization
- Reference: TableDir
- Default value: @AD_Org_ID@
Foreign key column to AD_Org table, (column: AD_Org_ID)
Active
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.
- Physical column name: IsActive
- Property Name: active
- Reference: YesNo
Creation Date
The Created field indicates the date that this record was created.
- Physical column name: Created
- Property Name: creationDate
- Reference: DateTime
- This column is part of the table's identifier
Created By
- Physical column name: CreatedBy
- Property Name: createdBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Updated
The Updated field indicates the date that this record was updated.
- Physical column name: Updated
- Property Name: updated
- Reference: DateTime
Updated By
- Physical column name: UpdatedBy
- Property Name: updatedBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Request
- Physical column name: R_Request_ID
- Property Name: request
- Reference: Search
Foreign key column to R_Request table, (column: R_Request_ID)
User/Contact
- Physical column name: AD_User_ID
- Property Name: userContact
- Reference: TableDir
- Default value: -1
Foreign key column to AD_User table, (column: AD_User_ID)
Validation Rule AD_User C_BPartner User/Contacts: null. With the following code:
AD_User.C_BPartner_ID=@C_BPartner_ID@
Action Type
The Action Type indicates the method of action taken (Email, Call, Close)
- Physical column name: ActionType
- Property Name: actionType
- Reference: List
List values: R_Request Action Type
The allowed values for this list are:
- A (Reminder)
- C (Call)
- E (EMail)
- I (Invoice)
- M (Mail)
- O (Order)
- Q (Offer/Quote)
- R (Credit)
- T (Transfer)
- X (Close)
Business Partner
- Physical column name: C_BPartner_ID
- Property Name: businessPartner
- Reference: Search
Foreign key column to C_BPartner table, (column: C_BPartner_ID)
Sales Order
- Physical column name: C_Order_ID
- Property Name: salesOrder
- Reference: Search
Foreign key column to C_Order table, (column: C_Order_ID)
Invoice
- Physical column name: C_Invoice_ID
- Property Name: invoice
- Reference: Search
Foreign key column to C_Invoice table, (column: C_Invoice_ID)
Product
- Physical column name: M_Product_ID
- Property Name: product
- Reference: Search
Foreign key column to M_Product table, (column: M_Product_ID)
Mail Template
- Physical column name: R_MailText_ID
- Property Name: mailTemplate
- Reference: TableDir
Foreign key column to R_MailText table, (column: R_MailText_ID)
Project
- Physical column name: C_Project_ID
- Property Name: project
- Reference: TableDir
Foreign key column to C_Project table, (column: C_Project_ID)
Mail Text
The Mail Text indicates the text used for mail messages.
- Physical column name: MailText
- Property Name: mailText
- Reference: Text
Result
The Result indicates the result of any action taken on this request.
- Physical column name: Result
- Property Name: result
- Reference: String
Next Action Date
The Date Next Action indicates the next scheduled date for an action to occur for this request.
- Physical column name: DateNextAction
- Property Name: nextActionDate
- Reference: Date
Sales Representative
- Physical column name: SalesRep_ID
- Property Name: salesRepresentative
- Reference: Table
Foreign key column to AD_User table, (column: AD_User_ID)
Reference Table AD_User SalesRep With the following where clause:
EXISTS (SELECT * FROM C_BPartner bp WHERE AD_User.C_BPartner_ID=bp.C_BPartner_ID AND bp.IsSalesRep='Y')
Payment
- Physical column name: C_Debt_Payment_ID
- Property Name: payment
- Reference: Search
Foreign key column to C_Debt_Payment table, (column: C_Debt_Payment_ID)
Date of Request
The date of the action
- Physical column name: Dateaction
- Property Name: dateOfRequest
- Reference: DateTime