Package org.compiere.model
Class X_C_Cash
java.lang.Object
org.compiere.model.PO
org.compiere.model.X_C_Cash
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_C_Cash
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MCash
Generated Model for C_Cash
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
DocAction AD_Reference_ID=135static final String
Approve = APstatic final String
Close = CLstatic final String
Complete = COstatic final String
Invalidate = INstatic final String
<None> = --static final String
Post = POstatic final String
Prepare = PRstatic final String
Re-activate = REstatic final String
Reject = RJstatic final String
Reverse - Accrual = RAstatic final String
Reverse - Correct = RCstatic final String
Unlock = XLstatic final String
Void = VOstatic final String
Wait Complete = WCstatic final int
DocStatus AD_Reference_ID=131static final String
Approved = APstatic final String
Closed = CLstatic final String
Completed = COstatic final String
Drafted = DRstatic final String
In Progress = IPstatic final String
Invalid = INstatic final String
Not Approved = NAstatic final String
Reversed = REstatic final String
Unknown = ??static final String
Voided = VOstatic final String
Waiting Confirmation = WCstatic final String
Waiting Payment = WPFields 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, LOCAL_TRX_PREFIX, log, p_ctx, p_info, UUID_NEW_RECORD, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
Fields inherited from interface org.compiere.model.I_C_Cash
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_OrgTrx_ID, COLUMNNAME_BeginningBalance, COLUMNNAME_C_Activity_ID, COLUMNNAME_C_Campaign_ID, COLUMNNAME_C_Cash_ID, COLUMNNAME_C_Cash_UU, COLUMNNAME_C_CashBook_ID, COLUMNNAME_C_Project_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_DateAcct, COLUMNNAME_Description, COLUMNNAME_DocAction, COLUMNNAME_DocStatus, COLUMNNAME_EndingBalance, COLUMNNAME_IsActive, COLUMNNAME_IsApproved, COLUMNNAME_Name, COLUMNNAME_Posted, COLUMNNAME_Processed, COLUMNNAME_ProcessedOn, COLUMNNAME_Processing, COLUMNNAME_StatementDate, COLUMNNAME_StatementDifference, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_User1_ID, COLUMNNAME_User2_ID, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_C_Cash
(Properties ctx, int C_Cash_ID, String trxName) Standard ConstructorX_C_Cash
(Properties ctx, int C_Cash_ID, String trxName, String... virtualColumns) Standard ConstructorX_C_Cash
(Properties ctx, String C_Cash_UU, String trxName) Standard ConstructorX_C_Cash
(Properties ctx, String C_Cash_UU, String trxName, String... virtualColumns) Standard ConstructorX_C_Cash
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Trx Organization.Get Beginning Balance.int
Get Activity.int
Get Campaign.int
Get Cash Journal.Get C_Cash_UU.int
Get Cash Book.int
Get Project.Get Account Date.Get Description.Get Document Action.Get Document Status.Get Ending balance.Get Record ID/ColumnNamegetName()
Get Name.Get Processed On.Get Statement date.Get Statement difference.getUser1()
int
Get User Element List 1.getUser2()
int
Get User Element List 2.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Approved.boolean
isPosted()
Get Posted.boolean
Get Processed.boolean
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_Cash_UU
(String C_Cash_UU) Set C_Cash_UU.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
Set Name.void
setPosted
(boolean Posted) Set Posted.void
setProcessed
(boolean Processed) Set Processed.void
setProcessedOn
(BigDecimal ProcessedOn) Set Processed On.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 Element List 1.void
setUser2_ID
(int User2_ID) Set User Element List 2.toString()
String representationMethods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, buildInsertSQL, checkImmutable, clearCrossTenantSafe, clone, columnExists, columnExists, compare, copyPO, copyValues, copyValues, createAttachment, delete, delete, delete_Accounting, delete_Tree, deleteEx, deleteEx, dump, dump, equals, get_Attribute, get_Attributes, 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_OptimisticLockingColumns, get_Table_ID, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_UUID, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getUUIDColumnName, getUUIDColumnName, hashCode, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_Immutable, is_new, is_UseOptimisticLocking, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadByUU, loadComplete, loadDefaults, loadPO, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveCrossTenantSafe, saveCrossTenantSafeEx, saveCrossTenantSafeEx, saveEx, saveEx, saveNew_afterSetID, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_Attribute, set_ColumnUpdateable, set_CustomColumn, set_CustomColumnReturningBoolean, set_OptimisticLockingColumns, set_TrxName, set_TrxName, set_UseOptimisticLocking, set_Value, set_Value, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, set_ValueOfColumnReturningBoolean, set_ValueOfColumnReturningBoolean, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setCrossTenantSafe, setDoc, setDocWorkflowMgr, setIsActive, setProcessedOn, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, toInsertSQL, unlock, update_Tree, validForeignKeys
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
Methods inherited from interface org.compiere.model.I_C_Cash
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActive
Methods inherited from interface org.compiere.model.I_Persistent
save
-
Field Details
-
DOCACTION_AD_Reference_ID
public static final int DOCACTION_AD_Reference_IDDocAction AD_Reference_ID=135- See Also:
-
DOCACTION_None
<None> = --- See Also:
-
DOCACTION_Approve
Approve = AP- See Also:
-
DOCACTION_Close
Close = CL- See Also:
-
DOCACTION_Complete
Complete = CO- See Also:
-
DOCACTION_Invalidate
Invalidate = IN- See Also:
-
DOCACTION_Post
Post = PO- See Also:
-
DOCACTION_Prepare
Prepare = PR- See Also:
-
DOCACTION_Reverse_Accrual
Reverse - Accrual = RA- See Also:
-
DOCACTION_Reverse_Correct
Reverse - Correct = RC- See Also:
-
DOCACTION_Re_Activate
Re-activate = RE- See Also:
-
DOCACTION_Reject
Reject = RJ- See Also:
-
DOCACTION_Void
Void = VO- See Also:
-
DOCACTION_WaitComplete
Wait Complete = WC- See Also:
-
DOCACTION_Unlock
Unlock = XL- See Also:
-
DOCSTATUS_AD_Reference_ID
public static final int DOCSTATUS_AD_Reference_IDDocStatus AD_Reference_ID=131- See Also:
-
DOCSTATUS_Unknown
Unknown = ??- See Also:
-
DOCSTATUS_Approved
Approved = AP- See Also:
-
DOCSTATUS_Closed
Closed = CL- See Also:
-
DOCSTATUS_Completed
Completed = CO- See Also:
-
DOCSTATUS_Drafted
Drafted = DR- See Also:
-
DOCSTATUS_Invalid
Invalid = IN- See Also:
-
DOCSTATUS_InProgress
In Progress = IP- See Also:
-
DOCSTATUS_NotApproved
Not Approved = NA- See Also:
-
DOCSTATUS_Reversed
Reversed = RE- See Also:
-
DOCSTATUS_Voided
Voided = VO- See Also:
-
DOCSTATUS_WaitingConfirmation
Waiting Confirmation = WC- See Also:
-
DOCSTATUS_WaitingPayment
Waiting Payment = WP- See Also:
-
-
Constructor Details
-
X_C_Cash
Standard Constructor -
X_C_Cash
Standard Constructor -
X_C_Cash
Standard Constructor -
X_C_Cash
Standard Constructor -
X_C_Cash
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 3 - Client - Org
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
setAD_OrgTrx_ID
public void setAD_OrgTrx_ID(int AD_OrgTrx_ID) Set Trx Organization.- Specified by:
setAD_OrgTrx_ID
in interfaceI_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 interfaceI_C_Cash
- Returns:
- Performing or initiating organization
-
setBeginningBalance
Set Beginning Balance.- Specified by:
setBeginningBalance
in interfaceI_C_Cash
- Parameters:
BeginningBalance
- Balance prior to any transactions
-
getBeginningBalance
Get Beginning Balance.- Specified by:
getBeginningBalance
in interfaceI_C_Cash
- Returns:
- Balance prior to any transactions
-
getC_Activity
- Specified by:
getC_Activity
in interfaceI_C_Cash
- Throws:
RuntimeException
-
setC_Activity_ID
public void setC_Activity_ID(int C_Activity_ID) Set Activity.- Specified by:
setC_Activity_ID
in interfaceI_C_Cash
- Parameters:
C_Activity_ID
- Business Activity
-
getC_Activity_ID
public int getC_Activity_ID()Get Activity.- Specified by:
getC_Activity_ID
in interfaceI_C_Cash
- Returns:
- Business Activity
-
getC_Campaign
- Specified by:
getC_Campaign
in interfaceI_C_Cash
- Throws:
RuntimeException
-
setC_Campaign_ID
public void setC_Campaign_ID(int C_Campaign_ID) Set Campaign.- Specified by:
setC_Campaign_ID
in interfaceI_C_Cash
- Parameters:
C_Campaign_ID
- Marketing Campaign
-
getC_Campaign_ID
public int getC_Campaign_ID()Get Campaign.- Specified by:
getC_Campaign_ID
in interfaceI_C_Cash
- Returns:
- Marketing Campaign
-
getC_CashBook
- Specified by:
getC_CashBook
in interfaceI_C_Cash
- Throws:
RuntimeException
-
setC_CashBook_ID
public void setC_CashBook_ID(int C_CashBook_ID) Set Cash Book.- Specified by:
setC_CashBook_ID
in interfaceI_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 interfaceI_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 interfaceI_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 interfaceI_C_Cash
- Returns:
- Cash Journal
-
setC_Cash_UU
Set C_Cash_UU.- Specified by:
setC_Cash_UU
in interfaceI_C_Cash
- Parameters:
C_Cash_UU
- C_Cash_UU
-
getC_Cash_UU
Get C_Cash_UU.- Specified by:
getC_Cash_UU
in interfaceI_C_Cash
- Returns:
- C_Cash_UU
-
getC_Project
- Specified by:
getC_Project
in interfaceI_C_Cash
- Throws:
RuntimeException
-
setC_Project_ID
public void setC_Project_ID(int C_Project_ID) Set Project.- Specified by:
setC_Project_ID
in interfaceI_C_Cash
- Parameters:
C_Project_ID
- Financial Project
-
getC_Project_ID
public int getC_Project_ID()Get Project.- Specified by:
getC_Project_ID
in interfaceI_C_Cash
- Returns:
- Financial Project
-
setDateAcct
Set Account Date.- Specified by:
setDateAcct
in interfaceI_C_Cash
- Parameters:
DateAcct
- Accounting Date
-
getDateAcct
Get Account Date.- Specified by:
getDateAcct
in interfaceI_C_Cash
- Returns:
- Accounting Date
-
setDescription
Set Description.- Specified by:
setDescription
in interfaceI_C_Cash
- Parameters:
Description
- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescription
in interfaceI_C_Cash
- Returns:
- Optional short description of the record
-
setDocAction
Set Document Action.- Specified by:
setDocAction
in interfaceI_C_Cash
- Parameters:
DocAction
- The targeted status of the document
-
getDocAction
Get Document Action.- Specified by:
getDocAction
in interfaceI_C_Cash
- Returns:
- The targeted status of the document
-
setDocStatus
Set Document Status.- Specified by:
setDocStatus
in interfaceI_C_Cash
- Parameters:
DocStatus
- The current status of the document
-
getDocStatus
Get Document Status.- Specified by:
getDocStatus
in interfaceI_C_Cash
- Returns:
- The current status of the document
-
setEndingBalance
Set Ending balance.- Specified by:
setEndingBalance
in interfaceI_C_Cash
- Parameters:
EndingBalance
- Ending or closing balance
-
getEndingBalance
Get Ending balance.- Specified by:
getEndingBalance
in interfaceI_C_Cash
- Returns:
- Ending or closing balance
-
setIsApproved
public void setIsApproved(boolean IsApproved) Set Approved.- Specified by:
setIsApproved
in interfaceI_C_Cash
- Parameters:
IsApproved
- Indicates if this document requires approval
-
isApproved
public boolean isApproved()Get Approved.- Specified by:
isApproved
in interfaceI_C_Cash
- Returns:
- Indicates if this document requires approval
-
setName
Set Name. -
getName
Get Name. -
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setPosted
public void setPosted(boolean Posted) Set Posted. -
isPosted
public boolean isPosted()Get Posted. -
setProcessed
public void setProcessed(boolean Processed) Set Processed.- Specified by:
setProcessed
in interfaceI_C_Cash
- Parameters:
Processed
- The document has been processed
-
isProcessed
public boolean isProcessed()Get Processed.- Specified by:
isProcessed
in interfaceI_C_Cash
- Returns:
- The document has been processed
-
setProcessedOn
Set Processed On.- Specified by:
setProcessedOn
in interfaceI_C_Cash
- Parameters:
ProcessedOn
- The date+time (expressed in decimal format) when the document has been processed
-
getProcessedOn
Get Processed On.- Specified by:
getProcessedOn
in interfaceI_C_Cash
- Returns:
- The date+time (expressed in decimal format) when the document has been processed
-
setProcessing
public void setProcessing(boolean Processing) Set Process Now.- Specified by:
setProcessing
in interfaceI_C_Cash
- Parameters:
Processing
- Process Now
-
isProcessing
public boolean isProcessing()Get Process Now.- Specified by:
isProcessing
in interfaceI_C_Cash
- Returns:
- Process Now
-
setStatementDate
Set Statement date.- Specified by:
setStatementDate
in interfaceI_C_Cash
- Parameters:
StatementDate
- Date of the statement
-
getStatementDate
Get Statement date.- Specified by:
getStatementDate
in interfaceI_C_Cash
- Returns:
- Date of the statement
-
setStatementDifference
Set Statement difference.- Specified by:
setStatementDifference
in interfaceI_C_Cash
- Parameters:
StatementDifference
- Difference between statement ending balance and actual ending balance
-
getStatementDifference
Get Statement difference.- Specified by:
getStatementDifference
in interfaceI_C_Cash
- Returns:
- Difference between statement ending balance and actual ending balance
-
getUser1
- Specified by:
getUser1
in interfaceI_C_Cash
- Throws:
RuntimeException
-
setUser1_ID
public void setUser1_ID(int User1_ID) Set User Element List 1.- Specified by:
setUser1_ID
in interfaceI_C_Cash
- Parameters:
User1_ID
- User defined list element #1
-
getUser1_ID
public int getUser1_ID()Get User Element List 1.- Specified by:
getUser1_ID
in interfaceI_C_Cash
- Returns:
- User defined list element #1
-
getUser2
- Specified by:
getUser2
in interfaceI_C_Cash
- Throws:
RuntimeException
-
setUser2_ID
public void setUser2_ID(int User2_ID) Set User Element List 2.- Specified by:
setUser2_ID
in interfaceI_C_Cash
- Parameters:
User2_ID
- User defined list element #2
-
getUser2_ID
public int getUser2_ID()Get User Element List 2.- Specified by:
getUser2_ID
in interfaceI_C_Cash
- Returns:
- User defined list element #2
-