Package org.openbravo.erpCommon.ad_forms
Class DocLine_Invoice
- java.lang.Object
-
- org.openbravo.erpCommon.ad_forms.DocLine
-
- org.openbravo.erpCommon.ad_forms.DocLine_Invoice
-
public class DocLine_Invoice extends DocLine
-
-
Field Summary
-
Fields inherited from class org.openbravo.erpCommon.ad_forms.DocLine
m_A_Asset_ID, m_account, m_AD_Org_ID, m_AD_OrgTrx_ID, m_AmtAcctCr, m_AmtAcctDr, m_AmtSourceCr, m_AmtSourceDr, m_C_AcctSchema_ID, m_C_Activity_ID, m_C_BPartner_ID, m_C_Campaign_ID, m_C_Charge_ID, m_C_Costcenter_ID, m_C_Currency_ID, m_C_Glitem_ID, m_C_LocFrom_ID, m_C_LocTo_ID, m_C_Project_ID, m_C_SalesRegion_ID, m_C_Tax_ID, m_C_UOM_ID, m_C_WithHolding_ID, m_ChargeAmt, m_DateAcct, m_DateDoc, m_description, m_Line, m_M_Product_ID, m_qty, m_Record_Id2, m_TrxHeader_ID, m_TrxLine_ID, m_User1_ID, m_User2_ID, p_DocumentType, p_productInfo, ZERO
-
-
Constructor Summary
Constructors Constructor Description DocLine_Invoice(String DocumentType, String TrxHeader_ID, String TrxLine_ID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Account
getAccount(String AcctType, AcctSchema as, ConnectionProvider conn)
Line Account from Product (or Charge).String
getDefPlanType()
int
getPeriodNumber()
String
getServletInfo()
String
getStartingPeriodId()
boolean
isDeferred()
void
setAmount(String LineNetAmt, String PriceList, String Qty)
void
setDefPlanType(String m_RevPlanType)
void
setIsDeferred(boolean m_IsDeferred)
void
setPeriodNumber(int m_PeriodNumber)
void
setStartingPeriodId(String m_StartingPeriodId)
-
Methods inherited from class org.openbravo.erpCommon.ad_forms.DocLine
copyInfo, getAccount, getAmount, getAmtSourceCr, getAmtSourceDr, getC_AcctSchema_ID, getChargeAccount, getM_C_Tax_ID, getM_C_WithHolding_ID, getM_description, loadAttributes, setAccount, setAD_Org_ID, setAmount, setAmount, setConvertedAmt, setM_C_Tax_ID, setM_C_WithHolding_ID, setQty
-
-
-
-
Method Detail
-
isDeferred
public boolean isDeferred()
-
setIsDeferred
public void setIsDeferred(boolean m_IsDeferred)
-
getDefPlanType
public String getDefPlanType()
-
setDefPlanType
public void setDefPlanType(String m_RevPlanType)
-
getPeriodNumber
public int getPeriodNumber()
-
setPeriodNumber
public void setPeriodNumber(int m_PeriodNumber)
-
getStartingPeriodId
public String getStartingPeriodId()
-
setStartingPeriodId
public void setStartingPeriodId(String m_StartingPeriodId)
-
getAccount
public Account getAccount(String AcctType, AcctSchema as, ConnectionProvider conn)
Line Account from Product (or Charge).- Parameters:
AcctType
- see ProoductInfo.ACCTTYPE_* (0..3)as
- Accounting schema- Returns:
- Requested Product Account
-
getServletInfo
public String getServletInfo()
- Overrides:
getServletInfo
in classDocLine
-
-