|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.model.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.PO |
|---|
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID |
| Fields inherited from interface org.compiere.model.I_M_RequisitionLine |
|---|
accessLevel, COLUMNNAME_C_Charge_ID, COLUMNNAME_C_OrderLine_ID, COLUMNNAME_Description, COLUMNNAME_Line, COLUMNNAME_LineNetAmt, COLUMNNAME_M_AttributeSetInstance_ID, COLUMNNAME_M_Product_ID, COLUMNNAME_M_Requisition_ID, COLUMNNAME_M_RequisitionLine_ID, COLUMNNAME_PriceActual, COLUMNNAME_Qty, Model, Table_ID, Table_Name |
| Constructor Summary | |
|---|---|
MRequisitionLine(MRequisition req)
Parent Constructor |
|
MRequisitionLine(Properties ctx,
int M_RequisitionLine_ID,
String trxName)
Standard Constructor |
|
MRequisitionLine(Properties ctx,
ResultSet rs,
String trxName)
Load 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 |
setPrice()
Set Price |
void |
setPrice(int M_PriceList_ID)
Set Price for Product and PriceList |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.compiere.model.I_Persistent |
|---|
save |
| Constructor Detail |
|---|
public MRequisitionLine(Properties ctx,
int M_RequisitionLine_ID,
String trxName)
ctx - contextM_RequisitionLine_ID - idtrxName - transaction
public MRequisitionLine(Properties 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()
protected 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 -
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||