Adempiere 3.5.2a

org.compiere.model
Class X_C_Cash

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_C_Cash
All Implemented Interfaces:
Serializable, Comparator, I_C_Cash, I_Persistent, Evaluatee
Direct Known Subclasses:
MCash

public class X_C_Cash
extends PO
implements I_C_Cash, I_Persistent

Generated Model for C_Cash

Version:
Release 3.5.2a - $Id$
Author:
Adempiere (generated)
See Also:
Serialized Form

Field Summary
static int AD_ORGTRX_ID_AD_Reference_ID
          AD_OrgTrx_ID AD_Reference_ID=130
static int DOCACTION_AD_Reference_ID
          DocAction AD_Reference_ID=135
static String DOCACTION_Approve
          Approve = AP
static String DOCACTION_Close
          Close = CL
static String DOCACTION_Complete
          Complete = CO
static String DOCACTION_Invalidate
          Invalidate = IN
static String DOCACTION_None
           = --
static String DOCACTION_Post
          Post = PO
static String DOCACTION_Prepare
          Prepare = PR
static String DOCACTION_Re_Activate
          Re-activate = RE
static String DOCACTION_Reject
          Reject = RJ
static String DOCACTION_Reverse_Accrual
          Reverse - Accrual = RA
static String DOCACTION_Reverse_Correct
          Reverse - Correct = RC
static String DOCACTION_Unlock
          Unlock = XL
static String DOCACTION_Void
          Void = VO
static String DOCACTION_WaitComplete
          Wait Complete = WC
static int DOCSTATUS_AD_Reference_ID
          DocStatus AD_Reference_ID=131
static String DOCSTATUS_Approved
          Approved = AP
static String DOCSTATUS_Closed
          Closed = CL
static String DOCSTATUS_Completed
          Completed = CO
static String DOCSTATUS_Drafted
          Drafted = DR
static String DOCSTATUS_InProgress
          In Progress = IP
static String DOCSTATUS_Invalid
          Invalid = IN
static String DOCSTATUS_NotApproved
          Not Approved = NA
static String DOCSTATUS_Reversed
          Reversed = RE
static String DOCSTATUS_Unknown
          Unknown = ??
static String DOCSTATUS_Voided
          Voided = VO
static String DOCSTATUS_WaitingConfirmation
          Waiting Confirmation = WC
static String DOCSTATUS_WaitingPayment
          Waiting Payment = WP
static int USER1_ID_AD_Reference_ID
          User1_ID AD_Reference_ID=134
static int USER2_ID_AD_Reference_ID
          User2_ID AD_Reference_ID=137
 
Fields inherited from class org.compiere.model.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
 
Fields inherited from interface org.compiere.model.I_C_Cash
accessLevel, COLUMNNAME_AD_OrgTrx_ID, COLUMNNAME_BeginningBalance, COLUMNNAME_C_Activity_ID, COLUMNNAME_C_Campaign_ID, COLUMNNAME_C_Cash_ID, COLUMNNAME_C_CashBook_ID, COLUMNNAME_C_Project_ID, COLUMNNAME_DateAcct, COLUMNNAME_Description, COLUMNNAME_DocAction, COLUMNNAME_DocStatus, COLUMNNAME_EndingBalance, COLUMNNAME_IsApproved, COLUMNNAME_Name, COLUMNNAME_Posted, COLUMNNAME_Processed, COLUMNNAME_Processing, COLUMNNAME_StatementDate, COLUMNNAME_StatementDifference, COLUMNNAME_User1_ID, COLUMNNAME_User2_ID, Model, Table_ID, Table_Name
 
Constructor Summary
X_C_Cash(Properties ctx, int C_Cash_ID, String trxName)
          Standard Constructor
X_C_Cash(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 int getAD_OrgTrx_ID()
          Get Trx Organization.
 BigDecimal getBeginningBalance()
          Get Beginning Balance.
 int getC_Activity_ID()
          Get Activity.
 I_C_Activity getC_Activity()
           
 int getC_Campaign_ID()
          Get Campaign.
 I_C_Campaign getC_Campaign()
           
 int getC_Cash_ID()
          Get Cash Journal.
 int getC_CashBook_ID()
          Get Cash Book.
 I_C_CashBook getC_CashBook()
           
 int getC_Project_ID()
          Get Project.
 I_C_Project getC_Project()
           
 Timestamp getDateAcct()
          Get Account Date.
 String getDescription()
          Get Description.
 String getDocAction()
          Get Document Action.
 String getDocStatus()
          Get Document Status.
 BigDecimal getEndingBalance()
          Get Ending balance.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 String getName()
          Get Name.
 Timestamp getStatementDate()
          Get Statement date.
 BigDecimal getStatementDifference()
          Get Statement difference.
 int getUser1_ID()
          Get User List 1.
 int getUser2_ID()
          Get User List 2.
protected  POInfo initPO(Properties ctx)
          Load Meta Data
 boolean isApproved()
          Get Approved.
 boolean isPosted()
          Get Posted.
 boolean isProcessed()
          Get Processed.
 boolean isProcessing()
          Get Process Now.
 void setAD_OrgTrx_ID(int AD_OrgTrx_ID)
          Set Trx Organization.
 void setBeginningBalance(BigDecimal BeginningBalance)
          Set Beginning Balance.
 void setC_Activity_ID(int C_Activity_ID)
          Set Activity.
 void setC_Campaign_ID(int C_Campaign_ID)
          Set Campaign.
 void setC_Cash_ID(int C_Cash_ID)
          Set Cash Journal.
 void setC_CashBook_ID(int C_CashBook_ID)
          Set Cash Book.
 void setC_Project_ID(int C_Project_ID)
          Set Project.
 void setDateAcct(Timestamp DateAcct)
          Set Account Date.
 void setDescription(String Description)
          Set Description.
 void setDocAction(String DocAction)
          Set Document Action.
 void setDocStatus(String DocStatus)
          Set Document Status.
 void setEndingBalance(BigDecimal EndingBalance)
          Set Ending balance.
 void setIsApproved(boolean IsApproved)
          Set Approved.
 void setName(String Name)
          Set Name.
 void setPosted(boolean Posted)
          Set Posted.
 void setProcessed(boolean Processed)
          Set Processed.
 void setProcessing(boolean Processing)
          Set Process Now.
 void setStatementDate(Timestamp StatementDate)
          Set Statement date.
 void setStatementDifference(BigDecimal StatementDifference)
          Set Statement difference.
 void setUser1_ID(int User1_ID)
          Set User List 1.
 void setUser2_ID(int User2_ID)
          Set User List 2.
 String toString()
          String representation
 
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, compare, copyValues, copyValues, createAttachment, delete_Accounting, delete_Tree, delete, delete, deleteEx, deleteEx, dump, dump, equals, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_HashMap, get_ID, get_IDOld, get_KeyColumns, get_Logger, get_Table_ID, get_TableName, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_new, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadComplete, loadDefaults, loadSpecial, lock, save, save, saveEx, saveEx, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_ColumnUpdateable, set_CustomColumn, set_TrxName, set_TrxName, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setDoc, setDocWorkflowMgr, setIsActive, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.compiere.model.I_Persistent
save
 

Field Detail

AD_ORGTRX_ID_AD_Reference_ID

public static final int AD_ORGTRX_ID_AD_Reference_ID
AD_OrgTrx_ID AD_Reference_ID=130

See Also:
Constant Field Values

DOCACTION_AD_Reference_ID

public static final int DOCACTION_AD_Reference_ID
DocAction AD_Reference_ID=135

See Also:
Constant Field Values

DOCACTION_Complete

public static final String DOCACTION_Complete
Complete = CO

See Also:
Constant Field Values

DOCACTION_Approve

public static final String DOCACTION_Approve
Approve = AP

See Also:
Constant Field Values

DOCACTION_Reject

public static final String DOCACTION_Reject
Reject = RJ

See Also:
Constant Field Values

DOCACTION_Post

public static final String DOCACTION_Post
Post = PO

See Also:
Constant Field Values

DOCACTION_Void

public static final String DOCACTION_Void
Void = VO

See Also:
Constant Field Values

DOCACTION_Close

public static final String DOCACTION_Close
Close = CL

See Also:
Constant Field Values

DOCACTION_Reverse_Correct

public static final String DOCACTION_Reverse_Correct
Reverse - Correct = RC

See Also:
Constant Field Values

DOCACTION_Reverse_Accrual

public static final String DOCACTION_Reverse_Accrual
Reverse - Accrual = RA

See Also:
Constant Field Values

DOCACTION_Invalidate

public static final String DOCACTION_Invalidate
Invalidate = IN

See Also:
Constant Field Values

DOCACTION_Re_Activate

public static final String DOCACTION_Re_Activate
Re-activate = RE

See Also:
Constant Field Values

DOCACTION_None

public static final String DOCACTION_None
= --

See Also:
Constant Field Values

DOCACTION_Prepare

public static final String DOCACTION_Prepare
Prepare = PR

See Also:
Constant Field Values

DOCACTION_Unlock

public static final String DOCACTION_Unlock
Unlock = XL

See Also:
Constant Field Values

DOCACTION_WaitComplete

public static final String DOCACTION_WaitComplete
Wait Complete = WC

See Also:
Constant Field Values

DOCSTATUS_AD_Reference_ID

public static final int DOCSTATUS_AD_Reference_ID
DocStatus AD_Reference_ID=131

See Also:
Constant Field Values

DOCSTATUS_Drafted

public static final String DOCSTATUS_Drafted
Drafted = DR

See Also:
Constant Field Values

DOCSTATUS_Completed

public static final String DOCSTATUS_Completed
Completed = CO

See Also:
Constant Field Values

DOCSTATUS_Approved

public static final String DOCSTATUS_Approved
Approved = AP

See Also:
Constant Field Values

DOCSTATUS_NotApproved

public static final String DOCSTATUS_NotApproved
Not Approved = NA

See Also:
Constant Field Values

DOCSTATUS_Voided

public static final String DOCSTATUS_Voided
Voided = VO

See Also:
Constant Field Values

DOCSTATUS_Invalid

public static final String DOCSTATUS_Invalid
Invalid = IN

See Also:
Constant Field Values

DOCSTATUS_Reversed

public static final String DOCSTATUS_Reversed
Reversed = RE

See Also:
Constant Field Values

DOCSTATUS_Closed

public static final String DOCSTATUS_Closed
Closed = CL

See Also:
Constant Field Values

DOCSTATUS_Unknown

public static final String DOCSTATUS_Unknown
Unknown = ??

See Also:
Constant Field Values

DOCSTATUS_InProgress

public static final String DOCSTATUS_InProgress
In Progress = IP

See Also:
Constant Field Values

DOCSTATUS_WaitingPayment

public static final String DOCSTATUS_WaitingPayment
Waiting Payment = WP

See Also:
Constant Field Values

DOCSTATUS_WaitingConfirmation

public static final String DOCSTATUS_WaitingConfirmation
Waiting Confirmation = WC

See Also:
Constant Field Values

USER1_ID_AD_Reference_ID

public static final int USER1_ID_AD_Reference_ID
User1_ID AD_Reference_ID=134

See Also:
Constant Field Values

USER2_ID_AD_Reference_ID

public static final int USER2_ID_AD_Reference_ID
User2_ID AD_Reference_ID=137

See Also:
Constant Field Values
Constructor Detail

X_C_Cash

public X_C_Cash(Properties ctx,
                int C_Cash_ID,
                String trxName)
Standard Constructor


X_C_Cash

public X_C_Cash(Properties ctx,
                ResultSet rs,
                String trxName)
Load Constructor

Method Detail

get_AccessLevel

protected int get_AccessLevel()
AccessLevel

Specified by:
get_AccessLevel in class PO
Returns:
3 - Client - Org

initPO

protected POInfo initPO(Properties ctx)
Load Meta Data

Specified by:
initPO in class PO
Parameters:
ctx - context
Returns:
POInfo

toString

public String toString()
Description copied from class: PO
String representation

Overrides:
toString in class PO
Returns:
String representation

setAD_OrgTrx_ID

public void setAD_OrgTrx_ID(int AD_OrgTrx_ID)
Set Trx Organization.

Specified by:
setAD_OrgTrx_ID in interface I_C_Cash
Parameters:
AD_OrgTrx_ID - Performing or initiating organization

getAD_OrgTrx_ID

public int getAD_OrgTrx_ID()
Get Trx Organization.

Specified by:
getAD_OrgTrx_ID in interface I_C_Cash
Returns:
Performing or initiating organization

setBeginningBalance

public void setBeginningBalance(BigDecimal BeginningBalance)
Set Beginning Balance.

Specified by:
setBeginningBalance in interface I_C_Cash
Parameters:
BeginningBalance - Balance prior to any transactions

getBeginningBalance

public BigDecimal getBeginningBalance()
Get Beginning Balance.

Specified by:
getBeginningBalance in interface I_C_Cash
Returns:
Balance prior to any transactions

getC_Activity

public I_C_Activity getC_Activity()
                           throws Exception
Specified by:
getC_Activity in interface I_C_Cash
Throws:
Exception

setC_Activity_ID

public void setC_Activity_ID(int C_Activity_ID)
Set Activity.

Specified by:
setC_Activity_ID in interface I_C_Cash
Parameters:
C_Activity_ID - Business Activity

getC_Activity_ID

public int getC_Activity_ID()
Get Activity.

Specified by:
getC_Activity_ID in interface I_C_Cash
Returns:
Business Activity

getC_Campaign

public I_C_Campaign getC_Campaign()
                           throws Exception
Specified by:
getC_Campaign in interface I_C_Cash
Throws:
Exception

setC_Campaign_ID

public void setC_Campaign_ID(int C_Campaign_ID)
Set Campaign.

Specified by:
setC_Campaign_ID in interface I_C_Cash
Parameters:
C_Campaign_ID - Marketing Campaign

getC_Campaign_ID

public int getC_Campaign_ID()
Get Campaign.

Specified by:
getC_Campaign_ID in interface I_C_Cash
Returns:
Marketing Campaign

getC_CashBook

public I_C_CashBook getC_CashBook()
                           throws Exception
Specified by:
getC_CashBook in interface I_C_Cash
Throws:
Exception

setC_CashBook_ID

public void setC_CashBook_ID(int C_CashBook_ID)
Set Cash Book.

Specified by:
setC_CashBook_ID in interface I_C_Cash
Parameters:
C_CashBook_ID - Cash Book for recording petty cash transactions

getC_CashBook_ID

public int getC_CashBook_ID()
Get Cash Book.

Specified by:
getC_CashBook_ID in interface I_C_Cash
Returns:
Cash Book for recording petty cash transactions

setC_Cash_ID

public void setC_Cash_ID(int C_Cash_ID)
Set Cash Journal.

Specified by:
setC_Cash_ID in interface I_C_Cash
Parameters:
C_Cash_ID - Cash Journal

getC_Cash_ID

public int getC_Cash_ID()
Get Cash Journal.

Specified by:
getC_Cash_ID in interface I_C_Cash
Returns:
Cash Journal

getC_Project

public I_C_Project getC_Project()
                         throws Exception
Specified by:
getC_Project in interface I_C_Cash
Throws:
Exception

setC_Project_ID

public void setC_Project_ID(int C_Project_ID)
Set Project.

Specified by:
setC_Project_ID in interface I_C_Cash
Parameters:
C_Project_ID - Financial Project

getC_Project_ID

public int getC_Project_ID()
Get Project.

Specified by:
getC_Project_ID in interface I_C_Cash
Returns:
Financial Project

setDateAcct

public void setDateAcct(Timestamp DateAcct)
Set Account Date.

Specified by:
setDateAcct in interface I_C_Cash
Parameters:
DateAcct - Accounting Date

getDateAcct

public Timestamp getDateAcct()
Get Account Date.

Specified by:
getDateAcct in interface I_C_Cash
Returns:
Accounting Date

setDescription

public void setDescription(String Description)
Set Description.

Specified by:
setDescription in interface I_C_Cash
Parameters:
Description - Optional short description of the record

getDescription

public String getDescription()
Get Description.

Specified by:
getDescription in interface I_C_Cash
Returns:
Optional short description of the record

setDocAction

public void setDocAction(String DocAction)
Set Document Action.

Specified by:
setDocAction in interface I_C_Cash
Parameters:
DocAction - The targeted status of the document

getDocAction

public String getDocAction()
Get Document Action.

Specified by:
getDocAction in interface I_C_Cash
Returns:
The targeted status of the document

setDocStatus

public void setDocStatus(String DocStatus)
Set Document Status.

Specified by:
setDocStatus in interface I_C_Cash
Parameters:
DocStatus - The current status of the document

getDocStatus

public String getDocStatus()
Get Document Status.

Specified by:
getDocStatus in interface I_C_Cash
Returns:
The current status of the document

setEndingBalance

public void setEndingBalance(BigDecimal EndingBalance)
Set Ending balance.

Specified by:
setEndingBalance in interface I_C_Cash
Parameters:
EndingBalance - Ending or closing balance

getEndingBalance

public BigDecimal getEndingBalance()
Get Ending balance.

Specified by:
getEndingBalance in interface I_C_Cash
Returns:
Ending or closing balance

setIsApproved

public void setIsApproved(boolean IsApproved)
Set Approved.

Specified by:
setIsApproved in interface I_C_Cash
Parameters:
IsApproved - Indicates if this document requires approval

isApproved

public boolean isApproved()
Get Approved.

Specified by:
isApproved in interface I_C_Cash
Returns:
Indicates if this document requires approval

setName

public void setName(String Name)
Set Name.

Specified by:
setName in interface I_C_Cash
Parameters:
Name - Alphanumeric identifier of the entity

getName

public String getName()
Get Name.

Specified by:
getName in interface I_C_Cash
Returns:
Alphanumeric identifier of the entity

getKeyNamePair

public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName

Returns:
ID/ColumnName pair

setPosted

public void setPosted(boolean Posted)
Set Posted.

Specified by:
setPosted in interface I_C_Cash
Parameters:
Posted - Posting status

isPosted

public boolean isPosted()
Get Posted.

Specified by:
isPosted in interface I_C_Cash
Returns:
Posting status

setProcessed

public void setProcessed(boolean Processed)
Set Processed.

Specified by:
setProcessed in interface I_C_Cash
Parameters:
Processed - The document has been processed

isProcessed

public boolean isProcessed()
Get Processed.

Specified by:
isProcessed in interface I_C_Cash
Returns:
The document has been processed

setProcessing

public void setProcessing(boolean Processing)
Set Process Now.

Specified by:
setProcessing in interface I_C_Cash
Parameters:
Processing - Process Now

isProcessing

public boolean isProcessing()
Get Process Now.

Specified by:
isProcessing in interface I_C_Cash
Returns:
Process Now

setStatementDate

public void setStatementDate(Timestamp StatementDate)
Set Statement date.

Specified by:
setStatementDate in interface I_C_Cash
Parameters:
StatementDate - Date of the statement

getStatementDate

public Timestamp getStatementDate()
Get Statement date.

Specified by:
getStatementDate in interface I_C_Cash
Returns:
Date of the statement

setStatementDifference

public void setStatementDifference(BigDecimal StatementDifference)
Set Statement difference.

Specified by:
setStatementDifference in interface I_C_Cash
Parameters:
StatementDifference - Difference between statement ending balance and actual ending balance

getStatementDifference

public BigDecimal getStatementDifference()
Get Statement difference.

Specified by:
getStatementDifference in interface I_C_Cash
Returns:
Difference between statement ending balance and actual ending balance

setUser1_ID

public void setUser1_ID(int User1_ID)
Set User List 1.

Specified by:
setUser1_ID in interface I_C_Cash
Parameters:
User1_ID - User defined list element #1

getUser1_ID

public int getUser1_ID()
Get User List 1.

Specified by:
getUser1_ID in interface I_C_Cash
Returns:
User defined list element #1

setUser2_ID

public void setUser2_ID(int User2_ID)
Set User List 2.

Specified by:
setUser2_ID in interface I_C_Cash
Parameters:
User2_ID - User defined list element #2

getUser2_ID

public int getUser2_ID()
Get User List 2.

Specified by:
getUser2_ID in interface I_C_Cash
Returns:
User defined list element #2

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.