|
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_Locator
org.compiere.model.MLocator
public class MLocator
Warehouse Locator Object
| Field Summary |
|---|
| Fields inherited from class org.compiere.model.X_M_Locator |
|---|
accessLevel, Model, PICKING_UOM_ID_AD_Reference_ID, STOCKING_UOM_ID_AD_Reference_ID, Table_ID, Table_Name, updatedMS |
| 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 | |
|---|---|
MLocator(Ctx ctx,
int M_Locator_ID,
String trxName)
Standard Locator Constructor |
|
MLocator(Ctx ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
MLocator(MWarehouse warehouse,
String Value)
New Locator Constructor with XYZ=000 |
|
MLocator(X_I_Locator loc)
Import Constructor |
|
| Method Summary | |
|---|---|
protected boolean |
beforeSave(boolean newRecord)
Before Save |
static MLocator |
get(Ctx ctx,
int M_Locator_ID)
Get Locator from Cache |
static MLocator |
get(Ctx ctx,
int M_Warehouse_ID,
String Value,
String Aisle,
String Bay,
String Row,
String Position,
String Bin)
Get the Locator with the combination or create new one |
static MLocator |
getDefault(Ctx ctx,
int M_Locator_ID)
Get oldest Default Locator of warehouse with locator |
String |
getWarehouseName()
Get Warehouse Name |
boolean |
isFixed()
Is this locator fixed A locator is considered fixed if there is any product assigned to it. |
void |
setXYZ(String Aisle,
String Bay,
String Row,
String Position,
String Bin)
Set Location |
String |
toString()
Get String Representation |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MLocator(Ctx ctx,
int M_Locator_ID,
String trxName)
ctx - ContextM_Locator_ID - idtrxName - transaction
public MLocator(MWarehouse warehouse,
String Value)
warehouse - parentValue - value
public MLocator(Ctx ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transactionpublic MLocator(X_I_Locator loc)
imp - import| Method Detail |
|---|
public static MLocator getDefault(Ctx ctx,
int M_Locator_ID)
ctx - contextM_Locator_ID - locator
public static MLocator get(Ctx ctx,
int M_Warehouse_ID,
String Value,
String Aisle,
String Bay,
String Row,
String Position,
String Bin)
ctx - ContextM_Warehouse_ID - warehouseValue - valueX - xY - yZ - z
public static MLocator get(Ctx ctx,
int M_Locator_ID)
ctx - contextM_Locator_ID - id
public String toString()
toString in class X_M_Locator
public void setXYZ(String Aisle,
String Bay,
String Row,
String Position,
String Bin)
X - xY - yZ - zpublic boolean isFixed()
public String getWarehouseName()
protected boolean beforeSave(boolean newRecord)
beforeSave in class POnewRecord - new
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||