View source | Discuss this page | Page history | Printable version   
Main Page
Upload file
What links here
Recent changes

PDF Books
Add page
Show collection (0 pages)
Collections help


ERP/3.0/Developers Guide/Reference/Entity Model/Request


The Request Tab defines any Request submitted by a Business Partner. The Request Tab defines any Request submitted by a Business Partner. Shows all the requests of the partner selected.

To the database table (R_Request) of this entity.

Back to the entity model.



Property Column Constraints Type Description
id* R_Request_ID Mandatory
Max Length: 32
java.lang.String The Request identifies a unique request from a Business Partner or Prospect.
client AD_Client_ID Mandatory ADClient A Client is a company or a legal entity. You cannot share data between Clients.
organization AD_Org_ID Mandatory Organization An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.
active IsActive Mandatory java.lang.Boolean 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.

creationDate Created Mandatory java.util.Date The Created field indicates the date that this record was created.
createdBy CreatedBy Mandatory ADUser The Created By field indicates the user who created this record.
updated Updated Mandatory java.util.Date The Updated field indicates the date that this record was updated.
updatedBy UpdatedBy Mandatory ADUser The Updated By field indicates the user who updated this record.
documentNo# DocumentNo Mandatory
Max Length: 30
java.lang.String The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". If the document type of your document has no automatic document sequence defined, the field will be empty when creating a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Document Sequence" window with the name "DocumentNo_<TableName>", where TableName is the actual name of the table inside the database (e.g. C_Order).
requestAmount RequestAmt Mandatory java.math.BigDecimal The Request Amount indicates any amount that is associated with this request. For example, a warranty amount or refund amount.
priority Priority Mandatory
Max Length: 60
java.lang.String The Priority indicates the importance of this request.
dueDateType DueType Mandatory
Max Length: 60
java.lang.String The Due Type indicates if this request is Due, Overdue or Scheduled.
summary Summary Mandatory
Max Length: 2000
java.lang.String The Summary allows free form text entry of a recap of this request.
escalated IsEscalated Mandatory java.lang.Boolean The Escalated checkbox indicates that this request has been escalated or raised in importance.
lastActionDate DateLastAction java.util.Date The Date Last Action indicates that last time that the request was acted on.
lastContactResult LastResult Max Length: 2000 java.lang.String The Last Result identifies the result of the last contact made.
userContact AD_User_ID ADUser The User identifies a unique user in the system. This could be an internal user or a business partner contact
businessPartner C_BPartner_ID BusinessPartner A Business Partner is anyone with whom you transact. This can include a customer, vendor, employee or any combination of these.
salesCampaign C_Campaign_ID MarketingCampaign The Campaign defines a unique marketing program. Projects can be associated with a pre defined Marketing Campaign. You can then report based on a specific Campaign.
salesOrder C_Order_ID Order Unique identifier and a reference to a Sales Order originating from the document sequence defined for this document type.
invoice C_Invoice_ID Invoice The Invoice ID uniquely identifies an Invoice Document.
product M_Product_ID Product Identifies an item which is either purchased or sold in this organization.
project C_Project_ID Project Identifier of a project defined within the Project & Service Management module.
actionType ActionType Max Length: 60 java.lang.String The Action Type indicates the method of action taken (Email, Call, Close)
mailTemplate R_MailText_ID MarketingMailText The Mail Template indicates the mail template for return messages.
mailSubject MailSubject Max Length: 60 java.lang.String Subject of the mail message
mailText MailText Max Length: 2000 java.lang.String The Mail Text indicates the text used for mail messages.
result Result Max Length: 2000 java.lang.String The Result indicates the result of any action taken on this request.
nextAction NextAction Max Length: 60 java.lang.String The Next Action indicates the next action to be taken on this request.
nextActionDate DateNextAction java.util.Date The Date Next Action indicates the next scheduled date for an action to occur for this request.
processNow Processing java.lang.Boolean When this field is set as 'Y' a process is being performed on this record.
processed Processed Mandatory java.lang.Boolean The Processed checkbox indicates that a document has been processed.
requestType R_RequestType_ID Mandatory RequestType Request Types are used for processing and categorizing requests. Options are Account Inquiry, Warranty Issue, etc.
salesRepresentative SalesRep_ID Mandatory ADUser Indicates the sales representative responsible for the transaction that the document specifies . A valid sales representative is a business partner marked as an employee and a sales representative.
selfService IsSelfService Mandatory java.lang.Boolean Self-Service allows users to enter data or update their data. The flag indicates, that this record was entered or created via Self-Service or that the user can change it via the Self-Service functionality.
payment C_Debt_Payment_ID FinancialMgmtDebtPayment Refers to the amount of money to be paid or collected.
requestionActionList List of RequestionAction

Java Entity Class

 * The contents of this file are subject to the Openbravo  Public  License
 * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
 * Version 1.1  with a permitted attribution clause; you may not  use this
 * file except in compliance with the License. You  may  obtain  a copy of
 * the License at
 * Software distributed under the License  is  distributed  on  an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
 * License for the specific  language  governing  rights  and  limitations
 * under the License.
 * The Original Code is Openbravo ERP.
 * The Initial Developer of the Original Code is Openbravo SLU
 * All portions are Copyright (C) 2008-2010 Openbravo SLU
 * All Rights Reserved.
 * Contributor(s):  ______________________________________.
package org.openbravo.model.common.interaction;
import org.openbravo.base.structure.ActiveEnabled;
import org.openbravo.base.structure.BaseOBObject;
import org.openbravo.base.structure.ClientEnabled;
import org.openbravo.base.structure.OrganizationEnabled;
import org.openbravo.base.structure.Traceable;
import org.openbravo.model.common.businesspartner.BusinessPartner;
import org.openbravo.model.common.enterprise.Organization;
import org.openbravo.model.common.invoice.Invoice;
import org.openbravo.model.common.order.Order;
import org.openbravo.model.common.plm.Product;
import org.openbravo.model.financialmgmt.payment.DebtPayment;
import org.openbravo.model.project.Project;
import java.lang.Boolean;
import java.lang.String;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
 * Entity class for entity Request (stored in table R_Request).
 * NOTE: This class should not be instantiated directly. To instantiate this
 * class the {@link org.openbravo.base.provider.OBProvider} should be used.
public class Request extends BaseOBObject implements Traceable, ClientEnabled,
    OrganizationEnabled, ActiveEnabled {
    private static final long serialVersionUID = 1L;
    public static final String TABLE_NAME = "R_Request";
    public static final String Request = "Request";
    public static final String PROPERTY_ID = "id";
    public static final String PROPERTY_CLIENT = "client";
    public static final String PROPERTY_ORGANIZATION = "organization";
    public static final String PROPERTY_ACTIVE = "active";
    public static final String PROPERTY_CREATIONDATE = "creationDate";
    public static final String PROPERTY_CREATEDBY = "createdBy";
    public static final String PROPERTY_UPDATED = "updated";
    public static final String PROPERTY_UPDATEDBY = "updatedBy";
    public static final String PROPERTY_DOCUMENTNO = "documentNo";
    public static final String PROPERTY_REQUESTAMOUNT = "requestAmount";
    public static final String PROPERTY_PRIORITY = "priority";
    public static final String PROPERTY_DUEDATETYPE = "dueDateType";
    public static final String PROPERTY_SUMMARY = "summary";
    public static final String PROPERTY_ESCALATED = "escalated";
    public static final String PROPERTY_LASTACTIONDATE = "lastActionDate";
    public static final String PROPERTY_LASTCONTACTRESULT = "lastContactResult";
    public static final String PROPERTY_USERCONTACT = "userContact";
    public static final String PROPERTY_BUSINESSPARTNER = "businessPartner";
    public static final String PROPERTY_SALESCAMPAIGN = "salesCampaign";
    public static final String PROPERTY_SALESORDER = "salesOrder";
    public static final String PROPERTY_INVOICE = "invoice";
    public static final String PROPERTY_PRODUCT = "product";
    public static final String PROPERTY_PROJECT = "project";
    public static final String PROPERTY_ACTIONTYPE = "actionType";
    public static final String PROPERTY_MAILTEMPLATE = "mailTemplate";
    public static final String PROPERTY_MAILSUBJECT = "mailSubject";
    public static final String PROPERTY_MAILTEXT = "mailText";
    public static final String PROPERTY_RESULT = "result";
    public static final String PROPERTY_NEXTACTION = "nextAction";
    public static final String PROPERTY_NEXTACTIONDATE = "nextActionDate";
    public static final String PROPERTY_PROCESSNOW = "processNow";
    public static final String PROPERTY_PROCESSED = "processed";
    public static final String PROPERTY_REQUESTTYPE = "requestType";
    public static final String PROPERTY_SALESREPRESENTATIVE =
    public static final String PROPERTY_SELFSERVICE = "selfService";
    public static final String PROPERTY_PAYMENT = "payment";
    public static final String PROPERTY_REQUESTIONACTIONLIST =
    public Request() {
        setDefaultValue(PROPERTY_ACTIVE, true);
        setDefaultValue(PROPERTY_PRIORITY, "5");
        setDefaultValue(PROPERTY_DUEDATETYPE, "5");
        setDefaultValue(PROPERTY_ESCALATED, false);
        setDefaultValue(PROPERTY_NEXTACTION, "F");
        setDefaultValue(PROPERTY_PROCESSNOW, false);
        setDefaultValue(PROPERTY_PROCESSED, false);
        setDefaultValue(PROPERTY_SELFSERVICE, false);
        setDefaultValue(PROPERTY_REQUESTIONACTIONLIST, new ArrayList<Object>());
    public String getEntityName() {
        return Request;
    public String getId() {
        return (String) get(PROPERTY_ID);
    public void setId(String id) {
        set(PROPERTY_ID, id);
    public Client getClient() {
        return (Client) get(PROPERTY_CLIENT);
    public void setClient(Client client) {
        set(PROPERTY_CLIENT, client);
    public Organization getOrganization() {
        return (Organization) get(PROPERTY_ORGANIZATION);
    public void setOrganization(Organization organization) {
        set(PROPERTY_ORGANIZATION, organization);
    public Boolean isActive() {
        return (Boolean) get(PROPERTY_ACTIVE);
    public void setActive(Boolean active) {
        set(PROPERTY_ACTIVE, active);
    public Date getCreationDate() {
        return (Date) get(PROPERTY_CREATIONDATE);
    public void setCreationDate(Date creationDate) {
        set(PROPERTY_CREATIONDATE, creationDate);
    public User getCreatedBy() {
        return (User) get(PROPERTY_CREATEDBY);
    public void setCreatedBy(User createdBy) {
        set(PROPERTY_CREATEDBY, createdBy);
    public Date getUpdated() {
        return (Date) get(PROPERTY_UPDATED);
    public void setUpdated(Date updated) {
        set(PROPERTY_UPDATED, updated);
    public User getUpdatedBy() {
        return (User) get(PROPERTY_UPDATEDBY);
    public void setUpdatedBy(User updatedBy) {
        set(PROPERTY_UPDATEDBY, updatedBy);
    public String getDocumentNo() {
        return (String) get(PROPERTY_DOCUMENTNO);
    public void setDocumentNo(String documentNo) {
        set(PROPERTY_DOCUMENTNO, documentNo);
    public BigDecimal getRequestAmount() {
        return (BigDecimal) get(PROPERTY_REQUESTAMOUNT);
    public void setRequestAmount(BigDecimal requestAmount) {
        set(PROPERTY_REQUESTAMOUNT, requestAmount);
    public String getPriority() {
        return (String) get(PROPERTY_PRIORITY);
    public void setPriority(String priority) {
        set(PROPERTY_PRIORITY, priority);
    public String getDueDateType() {
        return (String) get(PROPERTY_DUEDATETYPE);
    public void setDueDateType(String dueDateType) {
        set(PROPERTY_DUEDATETYPE, dueDateType);
    public String getSummary() {
        return (String) get(PROPERTY_SUMMARY);
    public void setSummary(String summary) {
        set(PROPERTY_SUMMARY, summary);
    public Boolean isEscalated() {
        return (Boolean) get(PROPERTY_ESCALATED);
    public void setEscalated(Boolean escalated) {
        set(PROPERTY_ESCALATED, escalated);
    public Date getLastActionDate() {
        return (Date) get(PROPERTY_LASTACTIONDATE);
    public void setLastActionDate(Date lastActionDate) {
        set(PROPERTY_LASTACTIONDATE, lastActionDate);
    public String getLastContactResult() {
        return (String) get(PROPERTY_LASTCONTACTRESULT);
    public void setLastContactResult(String lastContactResult) {
        set(PROPERTY_LASTCONTACTRESULT, lastContactResult);
    public User getUserContact() {
        return (User) get(PROPERTY_USERCONTACT);
    public void setUserContact(User userContact) {
        set(PROPERTY_USERCONTACT, userContact);
    public BusinessPartner getBusinessPartner() {
        return (BusinessPartner) get(PROPERTY_BUSINESSPARTNER);
    public void setBusinessPartner(BusinessPartner businessPartner) {
        set(PROPERTY_BUSINESSPARTNER, businessPartner);
    public Campaign getSalesCampaign() {
        return (Campaign) get(PROPERTY_SALESCAMPAIGN);
    public void setSalesCampaign(Campaign salesCampaign) {
        set(PROPERTY_SALESCAMPAIGN, salesCampaign);
    public Order getSalesOrder() {
        return (Order) get(PROPERTY_SALESORDER);
    public void setSalesOrder(Order salesOrder) {
        set(PROPERTY_SALESORDER, salesOrder);
    public Invoice getInvoice() {
        return (Invoice) get(PROPERTY_INVOICE);
    public void setInvoice(Invoice invoice) {
        set(PROPERTY_INVOICE, invoice);
    public Product getProduct() {
        return (Product) get(PROPERTY_PRODUCT);
    public void setProduct(Product product) {
        set(PROPERTY_PRODUCT, product);
    public Project getProject() {
        return (Project) get(PROPERTY_PROJECT);
    public void setProject(Project project) {
        set(PROPERTY_PROJECT, project);
    public String getActionType() {
        return (String) get(PROPERTY_ACTIONTYPE);
    public void setActionType(String actionType) {
        set(PROPERTY_ACTIONTYPE, actionType);
    public MailText getMailTemplate() {
        return (MailText) get(PROPERTY_MAILTEMPLATE);
    public void setMailTemplate(MailText mailTemplate) {
        set(PROPERTY_MAILTEMPLATE, mailTemplate);
    public String getMailSubject() {
        return (String) get(PROPERTY_MAILSUBJECT);
    public void setMailSubject(String mailSubject) {
        set(PROPERTY_MAILSUBJECT, mailSubject);
    public String getMailText() {
        return (String) get(PROPERTY_MAILTEXT);
    public void setMailText(String mailText) {
        set(PROPERTY_MAILTEXT, mailText);
    public String getResult() {
        return (String) get(PROPERTY_RESULT);
    public void setResult(String result) {
        set(PROPERTY_RESULT, result);
    public String getNextAction() {
        return (String) get(PROPERTY_NEXTACTION);
    public void setNextAction(String nextAction) {
        set(PROPERTY_NEXTACTION, nextAction);
    public Date getNextActionDate() {
        return (Date) get(PROPERTY_NEXTACTIONDATE);
    public void setNextActionDate(Date nextActionDate) {
        set(PROPERTY_NEXTACTIONDATE, nextActionDate);
    public Boolean isProcessNow() {
        return (Boolean) get(PROPERTY_PROCESSNOW);
    public void setProcessNow(Boolean processNow) {
        set(PROPERTY_PROCESSNOW, processNow);
    public Boolean isProcessed() {
        return (Boolean) get(PROPERTY_PROCESSED);
    public void setProcessed(Boolean processed) {
        set(PROPERTY_PROCESSED, processed);
    public RequestType getRequestType() {
        return (RequestType) get(PROPERTY_REQUESTTYPE);
    public void setRequestType(RequestType requestType) {
        set(PROPERTY_REQUESTTYPE, requestType);
    public User getSalesRepresentative() {
        return (User) get(PROPERTY_SALESREPRESENTATIVE);
    public void setSalesRepresentative(User salesRepresentative) {
        set(PROPERTY_SALESREPRESENTATIVE, salesRepresentative);
    public Boolean isSelfService() {
        return (Boolean) get(PROPERTY_SELFSERVICE);
    public void setSelfService(Boolean selfService) {
        set(PROPERTY_SELFSERVICE, selfService);
    public DebtPayment getPayment() {
        return (DebtPayment) get(PROPERTY_PAYMENT);
    public void setPayment(DebtPayment payment) {
        set(PROPERTY_PAYMENT, payment);
    public List<RequestionAction> getRequestionActionList() {
        return (List<RequestionAction>) get(PROPERTY_REQUESTIONACTIONLIST);
    public void setRequestionActionList(
        List<RequestionAction> requestionActionList) {
        set(PROPERTY_REQUESTIONACTIONLIST, requestionActionList);

Retrieved from ""

This page has been accessed 246 times. This page was last modified on 15 April 2011, at 22:22. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.