Package org.compiere.model
Class X_C_CashLine
java.lang.Object
org.compiere.model.PO
org.compiere.model.X_C_CashLine
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_C_CashLine
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MCashLine
Generated Model for C_CashLine
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
CashType AD_Reference_ID=217static final String
Bank Account Transfer = Tstatic final String
Charge = Cstatic final String
Difference = Dstatic final String
General Expense = Estatic final String
General Receipts = Rstatic final String
Invoice = IFields 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_CashLine
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_Amount, COLUMNNAME_C_BankAccount_ID, COLUMNNAME_C_Cash_ID, COLUMNNAME_C_CashLine_ID, COLUMNNAME_C_CashLine_UU, COLUMNNAME_C_Charge_ID, COLUMNNAME_C_Currency_ID, COLUMNNAME_C_Invoice_ID, COLUMNNAME_C_Payment_ID, COLUMNNAME_CashType, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_DiscountAmt, COLUMNNAME_IsActive, COLUMNNAME_IsGenerated, COLUMNNAME_Line, COLUMNNAME_Processed, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_WriteOffAmt, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_C_CashLine
(Properties ctx, int C_CashLine_ID, String trxName) Standard ConstructorX_C_CashLine
(Properties ctx, int C_CashLine_ID, String trxName, String... virtualColumns) Standard ConstructorX_C_CashLine
(Properties ctx, String C_CashLine_UU, String trxName) Standard ConstructorX_C_CashLine
(Properties ctx, String C_CashLine_UU, String trxName, String... virtualColumns) Standard ConstructorX_C_CashLine
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelGet Amount.int
Get Bank Account.int
Get Cash Journal.int
Get Cash Journal Line.Get C_CashLine_UU.int
Get Charge.int
Get Currency.int
Get Invoice.int
Get Payment.Get Cash Type.Get Description.Get Discount Amount.Get Record ID/ColumnNameint
getLine()
Get Line No.Get Write-off Amount.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Generated.boolean
Get Processed.void
setAmount
(BigDecimal Amount) Set Amount.void
setC_BankAccount_ID
(int C_BankAccount_ID) Set Bank Account.void
setC_Cash_ID
(int C_Cash_ID) Set Cash Journal.void
setC_CashLine_ID
(int C_CashLine_ID) Set Cash Journal Line.void
setC_CashLine_UU
(String C_CashLine_UU) Set C_CashLine_UU.void
setC_Charge_ID
(int C_Charge_ID) Set Charge.void
setC_Currency_ID
(int C_Currency_ID) Set Currency.void
setC_Invoice_ID
(int C_Invoice_ID) Set Invoice.void
setC_Payment_ID
(int C_Payment_ID) Set Payment.void
setCashType
(String CashType) Set Cash Type.void
setDescription
(String Description) Set Description.void
setDiscountAmt
(BigDecimal DiscountAmt) Set Discount Amount.void
setIsGenerated
(boolean IsGenerated) Set Generated.void
setLine
(int Line) Set Line No.void
setProcessed
(boolean Processed) Set Processed.void
setWriteOffAmt
(BigDecimal WriteOffAmt) Set Write-off Amount.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_CashLine
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
-
CASHTYPE_AD_Reference_ID
public static final int CASHTYPE_AD_Reference_IDCashType AD_Reference_ID=217- See Also:
-
CASHTYPE_Charge
Charge = C- See Also:
-
CASHTYPE_Difference
Difference = D- See Also:
-
CASHTYPE_GeneralExpense
General Expense = E- See Also:
-
CASHTYPE_Invoice
Invoice = I- See Also:
-
CASHTYPE_GeneralReceipts
General Receipts = R- See Also:
-
CASHTYPE_BankAccountTransfer
Bank Account Transfer = T- See Also:
-
-
Constructor Details
-
X_C_CashLine
Standard Constructor -
X_C_CashLine
Standard Constructor -
X_C_CashLine
Standard Constructor -
X_C_CashLine
Standard Constructor -
X_C_CashLine
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 -
setAmount
Set Amount.- Specified by:
setAmount
in interfaceI_C_CashLine
- Parameters:
Amount
- Amount in a defined currency
-
getAmount
Get Amount.- Specified by:
getAmount
in interfaceI_C_CashLine
- Returns:
- Amount in a defined currency
-
setCashType
Set Cash Type.- Specified by:
setCashType
in interfaceI_C_CashLine
- Parameters:
CashType
- Source of Cash
-
getCashType
Get Cash Type.- Specified by:
getCashType
in interfaceI_C_CashLine
- Returns:
- Source of Cash
-
getC_BankAccount
- Specified by:
getC_BankAccount
in interfaceI_C_CashLine
- Throws:
RuntimeException
-
setC_BankAccount_ID
public void setC_BankAccount_ID(int C_BankAccount_ID) Set Bank Account.- Specified by:
setC_BankAccount_ID
in interfaceI_C_CashLine
- Parameters:
C_BankAccount_ID
- Account at the Bank
-
getC_BankAccount_ID
public int getC_BankAccount_ID()Get Bank Account.- Specified by:
getC_BankAccount_ID
in interfaceI_C_CashLine
- Returns:
- Account at the Bank
-
getC_Cash
- Specified by:
getC_Cash
in interfaceI_C_CashLine
- Throws:
RuntimeException
-
setC_Cash_ID
public void setC_Cash_ID(int C_Cash_ID) Set Cash Journal.- Specified by:
setC_Cash_ID
in interfaceI_C_CashLine
- 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_CashLine
- Returns:
- Cash Journal
-
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setC_CashLine_ID
public void setC_CashLine_ID(int C_CashLine_ID) Set Cash Journal Line.- Specified by:
setC_CashLine_ID
in interfaceI_C_CashLine
- Parameters:
C_CashLine_ID
- Cash Journal Line
-
getC_CashLine_ID
public int getC_CashLine_ID()Get Cash Journal Line.- Specified by:
getC_CashLine_ID
in interfaceI_C_CashLine
- Returns:
- Cash Journal Line
-
setC_CashLine_UU
Set C_CashLine_UU.- Specified by:
setC_CashLine_UU
in interfaceI_C_CashLine
- Parameters:
C_CashLine_UU
- C_CashLine_UU
-
getC_CashLine_UU
Get C_CashLine_UU.- Specified by:
getC_CashLine_UU
in interfaceI_C_CashLine
- Returns:
- C_CashLine_UU
-
getC_Charge
- Specified by:
getC_Charge
in interfaceI_C_CashLine
- Throws:
RuntimeException
-
setC_Charge_ID
public void setC_Charge_ID(int C_Charge_ID) Set Charge.- Specified by:
setC_Charge_ID
in interfaceI_C_CashLine
- Parameters:
C_Charge_ID
- Additional document charges
-
getC_Charge_ID
public int getC_Charge_ID()Get Charge.- Specified by:
getC_Charge_ID
in interfaceI_C_CashLine
- Returns:
- Additional document charges
-
getC_Currency
- Specified by:
getC_Currency
in interfaceI_C_CashLine
- Throws:
RuntimeException
-
setC_Currency_ID
public void setC_Currency_ID(int C_Currency_ID) Set Currency.- Specified by:
setC_Currency_ID
in interfaceI_C_CashLine
- Parameters:
C_Currency_ID
- The Currency for this record
-
getC_Currency_ID
public int getC_Currency_ID()Get Currency.- Specified by:
getC_Currency_ID
in interfaceI_C_CashLine
- Returns:
- The Currency for this record
-
getC_Invoice
- Specified by:
getC_Invoice
in interfaceI_C_CashLine
- Throws:
RuntimeException
-
setC_Invoice_ID
public void setC_Invoice_ID(int C_Invoice_ID) Set Invoice.- Specified by:
setC_Invoice_ID
in interfaceI_C_CashLine
- Parameters:
C_Invoice_ID
- Invoice Identifier
-
getC_Invoice_ID
public int getC_Invoice_ID()Get Invoice.- Specified by:
getC_Invoice_ID
in interfaceI_C_CashLine
- Returns:
- Invoice Identifier
-
getC_Payment
- Specified by:
getC_Payment
in interfaceI_C_CashLine
- Throws:
RuntimeException
-
setC_Payment_ID
public void setC_Payment_ID(int C_Payment_ID) Set Payment.- Specified by:
setC_Payment_ID
in interfaceI_C_CashLine
- Parameters:
C_Payment_ID
- Payment identifier
-
getC_Payment_ID
public int getC_Payment_ID()Get Payment.- Specified by:
getC_Payment_ID
in interfaceI_C_CashLine
- Returns:
- Payment identifier
-
setDescription
Set Description.- Specified by:
setDescription
in interfaceI_C_CashLine
- Parameters:
Description
- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescription
in interfaceI_C_CashLine
- Returns:
- Optional short description of the record
-
setDiscountAmt
Set Discount Amount.- Specified by:
setDiscountAmt
in interfaceI_C_CashLine
- Parameters:
DiscountAmt
- Calculated amount of discount
-
getDiscountAmt
Get Discount Amount.- Specified by:
getDiscountAmt
in interfaceI_C_CashLine
- Returns:
- Calculated amount of discount
-
setIsGenerated
public void setIsGenerated(boolean IsGenerated) Set Generated.- Specified by:
setIsGenerated
in interfaceI_C_CashLine
- Parameters:
IsGenerated
- This Line is generated
-
isGenerated
public boolean isGenerated()Get Generated.- Specified by:
isGenerated
in interfaceI_C_CashLine
- Returns:
- This Line is generated
-
setLine
public void setLine(int Line) Set Line No.- Specified by:
setLine
in interfaceI_C_CashLine
- Parameters:
Line
- Unique line for this document
-
getLine
public int getLine()Get Line No.- Specified by:
getLine
in interfaceI_C_CashLine
- Returns:
- Unique line for this document
-
setProcessed
public void setProcessed(boolean Processed) Set Processed.- Specified by:
setProcessed
in interfaceI_C_CashLine
- Parameters:
Processed
- The document has been processed
-
isProcessed
public boolean isProcessed()Get Processed.- Specified by:
isProcessed
in interfaceI_C_CashLine
- Returns:
- The document has been processed
-
setWriteOffAmt
Set Write-off Amount.- Specified by:
setWriteOffAmt
in interfaceI_C_CashLine
- Parameters:
WriteOffAmt
- Amount to write-off
-
getWriteOffAmt
Get Write-off Amount.- Specified by:
getWriteOffAmt
in interfaceI_C_CashLine
- Returns:
- Amount to write-off
-