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 13 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDocAction AD_Reference_ID=135static final StringApprove = APstatic final StringClose = CLstatic final StringComplete = COstatic final StringInvalidate = INstatic final String<None> = --static final StringPost = POstatic final StringPrepare = PRstatic final StringRe-activate = REstatic final StringReject = RJstatic final StringReverse - Accrual = RAstatic final StringReverse - Correct = RCstatic final StringUnlock = XLstatic final StringVoid = VOstatic final StringWait Complete = WCstatic final intDocStatus AD_Reference_ID=131static final StringApproved = APstatic final StringClosed = CLstatic final StringCompleted = COstatic final StringDrafted = DRstatic final StringIn Progress = IPstatic final StringInvalid = INstatic final StringNot Approved = NAstatic final StringReversed = REstatic final StringUnknown = ??static final StringVoided = VOstatic final StringWaiting Confirmation = WCstatic final StringWaiting 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_IDFields 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
ConstructorsConstructorDescriptionX_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 intAccessLevelintGet Trx Organization.Get Beginning Balance.Deprecated.intGet Activity.Deprecated.intGet Campaign.intGet Cash Journal.Get C_Cash_UU.Deprecated.intGet Cash Book.Deprecated.intGet 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()Deprecated.intGet User Element List 1.getUser2()Deprecated.intGet User Element List 2.protected POInfoinitPO(Properties ctx) Load Meta DatabooleanGet Approved.booleanisPosted()Get Posted.booleanGet Processed.booleanGet Process Now.voidsetAD_OrgTrx_ID(int AD_OrgTrx_ID) Set Trx Organization.voidsetBeginningBalance(BigDecimal BeginningBalance) Set Beginning Balance.voidsetC_Activity_ID(int C_Activity_ID) Set Activity.voidsetC_Campaign_ID(int C_Campaign_ID) Set Campaign.voidsetC_Cash_ID(int C_Cash_ID) Set Cash Journal.voidsetC_Cash_UU(String C_Cash_UU) Set C_Cash_UU.voidsetC_CashBook_ID(int C_CashBook_ID) Set Cash Book.voidsetC_Project_ID(int C_Project_ID) Set Project.voidsetDateAcct(Timestamp DateAcct) Set Account Date.voidsetDescription(String Description) Set Description.voidsetDocAction(String DocAction) Set Document Action.voidsetDocStatus(String DocStatus) Set Document Status.voidsetEndingBalance(BigDecimal EndingBalance) Set Ending balance.voidsetIsApproved(boolean IsApproved) Set Approved.voidSet Name.voidsetPosted(boolean Posted) Set Posted.voidsetProcessed(boolean Processed) Set Processed.voidsetProcessedOn(BigDecimal ProcessedOn) Set Processed On.voidsetProcessing(boolean Processing) Set Process Now.voidsetStatementDate(Timestamp StatementDate) Set Statement date.voidsetStatementDifference(BigDecimal StatementDifference) Set Statement difference.voidsetUser1_ID(int User1_ID) Set User Element List 1.voidsetUser2_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_TableAttribute, get_TableAttributeAsBoolean, get_TableAttributeAsInt, get_TableAttributes, 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, validForeignKeysExMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongMethods inherited from interface org.compiere.model.I_C_Cash
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActiveMethods 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_AccessLevelin classPO- Returns:
- 3 - Client - Org
-
initPO
Load Meta Data -
toString
Description copied from class:POString representation -
setAD_OrgTrx_ID
public void setAD_OrgTrx_ID(int AD_OrgTrx_ID) Set Trx Organization.- Specified by:
setAD_OrgTrx_IDin 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_IDin interfaceI_C_Cash- Returns:
- Performing or initiating organization
-
setBeginningBalance
Set Beginning Balance.- Specified by:
setBeginningBalancein interfaceI_C_Cash- Parameters:
BeginningBalance- Balance prior to any transactions
-
getBeginningBalance
Get Beginning Balance.- Specified by:
getBeginningBalancein interfaceI_C_Cash- Returns:
- Balance prior to any transactions
-
getC_Activity
Deprecated.- Specified by:
getC_Activityin interfaceI_C_Cash- Throws:
RuntimeException
-
setC_Activity_ID
public void setC_Activity_ID(int C_Activity_ID) Set Activity.- Specified by:
setC_Activity_IDin interfaceI_C_Cash- Parameters:
C_Activity_ID- Business Activity
-
getC_Activity_ID
public int getC_Activity_ID()Get Activity.- Specified by:
getC_Activity_IDin interfaceI_C_Cash- Returns:
- Business Activity
-
getC_Campaign
Deprecated.- Specified by:
getC_Campaignin interfaceI_C_Cash- Throws:
RuntimeException
-
setC_Campaign_ID
public void setC_Campaign_ID(int C_Campaign_ID) Set Campaign.- Specified by:
setC_Campaign_IDin interfaceI_C_Cash- Parameters:
C_Campaign_ID- Marketing Campaign
-
getC_Campaign_ID
public int getC_Campaign_ID()Get Campaign.- Specified by:
getC_Campaign_IDin interfaceI_C_Cash- Returns:
- Marketing Campaign
-
getC_CashBook
Deprecated.- Specified by:
getC_CashBookin interfaceI_C_Cash- Throws:
RuntimeException
-
setC_CashBook_ID
public void setC_CashBook_ID(int C_CashBook_ID) Set Cash Book.- Specified by:
setC_CashBook_IDin 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_IDin 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_IDin interfaceI_C_Cash- Parameters:
C_Cash_ID- Cash Journal
-
getC_Cash_ID
public int getC_Cash_ID()Get Cash Journal.- Specified by:
getC_Cash_IDin interfaceI_C_Cash- Returns:
- Cash Journal
-
setC_Cash_UU
Set C_Cash_UU.- Specified by:
setC_Cash_UUin interfaceI_C_Cash- Parameters:
C_Cash_UU- C_Cash_UU
-
getC_Cash_UU
Get C_Cash_UU.- Specified by:
getC_Cash_UUin interfaceI_C_Cash- Returns:
- C_Cash_UU
-
getC_Project
Deprecated.- Specified by:
getC_Projectin interfaceI_C_Cash- Throws:
RuntimeException
-
setC_Project_ID
public void setC_Project_ID(int C_Project_ID) Set Project.- Specified by:
setC_Project_IDin interfaceI_C_Cash- Parameters:
C_Project_ID- Financial Project
-
getC_Project_ID
public int getC_Project_ID()Get Project.- Specified by:
getC_Project_IDin interfaceI_C_Cash- Returns:
- Financial Project
-
setDateAcct
Set Account Date.- Specified by:
setDateAcctin interfaceI_C_Cash- Parameters:
DateAcct- Accounting Date
-
getDateAcct
Get Account Date.- Specified by:
getDateAcctin interfaceI_C_Cash- Returns:
- Accounting Date
-
setDescription
Set Description.- Specified by:
setDescriptionin interfaceI_C_Cash- Parameters:
Description- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescriptionin interfaceI_C_Cash- Returns:
- Optional short description of the record
-
setDocAction
Set Document Action.- Specified by:
setDocActionin interfaceI_C_Cash- Parameters:
DocAction- The targeted status of the document
-
getDocAction
Get Document Action.- Specified by:
getDocActionin interfaceI_C_Cash- Returns:
- The targeted status of the document
-
setDocStatus
Set Document Status.- Specified by:
setDocStatusin interfaceI_C_Cash- Parameters:
DocStatus- The current status of the document
-
getDocStatus
Get Document Status.- Specified by:
getDocStatusin interfaceI_C_Cash- Returns:
- The current status of the document
-
setEndingBalance
Set Ending balance.- Specified by:
setEndingBalancein interfaceI_C_Cash- Parameters:
EndingBalance- Ending or closing balance
-
getEndingBalance
Get Ending balance.- Specified by:
getEndingBalancein interfaceI_C_Cash- Returns:
- Ending or closing balance
-
setIsApproved
public void setIsApproved(boolean IsApproved) Set Approved.- Specified by:
setIsApprovedin interfaceI_C_Cash- Parameters:
IsApproved- Indicates if this document requires approval
-
isApproved
public boolean isApproved()Get Approved.- Specified by:
isApprovedin 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:
setProcessedin interfaceI_C_Cash- Parameters:
Processed- The document has been processed
-
isProcessed
public boolean isProcessed()Get Processed.- Specified by:
isProcessedin interfaceI_C_Cash- Returns:
- The document has been processed
-
setProcessedOn
Set Processed On.- Specified by:
setProcessedOnin interfaceI_C_Cash- Parameters:
ProcessedOn- The date+time (expressed in decimal format) when the document has been processed
-
getProcessedOn
Get Processed On.- Specified by:
getProcessedOnin 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:
setProcessingin interfaceI_C_Cash- Parameters:
Processing- Process Now
-
isProcessing
public boolean isProcessing()Get Process Now.- Specified by:
isProcessingin interfaceI_C_Cash- Returns:
- Process Now
-
setStatementDate
Set Statement date.- Specified by:
setStatementDatein interfaceI_C_Cash- Parameters:
StatementDate- Date of the statement
-
getStatementDate
Get Statement date.- Specified by:
getStatementDatein interfaceI_C_Cash- Returns:
- Date of the statement
-
setStatementDifference
Set Statement difference.- Specified by:
setStatementDifferencein interfaceI_C_Cash- Parameters:
StatementDifference- Difference between statement ending balance and actual ending balance
-
getStatementDifference
Get Statement difference.- Specified by:
getStatementDifferencein interfaceI_C_Cash- Returns:
- Difference between statement ending balance and actual ending balance
-
getUser1
Deprecated.- Specified by:
getUser1in interfaceI_C_Cash- Throws:
RuntimeException
-
setUser1_ID
public void setUser1_ID(int User1_ID) Set User Element List 1.- Specified by:
setUser1_IDin 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_IDin interfaceI_C_Cash- Returns:
- User defined list element #1
-
getUser2
Deprecated.- Specified by:
getUser2in interfaceI_C_Cash- Throws:
RuntimeException
-
setUser2_ID
public void setUser2_ID(int User2_ID) Set User Element List 2.- Specified by:
setUser2_IDin 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_IDin interfaceI_C_Cash- Returns:
- User defined list element #2
-