|
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_Locator
org.compiere.model.MLocator
public class MLocator
Warehouse Locator Object
1966333 ] New Method to get the Default Locator based in Warehouse http://sourceforge.net/tracker/index.php?func=detail&aid=1966333&group_id=176962&atid=879335,
Serialized Form| Field Summary |
|---|
| 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 |
| Fields inherited from interface org.compiere.model.I_M_Locator |
|---|
accessLevel, COLUMNNAME_IsDefault, COLUMNNAME_M_Locator_ID, COLUMNNAME_M_Warehouse_ID, COLUMNNAME_PriorityNo, COLUMNNAME_Value, COLUMNNAME_X, COLUMNNAME_Y, COLUMNNAME_Z, Model, Table_ID, Table_Name |
| Constructor Summary | |
|---|---|
MLocator(MWarehouse warehouse,
String Value)
New Locator Constructor with XYZ=000 |
|
MLocator(Properties ctx,
int M_Locator_ID,
String trxName)
Standard Locator Constructor |
|
MLocator(Properties ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
static MLocator |
get(Properties ctx,
int M_Locator_ID)
Get Locator from Cache |
static MLocator |
get(Properties ctx,
int M_Warehouse_ID,
String Value,
String X,
String Y,
String Z)
Get the Locator with the combination or create new one |
static MLocator |
getDefault(MWarehouse warehouse)
FR [ 1966333 ] Get oldest Default Locator of warehouse with locator |
static MLocator |
getDefault(Properties ctx,
int M_Locator_ID)
Get oldest Default Locator of warehouse with locator |
String |
getWarehouseName()
Get Warehouse Name |
boolean |
isCanStoreProduct(int M_Product_ID)
Can Locator Store Product |
void |
setXYZ(String X,
String Y,
String Z)
Set Location |
String |
toString()
Get String Representation |
| Methods inherited from class org.compiere.model.X_M_Locator |
|---|
get_AccessLevel, getKeyNamePair, getM_Locator_ID, getM_Warehouse_ID, getM_Warehouse, getPriorityNo, getValue, getX, getY, getZ, initPO, isDefault, setIsDefault, setM_Locator_ID, setM_Warehouse_ID, setPriorityNo, setValue, setX, setY, setZ |
| 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 MLocator(Properties ctx,
int M_Locator_ID,
String trxName)
ctx - ContextM_Locator_ID - idtrxName - transaction
public MLocator(MWarehouse warehouse,
String Value)
warehouse - parentValue - value
public MLocator(Properties ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transaction| Method Detail |
|---|
public static MLocator getDefault(Properties ctx,
int M_Locator_ID)
ctx - contextM_Locator_ID - locator
public static MLocator getDefault(MWarehouse warehouse)
ctx - contextM_Locator_ID - locator
public static MLocator get(Properties ctx,
int M_Warehouse_ID,
String Value,
String X,
String Y,
String Z)
ctx - ContextM_Warehouse_ID - warehouseValue - valueX - xY - yZ - z
public static MLocator get(Properties ctx,
int M_Locator_ID)
ctx - contextM_Locator_ID - id
public String toString()
toString in class X_M_Locator
public void setXYZ(String X,
String Y,
String Z)
X - xY - yZ - zpublic String getWarehouseName()
public boolean isCanStoreProduct(int M_Product_ID)
M_Product_ID - id
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||