|
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_ProjectLine
org.compiere.model.MProjectLine
public class MProjectLine
Project Line Model
| Field Summary |
|---|
| Fields inherited from class org.compiere.model.X_C_ProjectLine |
|---|
accessLevel, C_ORDERPO_ID_AD_Reference_ID, Model, Table_ID, Table_Name, updatedMS |
| 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 | |
|---|---|
MProjectLine(Ctx ctx,
int C_ProjectLine_ID,
String trxName)
Standard Constructor |
|
MProjectLine(Ctx ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
MProjectLine(MProject project)
Parent Constructor |
|
| Method Summary | |
|---|---|
protected boolean |
afterDelete(boolean success)
After Delete |
protected boolean |
afterSave(boolean newRecord,
boolean success)
After Save |
protected boolean |
beforeSave(boolean newRecord)
Before Save |
protected int |
getCurPrecision()
Get Currency Precision |
BigDecimal |
getLimitPrice()
Get Limit Price if exists |
MProject |
getProject()
Get Project |
void |
setC_OrderPO_ID(int C_OrderPO_ID)
Set PO |
void |
setDiscount(String oldDiscount,
String newDiscount,
int windowNo)
Set Discount - Callout |
void |
setM_Product_ID(String oldM_Product_ID,
String newM_Product_ID,
int windowNo)
Set Product - Callout |
void |
setMProjectIssue(MProjectIssue pi)
Set Product, committed qty, etc. |
void |
setPlannedPrice(String oldPlannedPrice,
String newPlannedPrice,
int windowNo)
Set PlannedPrice - Callout |
void |
setPlannedQty(String oldPlannedQty,
String newPlannedQty,
int windowNo)
Set PlannedQty - Callout |
void |
setPriceList(String oldPriceList,
String newPriceList,
int windowNo)
Set PriceList - Callout |
String |
toString()
String Representation |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MProjectLine(Ctx ctx,
int C_ProjectLine_ID,
String trxName)
ctx - contextC_ProjectLine_ID - idtrxName - transaction
public MProjectLine(Ctx ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transactionpublic MProjectLine(MProject project)
project - parent| Method Detail |
|---|
public void setMProjectIssue(MProjectIssue pi)
pi - project issuepublic void setC_OrderPO_ID(int C_OrderPO_ID)
setC_OrderPO_ID in class X_C_ProjectLineC_OrderPO_ID - po idpublic MProject getProject()
public BigDecimal getLimitPrice()
protected int getCurPrecision()
@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 setDiscount(String oldDiscount,
String newDiscount,
int windowNo)
throws Exception
oldDiscount - old valuenewDiscount - new valuewindowNo - window
Exception
@UICallout
public void setPriceList(String oldPriceList,
String newPriceList,
int windowNo)
throws Exception
oldPriceList - old valuenewPriceList - new valuewindowNo - window
Exception
@UICallout
public void setPlannedPrice(String oldPlannedPrice,
String newPlannedPrice,
int windowNo)
throws Exception
oldPlannedPrice - old valuenewPlannedPrice - new valuewindowNo - window
Exception
@UICallout
public void setPlannedQty(String oldPlannedQty,
String newPlannedQty,
int windowNo)
throws Exception
oldPlannedQty - old valuenewPlannedQty - new valuewindowNo - window
Exceptionpublic String toString()
toString in class X_C_ProjectLineprotected boolean beforeSave(boolean newRecord)
beforeSave in class POnewRecord - new
protected boolean afterSave(boolean newRecord,
boolean success)
afterSave in class POnewRecord - newsuccess - success
protected boolean afterDelete(boolean success)
afterDelete in class POsuccess - success
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||