Package org.compiere.acct
Class DocLine_Allocation
- java.lang.Object
-
- org.compiere.acct.DocLine
-
- org.compiere.acct.DocLine_Allocation
-
public class DocLine_Allocation extends DocLine
Allocation Line- Version:
- $Id: DocLine_Allocation.java,v 1.2 2006/07/30 00:53:33 jjanke Exp $
- Author:
- Jorg Janke
-
-
Constructor Summary
Constructors Constructor Description DocLine_Allocation(MAllocationLine line, Doc doc)
DocLine_Allocation
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getC_CashLine_ID()
int
getC_Charge_ID()
adaxa-pbint
getC_Invoice_ID()
int
getC_Order_ID()
int
getC_Payment_ID()
Timestamp
getDateConv()
Get FX Conversion Date The foreign exchange rate conversion date may be different from the accounting posting date in some cases (e.g. bank statement)BigDecimal
getDiscountAmt()
int
getInvoiceC_Currency_ID()
Get Invoice C_Currency_IDBigDecimal
getOverUnderAmt()
BigDecimal
getWriteOffAmt()
String
toString()
String Representation-
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_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, 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
-
-
-
-
Constructor Detail
-
DocLine_Allocation
public DocLine_Allocation(MAllocationLine line, Doc doc)
DocLine_Allocation- Parameters:
line
- allocation linedoc
- header
-
-
Method Detail
-
getInvoiceC_Currency_ID
public int getInvoiceC_Currency_ID()
Get Invoice C_Currency_ID- Returns:
- 0 if no invoice -1 if not found
-
toString
public String toString()
String Representation
-
getC_Order_ID
public int getC_Order_ID()
- Returns:
- Returns the c_Order_ID.
-
getDiscountAmt
public BigDecimal getDiscountAmt()
- Returns:
- Returns the discountAmt.
-
getOverUnderAmt
public BigDecimal getOverUnderAmt()
- Returns:
- Returns the overUnderAmt.
-
getWriteOffAmt
public BigDecimal getWriteOffAmt()
- Returns:
- Returns the writeOffAmt.
-
getC_CashLine_ID
public int getC_CashLine_ID()
- Returns:
- Returns the c_CashLine_ID.
-
getC_Invoice_ID
public int getC_Invoice_ID()
- Returns:
- Returns the c_Invoice_ID.
-
getC_Payment_ID
public int getC_Payment_ID()
- Returns:
- Returns the c_Payment_ID.
-
getC_Charge_ID
public int getC_Charge_ID()
adaxa-pb- Overrides:
getC_Charge_ID
in classDocLine
- Returns:
- Returns the C_Charge_ID.
-
getDateConv
public Timestamp getDateConv()
Description copied from class:DocLine
Get FX Conversion Date The foreign exchange rate conversion date may be different from the accounting posting date in some cases (e.g. bank statement)- Overrides:
getDateConv
in classDocLine
- Returns:
- FX conversion date
-
-