Package org.compiere.acct
Class DocLine_Cash
- java.lang.Object
-
- org.compiere.acct.DocLine
-
- org.compiere.acct.DocLine_Cash
-
public class DocLine_Cash extends DocLine
Cash Journal Line- Version:
- $Id: DocLine_Cash.java,v 1.3 2006/07/30 00:53:33 jjanke Exp $
- Author:
- Jorg Janke
-
-
Field Summary
Fields Modifier and Type Field Description static String
CASHTYPE_CHARGE
Charge - Cstatic String
CASHTYPE_DIFFERENCE
Difference - Dstatic String
CASHTYPE_EXPENSE
Expense - Estatic String
CASHTYPE_INVOICE
Onvoice - Istatic String
CASHTYPE_RECEIPT
Receipt - Rstatic String
CASHTYPE_TRANSFER
Transfer - T
-
Constructor Summary
Constructors Constructor Description DocLine_Cash(MCashLine line, Doc_Cash doc)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimal
getAmount()
Get Amountint
getC_BankAccount_ID()
Get Bank Accountint
getC_Invoice_ID()
Get InvoiceString
getCashType()
Get Cash TypeBigDecimal
getDiscountAmt()
Get DiscountBigDecimal
getWriteOffAmt()
Get WriteOff-
Methods inherited from class org.compiere.acct.DocLine
get_ID, getAccount, getAccount, getAD_Org_ID, getAD_OrgTrx_ID, getAmtAcctCr, getAmtAcctDr, getAmtSource, getAmtSourceCr, getAmtSourceDr, getC_AcctSchema_ID, getC_Activity_ID, getC_BPartner_ID, getC_BPartner_Location_ID, getC_Campaign_ID, getC_Charge_ID, getC_ConversionType_ID, getC_Currency_ID, getC_LocFrom_ID, getC_LocTo_ID, getC_OrderLine_ID, getC_Period_ID, getC_Project_ID, getC_ProjectPhase_ID, getC_ProjectTask_ID, getC_RevenueRecognition_ID, getC_SalesRegion_ID, getC_Tax_ID, getC_UOM_ID, getChargeAccount, getChargeAmt, getCurrencyRate, getDateAcct, getDateConv, getDateDoc, getDescription, getDiscount, getLine, getListAmount, getM_AttributeSetInstance_ID, getM_Locator_ID, getM_LocatorTo_ID, getM_Product_ID, getM_Production_ID, getOrder_Org_ID, getPO, getPP_Cost_Collector_ID, getProduct, getProductCost, getProductCosts, getProductCosts, getQty, getReversalLine_ID, getUser1_ID, getUser2_ID, getValue, isItem, isProductionBOM, setAccount, setAmount, setAmount, setAmount, setC_BPartner_ID, setC_ConversionType_ID, setC_LocFrom_ID, setC_LocTo_ID, setC_Period_ID, setConvertedAmt, setCurrencyRate, setDateAcct, setDateDoc, setLineNetAmtDifference, setPP_Cost_Collector_ID, setProductionBOM, setQty, setReversalLine_ID, toString
-
-
-
-
Field Detail
-
CASHTYPE_CHARGE
public static final String CASHTYPE_CHARGE
Charge - C- See Also:
- Constant Field Values
-
CASHTYPE_DIFFERENCE
public static final String CASHTYPE_DIFFERENCE
Difference - D- See Also:
- Constant Field Values
-
CASHTYPE_EXPENSE
public static final String CASHTYPE_EXPENSE
Expense - E- See Also:
- Constant Field Values
-
CASHTYPE_INVOICE
public static final String CASHTYPE_INVOICE
Onvoice - I- See Also:
- Constant Field Values
-
CASHTYPE_RECEIPT
public static final String CASHTYPE_RECEIPT
Receipt - R- See Also:
- Constant Field Values
-
CASHTYPE_TRANSFER
public static final String CASHTYPE_TRANSFER
Transfer - T- See Also:
- Constant Field Values
-
-
Method Detail
-
getCashType
public String getCashType()
Get Cash Type- Returns:
- cash type
-
getC_BankAccount_ID
public int getC_BankAccount_ID()
Get Bank Account- Returns:
- Bank Account
-
getC_Invoice_ID
public int getC_Invoice_ID()
Get Invoice- Returns:
- C_Invoice_ID
-
getAmount
public BigDecimal getAmount()
Get Amount- Returns:
- Payment Amount
-
getDiscountAmt
public BigDecimal getDiscountAmt()
Get Discount- Returns:
- Discount Amount
-
getWriteOffAmt
public BigDecimal getWriteOffAmt()
Get WriteOff- Returns:
- Write-Off Amount
-
-