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 13 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCashType AD_Reference_ID=217static final StringBank Account Transfer = Tstatic final StringCharge = Cstatic final StringDifference = Dstatic final StringGeneral Expense = Estatic final StringGeneral Receipts = Rstatic final StringInvoice = 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_IDFields 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
ConstructorsConstructorDescriptionX_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 intAccessLevelGet Amount.Deprecated.intGet Bank Account.Deprecated.intGet Cash Journal.intGet Cash Journal Line.Get C_CashLine_UU.Deprecated.intGet Charge.Deprecated.intGet Currency.Deprecated.intGet Invoice.Deprecated.intGet Payment.Get Cash Type.Get Description.Get Discount Amount.Get Record ID/ColumnNameintgetLine()Get Line No.Get Write-off Amount.protected POInfoinitPO(Properties ctx) Load Meta DatabooleanGet Generated.booleanGet Processed.voidsetAmount(BigDecimal Amount) Set Amount.voidsetC_BankAccount_ID(int C_BankAccount_ID) Set Bank Account.voidsetC_Cash_ID(int C_Cash_ID) Set Cash Journal.voidsetC_CashLine_ID(int C_CashLine_ID) Set Cash Journal Line.voidsetC_CashLine_UU(String C_CashLine_UU) Set C_CashLine_UU.voidsetC_Charge_ID(int C_Charge_ID) Set Charge.voidsetC_Currency_ID(int C_Currency_ID) Set Currency.voidsetC_Invoice_ID(int C_Invoice_ID) Set Invoice.voidsetC_Payment_ID(int C_Payment_ID) Set Payment.voidsetCashType(String CashType) Set Cash Type.voidsetDescription(String Description) Set Description.voidsetDiscountAmt(BigDecimal DiscountAmt) Set Discount Amount.voidsetIsGenerated(boolean IsGenerated) Set Generated.voidsetLine(int Line) Set Line No.voidsetProcessed(boolean Processed) Set Processed.voidsetWriteOffAmt(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_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_CashLine
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
-
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_AccessLevelin classPO- Returns:
- 3 - Client - Org
-
initPO
Load Meta Data -
toString
Description copied from class:POString representation -
setAmount
Set Amount.- Specified by:
setAmountin interfaceI_C_CashLine- Parameters:
Amount- Amount in a defined currency
-
getAmount
Get Amount.- Specified by:
getAmountin interfaceI_C_CashLine- Returns:
- Amount in a defined currency
-
getC_BankAccount
Deprecated.- Specified by:
getC_BankAccountin interfaceI_C_CashLine- Throws:
RuntimeException
-
setC_BankAccount_ID
public void setC_BankAccount_ID(int C_BankAccount_ID) Set Bank Account.- Specified by:
setC_BankAccount_IDin 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_IDin interfaceI_C_CashLine- Returns:
- Account at the Bank
-
setC_CashLine_ID
public void setC_CashLine_ID(int C_CashLine_ID) Set Cash Journal Line.- Specified by:
setC_CashLine_IDin 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_IDin interfaceI_C_CashLine- Returns:
- Cash Journal Line
-
setC_CashLine_UU
Set C_CashLine_UU.- Specified by:
setC_CashLine_UUin interfaceI_C_CashLine- Parameters:
C_CashLine_UU- C_CashLine_UU
-
getC_CashLine_UU
Get C_CashLine_UU.- Specified by:
getC_CashLine_UUin interfaceI_C_CashLine- Returns:
- C_CashLine_UU
-
getC_Cash
Deprecated.- Specified by:
getC_Cashin interfaceI_C_CashLine- Throws:
RuntimeException
-
setC_Cash_ID
public void setC_Cash_ID(int C_Cash_ID) Set Cash Journal.- Specified by:
setC_Cash_IDin interfaceI_C_CashLine- Parameters:
C_Cash_ID- Cash Journal
-
getC_Cash_ID
public int getC_Cash_ID()Get Cash Journal.- Specified by:
getC_Cash_IDin interfaceI_C_CashLine- Returns:
- Cash Journal
-
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
getC_Charge
Deprecated.- Specified by:
getC_Chargein interfaceI_C_CashLine- Throws:
RuntimeException
-
setC_Charge_ID
public void setC_Charge_ID(int C_Charge_ID) Set Charge.- Specified by:
setC_Charge_IDin interfaceI_C_CashLine- Parameters:
C_Charge_ID- Additional document charges
-
getC_Charge_ID
public int getC_Charge_ID()Get Charge.- Specified by:
getC_Charge_IDin interfaceI_C_CashLine- Returns:
- Additional document charges
-
getC_Currency
Deprecated.- Specified by:
getC_Currencyin interfaceI_C_CashLine- Throws:
RuntimeException
-
setC_Currency_ID
public void setC_Currency_ID(int C_Currency_ID) Set Currency.- Specified by:
setC_Currency_IDin 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_IDin interfaceI_C_CashLine- Returns:
- The Currency for this record
-
getC_Invoice
Deprecated.- Specified by:
getC_Invoicein interfaceI_C_CashLine- Throws:
RuntimeException
-
setC_Invoice_ID
public void setC_Invoice_ID(int C_Invoice_ID) Set Invoice.- Specified by:
setC_Invoice_IDin interfaceI_C_CashLine- Parameters:
C_Invoice_ID- Invoice Identifier
-
getC_Invoice_ID
public int getC_Invoice_ID()Get Invoice.- Specified by:
getC_Invoice_IDin interfaceI_C_CashLine- Returns:
- Invoice Identifier
-
getC_Payment
Deprecated.- Specified by:
getC_Paymentin interfaceI_C_CashLine- Throws:
RuntimeException
-
setC_Payment_ID
public void setC_Payment_ID(int C_Payment_ID) Set Payment.- Specified by:
setC_Payment_IDin interfaceI_C_CashLine- Parameters:
C_Payment_ID- Payment identifier
-
getC_Payment_ID
public int getC_Payment_ID()Get Payment.- Specified by:
getC_Payment_IDin interfaceI_C_CashLine- Returns:
- Payment identifier
-
setCashType
Set Cash Type.- Specified by:
setCashTypein interfaceI_C_CashLine- Parameters:
CashType- Source of Cash
-
getCashType
Get Cash Type.- Specified by:
getCashTypein interfaceI_C_CashLine- Returns:
- Source of Cash
-
setDescription
Set Description.- Specified by:
setDescriptionin interfaceI_C_CashLine- Parameters:
Description- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescriptionin interfaceI_C_CashLine- Returns:
- Optional short description of the record
-
setDiscountAmt
Set Discount Amount.- Specified by:
setDiscountAmtin interfaceI_C_CashLine- Parameters:
DiscountAmt- Calculated amount of discount
-
getDiscountAmt
Get Discount Amount.- Specified by:
getDiscountAmtin interfaceI_C_CashLine- Returns:
- Calculated amount of discount
-
setIsGenerated
public void setIsGenerated(boolean IsGenerated) Set Generated.- Specified by:
setIsGeneratedin interfaceI_C_CashLine- Parameters:
IsGenerated- This Line is generated
-
isGenerated
public boolean isGenerated()Get Generated.- Specified by:
isGeneratedin interfaceI_C_CashLine- Returns:
- This Line is generated
-
setLine
public void setLine(int Line) Set Line No.- Specified by:
setLinein interfaceI_C_CashLine- Parameters:
Line- Unique line for this document
-
getLine
public int getLine()Get Line No.- Specified by:
getLinein interfaceI_C_CashLine- Returns:
- Unique line for this document
-
setProcessed
public void setProcessed(boolean Processed) Set Processed.- Specified by:
setProcessedin interfaceI_C_CashLine- Parameters:
Processed- The document has been processed
-
isProcessed
public boolean isProcessed()Get Processed.- Specified by:
isProcessedin interfaceI_C_CashLine- Returns:
- The document has been processed
-
setWriteOffAmt
Set Write-off Amount.- Specified by:
setWriteOffAmtin interfaceI_C_CashLine- Parameters:
WriteOffAmt- Amount to write-off
-
getWriteOffAmt
Get Write-off Amount.- Specified by:
getWriteOffAmtin interfaceI_C_CashLine- Returns:
- Amount to write-off
-