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/BusinessPartnerBankAccount

This article is protected against manual editing because it is automatically generated from Openbravo meta-data. Learn more about writing and translating such documents.
Back button.png   Back to ERP/3.0/Developers_Guide/Reference/Entity_Model#BusinessPartnerBankAccount


The Define Bank Account Tab defines the banking information for this business partner. This data is used for processing payments and remittances.

To the database table (C_BP_BankAccount) of this entity.



Property Column Constraints Type Description
id* C_BP_BankAccount_ID Mandatory
Max Length: 32
java.lang.String The Partner Bank Account identifies the bank account to be used for this Business Partner
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.
creationDate Created Mandatory
java.util.Date The Created field indicates the date that this record was created.
updated Updated Mandatory
java.util.Date The Updated field indicates the date that this record was updated.
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.

createdBy CreatedBy Mandatory
ADUser The Created By field indicates the user who created this record.
updatedBy UpdatedBy Mandatory
ADUser The Updated By field indicates the user who updated this record.
businessPartner C_BPartner_ID Mandatory
BusinessPartner A Business Partner is anyone with whom you transact. This can include a customer, vendor, employee or any combination of these.
accountType BankAccountType Max Length: 60
java.lang.String The Bank Account Type field indicates the type of account (savings, checking etc) this account is defined as.
routingNo RoutingNo Max Length: 20
java.lang.String The Bank Routing Number (ABA Number) identifies a legal Bank. It is used in routing checks and electronic transactions.
accountNo AccountNo Max Length: 100
java.lang.String Bank account number in a generic format.
cCType CreditCardType Max Length: 60
java.lang.String The Credit Card drop down list box is used for selecting the type of Credit Card presented for payment.
creditCardNo CreditCardNumber Max Length: 20
java.lang.String The Credit Card number indicates the number on the credit card, without blanks or spaces.
expiryMonth CreditCardExpMM java.lang.Long The Expiry Month indicates the expiry month for this credit card.
expiryYear CreditCardExpYY java.lang.Long The Expiry Year indicates the expiry year for this credit card.
name A_Name Max Length: 60
java.lang.String The Name of the Credit Card or Account holder.
street A_Street Max Length: 60
java.lang.String The Street Address of the Credit Card or Account holder.
city A_City Max Length: 60
java.lang.String The Account City indicates the City of the Credit Card or Account holder
state A_State Max Length: 40
java.lang.String The State of the Credit Card or Account holder
postalCode A_Zip Max Length: 20
java.lang.String The Zip Code of the Credit Card or Account Holder.
driversLicenseNo A_Ident_DL Max Length: 20
java.lang.String The Driver's License being used as identification.
email A_EMail Max Length: 40
java.lang.String The EMail Address indicates the EMail address off the Credit Card or Account holder.
socialSecurityNo A_Ident_SSN Max Length: 20
java.lang.String The Social Security number being used as identification.
zipVerified R_AvsZip Max Length: 60
java.lang.String The Zip Verified indicates if the zip code has been verified by the Credit Card Company.
countryName A_Country Max Length: 40
java.lang.String Account Country Name
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
bankName Bank_Name Max Length: 50
java.lang.String Name of the bank
iBAN Iban Max Length: 34
java.lang.String Code that identifies uniquely one bank account, no matter the country it belongs to. It consists of a ISO 3166-1 alpha-2 country code, followed by two check digits, and up to thirty alphanumeric characters for the domestic bank account number, called the BBAN (Basic Bank Account Number). It is up to each country's national banking community to decide on the length of the BBAN for accounts in that country, but its length must be fixed for any given country.
showGeneric ShowAccountNo java.lang.Boolean Use the Generic Account Number for generating the Displayed Account Number
showIBAN Showiban java.lang.Boolean Use IBAN for generating the Displayed Account Number
displayedAccount# Displayedaccount Max Length: 120
java.lang.String Text that will identify this bank account
country C_Country_ID Country The Country defines a Country. Each Country must be defined before it can be used in any document.
swiftCode SwiftCode Max Length: 20
java.lang.String The SWIFT Code is an identifier of a Bank
bankFormat BankFormat Mandatory
Max Length: 60
java.lang.String Bank Account Format used for generating the Displayed Account Number

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-2014 Openbravo SLU
  * All Rights Reserved.
  * Contributor(s):  ______________________________________.
 package org.openbravo.model.common.businesspartner;
 import java.util.Date;
 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.enterprise.Organization;
 import org.openbravo.model.common.geography.Country;
  * Entity class for entity BusinessPartnerBankAccount (stored in table C_BP_BankAccount).
  * NOTE: This class should not be instantiated directly. To instantiate this
  * class the {@link org.openbravo.base.provider.OBProvider} should be used.
 public class BankAccount extends BaseOBObject implements Traceable, ClientEnabled, OrganizationEnabled, ActiveEnabled {
     private static final long serialVersionUID = 1L;
     public static final String TABLE_NAME = "C_BP_BankAccount";
     public static final String ENTITY_NAME = "BusinessPartnerBankAccount";
     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_CREATIONDATE = "creationDate";
     public static final String PROPERTY_UPDATED = "updated";
     public static final String PROPERTY_ACTIVE = "active";
     public static final String PROPERTY_CREATEDBY = "createdBy";
     public static final String PROPERTY_UPDATEDBY = "updatedBy";
     public static final String PROPERTY_BUSINESSPARTNER = "businessPartner";
     public static final String PROPERTY_ACCOUNTTYPE = "accountType";
     public static final String PROPERTY_ROUTINGNO = "routingNo";
     public static final String PROPERTY_ACCOUNTNO = "accountNo";
     public static final String PROPERTY_CCTYPE = "cCType";
     public static final String PROPERTY_CREDITCARDNO = "creditCardNo";
     public static final String PROPERTY_EXPIRYMONTH = "expiryMonth";
     public static final String PROPERTY_EXPIRYYEAR = "expiryYear";
     public static final String PROPERTY_NAME = "name";
     public static final String PROPERTY_STREET = "street";
     public static final String PROPERTY_CITY = "city";
     public static final String PROPERTY_STATE = "state";
     public static final String PROPERTY_POSTALCODE = "postalCode";
     public static final String PROPERTY_DRIVERSLICENSENO = "driversLicenseNo";
     public static final String PROPERTY_EMAIL = "email";
     public static final String PROPERTY_SOCIALSECURITYNO = "socialSecurityNo";
     public static final String PROPERTY_ZIPVERIFIED = "zipVerified";
     public static final String PROPERTY_COUNTRYNAME = "countryName";
     public static final String PROPERTY_USERCONTACT = "userContact";
     public static final String PROPERTY_BANKNAME = "bankName";
     public static final String PROPERTY_IBAN = "iBAN";
     public static final String PROPERTY_SHOWGENERIC = "showGeneric";
     public static final String PROPERTY_SHOWIBAN = "showIBAN";
     public static final String PROPERTY_DISPLAYEDACCOUNT = "displayedAccount";
     public static final String PROPERTY_COUNTRY = "country";
     public static final String PROPERTY_SWIFTCODE = "swiftCode";
     public static final String PROPERTY_BANKFORMAT = "bankFormat";
     public BankAccount() {
         setDefaultValue(PROPERTY_ACTIVE, true);
         setDefaultValue(PROPERTY_EXPIRYYEAR, (long) 2000);
         setDefaultValue(PROPERTY_SHOWGENERIC, false);
         setDefaultValue(PROPERTY_SHOWIBAN, false);
         setDefaultValue(PROPERTY_BANKFORMAT, "GENERIC");
     public String getEntityName() {
         return ENTITY_NAME;
     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 Date getCreationDate() {
         return (Date) get(PROPERTY_CREATIONDATE);
     public void setCreationDate(Date creationDate) {
         set(PROPERTY_CREATIONDATE, creationDate);
     public Date getUpdated() {
         return (Date) get(PROPERTY_UPDATED);
     public void setUpdated(Date updated) {
         set(PROPERTY_UPDATED, updated);
     public Boolean isActive() {
         return (Boolean) get(PROPERTY_ACTIVE);
     public void setActive(Boolean active) {
         set(PROPERTY_ACTIVE, active);
     public User getCreatedBy() {
         return (User) get(PROPERTY_CREATEDBY);
     public void setCreatedBy(User createdBy) {
         set(PROPERTY_CREATEDBY, createdBy);
     public User getUpdatedBy() {
         return (User) get(PROPERTY_UPDATEDBY);
     public void setUpdatedBy(User updatedBy) {
         set(PROPERTY_UPDATEDBY, updatedBy);
     public BusinessPartner getBusinessPartner() {
         return (BusinessPartner) get(PROPERTY_BUSINESSPARTNER);
     public void setBusinessPartner(BusinessPartner businessPartner) {
         set(PROPERTY_BUSINESSPARTNER, businessPartner);
     public String getAccountType() {
         return (String) get(PROPERTY_ACCOUNTTYPE);
     public void setAccountType(String accountType) {
         set(PROPERTY_ACCOUNTTYPE, accountType);
     public String getRoutingNo() {
         return (String) get(PROPERTY_ROUTINGNO);
     public void setRoutingNo(String routingNo) {
         set(PROPERTY_ROUTINGNO, routingNo);
     public String getAccountNo() {
         return (String) get(PROPERTY_ACCOUNTNO);
     public void setAccountNo(String accountNo) {
         set(PROPERTY_ACCOUNTNO, accountNo);
     public String getCCType() {
         return (String) get(PROPERTY_CCTYPE);
     public void setCCType(String cCType) {
         set(PROPERTY_CCTYPE, cCType);
     public String getCreditCardNo() {
         return (String) get(PROPERTY_CREDITCARDNO);
     public void setCreditCardNo(String creditCardNo) {
         set(PROPERTY_CREDITCARDNO, creditCardNo);
     public Long getExpiryMonth() {
         return (Long) get(PROPERTY_EXPIRYMONTH);
     public void setExpiryMonth(Long expiryMonth) {
         set(PROPERTY_EXPIRYMONTH, expiryMonth);
     public Long getExpiryYear() {
         return (Long) get(PROPERTY_EXPIRYYEAR);
     public void setExpiryYear(Long expiryYear) {
         set(PROPERTY_EXPIRYYEAR, expiryYear);
     public String getName() {
         return (String) get(PROPERTY_NAME);
     public void setName(String name) {
         set(PROPERTY_NAME, name);
     public String getStreet() {
         return (String) get(PROPERTY_STREET);
     public void setStreet(String street) {
         set(PROPERTY_STREET, street);
     public String getCity() {
         return (String) get(PROPERTY_CITY);
     public void setCity(String city) {
         set(PROPERTY_CITY, city);
     public String getState() {
         return (String) get(PROPERTY_STATE);
     public void setState(String state) {
         set(PROPERTY_STATE, state);
     public String getPostalCode() {
         return (String) get(PROPERTY_POSTALCODE);
     public void setPostalCode(String postalCode) {
         set(PROPERTY_POSTALCODE, postalCode);
     public String getDriversLicenseNo() {
         return (String) get(PROPERTY_DRIVERSLICENSENO);
     public void setDriversLicenseNo(String driversLicenseNo) {
         set(PROPERTY_DRIVERSLICENSENO, driversLicenseNo);
     public String getEmail() {
         return (String) get(PROPERTY_EMAIL);
     public void setEmail(String email) {
         set(PROPERTY_EMAIL, email);
     public String getSocialSecurityNo() {
         return (String) get(PROPERTY_SOCIALSECURITYNO);
     public void setSocialSecurityNo(String socialSecurityNo) {
         set(PROPERTY_SOCIALSECURITYNO, socialSecurityNo);
     public String getZipVerified() {
         return (String) get(PROPERTY_ZIPVERIFIED);
     public void setZipVerified(String zipVerified) {
         set(PROPERTY_ZIPVERIFIED, zipVerified);
     public String getCountryName() {
         return (String) get(PROPERTY_COUNTRYNAME);
     public void setCountryName(String countryName) {
         set(PROPERTY_COUNTRYNAME, countryName);
     public User getUserContact() {
         return (User) get(PROPERTY_USERCONTACT);
     public void setUserContact(User userContact) {
         set(PROPERTY_USERCONTACT, userContact);
     public String getBankName() {
         return (String) get(PROPERTY_BANKNAME);
     public void setBankName(String bankName) {
         set(PROPERTY_BANKNAME, bankName);
     public String getIBAN() {
         return (String) get(PROPERTY_IBAN);
     public void setIBAN(String iBAN) {
         set(PROPERTY_IBAN, iBAN);
     public Boolean isShowGeneric() {
         return (Boolean) get(PROPERTY_SHOWGENERIC);
     public void setShowGeneric(Boolean showGeneric) {
         set(PROPERTY_SHOWGENERIC, showGeneric);
     public Boolean isShowIBAN() {
         return (Boolean) get(PROPERTY_SHOWIBAN);
     public void setShowIBAN(Boolean showIBAN) {
         set(PROPERTY_SHOWIBAN, showIBAN);
     public String getDisplayedAccount() {
         return (String) get(PROPERTY_DISPLAYEDACCOUNT);
     public void setDisplayedAccount(String displayedAccount) {
         set(PROPERTY_DISPLAYEDACCOUNT, displayedAccount);
     public Country getCountry() {
         return (Country) get(PROPERTY_COUNTRY);
     public void setCountry(Country country) {
         set(PROPERTY_COUNTRY, country);
     public String getSwiftCode() {
         return (String) get(PROPERTY_SWIFTCODE);
     public void setSwiftCode(String swiftCode) {
         set(PROPERTY_SWIFTCODE, swiftCode);
     public String getBankFormat() {
         return (String) get(PROPERTY_BANKFORMAT);
     public void setBankFormat(String bankFormat) {
         set(PROPERTY_BANKFORMAT, bankFormat);

Retrieved from ""

This page has been accessed 787 times. This page was last modified on 5 August 2014, at 13:52. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.