View source | Discuss this page | Page history | Printable version   

ERP/3.0/Developers Guide/Reference/Entity Model/DataImportGLJournal

DataImportGLJournal

A new Journal Batch is created, if the Batch Document No is different. A new Journal is created, if the Document No, Accounting Schema, Currency, Document Type, GL Category, Posting Type or Accounting type is different.

Please note that there are three To the database table (I_GLJournal) of this entity. Back to the entity model.

Properties

Note:

Property Column Constraints Type Description
id*# I_GLJournal_ID Mandatory
Max Length: 32
java.lang.String Import General Ledger Journal
client AD_Client_ID ADClient A Client is a company or a legal entity. You cannot share data between Clients.
newClientIdentifier ClientValue Max Length: 40 java.lang.String New Client Identifier
documentOrg AD_OrgDoc_ID Organization Document Organization (independent from account organization)
active IsActive 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 java.util.Date The Created field indicates the date that this record was created.
createdBy CreatedBy ADUser The Created By field indicates the user who created this record.
updated Updated java.util.Date The Updated field indicates the date that this record was updated.
updatedBy UpdatedBy ADUser The Updated By field indicates the user who updated this record.
importProcessComplete I_IsImported java.lang.Boolean The Imported check box indicates if this import has been processed.
importErrorMessage I_ErrorMsg Max Length: 2000 java.lang.String The Import Error Message displays any error messages generated during the import process.
processNow Processing java.lang.Boolean When this field is set as 'Y' a process is being performed on this record.
processed Processed java.lang.Boolean The Processed checkbox indicates that a document has been processed.
journalBatch GL_JournalBatch_ID FinancialMgmtGLBatch The General Ledger Journal Batch identifies a group of journals to be processed as a group.
batchDocumentNo BatchDocumentNo Max Length: 30 java.lang.String Document Number of the Batch
batchDescription BatchDescription Max Length: 255 java.lang.String Description of the Batch
journalEntry GL_Journal_ID FinancialMgmtGLJournal The General Ledger Journal identifies a group of journal lines which represent a logical business transaction
journalDocumentNo JournalDocumentNo Max Length: 30 java.lang.String Document number of the Journal
postingType PostingType Max Length: 60 java.lang.String The Posting Type indicates the type of amount (Actual, Encumbrance, Budget) this journal updated.
accountingSchema C_AcctSchema_ID FinancialMgmtAcctSchema An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar
accountSchemaName AcctSchemaName Max Length: 60 java.lang.String Name of the Accounting Schema
documentType C_DocType_ID DocumentType The Document Type determines document sequence and processing rules
documentTypeName DocTypeName Max Length: 60 java.lang.String A value defining what sequence and process setup are used to handle this document.
gLCategory GL_Category_ID FinancialMgmtGLCategory The General Ledger Category is an optional, user defined method of grouping journal lines.
categoryName CategoryName Max Length: 60 java.lang.String Name of the Category
period C_Period_ID FinancialMgmtPeriod The Period indicates an exclusive range of dates for a calendar.
budget GL_Budget_ID Max Length: 22 java.lang.String The General Ledger Budget identifies a user defined budget. These can be used in reporting as a comparison against your actual amounts.
journalLine GL_JournalLine_ID FinancialMgmtGLJournalLine The General Ledger Journal Line identifies a single transaction in a journal.
lineNo Line java.lang.Long Indicates the unique line for a document. It will also control the display order of the lines within a document.
accountingDate DateAcct java.util.Date The date this transaction is recorded on in the general ledger. This date also indicates which accounting period within the fiscal year this transaction will be part of.
description Description Max Length: 255 java.lang.String A description is limited to 255 characters.
foreignCurrencyDebit AmtSourceDr java.math.BigDecimal The Source Debit Amount indicates the credit amount for this line in the source currency.
debit AmtAcctDr java.math.BigDecimal The Account Debit Amount indicates the transaction amount converted to this organization's accounting currency
foreignCurrencyCredit AmtSourceCr java.math.BigDecimal The Source Credit Amount indicates the credit amount for this line in the source currency.
credit AmtAcctCr java.math.BigDecimal The Account Credit Amount indicates the transaction amount converted to this organization's accounting currency
currency C_Currency_ID Currency Indicates the currency to be used when processing this document.
iSOCode ISO_Code Max Length: 3 java.lang.String For details - http://www.unece.org/trade/rec/rec09en.htm
currencyRateType CurrencyRateType Max Length: 60 java.lang.String The Conversion Rate Type indicates the type of rate to use when retrieving the conversion rate. It allows you to define multiple rates for the same to and from currency. For example you may have a set of rates used for daily transactions with a rate type of SPOT and rates for currency revaluation defined as REVAL.
rate CurrencyRate java.math.BigDecimal The Currency Conversion Rate indicates the rate to use when converting the source currency to the accounting currency
uOM C_UOM_ID UOM The UOM defines a unique non monetary unit of measure
quantity Qty java.math.BigDecimal The Quantity indicates the number of a specific product or item for this document.
accountingCombination C_ValidCombination_ID FinancialMgmtAccountingCombination The Combination identifies a valid combination of element which represent a GL account.
orgKey OrgValue Max Length: 40 java.lang.String Key of the Organization
organization AD_Org_ID Organization An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.
account Account_ID FinancialMgmtElementValue The (natural) account used
accountKey AccountValue Max Length: 40 java.lang.String Key of Account Element
trxOrganization AD_OrgTrx_ID Organization The organization which performs or initiates this transaction (for another organization). The owning Organization may not be the transaction organization in a service bureau environment, with centralized services, and inter-organization transactions.
trxOrgKey OrgTrxValue Max Length: 40 java.lang.String Key of the Transaction Organization
product M_Product_ID Product Identifies an item which is either purchased or sold in this organization.
productSearchKey ProductValue Max Length: 40 java.lang.String A fast method for finding an item.
uPCEAN UPC Max Length: 30 java.lang.String Use this field to enter the bar code for the product in any of the bar code symbologies (Codabar, Code 25, Code 39, Code 93, Code 128, UPC (A), UPC (E), EAN-13, EAN-8, ITF, ITF-14, ISBN, ISSN, JAN-13, JAN-8, POSTNET and FIM, MSI/Plessey, and Pharmacode)
sKU SKU Max Length: 30 java.lang.String The SKU indicates a user defined stock keeping unit. It may be used for an additional bar code symbols or your own schema.
businessPartner C_BPartner_ID BusinessPartner A Business Partner is anyone with whom you transact. This can include a customer, vendor, employee or any combination of these.
businessPartnerSearchKey BPartnerValue Max Length: 40 java.lang.String An abbreviated name (or a code) to help find a business partner. Usually, a company's internal identifier is entered here.
project C_Project_ID Project Identifier of a project defined within the Project & Service Management module.
projectKey ProjectValue Max Length: 40 java.lang.String Key of the Project
locationToAddress C_LocTo_ID Location The Location To indicates the location that a product was moved to.
locationFromAddress C_LocFrom_ID Location The Location From indicates the location that a product was moved from.
salesRegion C_SalesRegion_ID SalesRegion The Sales Region indicates a specific area of sales coverage.
activity C_Activity_ID MaterialMgmtABCActivity Activities indicate tasks that are performed and used to utilize Activity based Costing
salesCampaign C_Campaign_ID MarketingCampaign 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.
stDimension User1_ID Max Length: 22 java.lang.String The user defined element displays the optional elements that have been defined for this account combination.
ndDimension User2_ID Max Length: 22 java.lang.String The user defined element displays the optional elements that have been defined for this account combination.

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.dataimport;
 
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.businesspartner.BusinessPartner;
import org.openbravo.model.common.currency.Currency;
import org.openbravo.model.common.enterprise.DocumentType;
import org.openbravo.model.common.enterprise.Organization;
import org.openbravo.model.common.geography.Location;
import org.openbravo.model.common.plm.Product;
import org.openbravo.model.financialmgmt.accounting.coa.AccountingCombination;
import org.openbravo.model.financialmgmt.accounting.coa.AcctSchema;
import org.openbravo.model.financialmgmt.accounting.coa.ElementValue;
import org.openbravo.model.financialmgmt.calendar.Period;
import org.openbravo.model.financialmgmt.gl.GLBatch;
import org.openbravo.model.financialmgmt.gl.GLCategory;
import org.openbravo.model.financialmgmt.gl.GLJournalLine;
import org.openbravo.model.marketing.Campaign;
import org.openbravo.model.materialmgmt.cost.ABCActivity;
import org.openbravo.model.project.Project;
import org.openbravo.model.sales.SalesRegion;
 
import java.lang.Boolean;
import java.lang.Long;
import java.lang.String;
 
import java.math.BigDecimal;
 
import java.util.Date;
 
/**
 * Entity class for entity DataImportGLJournal (stored in table I_GLJournal).
 *
 * NOTE: This class should not be instantiated directly. To instantiate this
 * class the {@link org.openbravo.base.provider.OBProvider} should be used.
 */
public class GLJournal extends BaseOBObject implements Traceable, ClientEnabled,
    OrganizationEnabled, ActiveEnabled {
    private static final long serialVersionUID = 1L;
    public static final String TABLE_NAME = "I_GLJournal";
    public static final String DataImportGLJournal = "DataImportGLJournal";
    public static final String PROPERTY_ID = "id";
    public static final String PROPERTY_CLIENT = "client";
    public static final String PROPERTY_NEWCLIENTIDENTIFIER =
        "newClientIdentifier";
    public static final String PROPERTY_DOCUMENTORG = "documentOrg";
    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_IMPORTPROCESSCOMPLETE =
        "importProcessComplete";
    public static final String PROPERTY_IMPORTERRORMESSAGE =
        "importErrorMessage";
    public static final String PROPERTY_PROCESSNOW = "processNow";
    public static final String PROPERTY_PROCESSED = "processed";
    public static final String PROPERTY_JOURNALBATCH = "journalBatch";
    public static final String PROPERTY_BATCHDOCUMENTNO = "batchDocumentNo";
    public static final String PROPERTY_BATCHDESCRIPTION = "batchDescription";
    public static final String PROPERTY_JOURNALENTRY = "journalEntry";
    public static final String PROPERTY_JOURNALDOCUMENTNO = "journalDocumentNo";
    public static final String PROPERTY_POSTINGTYPE = "postingType";
    public static final String PROPERTY_ACCOUNTINGSCHEMA = "accountingSchema";
    public static final String PROPERTY_ACCOUNTSCHEMANAME = "accountSchemaName";
    public static final String PROPERTY_DOCUMENTTYPE = "documentType";
    public static final String PROPERTY_DOCUMENTTYPENAME = "documentTypeName";
    public static final String PROPERTY_GLCATEGORY = "gLCategory";
    public static final String PROPERTY_CATEGORYNAME = "categoryName";
    public static final String PROPERTY_PERIOD = "period";
    public static final String PROPERTY_BUDGET = "budget";
    public static final String PROPERTY_JOURNALLINE = "journalLine";
    public static final String PROPERTY_LINENO = "lineNo";
    public static final String PROPERTY_ACCOUNTINGDATE = "accountingDate";
    public static final String PROPERTY_DESCRIPTION = "description";
    public static final String PROPERTY_FOREIGNCURRENCYDEBIT =
        "foreignCurrencyDebit";
    public static final String PROPERTY_DEBIT = "debit";
    public static final String PROPERTY_FOREIGNCURRENCYCREDIT =
        "foreignCurrencyCredit";
    public static final String PROPERTY_CREDIT = "credit";
    public static final String PROPERTY_CURRENCY = "currency";
    public static final String PROPERTY_ISOCODE = "iSOCode";
    public static final String PROPERTY_CURRENCYRATETYPE = "currencyRateType";
    public static final String PROPERTY_RATE = "rate";
    public static final String PROPERTY_UOM = "uOM";
    public static final String PROPERTY_QUANTITY = "quantity";
    public static final String PROPERTY_ACCOUNTINGCOMBINATION =
        "accountingCombination";
    public static final String PROPERTY_ORGKEY = "orgKey";
    public static final String PROPERTY_ORGANIZATION = "organization";
    public static final String PROPERTY_ACCOUNT = "account";
    public static final String PROPERTY_ACCOUNTKEY = "accountKey";
    public static final String PROPERTY_TRXORGANIZATION = "trxOrganization";
    public static final String PROPERTY_TRXORGKEY = "trxOrgKey";
    public static final String PROPERTY_PRODUCT = "product";
    public static final String PROPERTY_PRODUCTSEARCHKEY = "productSearchKey";
    public static final String PROPERTY_UPCEAN = "uPCEAN";
    public static final String PROPERTY_SKU = "sKU";
    public static final String PROPERTY_BUSINESSPARTNER = "businessPartner";
    public static final String PROPERTY_BUSINESSPARTNERSEARCHKEY =
        "businessPartnerSearchKey";
    public static final String PROPERTY_PROJECT = "project";
    public static final String PROPERTY_PROJECTKEY = "projectKey";
    public static final String PROPERTY_LOCATIONTOADDRESS = "locationToAddress";
    public static final String PROPERTY_LOCATIONFROMADDRESS =
        "locationFromAddress";
    public static final String PROPERTY_SALESREGION = "salesRegion";
    public static final String PROPERTY_ACTIVITY = "activity";
    public static final String PROPERTY_SALESCAMPAIGN = "salesCampaign";
    public static final String PROPERTY_STDIMENSION = "stDimension";
    public static final String PROPERTY_NDDIMENSION = "ndDimension";
 
    public GLJournal() {
        setDefaultValue(PROPERTY_ACTIVE, true);
        setDefaultValue(PROPERTY_IMPORTPROCESSCOMPLETE, false);
        setDefaultValue(PROPERTY_PROCESSNOW, false);
        setDefaultValue(PROPERTY_PROCESSED, false);
    }
 
    @Override
    public String getEntityName() {
        return DataImportGLJournal;
    }
 
    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 String getNewClientIdentifier() {
        return (String) get(PROPERTY_NEWCLIENTIDENTIFIER);
    }
 
    public void setNewClientIdentifier(String newClientIdentifier) {
        set(PROPERTY_NEWCLIENTIDENTIFIER, newClientIdentifier);
    }
 
    public Organization getDocumentOrg() {
        return (Organization) get(PROPERTY_DOCUMENTORG);
    }
 
    public void setDocumentOrg(Organization documentOrg) {
        set(PROPERTY_DOCUMENTORG, documentOrg);
    }
 
    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 isImportProcessComplete() {
        return (Boolean) get(PROPERTY_IMPORTPROCESSCOMPLETE);
    }
 
    public void setImportProcessComplete(Boolean importProcessComplete) {
        set(PROPERTY_IMPORTPROCESSCOMPLETE, importProcessComplete);
    }
 
    public String getImportErrorMessage() {
        return (String) get(PROPERTY_IMPORTERRORMESSAGE);
    }
 
    public void setImportErrorMessage(String importErrorMessage) {
        set(PROPERTY_IMPORTERRORMESSAGE, importErrorMessage);
    }
 
    public Boolean isProcessNow() {
        return (Boolean) get(PROPERTY_PROCESSNOW);
    }
 
    public void setProcessNow(Boolean processNow) {
        set(PROPERTY_PROCESSNOW, processNow);
    }
 
    public Boolean isProcessed() {
        return (Boolean) get(PROPERTY_PROCESSED);
    }
 
    public void setProcessed(Boolean processed) {
        set(PROPERTY_PROCESSED, processed);
    }
 
    public GLBatch getJournalBatch() {
        return (GLBatch) get(PROPERTY_JOURNALBATCH);
    }
 
    public void setJournalBatch(GLBatch journalBatch) {
        set(PROPERTY_JOURNALBATCH, journalBatch);
    }
 
    public String getBatchDocumentNo() {
        return (String) get(PROPERTY_BATCHDOCUMENTNO);
    }
 
    public void setBatchDocumentNo(String batchDocumentNo) {
        set(PROPERTY_BATCHDOCUMENTNO, batchDocumentNo);
    }
 
    public String getBatchDescription() {
        return (String) get(PROPERTY_BATCHDESCRIPTION);
    }
 
    public void setBatchDescription(String batchDescription) {
        set(PROPERTY_BATCHDESCRIPTION, batchDescription);
    }
 
    public org.openbravo.model.financialmgmt.gl.GLJournal getJournalEntry() {
        return (org.openbravo.model.financialmgmt.gl.GLJournal) get(PROPERTY_JOURNALENTRY);
    }
 
    public void setJournalEntry(
        org.openbravo.model.financialmgmt.gl.GLJournal journalEntry) {
        set(PROPERTY_JOURNALENTRY, journalEntry);
    }
 
    public String getJournalDocumentNo() {
        return (String) get(PROPERTY_JOURNALDOCUMENTNO);
    }
 
    public void setJournalDocumentNo(String journalDocumentNo) {
        set(PROPERTY_JOURNALDOCUMENTNO, journalDocumentNo);
    }
 
    public String getPostingType() {
        return (String) get(PROPERTY_POSTINGTYPE);
    }
 
    public void setPostingType(String postingType) {
        set(PROPERTY_POSTINGTYPE, postingType);
    }
 
    public AcctSchema getAccountingSchema() {
        return (AcctSchema) get(PROPERTY_ACCOUNTINGSCHEMA);
    }
 
    public void setAccountingSchema(AcctSchema accountingSchema) {
        set(PROPERTY_ACCOUNTINGSCHEMA, accountingSchema);
    }
 
    public String getAccountSchemaName() {
        return (String) get(PROPERTY_ACCOUNTSCHEMANAME);
    }
 
    public void setAccountSchemaName(String accountSchemaName) {
        set(PROPERTY_ACCOUNTSCHEMANAME, accountSchemaName);
    }
 
    public DocumentType getDocumentType() {
        return (DocumentType) get(PROPERTY_DOCUMENTTYPE);
    }
 
    public void setDocumentType(DocumentType documentType) {
        set(PROPERTY_DOCUMENTTYPE, documentType);
    }
 
    public String getDocumentTypeName() {
        return (String) get(PROPERTY_DOCUMENTTYPENAME);
    }
 
    public void setDocumentTypeName(String documentTypeName) {
        set(PROPERTY_DOCUMENTTYPENAME, documentTypeName);
    }
 
    public GLCategory getGLCategory() {
        return (GLCategory) get(PROPERTY_GLCATEGORY);
    }
 
    public void setGLCategory(GLCategory gLCategory) {
        set(PROPERTY_GLCATEGORY, gLCategory);
    }
 
    public String getCategoryName() {
        return (String) get(PROPERTY_CATEGORYNAME);
    }
 
    public void setCategoryName(String categoryName) {
        set(PROPERTY_CATEGORYNAME, categoryName);
    }
 
    public Period getPeriod() {
        return (Period) get(PROPERTY_PERIOD);
    }
 
    public void setPeriod(Period period) {
        set(PROPERTY_PERIOD, period);
    }
 
    public String getBudget() {
        return (String) get(PROPERTY_BUDGET);
    }
 
    public void setBudget(String budget) {
        set(PROPERTY_BUDGET, budget);
    }
 
    public GLJournalLine getJournalLine() {
        return (GLJournalLine) get(PROPERTY_JOURNALLINE);
    }
 
    public void setJournalLine(GLJournalLine journalLine) {
        set(PROPERTY_JOURNALLINE, journalLine);
    }
 
    public Long getLineNo() {
        return (Long) get(PROPERTY_LINENO);
    }
 
    public void setLineNo(Long lineNo) {
        set(PROPERTY_LINENO, lineNo);
    }
 
    public Date getAccountingDate() {
        return (Date) get(PROPERTY_ACCOUNTINGDATE);
    }
 
    public void setAccountingDate(Date accountingDate) {
        set(PROPERTY_ACCOUNTINGDATE, accountingDate);
    }
 
    public String getDescription() {
        return (String) get(PROPERTY_DESCRIPTION);
    }
 
    public void setDescription(String description) {
        set(PROPERTY_DESCRIPTION, description);
    }
 
    public BigDecimal getForeignCurrencyDebit() {
        return (BigDecimal) get(PROPERTY_FOREIGNCURRENCYDEBIT);
    }
 
    public void setForeignCurrencyDebit(BigDecimal foreignCurrencyDebit) {
        set(PROPERTY_FOREIGNCURRENCYDEBIT, foreignCurrencyDebit);
    }
 
    public BigDecimal getDebit() {
        return (BigDecimal) get(PROPERTY_DEBIT);
    }
 
    public void setDebit(BigDecimal debit) {
        set(PROPERTY_DEBIT, debit);
    }
 
    public BigDecimal getForeignCurrencyCredit() {
        return (BigDecimal) get(PROPERTY_FOREIGNCURRENCYCREDIT);
    }
 
    public void setForeignCurrencyCredit(BigDecimal foreignCurrencyCredit) {
        set(PROPERTY_FOREIGNCURRENCYCREDIT, foreignCurrencyCredit);
    }
 
    public BigDecimal getCredit() {
        return (BigDecimal) get(PROPERTY_CREDIT);
    }
 
    public void setCredit(BigDecimal credit) {
        set(PROPERTY_CREDIT, credit);
    }
 
    public Currency getCurrency() {
        return (Currency) get(PROPERTY_CURRENCY);
    }
 
    public void setCurrency(Currency currency) {
        set(PROPERTY_CURRENCY, currency);
    }
 
    public String getISOCode() {
        return (String) get(PROPERTY_ISOCODE);
    }
 
    public void setISOCode(String iSOCode) {
        set(PROPERTY_ISOCODE, iSOCode);
    }
 
    public String getCurrencyRateType() {
        return (String) get(PROPERTY_CURRENCYRATETYPE);
    }
 
    public void setCurrencyRateType(String currencyRateType) {
        set(PROPERTY_CURRENCYRATETYPE, currencyRateType);
    }
 
    public BigDecimal getRate() {
        return (BigDecimal) get(PROPERTY_RATE);
    }
 
    public void setRate(BigDecimal rate) {
        set(PROPERTY_RATE, rate);
    }
 
    public org.openbravo.model.common.uom.UOM getUOM() {
        return (org.openbravo.model.common.uom.UOM) get(PROPERTY_UOM);
    }
 
    public void setUOM(org.openbravo.model.common.uom.UOM uOM) {
        set(PROPERTY_UOM, uOM);
    }
 
    public BigDecimal getQuantity() {
        return (BigDecimal) get(PROPERTY_QUANTITY);
    }
 
    public void setQuantity(BigDecimal quantity) {
        set(PROPERTY_QUANTITY, quantity);
    }
 
    public AccountingCombination getAccountingCombination() {
        return (AccountingCombination) get(PROPERTY_ACCOUNTINGCOMBINATION);
    }
 
    public void setAccountingCombination(
        AccountingCombination accountingCombination) {
        set(PROPERTY_ACCOUNTINGCOMBINATION, accountingCombination);
    }
 
    public String getOrgKey() {
        return (String) get(PROPERTY_ORGKEY);
    }
 
    public void setOrgKey(String orgKey) {
        set(PROPERTY_ORGKEY, orgKey);
    }
 
    public Organization getOrganization() {
        return (Organization) get(PROPERTY_ORGANIZATION);
    }
 
    public void setOrganization(Organization organization) {
        set(PROPERTY_ORGANIZATION, organization);
    }
 
    public ElementValue getAccount() {
        return (ElementValue) get(PROPERTY_ACCOUNT);
    }
 
    public void setAccount(ElementValue account) {
        set(PROPERTY_ACCOUNT, account);
    }
 
    public String getAccountKey() {
        return (String) get(PROPERTY_ACCOUNTKEY);
    }
 
    public void setAccountKey(String accountKey) {
        set(PROPERTY_ACCOUNTKEY, accountKey);
    }
 
    public Organization getTrxOrganization() {
        return (Organization) get(PROPERTY_TRXORGANIZATION);
    }
 
    public void setTrxOrganization(Organization trxOrganization) {
        set(PROPERTY_TRXORGANIZATION, trxOrganization);
    }
 
    public String getTrxOrgKey() {
        return (String) get(PROPERTY_TRXORGKEY);
    }
 
    public void setTrxOrgKey(String trxOrgKey) {
        set(PROPERTY_TRXORGKEY, trxOrgKey);
    }
 
    public Product getProduct() {
        return (Product) get(PROPERTY_PRODUCT);
    }
 
    public void setProduct(Product product) {
        set(PROPERTY_PRODUCT, product);
    }
 
    public String getProductSearchKey() {
        return (String) get(PROPERTY_PRODUCTSEARCHKEY);
    }
 
    public void setProductSearchKey(String productSearchKey) {
        set(PROPERTY_PRODUCTSEARCHKEY, productSearchKey);
    }
 
    public String getUPCEAN() {
        return (String) get(PROPERTY_UPCEAN);
    }
 
    public void setUPCEAN(String uPCEAN) {
        set(PROPERTY_UPCEAN, uPCEAN);
    }
 
    public String getSKU() {
        return (String) get(PROPERTY_SKU);
    }
 
    public void setSKU(String sKU) {
        set(PROPERTY_SKU, sKU);
    }
 
    public BusinessPartner getBusinessPartner() {
        return (BusinessPartner) get(PROPERTY_BUSINESSPARTNER);
    }
 
    public void setBusinessPartner(BusinessPartner businessPartner) {
        set(PROPERTY_BUSINESSPARTNER, businessPartner);
    }
 
    public String getBusinessPartnerSearchKey() {
        return (String) get(PROPERTY_BUSINESSPARTNERSEARCHKEY);
    }
 
    public void setBusinessPartnerSearchKey(String businessPartnerSearchKey) {
        set(PROPERTY_BUSINESSPARTNERSEARCHKEY, businessPartnerSearchKey);
    }
 
    public Project getProject() {
        return (Project) get(PROPERTY_PROJECT);
    }
 
    public void setProject(Project project) {
        set(PROPERTY_PROJECT, project);
    }
 
    public String getProjectKey() {
        return (String) get(PROPERTY_PROJECTKEY);
    }
 
    public void setProjectKey(String projectKey) {
        set(PROPERTY_PROJECTKEY, projectKey);
    }
 
    public Location getLocationToAddress() {
        return (Location) get(PROPERTY_LOCATIONTOADDRESS);
    }
 
    public void setLocationToAddress(Location locationToAddress) {
        set(PROPERTY_LOCATIONTOADDRESS, locationToAddress);
    }
 
    public Location getLocationFromAddress() {
        return (Location) get(PROPERTY_LOCATIONFROMADDRESS);
    }
 
    public void setLocationFromAddress(Location locationFromAddress) {
        set(PROPERTY_LOCATIONFROMADDRESS, locationFromAddress);
    }
 
    public SalesRegion getSalesRegion() {
        return (SalesRegion) get(PROPERTY_SALESREGION);
    }
 
    public void setSalesRegion(SalesRegion salesRegion) {
        set(PROPERTY_SALESREGION, salesRegion);
    }
 
    public ABCActivity getActivity() {
        return (ABCActivity) get(PROPERTY_ACTIVITY);
    }
 
    public void setActivity(ABCActivity activity) {
        set(PROPERTY_ACTIVITY, activity);
    }
 
    public Campaign getSalesCampaign() {
        return (Campaign) get(PROPERTY_SALESCAMPAIGN);
    }
 
    public void setSalesCampaign(Campaign salesCampaign) {
        set(PROPERTY_SALESCAMPAIGN, salesCampaign);
    }
 
    public String getStDimension() {
        return (String) get(PROPERTY_STDIMENSION);
    }
 
    public void setStDimension(String stDimension) {
        set(PROPERTY_STDIMENSION, stDimension);
    }
 
    public String getNdDimension() {
        return (String) get(PROPERTY_NDDIMENSION);
    }
 
    public void setNdDimension(String ndDimension) {
        set(PROPERTY_NDDIMENSION, ndDimension);
    }
}

Retrieved from "http://wiki.openbravo.com/wiki/ERP/3.0/Developers_Guide/Reference/Entity_Model/DataImportGLJournal"

This page has been accessed 1,068 times. This page was last modified on 15 April 2011, at 22:28. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.