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.

A more descriptive identifier (that does need to be unique) of a record/document that is used as a default search option along with the search key (that is unique and mostly shorter). It is up to 60 characters in length.

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 http://www.openbravo.com/legal/license.html
* 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.financialmgmt.payment;
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.ad.access.User;import org.openbravo.model.ad.system.Client;import org.openbravo.model.common.enterprise.Organization;import java.lang.Boolean;import java.lang.String;import java.util.Date;/**
* Entity class for entity FinancialMgmtRemittanceParameter (stored in table C_Remittance_Parameter).
*
* NOTE: This class should not be instantiated directly. To instantiate this
* class the {@link org.openbravo.base.provider.OBProvider} should be used.
*/publicclass RemittanceParameter extends BaseOBObject implements Traceable,
ClientEnabled, OrganizationEnabled, ActiveEnabled {privatestaticfinallong serialVersionUID = 1L;
publicstaticfinalString TABLE_NAME = "C_Remittance_Parameter";
publicstaticfinalString FinancialMgmtRemittanceParameter = "FinancialMgmtRemittanceParameter";
publicstaticfinalString PROPERTY_ID = "id";
publicstaticfinalString PROPERTY_CLIENT = "client";
publicstaticfinalString PROPERTY_ORGANIZATION = "organization";
publicstaticfinalString PROPERTY_ACTIVE = "active";
publicstaticfinalString PROPERTY_CREATIONDATE = "creationDate";
publicstaticfinalString PROPERTY_CREATEDBY = "createdBy";
publicstaticfinalString PROPERTY_UPDATED = "updated";
publicstaticfinalString PROPERTY_UPDATEDBY = "updatedBy";
publicstaticfinalString PROPERTY_NAME = "name";
publicstaticfinalString PROPERTY_|-
|id<sup>*</sup> || [[ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.financialmgmt.payment/C_Remittance_Parameter#C_Remittance_Parameter_ID | C_Remittance_Parameter_ID]] || Mandatory<br/>Max Length: 32 || java.lang.String || Refers to the parameters needed to make a remittance.
|-
|client || [[ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.financialmgmt.payment/C_Remittance_Parameter#Client | AD_Client_ID]] || Mandatory || [[ERP/2.50/Developers_Guide/Reference/Entity_Model/ADClient | ADClient]] || A Client is a company or a legal entity. You cannot share data between Clients.
|-
|organization || [[ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.financialmgmt.payment/C_Remittance_Parameter#Organization | AD_Org_ID]] || Mandatory || [[ERP/2.50/Developers_Guide/Reference/Entity_Model/Organization | Organization]] || An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.
|-
|active || [[ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.financialmgmt.payment/C_Remittance_Parameter#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 || [[ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.financialmgmt.payment/C_Remittance_Parameter#Creation Date | Created]] || Mandatory || java.util.Date || The Created field indicates the date that this record was created.
|-
|createdBy || [[ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.financialmgmt.payment/C_Remittance_Parameter#Created By | Createdby]] || Mandatory || [[ERP/2.50/Developers_Guide/Reference/Entity_Model/ADUser | ADUser]] || The Created By field indicates the user who created this record.
|-
|updated || [[ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.financialmgmt.payment/C_Remittance_Parameter#Updated | Updated]] || Mandatory || java.util.Date || The Updated field indicates the date that this record was updated.
|-
|updatedBy || [[ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.financialmgmt.payment/C_Remittance_Parameter#Updated By | Updatedby]] || Mandatory || [[ERP/2.50/Developers_Guide/Reference/Entity_Model/ADUser | ADUser]] || The Updated By field indicates the user who updated this record.
|-
|name<sup>#</sup> || [[ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.financialmgmt.payment/C_Remittance_Parameter#Name | Name]] || Mandatory<br/>Max Length: 60 || java.lang.String || A more descriptive identifier (that does need to be unique) of a record/document that is used as a default search option along with the search key (that is unique and mostly shorter). It is up to 60 characters in length.
|-
|content || [[ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.financialmgmt.payment/C_Remittance_Parameter#Content | Content]] || Max Length: 60 || java.lang.String || Content
|-
|remittanceType || [[ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.financialmgmt.payment/C_Remittance_Parameter#Remittance Type | C_Remittance_Type_ID]] || Mandatory || [[ERP/2.50/Developers_Guide/Reference/Entity_Model/FinancialMgmtRemittanceType | FinancialMgmtRemittanceType]] || The remittance type defines the properties the remittance has. = "content";
publicstaticfinalString PROPERTY_REMITTANCETYPE = "remittanceType";
public RemittanceParameter(){
setDefaultValue(PROPERTY_ACTIVE, true);
}
@Override
publicString getEntityName(){return FinancialMgmtRemittanceParameter;
}publicString getId(){return(String) get(PROPERTY_ID);
}publicvoid setId(String id){
set(PROPERTY_ID, id);
}public Client getClient(){return(Client) get(PROPERTY_CLIENT);
}publicvoid setClient(Client client){
set(PROPERTY_CLIENT, client);
}public Organization getOrganization(){return(Organization) get(PROPERTY_ORGANIZATION);
}publicvoid setOrganization(Organization organization){
set(PROPERTY_ORGANIZATION, organization);
}publicBoolean isActive(){return(Boolean) get(PROPERTY_ACTIVE);
}publicvoid setActive(Boolean active){
set(PROPERTY_ACTIVE, active);
}publicDate getCreationDate(){return(Date) get(PROPERTY_CREATIONDATE);
}publicvoid setCreationDate(Date creationDate){
set(PROPERTY_CREATIONDATE, creationDate);
}public User getCreatedBy(){return(User) get(PROPERTY_CREATEDBY);
}publicvoid setCreatedBy(User createdBy){
set(PROPERTY_CREATEDBY, createdBy);
}publicDate getUpdated(){return(Date) get(PROPERTY_UPDATED);
}publicvoid setUpdated(Date updated){
set(PROPERTY_UPDATED, updated);
}public User getUpdatedBy(){return(User) get(PROPERTY_UPDATEDBY);
}publicvoid setUpdatedBy(User updatedBy){
set(PROPERTY_UPDATEDBY, updatedBy);
}publicString getName(){return(String) get(PROPERTY_NAME);
}publicvoid setName(String name){
set(PROPERTY_NAME, name);
}publicString getContent(){return(String) get(PROPERTY_|-
|id<sup>*</sup> || [[ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.financialmgmt.payment/C_Remittance_Parameter#C_Remittance_Parameter_ID | C_Remittance_Parameter_ID]] || Mandatory<br/>Max Length: 32 || java.lang.String || Refers to the parameters needed to make a remittance.
|-
|client || [[ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.financialmgmt.payment/C_Remittance_Parameter#Client | AD_Client_ID]] || Mandatory || [[ERP/2.50/Developers_Guide/Reference/Entity_Model/ADClient | ADClient]] || A Client is a company or a legal entity. You cannot share data between Clients.
|-
|organization || [[ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.financialmgmt.payment/C_Remittance_Parameter#Organization | AD_Org_ID]] || Mandatory || [[ERP/2.50/Developers_Guide/Reference/Entity_Model/Organization | Organization]] || An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.
|-
|active || [[ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.financialmgmt.payment/C_Remittance_Parameter#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 || [[ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.financialmgmt.payment/C_Remittance_Parameter#Creation Date | Created]] || Mandatory || java.util.Date || The Created field indicates the date that this record was created.
|-
|createdBy || [[ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.financialmgmt.payment/C_Remittance_Parameter#Created By | Createdby]] || Mandatory || [[ERP/2.50/Developers_Guide/Reference/Entity_Model/ADUser | ADUser]] || The Created By field indicates the user who created this record.
|-
|updated || [[ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.financialmgmt.payment/C_Remittance_Parameter#Updated | Updated]] || Mandatory || java.util.Date || The Updated field indicates the date that this record was updated.
|-
|updatedBy || [[ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.financialmgmt.payment/C_Remittance_Parameter#Updated By | Updatedby]] || Mandatory || [[ERP/2.50/Developers_Guide/Reference/Entity_Model/ADUser | ADUser]] || The Updated By field indicates the user who updated this record.
|-
|name<sup>#</sup> || [[ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.financialmgmt.payment/C_Remittance_Parameter#Name | Name]] || Mandatory<br/>Max Length: 60 || java.lang.String || A more descriptive identifier (that does need to be unique) of a record/document that is used as a default search option along with the search key (that is unique and mostly shorter). It is up to 60 characters in length.
|-
|content || [[ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.financialmgmt.payment/C_Remittance_Parameter#Content | Content]] || Max Length: 60 || java.lang.String || Content
|-
|remittanceType || [[ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.financialmgmt.payment/C_Remittance_Parameter#Remittance Type | C_Remittance_Type_ID]] || Mandatory || [[ERP/2.50/Developers_Guide/Reference/Entity_Model/FinancialMgmtRemittanceType | FinancialMgmtRemittanceType]] || The remittance type defines the properties the remittance has.);
}publicvoid setContent(String content){
set(PROPERTY_|-
|id<sup>*</sup> || [[ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.financialmgmt.payment/C_Remittance_Parameter#C_Remittance_Parameter_ID | C_Remittance_Parameter_ID]] || Mandatory<br/>Max Length: 32 || java.lang.String || Refers to the parameters needed to make a remittance.
|-
|client || [[ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.financialmgmt.payment/C_Remittance_Parameter#Client | AD_Client_ID]] || Mandatory || [[ERP/2.50/Developers_Guide/Reference/Entity_Model/ADClient | ADClient]] || A Client is a company or a legal entity. You cannot share data between Clients.
|-
|organization || [[ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.financialmgmt.payment/C_Remittance_Parameter#Organization | AD_Org_ID]] || Mandatory || [[ERP/2.50/Developers_Guide/Reference/Entity_Model/Organization | Organization]] || An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.
|-
|active || [[ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.financialmgmt.payment/C_Remittance_Parameter#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 || [[ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.financialmgmt.payment/C_Remittance_Parameter#Creation Date | Created]] || Mandatory || java.util.Date || The Created field indicates the date that this record was created.
|-
|createdBy || [[ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.financialmgmt.payment/C_Remittance_Parameter#Created By | Createdby]] || Mandatory || [[ERP/2.50/Developers_Guide/Reference/Entity_Model/ADUser | ADUser]] || The Created By field indicates the user who created this record.
|-
|updated || [[ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.financialmgmt.payment/C_Remittance_Parameter#Updated | Updated]] || Mandatory || java.util.Date || The Updated field indicates the date that this record was updated.
|-
|updatedBy || [[ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.financialmgmt.payment/C_Remittance_Parameter#Updated By | Updatedby]] || Mandatory || [[ERP/2.50/Developers_Guide/Reference/Entity_Model/ADUser | ADUser]] || The Updated By field indicates the user who updated this record.
|-
|name<sup>#</sup> || [[ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.financialmgmt.payment/C_Remittance_Parameter#Name | Name]] || Mandatory<br/>Max Length: 60 || java.lang.String || A more descriptive identifier (that does need to be unique) of a record/document that is used as a default search option along with the search key (that is unique and mostly shorter). It is up to 60 characters in length.
|-
|content || [[ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.financialmgmt.payment/C_Remittance_Parameter#Content | Content]] || Max Length: 60 || java.lang.String || Content
|-
|remittanceType || [[ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.financialmgmt.payment/C_Remittance_Parameter#Remittance Type | C_Remittance_Type_ID]] || Mandatory || [[ERP/2.50/Developers_Guide/Reference/Entity_Model/FinancialMgmtRemittanceType | FinancialMgmtRemittanceType]] || The remittance type defines the properties the remittance has., content);
}public RemittanceType getRemittanceType(){return(RemittanceType) get(PROPERTY_REMITTANCETYPE);
}publicvoid setRemittanceType(RemittanceType remittanceType){
set(PROPERTY_REMITTANCETYPE, remittanceType);
}}