|
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_M_RequisitionLine
org.compiere.model.MRequisitionLine
public class MRequisitionLine
Requisition Line Model
| Field Summary |
|---|
| Fields inherited from class org.compiere.model.X_M_RequisitionLine |
|---|
accessLevel, 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 | |
|---|---|
MRequisitionLine(Ctx ctx,
int M_RequisitionLine_ID,
String trxName)
Standard Constructor |
|
MRequisitionLine(Ctx ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
MRequisitionLine(MRequisition req)
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 |
int |
getC_BPartner_ID()
|
MRequisition |
getParent()
Get Parent |
void |
setC_BPartner_ID(int partner_ID)
|
void |
setLineNetAmt()
Calculate Line Net Amt |
void |
setM_Product_ID(String oldM_Product_ID,
String newM_Product_ID,
int windowNo)
Set Product - Callout |
void |
setPrice()
Set Price |
void |
setPrice(int M_PriceList_ID)
Set Price for Product and PriceList |
void |
setPriceActual(String oldPriceActual,
String newPriceActual,
int windowNo)
Set PriceActual - Callout |
void |
setQty(String oldQty,
String newQty,
int windowNo)
Set Qty - Callout |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MRequisitionLine(Ctx ctx,
int M_RequisitionLine_ID,
String trxName)
ctx - contextM_RequisitionLine_ID - idtrxName - transaction
public MRequisitionLine(Ctx ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transactionpublic MRequisitionLine(MRequisition req)
req - requisition| Method Detail |
|---|
public int getC_BPartner_ID()
public void setC_BPartner_ID(int partner_ID)
partner_ID - The c_BPartner_ID to set.public MRequisition getParent()
public void setPrice()
public void setPrice(int M_PriceList_ID)
M_PriceList_ID - price listpublic void setLineNetAmt()
@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 setPriceActual(String oldPriceActual,
String newPriceActual,
int windowNo)
throws Exception
oldPriceActual - old valuenewPriceActual - new valuewindowNo - window
Exception
@UICallout
public void setQty(String oldQty,
String newQty,
int windowNo)
throws Exception
oldQty - old valuenewQty - new valuewindowNo - window
Exceptionprotected boolean beforeSave(boolean newRecord)
beforeSave in class POnewRecord - new
protected boolean afterSave(boolean newRecord,
boolean success)
afterSave in class POnewRecord - if new recordsuccess - save was success
protected boolean afterDelete(boolean success)
afterDelete in class POsuccess -
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||