|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.framework.PO
org.compiere.model.X_C_InvoiceLine
org.compiere.model.MInvoiceLine
public class MInvoiceLine
Invoice Line Model
| Field Summary |
|---|
| Fields inherited from class org.compiere.framework.PO |
|---|
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_changeVO, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID |
| Constructor Summary | |
|---|---|
MInvoiceLine(Ctx ctx,
int C_InvoiceLine_ID,
String trxName)
Invoice Line Constructor |
|
MInvoiceLine(Ctx ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
MInvoiceLine(MInvoice invoice)
Parent Constructor |
|
| Method Summary | |
|---|---|
void |
addDescription(String description)
Add to Description |
protected boolean |
afterDelete(boolean success)
After Delete |
protected boolean |
afterSave(boolean newRecord,
boolean success)
After Save |
String |
allocateLandedCosts()
Allocate Landed Costs |
protected boolean |
beforeSave(boolean newRecord)
Before Save |
void |
checkPrice()
|
void |
createLeadRequest(MInvoice invoice)
Create Lead/Request |
int |
getAD_OrgTrx_ID()
Get AD_OrgTrx_ID |
int |
getC_Activity_ID()
Get C_Activity_ID |
int |
getC_Campaign_ID()
Get C_Campaign_ID |
int |
getC_Project_ID()
Get C_Project_ID |
String |
getDescriptionText()
Get Description Text. |
String |
getName()
Get (Product/Charge) Name |
static MInvoiceLine |
getOfInOutLine(MInOutLine sLine)
Get Invoice Line referencing InOut Line |
MInvoice |
getParent()
Get Parent |
int |
getPrecision()
Get Currency Precision |
MProduct |
getProduct()
Get Product |
int |
getUser1_ID()
Get User2_ID |
int |
getUser2_ID()
Get User2_ID |
boolean |
isTaxIncluded()
Is Tax Included in Amount |
void |
setC_Charge_ID(String oldC_Charge_ID,
String newC_Charge_ID,
int WindowNo)
Set Charge - Callout |
void |
setC_Tax_ID(String oldC_Tax_ID,
String newC_Tax_ID,
int windowNo)
Set C_Tax_ID - Callout |
void |
setC_UOM_ID(String oldC_UOM_ID,
String newC_UOM_ID,
int windowNo)
Set UOM - Callout |
void |
setInvoice(MInvoice invoice)
Set Defaults from Order. |
void |
setLineNetAmt()
Calculate Extended Amt. |
void |
setM_AttributeSetInstance_ID(int M_AttributeSetInstance_ID)
Set M_AttributeSetInstance_ID |
void |
setM_Product_ID(int M_Product_ID,
boolean setUOM)
Set M_Product_ID |
void |
setM_Product_ID(int M_Product_ID,
int C_UOM_ID)
Set Product and UOM |
void |
setM_Product_ID(String oldM_Product_ID,
String newM_Product_ID,
int WindowNo)
Invoice Line - Product |
void |
setName(String tempName)
Set Temporary (cached) Name |
void |
setOrderLine(MOrderLine oLine)
Set values from Order Line. |
void |
setPrice()
Set Price for Product and PriceList. |
void |
setPrice(BigDecimal PriceActual)
Set Price Entered/Actual. |
void |
setPrice(int M_PriceList_ID,
int C_BPartner_ID)
Set Price for Product and PriceList |
void |
setPriceActual(BigDecimal PriceActual)
Set Price Actual. |
void |
setPriceActual(String oldPriceActual,
String newPriceActual,
int windowNo)
Set PriceActual - Callout |
void |
setPriceEntered(String oldPriceEntered,
String newPriceEntered,
int windowNo)
Set PriceEntered - Callout |
void |
setProduct(MProduct product)
Set Product |
void |
setQty(BigDecimal Qty)
Set Qty Invoiced |
void |
setQty(int Qty)
Set Qty Invoiced/Entered. |
void |
setQtyEntered(BigDecimal QtyEntered)
Set Qty Entered - enforce entered UOM |
void |
setQtyEntered(String oldQtyEntered,
String newQtyEntered,
int windowNo)
Set QtyEntered - Callout |
void |
setQtyInvoiced(BigDecimal QtyInvoiced)
Set Qty Invoiced - enforce Product UOM |
void |
setQtyInvoiced(String oldQtyInvoiced,
String newQtyInvoiced,
int windowNo)
Set QtyOrdered - Callout |
void |
setS_ResourceAssignment_ID(String oldS_ResourceAssignment_ID,
String newS_ResourceAssignment_ID,
int windowNo)
Set Resource Assignment - Callout |
void |
setShipLine(MInOutLine sLine)
Set values from Shipment Line. |
boolean |
setTax()
Set Tax - requires Warehouse |
void |
setTaxAmt()
Calculare Tax Amt. |
void |
setTaxAmt(String oldTaxAmt,
String newTaxAmt,
int windowNo)
Set TaxAmt - Callout |
String |
toString()
String Representation |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MInvoiceLine(Ctx ctx,
int C_InvoiceLine_ID,
String trxName)
ctx - contextC_InvoiceLine_ID - invoice line or 0trxName - transaction namepublic MInvoiceLine(MInvoice invoice)
invoice - parent
public MInvoiceLine(Ctx ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result set recordtrxName - transaction| Method Detail |
|---|
public static MInvoiceLine getOfInOutLine(MInOutLine sLine)
sLine - shipment line
public void setInvoice(MInvoice invoice)
invoice - invoicepublic MInvoice getParent()
public void setOrderLine(MOrderLine oLine)
oLine - linepublic void setShipLine(MInOutLine sLine)
sLine - ship linepublic void addDescription(String description)
description - textpublic void setM_AttributeSetInstance_ID(int M_AttributeSetInstance_ID)
setM_AttributeSetInstance_ID in class X_C_InvoiceLineM_AttributeSetInstance_ID - idpublic void setPrice()
public void setPrice(int M_PriceList_ID,
int C_BPartner_ID)
M_PriceList_ID - price listC_BPartner_ID - business partnerpublic void setPrice(BigDecimal PriceActual)
PriceActual - pricepublic void setPriceActual(BigDecimal PriceActual)
setPriceActual in class X_C_InvoiceLinePriceActual - actual pricepublic void checkPrice()
public boolean setTax()
public void setTaxAmt()
public void setLineNetAmt()
public void setQty(int Qty)
Qty - Invoiced/Orderedpublic void setQty(BigDecimal Qty)
Qty - Invoiced/Enteredpublic void setQtyEntered(BigDecimal QtyEntered)
setQtyEntered in class X_C_InvoiceLineQtyEntered - public void setQtyInvoiced(BigDecimal QtyInvoiced)
setQtyInvoiced in class X_C_InvoiceLineQtyInvoiced - public void setProduct(MProduct product)
product - product
public void setM_Product_ID(int M_Product_ID,
boolean setUOM)
M_Product_ID - productsetUOM - set UOM from product
public void setM_Product_ID(int M_Product_ID,
int C_UOM_ID)
M_Product_ID - productC_UOM_ID - uompublic MProduct getProduct()
public int getC_Project_ID()
getC_Project_ID in class X_C_InvoiceLinepublic int getC_Activity_ID()
getC_Activity_ID in class X_C_InvoiceLinepublic int getC_Campaign_ID()
getC_Campaign_ID in class X_C_InvoiceLinepublic int getUser1_ID()
getUser1_ID in class X_C_InvoiceLinepublic int getUser2_ID()
getUser2_ID in class X_C_InvoiceLinepublic int getAD_OrgTrx_ID()
getAD_OrgTrx_ID in class X_C_InvoiceLinepublic String toString()
toString in class X_C_InvoiceLinepublic String getName()
public void setName(String tempName)
tempName - Cached Namepublic String getDescriptionText()
public int getPrecision()
public boolean isTaxIncluded()
public void createLeadRequest(MInvoice invoice)
@UICallout
public void setS_ResourceAssignment_ID(String oldS_ResourceAssignment_ID,
String newS_ResourceAssignment_ID,
int windowNo)
throws Exception
oldS_ResourceAssignment_ID - old valuenewS_ResourceAssignment_ID - new valuewindowNo - window
Exceptionprotected boolean beforeSave(boolean newRecord)
beforeSave in class POnewRecord -
protected boolean afterSave(boolean newRecord,
boolean success)
afterSave in class POnewRecord - newsuccess - success
protected boolean afterDelete(boolean success)
afterDelete in class POsuccess - success
public String allocateLandedCosts()
@UICallout
public void setC_UOM_ID(String oldC_UOM_ID,
String newC_UOM_ID,
int windowNo)
throws Exception
oldC_UOM_ID - old valuenewC_UOM_ID - new valuewindowNo - window
Exception
@UICallout
public void setQtyEntered(String oldQtyEntered,
String newQtyEntered,
int windowNo)
throws Exception
oldQtyEntered - old valuenewQtyEntered - new valuewindowNo - window
Exception
@UICallout
public void setQtyInvoiced(String oldQtyInvoiced,
String newQtyInvoiced,
int windowNo)
throws Exception
oldQtyInvoiced - old valuenewQtyInvoiced - new valuewindowNo - window
Exception
@UICallout
public void setC_Tax_ID(String oldC_Tax_ID,
String newC_Tax_ID,
int windowNo)
throws Exception
oldC_Tax_ID - old valuenewC_Tax_ID - new valuewindowNo - window
Exception
@UICallout
public void setPriceActual(String oldPriceActual,
String newPriceActual,
int windowNo)
throws Exception
oldPriceActual - old valuenewPriceActual - new valuewindowNo - window
Exception
@UICallout
public void setPriceEntered(String oldPriceEntered,
String newPriceEntered,
int windowNo)
throws Exception
oldPriceEntered - old valuenewPriceEntered - new valuewindowNo - window
Exception
@UICallout
public void setTaxAmt(String oldTaxAmt,
String newTaxAmt,
int windowNo)
throws Exception
oldTaxAmt - old valuenewTaxAmt - new valuewindowNo - window
Exception
@UICallout
public void setM_Product_ID(String oldM_Product_ID,
String newM_Product_ID,
int WindowNo)
throws Exception
oldM_Product_ID - old valuenewM_Product_ID - new valuewindowNo - window
Exception
@UICallout
public void setC_Charge_ID(String oldC_Charge_ID,
String newC_Charge_ID,
int WindowNo)
throws Exception
oldC_Charge_ID - old valuenewC_Charge_ID - new valuewindowNo - window
Exception
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||