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

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


The Accounting Schema Tab defines the controls used for accounting. Each Organization will select an Accounting Schema to use.

To the database table (C_AcctSchema) of this entity.



Property Column Constraints Type Description
id* C_AcctSchema_ID Mandatory
Max Length: 32
java.lang.String The book containing all financial transactions recorded for the legal entity.
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.
name# Name Mandatory
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.
description Description Max Length: 255
java.lang.String A description is limited to 255 characters.
gAAP GAAP Mandatory
Max Length: 60
java.lang.String The Accounting Standard identifies the account principles that this accounting schema will adhere to.
accrual IsAccrual java.lang.Boolean The Accrual checkbox indicates if this accounting schema will use accrual based account or cash based accounting. The Accrual method recognizes revenue when the product or service is delivered. Cash based method recognizes income when then payment is received.
costingMethod CostingMethod Max Length: 60
java.lang.String Indicates how costs will be calculated (Standard, Average) for valuation and accounting purposes.
currency C_Currency_ID Mandatory
Currency Indicates the currency to be used when processing this document.
automaticPeriodControl AutoPeriodControl java.lang.Boolean In the Automatic Period Control, periods are opened and closed based on the current date. If the Manual alternative is activated, you have to open and close periods explicitly.
period C_Period_ID FinancialMgmtPeriod The Period indicates an exclusive range of dates for a calendar.
historyDays Period_OpenHistory java.lang.Long If Automatic Period Control is enabled, the current period is calculated based on the system date and you can always post to all days in the current period. History Days enable to post to previous periods. E.g. today is May 15th and History Days is set to 30, you can post back to April 15th
futureDays Period_OpenFuture java.lang.Long If Automatic Period Control is enabled, the current period is calculated based on the system date and you can always post to all days in the current period. Future Days enable to post to future periods. E.g. today is Apr 15th and Future Days is set to 30, you can post up to May 15th
storageBinSeparator Separator Mandatory
Max Length: 1
java.lang.String The Element Separator defines the delimiter printed between elements of the structure
useAccountAlias HasAlias java.lang.Boolean The Alias checkbox indicates that account combination can be selected using a user defined alias or short key.
useAccountCombinationControl HasCombination java.lang.Boolean The Combination Control checkbox indicates if the combination of account elements will be verified against the defined acceptable combination.
postTradeDiscount IsTradeDiscountPosted java.lang.Boolean If the invoice is based on an item with a list price, the amount based on the list price and the discount is posted instead of the net amount.Example: Quantity 10 - List Price: 20 - Actual Price: 17If selected for a sales invoice 200 is posted to Produc
correctTaxForDiscountsCharges IsDiscountCorrectsTax java.lang.Boolean Payment discounts may require to correct the tax. This primarily applicable in VAT systems. If the original invoice had tax records, the payment discount, write-off, etc. is corrected by the tax. The calculation of the tax is prorated based on the invoice.
allowNegative Allownegative java.lang.Boolean Allow negative entries in credit and debit
centralMaintenance Iscentrallymaintained Mandatory
java.lang.Boolean The Centrally Maintained checkbox indicates if the Name, Description and Help maintained in 'System Element' table or 'Window' table.
assetPositive IsAssetPositive Mandatory
java.lang.Boolean Display assets as positive amounts
liabilityPositive IsLiabilityPositive Mandatory
java.lang.Boolean Display liabilities as positive amounts.
equityPositive IsEquityPositive Mandatory
java.lang.Boolean Display owner's equity as positive amounts.
revenuePositive IsRevenuePositive Mandatory
java.lang.Boolean Display revenues as positive amounts.
expensePositive IsExpensePositive Mandatory
java.lang.Boolean Display expenses as positive amounts.
financialMgmtAcctSchemaDefaultList FinancialMgmtAcctSchemaDefault
financialMgmtAcctSchemaElementList FinancialMgmtAcctSchemaElement
financialMgmtAcctSchemaGLList FinancialMgmtAcctSchemaGL

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-2019 Openbravo SLU
  * All Rights Reserved.
  * Contributor(s):  ______________________________________.
 package org.openbravo.model.financialmgmt.accounting.coa;
 import java.util.ArrayList;
 import java.util.Date;
 import java.util.List;
 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.currency.Currency;
 import org.openbravo.model.common.enterprise.Organization;
 import org.openbravo.model.financialmgmt.calendar.Period;
  * Entity class for entity FinancialMgmtAcctSchema (stored in table C_AcctSchema).
  * NOTE: This class should not be instantiated directly. To instantiate this
  * class the {@link org.openbravo.base.provider.OBProvider} should be used.
 public class AcctSchema extends BaseOBObject implements Traceable, ClientEnabled, OrganizationEnabled, ActiveEnabled {
     private static final long serialVersionUID = 1L;
     public static final String TABLE_NAME = "C_AcctSchema";
     public static final String ENTITY_NAME = "FinancialMgmtAcctSchema";
     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_NAME = "name";
     public static final String PROPERTY_DESCRIPTION = "description";
     public static final String PROPERTY_GAAP = "gAAP";
     public static final String PROPERTY_ACCRUAL = "accrual";
     public static final String PROPERTY_COSTINGMETHOD = "costingMethod";
     public static final String PROPERTY_CURRENCY = "currency";
     public static final String PROPERTY_AUTOMATICPERIODCONTROL = "automaticPeriodControl";
     public static final String PROPERTY_PERIOD = "period";
     public static final String PROPERTY_HISTORYDAYS = "historyDays";
     public static final String PROPERTY_FUTUREDAYS = "futureDays";
     public static final String PROPERTY_STORAGEBINSEPARATOR = "storageBinSeparator";
     public static final String PROPERTY_USEACCOUNTALIAS = "useAccountAlias";
     public static final String PROPERTY_USEACCOUNTCOMBINATIONCONTROL = "useAccountCombinationControl";
     public static final String PROPERTY_POSTTRADEDISCOUNT = "postTradeDiscount";
     public static final String PROPERTY_CORRECTTAXFORDISCOUNTSCHARGES = "correctTaxForDiscountsCharges";
     public static final String PROPERTY_ALLOWNEGATIVE = "allowNegative";
     public static final String PROPERTY_CENTRALMAINTENANCE = "centralMaintenance";
     public static final String PROPERTY_ASSETPOSITIVE = "assetPositive";
     public static final String PROPERTY_LIABILITYPOSITIVE = "liabilityPositive";
     public static final String PROPERTY_EQUITYPOSITIVE = "equityPositive";
     public static final String PROPERTY_REVENUEPOSITIVE = "revenuePositive";
     public static final String PROPERTY_EXPENSEPOSITIVE = "expensePositive";
     public static final String PROPERTY_FINANCIALMGMTACCTSCHEMADEFAULTLIST = "financialMgmtAcctSchemaDefaultList";
     public static final String PROPERTY_FINANCIALMGMTACCTSCHEMAELEMENTLIST = "financialMgmtAcctSchemaElementList";
     public static final String PROPERTY_FINANCIALMGMTACCTSCHEMAGLLIST = "financialMgmtAcctSchemaGLList";
     public AcctSchema() {
         setDefaultValue(PROPERTY_ACTIVE, true);
         setDefaultValue(PROPERTY_GAAP, "OT");
         setDefaultValue(PROPERTY_ACCRUAL, true);
         setDefaultValue(PROPERTY_AUTOMATICPERIODCONTROL, false);
         setDefaultValue(PROPERTY_STORAGEBINSEPARATOR, "-");
         setDefaultValue(PROPERTY_USEACCOUNTALIAS, false);
         setDefaultValue(PROPERTY_POSTTRADEDISCOUNT, false);
         setDefaultValue(PROPERTY_ALLOWNEGATIVE, false);
         setDefaultValue(PROPERTY_CENTRALMAINTENANCE, true);
         setDefaultValue(PROPERTY_ASSETPOSITIVE, true);
         setDefaultValue(PROPERTY_LIABILITYPOSITIVE, true);
         setDefaultValue(PROPERTY_EQUITYPOSITIVE, true);
         setDefaultValue(PROPERTY_REVENUEPOSITIVE, true);
         setDefaultValue(PROPERTY_EXPENSEPOSITIVE, true);
         setDefaultValue(PROPERTY_FINANCIALMGMTACCTSCHEMADEFAULTLIST, new ArrayList<Object>());
         setDefaultValue(PROPERTY_FINANCIALMGMTACCTSCHEMAELEMENTLIST, new ArrayList<Object>());
         setDefaultValue(PROPERTY_FINANCIALMGMTACCTSCHEMAGLLIST, new ArrayList<Object>());
     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 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 getName() {
         return (String) get(PROPERTY_NAME);
     public void setName(String name) {
         set(PROPERTY_NAME, name);
     public String getDescription() {
         return (String) get(PROPERTY_DESCRIPTION);
     public void setDescription(String description) {
         set(PROPERTY_DESCRIPTION, description);
     public String getGAAP() {
         return (String) get(PROPERTY_GAAP);
     public void setGAAP(String gAAP) {
         set(PROPERTY_GAAP, gAAP);
     public Boolean isAccrual() {
         return (Boolean) get(PROPERTY_ACCRUAL);
     public void setAccrual(Boolean accrual) {
         set(PROPERTY_ACCRUAL, accrual);
     public String getCostingMethod() {
         return (String) get(PROPERTY_COSTINGMETHOD);
     public void setCostingMethod(String costingMethod) {
         set(PROPERTY_COSTINGMETHOD, costingMethod);
     public Currency getCurrency() {
         return (Currency) get(PROPERTY_CURRENCY);
     public void setCurrency(Currency currency) {
         set(PROPERTY_CURRENCY, currency);
     public Boolean isAutomaticPeriodControl() {
         return (Boolean) get(PROPERTY_AUTOMATICPERIODCONTROL);
     public void setAutomaticPeriodControl(Boolean automaticPeriodControl) {
         set(PROPERTY_AUTOMATICPERIODCONTROL, automaticPeriodControl);
     public Period getPeriod() {
         return (Period) get(PROPERTY_PERIOD);
     public void setPeriod(Period period) {
         set(PROPERTY_PERIOD, period);
     public Long getHistoryDays() {
         return (Long) get(PROPERTY_HISTORYDAYS);
     public void setHistoryDays(Long historyDays) {
         set(PROPERTY_HISTORYDAYS, historyDays);
     public Long getFutureDays() {
         return (Long) get(PROPERTY_FUTUREDAYS);
     public void setFutureDays(Long futureDays) {
         set(PROPERTY_FUTUREDAYS, futureDays);
     public String getStorageBinSeparator() {
         return (String) get(PROPERTY_STORAGEBINSEPARATOR);
     public void setStorageBinSeparator(String storageBinSeparator) {
         set(PROPERTY_STORAGEBINSEPARATOR, storageBinSeparator);
     public Boolean isUseAccountAlias() {
         return (Boolean) get(PROPERTY_USEACCOUNTALIAS);
     public void setUseAccountAlias(Boolean useAccountAlias) {
         set(PROPERTY_USEACCOUNTALIAS, useAccountAlias);
     public Boolean isUseAccountCombinationControl() {
     public void setUseAccountCombinationControl(Boolean useAccountCombinationControl) {
         set(PROPERTY_USEACCOUNTCOMBINATIONCONTROL, useAccountCombinationControl);
     public Boolean isPostTradeDiscount() {
         return (Boolean) get(PROPERTY_POSTTRADEDISCOUNT);
     public void setPostTradeDiscount(Boolean postTradeDiscount) {
         set(PROPERTY_POSTTRADEDISCOUNT, postTradeDiscount);
     public Boolean isCorrectTaxForDiscountsCharges() {
     public void setCorrectTaxForDiscountsCharges(Boolean correctTaxForDiscountsCharges) {
         set(PROPERTY_CORRECTTAXFORDISCOUNTSCHARGES, correctTaxForDiscountsCharges);
     public Boolean isAllowNegative() {
         return (Boolean) get(PROPERTY_ALLOWNEGATIVE);
     public void setAllowNegative(Boolean allowNegative) {
         set(PROPERTY_ALLOWNEGATIVE, allowNegative);
     public Boolean isCentralMaintenance() {
         return (Boolean) get(PROPERTY_CENTRALMAINTENANCE);
     public void setCentralMaintenance(Boolean centralMaintenance) {
         set(PROPERTY_CENTRALMAINTENANCE, centralMaintenance);
     public Boolean isAssetPositive() {
         return (Boolean) get(PROPERTY_ASSETPOSITIVE);
     public void setAssetPositive(Boolean assetPositive) {
         set(PROPERTY_ASSETPOSITIVE, assetPositive);
     public Boolean isLiabilityPositive() {
         return (Boolean) get(PROPERTY_LIABILITYPOSITIVE);
     public void setLiabilityPositive(Boolean liabilityPositive) {
         set(PROPERTY_LIABILITYPOSITIVE, liabilityPositive);
     public Boolean isEquityPositive() {
         return (Boolean) get(PROPERTY_EQUITYPOSITIVE);
     public void setEquityPositive(Boolean equityPositive) {
         set(PROPERTY_EQUITYPOSITIVE, equityPositive);
     public Boolean isRevenuePositive() {
         return (Boolean) get(PROPERTY_REVENUEPOSITIVE);
     public void setRevenuePositive(Boolean revenuePositive) {
         set(PROPERTY_REVENUEPOSITIVE, revenuePositive);
     public Boolean isExpensePositive() {
         return (Boolean) get(PROPERTY_EXPENSEPOSITIVE);
     public void setExpensePositive(Boolean expensePositive) {
         set(PROPERTY_EXPENSEPOSITIVE, expensePositive);
     public List<AcctSchemaDefault> getFinancialMgmtAcctSchemaDefaultList() {
     public void setFinancialMgmtAcctSchemaDefaultList(List<AcctSchemaDefault> financialMgmtAcctSchemaDefaultList) {
         set(PROPERTY_FINANCIALMGMTACCTSCHEMADEFAULTLIST, financialMgmtAcctSchemaDefaultList);
     public List<AcctSchemaElement> getFinancialMgmtAcctSchemaElementList() {
     public void setFinancialMgmtAcctSchemaElementList(List<AcctSchemaElement> financialMgmtAcctSchemaElementList) {
         set(PROPERTY_FINANCIALMGMTACCTSCHEMAELEMENTLIST, financialMgmtAcctSchemaElementList);
     public List<AcctSchemaGL> getFinancialMgmtAcctSchemaGLList() {
     public void setFinancialMgmtAcctSchemaGLList(List<AcctSchemaGL> financialMgmtAcctSchemaGLList) {

Retrieved from ""

This page has been accessed 1,454 times. This page was last modified on 8 July 2019, at 01:48. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.