Class AcctSchemaElement
- java.lang.Object
-
- org.openbravo.base.structure.BaseOBObject
-
- org.openbravo.model.financialmgmt.accounting.coa.AcctSchemaElement
-
- All Implemented Interfaces:
Serializable
,BaseOBObjectDef
,OBNotSingleton
,OBProvidable
,ActiveEnabled
,ClientEnabled
,DynamicEnabled
,Identifiable
,OrganizationEnabled
,Traceable
public class AcctSchemaElement extends BaseOBObject implements Traceable, ClientEnabled, OrganizationEnabled, ActiveEnabled
Entity class for entity FinancialMgmtAcctSchemaElement (stored in table C_AcctSchema_Element).
Help: The Account Schema Element defines the elements that comprise the account key. A name is defined which will display in documents. Also the order of the elements and if they are balanced and mandatory are indicated.
NOTE: This class should not be instantiated directly. To instantiate this class theOBProvider
should be used.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ENTITY_NAME
static String
PROPERTY_ACCOUNTELEMENT
Property accountElement stored in column C_ElementValue_ID in table C_AcctSchema_Element
Help: Account Elements can be natural accounts or user defined values.static String
PROPERTY_ACCOUNTINGELEMENT
Property accountingElement stored in column C_Element_ID in table C_AcctSchema_Element
Help: The Account Tree uniquely identifies the Account Tree, also known as Chart of Accounts, linked to the Accounting Schema.static String
PROPERTY_ACCOUNTINGSCHEMA
Property accountingSchema stored in column C_AcctSchema_ID in table C_AcctSchema_Element
Help: The book containing all financial transactions recorded for the legal entity.static String
PROPERTY_ACTIVE
Property active stored in column IsActive in table C_AcctSchema_Elementstatic String
PROPERTY_ACTIVITY
Property activity stored in column C_Activity_ID in table C_AcctSchema_Element
Help: Activities indicate tasks that are performed and used to utilize Activity based Costingstatic String
PROPERTY_BALANCED
Property balanced stored in column IsBalanced in table C_AcctSchema_Element
Help: Needs to be balanced.static String
PROPERTY_BUSINESSPARTNER
Property businessPartner stored in column C_BPartner_ID in table C_AcctSchema_Element
Help: A Business Partner is anyone with whom you transact. This can include a customer, vendor, employee or any combination of these.static String
PROPERTY_CLIENT
Property client stored in column AD_Client_ID in table C_AcctSchema_Elementstatic String
PROPERTY_CREATEDBY
Property createdBy stored in column CreatedBy in table C_AcctSchema_Elementstatic String
PROPERTY_CREATIONDATE
Property creationDate stored in column Created in table C_AcctSchema_Elementstatic String
PROPERTY_ID
Property id stored in column C_AcctSchema_Element_ID in table C_AcctSchema_Elementstatic String
PROPERTY_LOCATIONADDRESS
Property locationAddress stored in column C_Location_ID in table C_AcctSchema_Element
Help: The Location / Address field defines the location of an entity.static String
PROPERTY_MANDATORY
Property mandatory stored in column IsMandatory in table C_AcctSchema_Element
Help: The Mandatory checkbox indicates if the field is required for a record to be save to the database.static String
PROPERTY_NAME
Property name stored in column Name in table C_AcctSchema_Elementstatic String
PROPERTY_ORGANIZATION
Property organization stored in column AD_Org_ID in table C_AcctSchema_Elementstatic String
PROPERTY_PRODUCT
Property product stored in column M_Product_ID in table C_AcctSchema_Element
Help: Identifies an item which is either purchased or sold in this organization.static String
PROPERTY_PROJECT
Property project stored in column C_Project_ID in table C_AcctSchema_Element
Help: Identifier of a project defined within the Project & Service Management module.static String
PROPERTY_SALESCAMPAIGN
Property salesCampaign stored in column C_Campaign_ID in table C_AcctSchema_Element
Help: 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.static String
PROPERTY_SALESREGION
Property salesRegion stored in column C_SalesRegion_ID in table C_AcctSchema_Element
Help: The Sales Region indicates a specific area of sales coverage.static String
PROPERTY_SEQUENCENUMBER
Property sequenceNumber stored in column SeqNo in table C_AcctSchema_Element
Help: The Sequence indicates the order of recordsstatic String
PROPERTY_TRXORGANIZATION
Property trxOrganization stored in column Org_ID in table C_AcctSchema_Element
Help: An organization is a unit of your client or legal entity - examples are store, department.static String
PROPERTY_TYPE
Property type stored in column ElementType in table C_AcctSchema_Element
Help: The Element Type indicates if this element is the Account element or is a User Defined element.static String
PROPERTY_UPDATED
Property updated stored in column Updated in table C_AcctSchema_Elementstatic String
PROPERTY_UPDATEDBY
Property updatedBy stored in column UpdatedBy in table C_AcctSchema_Elementstatic String
TABLE_NAME
-
Fields inherited from class org.openbravo.base.structure.BaseOBObject
ID
-
-
Constructor Summary
Constructors Constructor Description AcctSchemaElement()
-
Method Summary
-
Methods inherited from class org.openbravo.base.structure.BaseOBObject
checkDerivedReadable, get, get, get, getEntity, getIdentifier, getValue, isAllowRead, isNewOBObject, isOrgClientAccessCheckEnabled, isWriteAccessCheckEnabled, set, setAccessChecks, setAllowRead, setDefaultValue, setId, setNewOBObject, setValue, toString, validate
-
-
-
-
Field Detail
-
TABLE_NAME
public static final String TABLE_NAME
- See Also:
- Constant Field Values
-
ENTITY_NAME
public static final String ENTITY_NAME
- See Also:
- Constant Field Values
-
PROPERTY_ID
public static final String PROPERTY_ID
Property id stored in column C_AcctSchema_Element_ID in table C_AcctSchema_Element- See Also:
- Constant Field Values
-
PROPERTY_ACTIVE
public static final String PROPERTY_ACTIVE
Property active stored in column IsActive in table C_AcctSchema_Element- See Also:
ActiveEnabled
, Constant Field Values
-
PROPERTY_CREATIONDATE
public static final String PROPERTY_CREATIONDATE
Property creationDate stored in column Created in table C_AcctSchema_Element- See Also:
Traceable
, Constant Field Values
-
PROPERTY_CREATEDBY
public static final String PROPERTY_CREATEDBY
Property createdBy stored in column CreatedBy in table C_AcctSchema_Element- See Also:
Traceable
, Constant Field Values
-
PROPERTY_UPDATED
public static final String PROPERTY_UPDATED
Property updated stored in column Updated in table C_AcctSchema_Element- See Also:
Traceable
, Constant Field Values
-
PROPERTY_ORGANIZATION
public static final String PROPERTY_ORGANIZATION
Property organization stored in column AD_Org_ID in table C_AcctSchema_Element- See Also:
OrganizationEnabled
, Constant Field Values
-
PROPERTY_UPDATEDBY
public static final String PROPERTY_UPDATEDBY
Property updatedBy stored in column UpdatedBy in table C_AcctSchema_Element- See Also:
Traceable
, Constant Field Values
-
PROPERTY_ACCOUNTINGSCHEMA
public static final String PROPERTY_ACCOUNTINGSCHEMA
Property accountingSchema stored in column C_AcctSchema_ID in table C_AcctSchema_Element
Help: The book containing all financial transactions recorded for the legal entity.- See Also:
- Constant Field Values
-
PROPERTY_TYPE
public static final String PROPERTY_TYPE
Property type stored in column ElementType in table C_AcctSchema_Element
Help: The Element Type indicates if this element is the Account element or is a User Defined element.- See Also:
- Constant Field Values
-
PROPERTY_NAME
public static final String PROPERTY_NAME
Property name stored in column Name in table C_AcctSchema_Element- See Also:
- Constant Field Values
-
PROPERTY_SEQUENCENUMBER
public static final String PROPERTY_SEQUENCENUMBER
Property sequenceNumber stored in column SeqNo in table C_AcctSchema_Element
Help: The Sequence indicates the order of records- See Also:
- Constant Field Values
-
PROPERTY_ACCOUNTINGELEMENT
public static final String PROPERTY_ACCOUNTINGELEMENT
Property accountingElement stored in column C_Element_ID in table C_AcctSchema_Element
Help: The Account Tree uniquely identifies the Account Tree, also known as Chart of Accounts, linked to the Accounting Schema.- See Also:
- Constant Field Values
-
PROPERTY_CLIENT
public static final String PROPERTY_CLIENT
Property client stored in column AD_Client_ID in table C_AcctSchema_Element- See Also:
ClientEnabled
, Constant Field Values
-
PROPERTY_MANDATORY
public static final String PROPERTY_MANDATORY
Property mandatory stored in column IsMandatory in table C_AcctSchema_Element
Help: The Mandatory checkbox indicates if the field is required for a record to be save to the database.- See Also:
- Constant Field Values
-
PROPERTY_BALANCED
public static final String PROPERTY_BALANCED
Property balanced stored in column IsBalanced in table C_AcctSchema_Element
Help: Needs to be balanced.- See Also:
- Constant Field Values
-
PROPERTY_TRXORGANIZATION
public static final String PROPERTY_TRXORGANIZATION
Property trxOrganization stored in column Org_ID in table C_AcctSchema_Element
Help: An organization is a unit of your client or legal entity - examples are store, department.- See Also:
- Constant Field Values
-
PROPERTY_ACCOUNTELEMENT
public static final String PROPERTY_ACCOUNTELEMENT
Property accountElement stored in column C_ElementValue_ID in table C_AcctSchema_Element
Help: Account Elements can be natural accounts or user defined values.- See Also:
- Constant Field Values
-
PROPERTY_PRODUCT
public static final String PROPERTY_PRODUCT
Property product stored in column M_Product_ID in table C_AcctSchema_Element
Help: Identifies an item which is either purchased or sold in this organization.- See Also:
- Constant Field Values
-
PROPERTY_BUSINESSPARTNER
public static final String PROPERTY_BUSINESSPARTNER
Property businessPartner stored in column C_BPartner_ID in table C_AcctSchema_Element
Help: A Business Partner is anyone with whom you transact. This can include a customer, vendor, employee or any combination of these.- See Also:
- Constant Field Values
-
PROPERTY_LOCATIONADDRESS
public static final String PROPERTY_LOCATIONADDRESS
Property locationAddress stored in column C_Location_ID in table C_AcctSchema_Element
Help: The Location / Address field defines the location of an entity.- See Also:
- Constant Field Values
-
PROPERTY_SALESREGION
public static final String PROPERTY_SALESREGION
Property salesRegion stored in column C_SalesRegion_ID in table C_AcctSchema_Element
Help: The Sales Region indicates a specific area of sales coverage.- See Also:
- Constant Field Values
-
PROPERTY_PROJECT
public static final String PROPERTY_PROJECT
Property project stored in column C_Project_ID in table C_AcctSchema_Element
Help: Identifier of a project defined within the Project & Service Management module.- See Also:
- Constant Field Values
-
PROPERTY_SALESCAMPAIGN
public static final String PROPERTY_SALESCAMPAIGN
Property salesCampaign stored in column C_Campaign_ID in table C_AcctSchema_Element
Help: 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.- See Also:
- Constant Field Values
-
PROPERTY_ACTIVITY
public static final String PROPERTY_ACTIVITY
Property activity stored in column C_Activity_ID in table C_AcctSchema_Element
Help: Activities indicate tasks that are performed and used to utilize Activity based Costing- See Also:
- Constant Field Values
-
-
Method Detail
-
getEntityName
public String getEntityName()
- Specified by:
getEntityName
in interfaceIdentifiable
- Specified by:
getEntityName
in classBaseOBObject
-
getId
public String getId()
- Specified by:
getId
in interfaceBaseOBObjectDef
- Specified by:
getId
in interfaceIdentifiable
- Overrides:
getId
in classBaseOBObject
- See Also:
PROPERTY_ID
-
setId
public void setId(String id)
- See Also:
PROPERTY_ID
-
isActive
public Boolean isActive()
Description copied from interface:ActiveEnabled
Gets active field- Specified by:
isActive
in interfaceActiveEnabled
- Returns:
- active
- See Also:
PROPERTY_ACTIVE
-
setActive
public void setActive(Boolean active)
Description copied from interface:ActiveEnabled
Sets active field- Specified by:
setActive
in interfaceActiveEnabled
- See Also:
PROPERTY_ACTIVE
-
getCreationDate
public Date getCreationDate()
Description copied from interface:Traceable
Creation date of audit- Specified by:
getCreationDate
in interfaceTraceable
- Returns:
- Date of creation
- See Also:
PROPERTY_CREATIONDATE
-
setCreationDate
public void setCreationDate(Date creationDate)
Description copied from interface:Traceable
Creation date of audit- Specified by:
setCreationDate
in interfaceTraceable
- See Also:
PROPERTY_CREATIONDATE
-
getCreatedBy
public User getCreatedBy()
Description copied from interface:Traceable
Created by audit user- Specified by:
getCreatedBy
in interfaceTraceable
- Returns:
- User
- See Also:
PROPERTY_CREATEDBY
-
setCreatedBy
public void setCreatedBy(User createdBy)
Description copied from interface:Traceable
Created by audit user- Specified by:
setCreatedBy
in interfaceTraceable
- See Also:
PROPERTY_CREATEDBY
-
getUpdated
public Date getUpdated()
Description copied from interface:Traceable
Update date of audit- Specified by:
getUpdated
in interfaceTraceable
- Returns:
- Date of update
- See Also:
PROPERTY_UPDATED
-
setUpdated
public void setUpdated(Date updated)
Description copied from interface:Traceable
Update date of audit- Specified by:
setUpdated
in interfaceTraceable
- See Also:
PROPERTY_UPDATED
-
getOrganization
public Organization getOrganization()
Description copied from interface:OrganizationEnabled
Gets organization field- Specified by:
getOrganization
in interfaceOrganizationEnabled
- Returns:
- organization
- See Also:
PROPERTY_ORGANIZATION
-
setOrganization
public void setOrganization(Organization organization)
Description copied from interface:OrganizationEnabled
Sets organization field- Specified by:
setOrganization
in interfaceOrganizationEnabled
- See Also:
PROPERTY_ORGANIZATION
-
getUpdatedBy
public User getUpdatedBy()
Description copied from interface:Traceable
Update by audit user- Specified by:
getUpdatedBy
in interfaceTraceable
- Returns:
- User who updated
- See Also:
PROPERTY_UPDATEDBY
-
setUpdatedBy
public void setUpdatedBy(User updatedBy)
Description copied from interface:Traceable
Update by audit user- Specified by:
setUpdatedBy
in interfaceTraceable
- See Also:
PROPERTY_UPDATEDBY
-
getAccountingSchema
public AcctSchema getAccountingSchema()
- See Also:
PROPERTY_ACCOUNTINGSCHEMA
-
setAccountingSchema
public void setAccountingSchema(AcctSchema accountingSchema)
- See Also:
PROPERTY_ACCOUNTINGSCHEMA
-
getType
public String getType()
- See Also:
PROPERTY_TYPE
-
setType
public void setType(String type)
- See Also:
PROPERTY_TYPE
-
getName
public String getName()
- See Also:
PROPERTY_NAME
-
setName
public void setName(String name)
- See Also:
PROPERTY_NAME
-
getSequenceNumber
public Long getSequenceNumber()
- See Also:
PROPERTY_SEQUENCENUMBER
-
setSequenceNumber
public void setSequenceNumber(Long sequenceNumber)
- See Also:
PROPERTY_SEQUENCENUMBER
-
getAccountingElement
public Element getAccountingElement()
- See Also:
PROPERTY_ACCOUNTINGELEMENT
-
setAccountingElement
public void setAccountingElement(Element accountingElement)
- See Also:
PROPERTY_ACCOUNTINGELEMENT
-
getClient
public Client getClient()
Description copied from interface:ClientEnabled
Client field- Specified by:
getClient
in interfaceClientEnabled
- Returns:
- client
- See Also:
PROPERTY_CLIENT
-
setClient
public void setClient(Client client)
Description copied from interface:ClientEnabled
Client field- Specified by:
setClient
in interfaceClientEnabled
- See Also:
PROPERTY_CLIENT
-
isMandatory
public Boolean isMandatory()
- See Also:
PROPERTY_MANDATORY
-
setMandatory
public void setMandatory(Boolean mandatory)
- See Also:
PROPERTY_MANDATORY
-
isBalanced
public Boolean isBalanced()
- See Also:
PROPERTY_BALANCED
-
setBalanced
public void setBalanced(Boolean balanced)
- See Also:
PROPERTY_BALANCED
-
getTrxOrganization
public Organization getTrxOrganization()
- See Also:
PROPERTY_TRXORGANIZATION
-
setTrxOrganization
public void setTrxOrganization(Organization trxOrganization)
- See Also:
PROPERTY_TRXORGANIZATION
-
getAccountElement
public ElementValue getAccountElement()
- See Also:
PROPERTY_ACCOUNTELEMENT
-
setAccountElement
public void setAccountElement(ElementValue accountElement)
- See Also:
PROPERTY_ACCOUNTELEMENT
-
getProduct
public Product getProduct()
- See Also:
PROPERTY_PRODUCT
-
setProduct
public void setProduct(Product product)
- See Also:
PROPERTY_PRODUCT
-
getBusinessPartner
public BusinessPartner getBusinessPartner()
- See Also:
PROPERTY_BUSINESSPARTNER
-
setBusinessPartner
public void setBusinessPartner(BusinessPartner businessPartner)
- See Also:
PROPERTY_BUSINESSPARTNER
-
getLocationAddress
public Location getLocationAddress()
- See Also:
PROPERTY_LOCATIONADDRESS
-
setLocationAddress
public void setLocationAddress(Location locationAddress)
- See Also:
PROPERTY_LOCATIONADDRESS
-
getSalesRegion
public SalesRegion getSalesRegion()
- See Also:
PROPERTY_SALESREGION
-
setSalesRegion
public void setSalesRegion(SalesRegion salesRegion)
- See Also:
PROPERTY_SALESREGION
-
getProject
public Project getProject()
- See Also:
PROPERTY_PROJECT
-
setProject
public void setProject(Project project)
- See Also:
PROPERTY_PROJECT
-
getSalesCampaign
public Campaign getSalesCampaign()
- See Also:
PROPERTY_SALESCAMPAIGN
-
setSalesCampaign
public void setSalesCampaign(Campaign salesCampaign)
- See Also:
PROPERTY_SALESCAMPAIGN
-
getActivity
public ABCActivity getActivity()
- See Also:
PROPERTY_ACTIVITY
-
setActivity
public void setActivity(ABCActivity activity)
- See Also:
PROPERTY_ACTIVITY
-
-