|
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.eevolution.model.X_PP_Product_BOM
org.eevolution.model.MPPProductBOM
public class MPPProductBOM
Order Model. Please do not set DocStatus and C_DocType_ID directly. They are set in the process() method. Use DocAction and C_DocTypeTarget_ID instead.
| Field Summary |
|---|
| Fields inherited from class org.eevolution.model.X_PP_Product_BOM |
|---|
BOMTYPE_AD_Reference_ID, BOMTYPE_CurrentActive, BOMTYPE_Future, BOMTYPE_Maintenance, BOMTYPE_Make_To_Order, BOMTYPE_Previous, BOMTYPE_PreviousSpare, BOMTYPE_ProductConfigure, BOMTYPE_Repair, BOMUSE_AD_Reference_ID, BOMUSE_Engineering, BOMUSE_Manufacturing, BOMUSE_Master, BOMUSE_Planning, BOMUSE_Quality |
| 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, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID |
| Constructor Summary | |
|---|---|
MPPProductBOM(Properties ctx,
int PP_Product_BOM_ID,
String trxName)
Default Constructor |
|
MPPProductBOM(Properties ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
static MPPProductBOM |
copyFrom(Properties ctx,
int PP_Product_BOM_ID,
Timestamp dateDoc)
Create new Order by copying |
static MPPProductBOM |
copyFrom(Properties ctx,
MPPProductBOM from,
boolean copyLines)
BUG #? |
int |
copyLinesFrom(MPPProductBOM bom)
Copy Lines From other BOM |
static MPPProductBOM |
get(MProduct product,
int ad_org_id,
String trxName)
Get BOM for Product |
static MPPProductBOM |
get(MProduct product,
int ad_org_id,
Timestamp valid,
String trxName)
Get BOM with valid dates for Product |
static int |
getBOMSearchKey(int M_Product_ID)
|
MPPProductBOMLine[] |
getLines()
Get BOM lines |
MPPProductBOMLine[] |
getLines(int PP_Product_BOM_ID)
Get BOM Lines for Product BOM |
MPPProductBOMLine[] |
getLines(int pp_product_bom_id,
Timestamp valid)
Get BOM Lines valid date for Product BOM |
MPPProductBOMLine[] |
getLines(Timestamp valid)
Get BOM lines |
void |
setClientOrg(int AD_Client_ID,
int AD_Org_ID)
Overwrite Client/Org if required |
void |
setLines(List lines)
|
String |
toString()
String Representation |
| 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 MPPProductBOM(Properties ctx,
int PP_Product_BOM_ID,
String trxName)
ctx - contextC_Order_ID - order to load, (0 create new order)
public MPPProductBOM(Properties ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result set record| Method Detail |
|---|
public void setClientOrg(int AD_Client_ID,
int AD_Org_ID)
setClientOrg in class POAD_Client_ID - clientAD_Org_ID - orgpublic int copyLinesFrom(MPPProductBOM bom)
order - order
public void setLines(List lines)
public static MPPProductBOM copyFrom(Properties ctx,
MPPProductBOM from,
boolean copyLines)
ctx - from - copyLines -
public String toString()
toString in class X_PP_Product_BOM
public static MPPProductBOM get(MProduct product,
int ad_org_id,
String trxName)
product - productad_org_id - Organization IDtrxName - Transaction Name
public static MPPProductBOM get(MProduct product,
int ad_org_id,
Timestamp valid,
String trxName)
product - productad_org_id - Organization IDvalid - Date to ValidatetrxName - Transaction Name
public MPPProductBOMLine[] getLines()
public MPPProductBOMLine[] getLines(Timestamp valid)
valid - date to validate
public MPPProductBOMLine[] getLines(int pp_product_bom_id,
Timestamp valid)
pp_product_bom_id - BOM IDvalid - Date to Validate
public MPPProductBOMLine[] getLines(int PP_Product_BOM_ID)
pp_product_bom_id - BOM ID
public static MPPProductBOM copyFrom(Properties ctx,
int PP_Product_BOM_ID,
Timestamp dateDoc)
ctx - contextC_Order_ID - invoicedateDoc - date of the document date
public static int getBOMSearchKey(int M_Product_ID)
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||