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

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#ClientInformation


The Client Info Tab defines the details for each client. The accounting rules and high level defaults are defined here. The Calendar is used to determine if a period is open or closed.

To the database table (AD_ClientInfo) of this entity.



Property Column Constraints Type Description
id* AD_Client_ID Mandatory
Max Length: 22
java.lang.String 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.
discountCalculatedFromLineAmounts IsDiscountLineAmt Mandatory
java.lang.Boolean If the payment discount is calculated from line amounts only, the tax and charge amounts are not included. This is e.g. business practice in the US. If not selected the total invoice amount is used to calculate the payment discount.
calendar C_Calendar_ID FinancialMgmtCalendar The Calendar uniquely identifies an accounting calendar. Multiple calendars can be used. For example you may need a standard calendar that runs from Jan 1 to Dec 31 and a fiscal calendar that runs from July 1 to June 30.
primaryAccountingSchema C_AcctSchema1_ID FinancialMgmtAcctSchema An Accounting Schema defines the rules used accounting such as costing method, currency and calendar.
enableSecondAccountingSchema Acct2_Active Mandatory
java.lang.Boolean The Second Accounting Schema indicates an alternate set of rules to use for generating reports.
secondAccountingSchema C_AcctSchema2_ID FinancialMgmtAcctSchema An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar.
enableThirdAccountingSchema Acct3_Active Mandatory
java.lang.Boolean The Third Accounting Schema indicates an alternate set of rules to use for generating reports.
thirdAccountingSchema C_AcctSchema3_ID FinancialMgmtAcctSchema An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar
uOMForVolume C_UOM_Volume_ID UOM The Standard UOM for Volume indicates the UOM to use for products referenced by volume in a document.
uOMForWeight C_UOM_Weight_ID UOM The Standard UOM for Weight indicates the UOM to use for products referenced by weight in a document.
uOMForLength C_UOM_Length_ID UOM The Standard UOM for Length indicates the UOM to use for products referenced by length in a document.
uOMForTime C_UOM_Time_ID UOM The Standard UOM for Time indicates the UOM to use for products referenced by time in a document.
primaryTreeMenu AD_Tree_Menu_ID ADTree Tree Menu
primaryTreeOrganization AD_Tree_Org_ID ADTree Organization Tree
primaryTreeBPartner AD_Tree_BPartner_ID ADTree Business Partner Tree
primaryTreeProject AD_Tree_Project_ID ADTree Project Tree
primaryTreeSalesRegion AD_Tree_SalesRegion_ID ADTree
primaryTreeProduct AD_Tree_Product_ID ADTree Product Tree
productForFreight M_ProductFreight_ID Product
templateBPartner C_BPartnerCashTrx_ID BusinessPartner When creating a new Business Partner from the Business Partner Search Field (right-click: Create), the selected business partner is used as a template, e.g. to define price list, payment terms, etc.
priceList M_PriceList_ID PricingPriceList

Price Lists are used to determine the pricing, margin and cost of items purchased or sold.

allowNegativeStock AllowNegativeStock Mandatory
java.lang.Boolean Allow negative stock
checkOrderOrganization Checkorderorg Mandatory
java.lang.Boolean The checkorderorg identifies the order organization and the business partner organization and makes sure both are the same.
checkShipmentOrganization Checkinoutorg Mandatory
java.lang.Boolean The Checkinoutorg identifies the shipment organization and the business partner organization and makes sure both are the same
groupInvoiceLinesInAccounting Groupacctinvlines Mandatory
java.lang.Boolean Group Accounting Invoice Lines
yourCompanyMenuImage Your_Company_Menu_Image ADImage
yourCompanyBigImage Your_Company_Big_Image ADImage
yourCompanyDocumentImage Your_Company_Document_Image ADImage
treeCampaign AD_Tree_Campaign_ID ADTree
primaryTreeAsset AD_Tree_Asset_ID ADTree Asset Tree
primaryTreeProductCategory AD_Tree_Product_Category_ID ADTree Product Category Tree
primaryTreeCostCenter AD_Tree_Costcenter_ID ADTree
primaryTreeResourceCategory AD_Tree_Obre_Resource_Category ADTree
primaryUserDimension1 AD_Tree_User1_ID ADTree Primary User Dimension 1
primaryUserDimension2 AD_Tree_User2_ID ADTree Primary User Dimension 2
client# AD_Client_ID Mandatory
ADClient A Client is a company or a legal entity. You cannot share data between Clients.

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):  ______________________________________.
 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.businesspartner.BusinessPartner;
 import org.openbravo.model.common.enterprise.Organization;
 import org.openbravo.model.common.plm.Product;
 import org.openbravo.model.common.uom.UOM;
 import org.openbravo.model.financialmgmt.accounting.coa.AcctSchema;
 import org.openbravo.model.financialmgmt.calendar.Calendar;
 import org.openbravo.model.pricing.pricelist.PriceList;
  * Entity class for entity ClientInformation (stored in table AD_ClientInfo).
  * NOTE: This class should not be instantiated directly. To instantiate this
  * class the {@link org.openbravo.base.provider.OBProvider} should be used.
 public class ClientInformation extends BaseOBObject implements Traceable, ClientEnabled, OrganizationEnabled, ActiveEnabled {
     private static final long serialVersionUID = 1L;
     public static final String TABLE_NAME = "AD_ClientInfo";
     public static final String ENTITY_NAME = "ClientInformation";
     public static final String PROPERTY_ID = "id";
     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_DISCOUNTCALCULATEDFROMLINEAMOUNTS = "discountCalculatedFromLineAmounts";
     public static final String PROPERTY_CALENDAR = "calendar";
     public static final String PROPERTY_PRIMARYACCOUNTINGSCHEMA = "primaryAccountingSchema";
     public static final String PROPERTY_ENABLESECONDACCOUNTINGSCHEMA = "enableSecondAccountingSchema";
     public static final String PROPERTY_SECONDACCOUNTINGSCHEMA = "secondAccountingSchema";
     public static final String PROPERTY_ENABLETHIRDACCOUNTINGSCHEMA = "enableThirdAccountingSchema";
     public static final String PROPERTY_THIRDACCOUNTINGSCHEMA = "thirdAccountingSchema";
     public static final String PROPERTY_UOMFORVOLUME = "uOMForVolume";
     public static final String PROPERTY_UOMFORWEIGHT = "uOMForWeight";
     public static final String PROPERTY_UOMFORLENGTH = "uOMForLength";
     public static final String PROPERTY_UOMFORTIME = "uOMForTime";
     public static final String PROPERTY_PRIMARYTREEMENU = "primaryTreeMenu";
     public static final String PROPERTY_PRIMARYTREEORGANIZATION = "primaryTreeOrganization";
     public static final String PROPERTY_PRIMARYTREEBPARTNER = "primaryTreeBPartner";
     public static final String PROPERTY_PRIMARYTREEPROJECT = "primaryTreeProject";
     public static final String PROPERTY_PRIMARYTREESALESREGION = "primaryTreeSalesRegion";
     public static final String PROPERTY_PRIMARYTREEPRODUCT = "primaryTreeProduct";
     public static final String PROPERTY_PRODUCTFORFREIGHT = "productForFreight";
     public static final String PROPERTY_TEMPLATEBPARTNER = "templateBPartner";
     public static final String PROPERTY_PRICELIST = "priceList";
     public static final String PROPERTY_ALLOWNEGATIVESTOCK = "allowNegativeStock";
     public static final String PROPERTY_CHECKORDERORGANIZATION = "checkOrderOrganization";
     public static final String PROPERTY_CHECKSHIPMENTORGANIZATION = "checkShipmentOrganization";
     public static final String PROPERTY_GROUPINVOICELINESINACCOUNTING = "groupInvoiceLinesInAccounting";
     public static final String PROPERTY_YOURCOMPANYMENUIMAGE = "yourCompanyMenuImage";
     public static final String PROPERTY_YOURCOMPANYBIGIMAGE = "yourCompanyBigImage";
     public static final String PROPERTY_YOURCOMPANYDOCUMENTIMAGE = "yourCompanyDocumentImage";
     public static final String PROPERTY_TREECAMPAIGN = "treeCampaign";
     public static final String PROPERTY_PRIMARYTREEASSET = "primaryTreeAsset";
     public static final String PROPERTY_PRIMARYTREEPRODUCTCATEGORY = "primaryTreeProductCategory";
     public static final String PROPERTY_PRIMARYTREECOSTCENTER = "primaryTreeCostCenter";
     public static final String PROPERTY_PRIMARYTREERESOURCECATEGORY = "primaryTreeResourceCategory";
     public static final String PROPERTY_PRIMARYUSERDIMENSION1 = "primaryUserDimension1";
     public static final String PROPERTY_PRIMARYUSERDIMENSION2 = "primaryUserDimension2";
     public static final String PROPERTY_CLIENT = "client";
     public ClientInformation() {
         setDefaultValue(PROPERTY_ACTIVE, true);
         setDefaultValue(PROPERTY_ALLOWNEGATIVESTOCK, false);
         setDefaultValue(PROPERTY_CHECKORDERORGANIZATION, true);
     public String getEntityName() {
         return ENTITY_NAME;
     public String getId() {
         return (String) get(PROPERTY_ID);
     public void setId(String id) {
         set(PROPERTY_ID, id);
     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 Boolean isDiscountCalculatedFromLineAmounts() {
     public void setDiscountCalculatedFromLineAmounts(Boolean discountCalculatedFromLineAmounts) {
         set(PROPERTY_DISCOUNTCALCULATEDFROMLINEAMOUNTS, discountCalculatedFromLineAmounts);
     public Calendar getCalendar() {
         return (Calendar) get(PROPERTY_CALENDAR);
     public void setCalendar(Calendar calendar) {
         set(PROPERTY_CALENDAR, calendar);
     public AcctSchema getPrimaryAccountingSchema() {
         return (AcctSchema) get(PROPERTY_PRIMARYACCOUNTINGSCHEMA);
     public void setPrimaryAccountingSchema(AcctSchema primaryAccountingSchema) {
         set(PROPERTY_PRIMARYACCOUNTINGSCHEMA, primaryAccountingSchema);
     public Boolean isEnableSecondAccountingSchema() {
     public void setEnableSecondAccountingSchema(Boolean enableSecondAccountingSchema) {
         set(PROPERTY_ENABLESECONDACCOUNTINGSCHEMA, enableSecondAccountingSchema);
     public AcctSchema getSecondAccountingSchema() {
         return (AcctSchema) get(PROPERTY_SECONDACCOUNTINGSCHEMA);
     public void setSecondAccountingSchema(AcctSchema secondAccountingSchema) {
         set(PROPERTY_SECONDACCOUNTINGSCHEMA, secondAccountingSchema);
     public Boolean isEnableThirdAccountingSchema() {
     public void setEnableThirdAccountingSchema(Boolean enableThirdAccountingSchema) {
         set(PROPERTY_ENABLETHIRDACCOUNTINGSCHEMA, enableThirdAccountingSchema);
     public AcctSchema getThirdAccountingSchema() {
         return (AcctSchema) get(PROPERTY_THIRDACCOUNTINGSCHEMA);
     public void setThirdAccountingSchema(AcctSchema thirdAccountingSchema) {
         set(PROPERTY_THIRDACCOUNTINGSCHEMA, thirdAccountingSchema);
     public UOM getUOMForVolume() {
         return (UOM) get(PROPERTY_UOMFORVOLUME);
     public void setUOMForVolume(UOM uOMForVolume) {
         set(PROPERTY_UOMFORVOLUME, uOMForVolume);
     public UOM getUOMForWeight() {
         return (UOM) get(PROPERTY_UOMFORWEIGHT);
     public void setUOMForWeight(UOM uOMForWeight) {
         set(PROPERTY_UOMFORWEIGHT, uOMForWeight);
     public UOM getUOMForLength() {
         return (UOM) get(PROPERTY_UOMFORLENGTH);
     public void setUOMForLength(UOM uOMForLength) {
         set(PROPERTY_UOMFORLENGTH, uOMForLength);
     public UOM getUOMForTime() {
         return (UOM) get(PROPERTY_UOMFORTIME);
     public void setUOMForTime(UOM uOMForTime) {
         set(PROPERTY_UOMFORTIME, uOMForTime);
     public Tree getPrimaryTreeMenu() {
         return (Tree) get(PROPERTY_PRIMARYTREEMENU);
     public void setPrimaryTreeMenu(Tree primaryTreeMenu) {
         set(PROPERTY_PRIMARYTREEMENU, primaryTreeMenu);
     public Tree getPrimaryTreeOrganization() {
     public void setPrimaryTreeOrganization(Tree primaryTreeOrganization) {
         set(PROPERTY_PRIMARYTREEORGANIZATION, primaryTreeOrganization);
     public Tree getPrimaryTreeBPartner() {
         return (Tree) get(PROPERTY_PRIMARYTREEBPARTNER);
     public void setPrimaryTreeBPartner(Tree primaryTreeBPartner) {
         set(PROPERTY_PRIMARYTREEBPARTNER, primaryTreeBPartner);
     public Tree getPrimaryTreeProject() {
         return (Tree) get(PROPERTY_PRIMARYTREEPROJECT);
     public void setPrimaryTreeProject(Tree primaryTreeProject) {
         set(PROPERTY_PRIMARYTREEPROJECT, primaryTreeProject);
     public Tree getPrimaryTreeSalesRegion() {
     public void setPrimaryTreeSalesRegion(Tree primaryTreeSalesRegion) {
         set(PROPERTY_PRIMARYTREESALESREGION, primaryTreeSalesRegion);
     public Tree getPrimaryTreeProduct() {
         return (Tree) get(PROPERTY_PRIMARYTREEPRODUCT);
     public void setPrimaryTreeProduct(Tree primaryTreeProduct) {
         set(PROPERTY_PRIMARYTREEPRODUCT, primaryTreeProduct);
     public Product getProductForFreight() {
         return (Product) get(PROPERTY_PRODUCTFORFREIGHT);
     public void setProductForFreight(Product productForFreight) {
         set(PROPERTY_PRODUCTFORFREIGHT, productForFreight);
     public BusinessPartner getTemplateBPartner() {
         return (BusinessPartner) get(PROPERTY_TEMPLATEBPARTNER);
     public void setTemplateBPartner(BusinessPartner templateBPartner) {
         set(PROPERTY_TEMPLATEBPARTNER, templateBPartner);
     public PriceList getPriceList() {
         return (PriceList) get(PROPERTY_PRICELIST);
     public void setPriceList(PriceList priceList) {
         set(PROPERTY_PRICELIST, priceList);
     public Boolean isAllowNegativeStock() {
         return (Boolean) get(PROPERTY_ALLOWNEGATIVESTOCK);
     public void setAllowNegativeStock(Boolean allowNegativeStock) {
         set(PROPERTY_ALLOWNEGATIVESTOCK, allowNegativeStock);
     public Boolean isCheckOrderOrganization() {
         return (Boolean) get(PROPERTY_CHECKORDERORGANIZATION);
     public void setCheckOrderOrganization(Boolean checkOrderOrganization) {
         set(PROPERTY_CHECKORDERORGANIZATION, checkOrderOrganization);
     public Boolean isCheckShipmentOrganization() {
     public void setCheckShipmentOrganization(Boolean checkShipmentOrganization) {
         set(PROPERTY_CHECKSHIPMENTORGANIZATION, checkShipmentOrganization);
     public Boolean isGroupInvoiceLinesInAccounting() {
     public void setGroupInvoiceLinesInAccounting(Boolean groupInvoiceLinesInAccounting) {
         set(PROPERTY_GROUPINVOICELINESINACCOUNTING, groupInvoiceLinesInAccounting);
     public Image getYourCompanyMenuImage() {
         return (Image) get(PROPERTY_YOURCOMPANYMENUIMAGE);
     public void setYourCompanyMenuImage(Image yourCompanyMenuImage) {
         set(PROPERTY_YOURCOMPANYMENUIMAGE, yourCompanyMenuImage);
     public Image getYourCompanyBigImage() {
         return (Image) get(PROPERTY_YOURCOMPANYBIGIMAGE);
     public void setYourCompanyBigImage(Image yourCompanyBigImage) {
         set(PROPERTY_YOURCOMPANYBIGIMAGE, yourCompanyBigImage);
     public Image getYourCompanyDocumentImage() {
     public void setYourCompanyDocumentImage(Image yourCompanyDocumentImage) {
         set(PROPERTY_YOURCOMPANYDOCUMENTIMAGE, yourCompanyDocumentImage);
     public Tree getTreeCampaign() {
         return (Tree) get(PROPERTY_TREECAMPAIGN);
     public void setTreeCampaign(Tree treeCampaign) {
         set(PROPERTY_TREECAMPAIGN, treeCampaign);
     public Tree getPrimaryTreeAsset() {
         return (Tree) get(PROPERTY_PRIMARYTREEASSET);
     public void setPrimaryTreeAsset(Tree primaryTreeAsset) {
         set(PROPERTY_PRIMARYTREEASSET, primaryTreeAsset);
     public Tree getPrimaryTreeProductCategory() {
     public void setPrimaryTreeProductCategory(Tree primaryTreeProductCategory) {
         set(PROPERTY_PRIMARYTREEPRODUCTCATEGORY, primaryTreeProductCategory);
     public Tree getPrimaryTreeCostCenter() {
     public void setPrimaryTreeCostCenter(Tree primaryTreeCostCenter) {
         set(PROPERTY_PRIMARYTREECOSTCENTER, primaryTreeCostCenter);
     public Tree getPrimaryTreeResourceCategory() {
     public void setPrimaryTreeResourceCategory(Tree primaryTreeResourceCategory) {
         set(PROPERTY_PRIMARYTREERESOURCECATEGORY, primaryTreeResourceCategory);
     public Tree getPrimaryUserDimension1() {
         return (Tree) get(PROPERTY_PRIMARYUSERDIMENSION1);
     public void setPrimaryUserDimension1(Tree primaryUserDimension1) {
         set(PROPERTY_PRIMARYUSERDIMENSION1, primaryUserDimension1);
     public Tree getPrimaryUserDimension2() {
         return (Tree) get(PROPERTY_PRIMARYUSERDIMENSION2);
     public void setPrimaryUserDimension2(Tree primaryUserDimension2) {
         set(PROPERTY_PRIMARYUSERDIMENSION2, primaryUserDimension2);
     public Client getClient() {
         return (Client) get(PROPERTY_CLIENT);
     public void setClient(Client client) {
         set(PROPERTY_CLIENT, client);

Retrieved from ""

This page has been accessed 803 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.