ERP/3.0/Developers Guide/Reference/Entity Model/DataImportBankStatement
DataImportBankStatement
Allows the bank statement import configuration and its execution
To the database table (I_BankStatement) of this entity.
Properties
Note:
- Properties marked with a * are part of the Id of the Entity.
- Properties marked with a # are part of the Identifier of the Entity.
Property | Column | Constraints | Type | Description |
id*# | I_BankStatement_ID | Mandatory Max Length: 32 | java.lang.String | Import of the Bank Statement |
client | AD_Client_ID | ADClient | A Client is a company or a legal entity. You cannot share data between Clients. | |
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. | |
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. |
processed | Processed | java.lang.Boolean | The Processed checkbox indicates that a document has been processed. | |
bankStatement | C_BankStatement_ID | FinancialMgmtBankStatement | The Bank Statement identifies a unique Bank Statement for a defined time period. The statement defines all transactions that occurred | |
transactionDate | StatementDate | java.util.Date | The Statement Date field defines the date of the statement being processed. | |
description | Description | Max Length: 255 | java.lang.String | A description is limited to 255 characters. |
bankAccount | C_BankAccount_ID | BankAccount | The Bank Account identifies an account at this Bank. | |
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. |
bankAccountNo | BankAccountNo | Max Length: 20 | java.lang.String | Bank Account Number |
documentNo | DocumentNo | Max Length: 30 | java.lang.String | The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". If the document type of your document has no automatic document sequence defined, the field will be empty when creating a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Document Sequence" window with the name "DocumentNo_<TableName>", where TableName is the actual name of the table inside the database (e.g. C_Order). |
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. | |
name | Name | 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. |
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. |
invoice | C_Invoice_ID | Invoice | The Invoice ID uniquely identifies an Invoice Document. | |
invoiceDocumentNo | InvoiceDocumentNo | Max Length: 30 | java.lang.String | Document Number of the Invoice |
charge | C_Charge_ID | FinancialMgmtGLCharge | The Charge indicates a type of Charge (Handling, Shipping, Restocking) | |
chargeName | ChargeName | Max Length: 60 | java.lang.String | Name of the Charge |
chargeAmount | ChargeAmt | java.math.BigDecimal | The Charge Amount indicates the amount for an additional charge. | |
bankStatementLine | C_BankStatementLine_ID | FinancialMgmtBankStatementLine | The Bank Statement Line identifies a unique transaction (Payment, Withdrawal, Charge) for the defined time period at this Bank. | |
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. | |
transactionType | TrxType | Max Length: 60 | java.lang.String | The Transaction Type indicates the type of transaction to be submitted to the Credit Card Company. |
referenceNo | ReferenceNo | Max Length: 40 | java.lang.String | The reference number can be printed on orders and invoices to allow your business partner to faster identify your records. |
memo | Memo | Max Length: 255 | java.lang.String | Memo Text |
effectiveDate | ValutaDate | java.util.Date | The Effective Date indicates the date that money is available from the bank. | |
reversal | IsReversal | java.lang.Boolean | The Reversal check box indicates if this is a reversal of a prior transaction. | |
interestAmount | InterestAmt | java.math.BigDecimal | The Interest Amount indicates any interest charged or received on a Bank Statement. | |
transactionAmount | TrxAmt | java.math.BigDecimal | The Transaction Amount indicates the amount for a single transaction. | |
lineDescription | LineDescription | Max Length: 255 | java.lang.String | An additional detail regarding one item or charge. |
statementAmount | StmtAmt | java.math.BigDecimal | The Statement Amount indicates the amount of a single statement line. | |
payment | C_Debt_Payment_ID | FinancialMgmtDebtPayment | Refers to the amount of money to be paid or collected. |
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.bank.BankAccount; import org.openbravo.model.common.businesspartner.BusinessPartner; import org.openbravo.model.common.enterprise.Organization; import org.openbravo.model.common.invoice.Invoice; import org.openbravo.model.financialmgmt.cashmgmt.BankStatementLine; import org.openbravo.model.financialmgmt.gl.GLCharge; import org.openbravo.model.financialmgmt.payment.DebtPayment; import java.lang.Boolean; import java.lang.Long; import java.lang.String; import java.math.BigDecimal; import java.util.Date; /** * Entity class for entity DataImportBankStatement (stored in table I_BankStatement). * * NOTE: This class should not be instantiated directly. To instantiate this * class the {@link org.openbravo.base.provider.OBProvider} should be used. */ public class BankStatement extends BaseOBObject implements Traceable, ClientEnabled, OrganizationEnabled, ActiveEnabled { private static final long serialVersionUID = 1L; public static final String TABLE_NAME = "I_BankStatement"; public static final String DataImportBankStatement = "DataImportBankStatement"; 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_IMPORTPROCESSCOMPLETE = "importProcessComplete"; public static final String PROPERTY_IMPORTERRORMESSAGE = "importErrorMessage"; public static final String PROPERTY_PROCESSED = "processed"; public static final String PROPERTY_BANKSTATEMENT = "bankStatement"; public static final String PROPERTY_TRANSACTIONDATE = "transactionDate"; public static final String PROPERTY_DESCRIPTION = "description"; public static final String PROPERTY_BANKACCOUNT = "bankAccount"; public static final String PROPERTY_ROUTINGNO = "routingNo"; public static final String PROPERTY_BANKACCOUNTNO = "bankAccountNo"; public static final String PROPERTY_DOCUMENTNO = "documentNo"; public static final String PROPERTY_BUSINESSPARTNER = "businessPartner"; public static final String PROPERTY_NAME = "name"; public static final String PROPERTY_BUSINESSPARTNERSEARCHKEY = "businessPartnerSearchKey"; public static final String PROPERTY_INVOICE = "invoice"; public static final String PROPERTY_INVOICEDOCUMENTNO = "invoiceDocumentNo"; public static final String PROPERTY_CHARGE = "charge"; public static final String PROPERTY_CHARGENAME = "chargeName"; public static final String PROPERTY_CHARGEAMOUNT = "chargeAmount"; public static final String PROPERTY_BANKSTATEMENTLINE = "bankStatementLine"; public static final String PROPERTY_LINENO = "lineNo"; public static final String PROPERTY_ACCOUNTINGDATE = "accountingDate"; public static final String PROPERTY_TRANSACTIONTYPE = "transactionType"; public static final String PROPERTY_REFERENCENO = "referenceNo"; public static final String PROPERTY_MEMO = "memo"; public static final String PROPERTY_EFFECTIVEDATE = "effectiveDate"; public static final String PROPERTY_REVERSAL = "reversal"; public static final String PROPERTY_INTERESTAMOUNT = "interestAmount"; public static final String PROPERTY_TRANSACTIONAMOUNT = "transactionAmount"; public static final String PROPERTY_LINEDESCRIPTION = "lineDescription"; public static final String PROPERTY_STATEMENTAMOUNT = "statementAmount"; public static final String PROPERTY_PAYMENT = "payment"; public BankStatement() { setDefaultValue(PROPERTY_ACTIVE, true); setDefaultValue(PROPERTY_IMPORTPROCESSCOMPLETE, false); setDefaultValue(PROPERTY_PROCESSED, false); setDefaultValue(PROPERTY_REVERSAL, false); } @Override public String getEntityName() { return DataImportBankStatement; } 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 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 isProcessed() { return (Boolean) get(PROPERTY_PROCESSED); } public void setProcessed(Boolean processed) { set(PROPERTY_PROCESSED, processed); } public org.openbravo.model.financialmgmt.cashmgmt.BankStatement getBankStatement() { return (org.openbravo.model.financialmgmt.cashmgmt.BankStatement) get(PROPERTY_BANKSTATEMENT); } public void setBankStatement( org.openbravo.model.financialmgmt.cashmgmt.BankStatement bankStatement) { set(PROPERTY_BANKSTATEMENT, bankStatement); } public Date getTransactionDate() { return (Date) get(PROPERTY_TRANSACTIONDATE); } public void setTransactionDate(Date transactionDate) { set(PROPERTY_TRANSACTIONDATE, transactionDate); } public String getDescription() { return (String) get(PROPERTY_DESCRIPTION); } public void setDescription(String description) { set(PROPERTY_DESCRIPTION, description); } public BankAccount getBankAccount() { return (BankAccount) get(PROPERTY_BANKACCOUNT); } public void setBankAccount(BankAccount bankAccount) { set(PROPERTY_BANKACCOUNT, bankAccount); } public String getRoutingNo() { return (String) get(PROPERTY_ROUTINGNO); } public void setRoutingNo(String routingNo) { set(PROPERTY_ROUTINGNO, routingNo); } public String getBankAccountNo() { return (String) get(PROPERTY_BANKACCOUNTNO); } public void setBankAccountNo(String bankAccountNo) { set(PROPERTY_BANKACCOUNTNO, bankAccountNo); } public String getDocumentNo() { return (String) get(PROPERTY_DOCUMENTNO); } public void setDocumentNo(String documentNo) { set(PROPERTY_DOCUMENTNO, documentNo); } public BusinessPartner getBusinessPartner() { return (BusinessPartner) get(PROPERTY_BUSINESSPARTNER); } public void setBusinessPartner(BusinessPartner businessPartner) { set(PROPERTY_BUSINESSPARTNER, businessPartner); } public String getName() { return (String) get(PROPERTY_NAME); } public void setName(String name) { set(PROPERTY_NAME, name); } public String getBusinessPartnerSearchKey() { return (String) get(PROPERTY_BUSINESSPARTNERSEARCHKEY); } public void setBusinessPartnerSearchKey(String businessPartnerSearchKey) { set(PROPERTY_BUSINESSPARTNERSEARCHKEY, businessPartnerSearchKey); } public Invoice getInvoice() { return (Invoice) get(PROPERTY_INVOICE); } public void setInvoice(Invoice invoice) { set(PROPERTY_INVOICE, invoice); } public String getInvoiceDocumentNo() { return (String) get(PROPERTY_INVOICEDOCUMENTNO); } public void setInvoiceDocumentNo(String invoiceDocumentNo) { set(PROPERTY_INVOICEDOCUMENTNO, invoiceDocumentNo); } public GLCharge getCharge() { return (GLCharge) get(PROPERTY_CHARGE); } public void setCharge(GLCharge charge) { set(PROPERTY_CHARGE, charge); } public String getChargeName() { return (String) get(PROPERTY_CHARGENAME); } public void setChargeName(String chargeName) { set(PROPERTY_CHARGENAME, chargeName); } public BigDecimal getChargeAmount() { return (BigDecimal) get(PROPERTY_CHARGEAMOUNT); } public void setChargeAmount(BigDecimal chargeAmount) { set(PROPERTY_CHARGEAMOUNT, chargeAmount); } public BankStatementLine getBankStatementLine() { return (BankStatementLine) get(PROPERTY_BANKSTATEMENTLINE); } public void setBankStatementLine(BankStatementLine bankStatementLine) { set(PROPERTY_BANKSTATEMENTLINE, bankStatementLine); } 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 getTransactionType() { return (String) get(PROPERTY_TRANSACTIONTYPE); } public void setTransactionType(String transactionType) { set(PROPERTY_TRANSACTIONTYPE, transactionType); } public String getReferenceNo() { return (String) get(PROPERTY_REFERENCENO); } public void setReferenceNo(String referenceNo) { set(PROPERTY_REFERENCENO, referenceNo); } public String getMemo() { return (String) get(PROPERTY_MEMO); } public void setMemo(String memo) { set(PROPERTY_MEMO, memo); } public Date getEffectiveDate() { return (Date) get(PROPERTY_EFFECTIVEDATE); } public void setEffectiveDate(Date effectiveDate) { set(PROPERTY_EFFECTIVEDATE, effectiveDate); } public Boolean isReversal() { return (Boolean) get(PROPERTY_REVERSAL); } public void setReversal(Boolean reversal) { set(PROPERTY_REVERSAL, reversal); } public BigDecimal getInterestAmount() { return (BigDecimal) get(PROPERTY_INTERESTAMOUNT); } public void setInterestAmount(BigDecimal interestAmount) { set(PROPERTY_INTERESTAMOUNT, interestAmount); } public BigDecimal getTransactionAmount() { return (BigDecimal) get(PROPERTY_TRANSACTIONAMOUNT); } public void setTransactionAmount(BigDecimal transactionAmount) { set(PROPERTY_TRANSACTIONAMOUNT, transactionAmount); } public String getLineDescription() { return (String) get(PROPERTY_LINEDESCRIPTION); } public void setLineDescription(String lineDescription) { set(PROPERTY_LINEDESCRIPTION, lineDescription); } public BigDecimal getStatementAmount() { return (BigDecimal) get(PROPERTY_STATEMENTAMOUNT); } public void setStatementAmount(BigDecimal statementAmount) { set(PROPERTY_STATEMENTAMOUNT, statementAmount); } public DebtPayment getPayment() { return (DebtPayment) get(PROPERTY_PAYMENT); } public void setPayment(DebtPayment payment) { set(PROPERTY_PAYMENT, payment); } }