|
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_Product_BOM
org.compiere.model.MProductBOM
public class MProductBOM
Product BOM Model (old). M_Product_ID = the parent M_Product_BOM_ID = the BOM line M_ProductBOM_ID = the BOM line product
| 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 | |
|---|---|
MProductBOM(Ctx ctx,
int M_Product_BOM_ID,
String trxName)
Standard Constructor |
|
MProductBOM(Ctx ctx,
ResultSet rs,
String trxName)
Load Construvtor |
|
| Method Summary | |
|---|---|
protected boolean |
afterSave(boolean newRecord,
boolean success)
After Save |
static MProductBOM[] |
getBOMLines(Ctx ctx,
int M_Product_ID,
String trxName)
Get BOM Lines for Product |
static MProductBOM[] |
getBOMLines(MProduct product)
Get BOM Lines for Product |
MProduct |
getProduct()
Get BOM Product |
void |
setM_ProductBOM_ID(int M_ProductBOM_ID)
Set included Product |
String |
toString()
String Representation |
| Methods inherited from class org.compiere.model.X_M_Product_BOM |
|---|
get_AccessLevel, getBOMQty, getBOMType, getDescription, getKeyNamePair, getLine, getM_Product_BOM_ID, getM_Product_ID, getM_ProductBOM_ID, initPO, isBOMTypeValid, setBOMQty, setBOMType, setDescription, setLine, setM_Product_BOM_ID, setM_Product_ID |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MProductBOM(Ctx ctx,
int M_Product_BOM_ID,
String trxName)
ctx - contextM_Product_BOM_ID - idtrxName - transaction
public MProductBOM(Ctx ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transaction| Method Detail |
|---|
public static MProductBOM[] getBOMLines(MProduct product)
product - product
public static MProductBOM[] getBOMLines(Ctx ctx,
int M_Product_ID,
String trxName)
ctx - contextM_Product_ID - producttrxName - transaction
public MProduct getProduct()
public void setM_ProductBOM_ID(int M_ProductBOM_ID)
setM_ProductBOM_ID in class X_M_Product_BOMM_ProductBOM_ID - product IDpublic String toString()
toString in class X_M_Product_BOM
protected boolean afterSave(boolean newRecord,
boolean success)
afterSave in class POnewRecord - newsuccess - success
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||