Compiere 3.1

org.compiere.acct
Class DocLine_Allocation

java.lang.Object
  extended by org.compiere.acct.DocLine
      extended by 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

Field Summary
 
Fields inherited from class org.compiere.acct.DocLine
log, p_po
 
Constructor Summary
DocLine_Allocation(MAllocationLine line, Doc doc)
          DocLine_Allocation
 
Method Summary
 int getC_CashLine_ID()
           
 int getC_Invoice_ID()
           
 int getC_Order_ID()
           
 int getC_Payment_ID()
           
 BigDecimal getDiscountAmt()
           
 int getInvoiceC_Currency_ID()
          Get Invoice C_Currency_ID
 BigDecimal 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_Charge_ID, getC_ConversionType_ID, getC_Currency_ID, getC_LocFrom_ID, getC_LocTo_ID, getC_OrderLine_ID, getC_Period_ID, getC_Project_ID, getC_SalesRegion_ID, getC_Tax_ID, getC_UOM_ID, getChargeAccount, getChargeAmt, getDateAcct, getDateDoc, getDescription, getDiscount, getLine, getListAmount, getM_AttributeSetInstance_ID, getM_Locator_ID, getM_LocatorTo_ID, getM_Product_ID, getM_ProductionPlan_ID, getOrder_Org_ID, getProduct, getProductCost, getProductCosts, getQty, 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, setDateAcct, setDateDoc, setLineNetAmtDifference, setProductionBOM, setQty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DocLine_Allocation

public DocLine_Allocation(MAllocationLine line,
                          Doc doc)
DocLine_Allocation

Parameters:
line - allocation line
doc - 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

Overrides:
toString in class DocLine
Returns:
info

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.

Compiere 3.1

Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.