|
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_MovementLine
org.compiere.model.MMovementLine
public class MMovementLine
Inventory Move Line Model
| Field Summary |
|---|
| Fields inherited from class org.compiere.model.X_M_MovementLine |
|---|
M_LOCATORTO_ID_AD_Reference_ID, M_PRODUCT_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 | |
|---|---|
MMovementLine(MMovement parent)
Parent constructor |
|
MMovementLine(Properties ctx,
int M_MovementLine_ID,
String trxName)
Standard Cosntructor |
|
MMovementLine(Properties ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
void |
addDescription(String description)
Add to Description |
protected boolean |
beforeSave(boolean newRecord)
Before Save |
int |
getM_AttributeSetInstanceTo_ID()
Get AttributeSetInstance To |
static MMovementLine[] |
getOfOrderLine(Properties ctx,
int DD_OrderLine_ID,
String where,
String trxName)
Get Movement lines Of Distribution Order Line |
MMovement |
getParent()
get Parent |
MProduct |
getProduct()
Get Product |
void |
setM_Locator_ID(int M_Locator_ID)
Set M_Locator_ID |
void |
setM_LocatorTo_ID(int M_LocatorTo_ID)
Set M_LocatorTo_ID |
void |
setMovementQty(BigDecimal MovementQty)
Set Movement Qty - enforce UOM |
void |
setOrderLine(MDDOrderLine oLine,
int M_Locator_ID,
BigDecimal Qty)
Set Distribution Order Line. |
| 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 MMovementLine(Properties ctx,
int M_MovementLine_ID,
String trxName)
ctx - contextM_MovementLine_ID - idtrxName - transaction
public MMovementLine(Properties ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transactionpublic MMovementLine(MMovement parent)
parent - parent| Method Detail |
|---|
public int getM_AttributeSetInstanceTo_ID()
getM_AttributeSetInstanceTo_ID in interface I_M_MovementLinegetM_AttributeSetInstanceTo_ID in class X_M_MovementLinepublic void addDescription(String description)
description - textpublic MProduct getProduct()
public void setMovementQty(BigDecimal MovementQty)
setMovementQty in interface I_M_MovementLinesetMovementQty in class X_M_MovementLineMovementQty - qtypublic MMovement getParent()
protected boolean beforeSave(boolean newRecord)
beforeSave in class POnewRecord - new
public void setOrderLine(MDDOrderLine oLine,
int M_Locator_ID,
BigDecimal Qty)
oLine - order lineM_Locator_ID - locatorQty - used only to find suitable locatorpublic void setM_Locator_ID(int M_Locator_ID)
setM_Locator_ID in interface I_M_MovementLinesetM_Locator_ID in class X_M_MovementLineM_Locator_ID - idpublic void setM_LocatorTo_ID(int M_LocatorTo_ID)
setM_LocatorTo_ID in interface I_M_MovementLinesetM_LocatorTo_ID in class X_M_MovementLineM_LocatorTo_ID - id
public static MMovementLine[] getOfOrderLine(Properties ctx,
int DD_OrderLine_ID,
String where,
String trxName)
ctx - contextDD_OrderLine_ID - linewhere - optional addition where clausetrxName - transaction
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||