|
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_InOutLine
org.compiere.model.MInOutLine
public class MInOutLine
InOut Line
| Field Summary |
|---|
| Fields inherited from class org.compiere.model.X_M_InOutLine |
|---|
AD_ORGTRX_ID_AD_Reference_ID, USER1_ID_AD_Reference_ID, USER2_ID_AD_Reference_ID |
| 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 |
| Constructor Summary | |
|---|---|
MInOutLine(MInOut inout)
Parent Constructor |
|
MInOutLine(Properties ctx,
int M_InOutLine_ID,
String trxName)
Standard Constructor |
|
MInOutLine(Properties ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
void |
addDescription(String description)
Add to Description |
protected boolean |
beforeDelete()
Before Delete |
protected boolean |
beforeSave(boolean newRecord)
Before Save |
static MInOutLine[] |
get(Properties ctx,
int C_OrderLine_ID,
String trxName)
Get Ship lines Of Order Line |
int |
getAD_OrgTrx_ID()
Get AD_OrgTrx_ID |
BigDecimal |
getBase(String CostDistribution)
Get Base value for Cost Distribution |
int |
getC_Activity_ID()
Get C_Activity_ID |
int |
getC_Campaign_ID()
Get C_Campaign_ID |
int |
getC_Project_ID()
Get C_Project_ID |
int |
getM_Warehouse_ID()
Get Warehouse |
static MInOutLine[] |
getOfOrderLine(Properties ctx,
int C_OrderLine_ID,
String where,
String trxName)
Get Ship lines Of Order Line |
MInOut |
getParent()
Get Parent |
MProduct |
getProduct()
Get Product |
int |
getUser1_ID()
Get User2_ID |
int |
getUser2_ID()
Get User2_ID |
void |
setInvoiceLine(MInvoiceLine iLine,
int M_Locator_ID,
BigDecimal Qty)
Set Invoice Line. |
void |
setM_Locator_ID(BigDecimal Qty)
Set (default) Locator based on qty. |
void |
setM_Locator_ID(int M_Locator_ID)
Set M_Locator_ID |
void |
setM_Product_ID(int M_Product_ID,
boolean setUOM)
Set M_Product_ID |
void |
setM_Product_ID(int M_Product_ID,
int C_UOM_ID)
Set Product and UOM |
void |
setM_Warehouse_ID(int warehouse_ID)
Set Warehouse |
void |
setMovementQty(BigDecimal MovementQty)
Set Movement Qty - enforce Product UOM |
void |
setOrderLine(MOrderLine oLine,
int M_Locator_ID,
BigDecimal Qty)
Set Order Line. |
void |
setProduct(MProduct product)
Set Product |
void |
setQty(BigDecimal Qty)
Set Movement/Movement Qty |
void |
setQtyEntered(BigDecimal QtyEntered)
Set Qty Entered - enforce entered UOM |
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 MInOutLine(Properties ctx,
int M_InOutLine_ID,
String trxName)
ctx - contextM_InOutLine_ID - idtrxName - trx name
public MInOutLine(Properties ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result set recordtrxName - transactionpublic MInOutLine(MInOut inout)
inout - parent| Method Detail |
|---|
public static MInOutLine[] getOfOrderLine(Properties ctx,
int C_OrderLine_ID,
String where,
String trxName)
ctx - contextC_OrderLine_ID - linewhere - optional addition where clausetrxName - transaction
public static MInOutLine[] get(Properties ctx,
int C_OrderLine_ID,
String trxName)
ctx - contextC_OrderLine_ID - linetrxName - transaction
public MInOut getParent()
public void setOrderLine(MOrderLine oLine,
int M_Locator_ID,
BigDecimal Qty)
oLine - order lineM_Locator_ID - locatorQty - used only to find suitable locator
public void setInvoiceLine(MInvoiceLine iLine,
int M_Locator_ID,
BigDecimal Qty)
iLine - invoice lineM_Locator_ID - locatorQty - qty only fo find suitable locatorpublic int getM_Warehouse_ID()
public void setM_Warehouse_ID(int warehouse_ID)
warehouse_ID - The m_Warehouse_ID to set.public void setM_Locator_ID(int M_Locator_ID)
setM_Locator_ID in interface I_M_InOutLinesetM_Locator_ID in class X_M_InOutLineM_Locator_ID - idpublic void setM_Locator_ID(BigDecimal Qty)
Qty - quantity
Assumes Warehouse is setpublic void setQty(BigDecimal Qty)
Qty - Entered/Movement Qtypublic void setQtyEntered(BigDecimal QtyEntered)
setQtyEntered in interface I_M_InOutLinesetQtyEntered in class X_M_InOutLineQtyEntered - public void setMovementQty(BigDecimal MovementQty)
setMovementQty in interface I_M_InOutLinesetMovementQty in class X_M_InOutLineMovementQty - public MProduct getProduct()
public void setProduct(MProduct product)
product - product
public void setM_Product_ID(int M_Product_ID,
boolean setUOM)
M_Product_ID - productsetUOM - also set UOM from product
public void setM_Product_ID(int M_Product_ID,
int C_UOM_ID)
M_Product_ID - productC_UOM_ID - uompublic void addDescription(String description)
description - textpublic int getC_Project_ID()
getC_Project_ID in interface I_M_InOutLinegetC_Project_ID in class X_M_InOutLinepublic int getC_Activity_ID()
getC_Activity_ID in interface I_M_InOutLinegetC_Activity_ID in class X_M_InOutLinepublic int getC_Campaign_ID()
getC_Campaign_ID in interface I_M_InOutLinegetC_Campaign_ID in class X_M_InOutLinepublic int getUser1_ID()
getUser1_ID in interface I_M_InOutLinegetUser1_ID in class X_M_InOutLinepublic int getUser2_ID()
getUser2_ID in interface I_M_InOutLinegetUser2_ID in class X_M_InOutLinepublic int getAD_OrgTrx_ID()
getAD_OrgTrx_ID in interface I_M_InOutLinegetAD_OrgTrx_ID in class X_M_InOutLineprotected boolean beforeSave(boolean newRecord)
beforeSave in class POnewRecord - new
protected boolean beforeDelete()
beforeDelete in class POpublic String toString()
toString in class X_M_InOutLinepublic BigDecimal getBase(String CostDistribution)
CostDistribution - cost Distribution
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||