Class Locator
- java.lang.Object
-
- org.openbravo.base.structure.BaseOBObject
-
- org.openbravo.model.common.enterprise.Locator
-
- All Implemented Interfaces:
Serializable
,BaseOBObjectDef
,OBNotSingleton
,OBProvidable
,ActiveEnabled
,ClientEnabled
,DynamicEnabled
,Identifiable
,OrganizationEnabled
,Traceable
public class Locator extends BaseOBObject implements Traceable, ClientEnabled, OrganizationEnabled, ActiveEnabled
Entity class for entity Locator (stored in table M_Locator).
Help: The Locator defines any Locators for that Warehouse.
NOTE: This class should not be instantiated directly. To instantiate this class theOBProvider
should be used.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ENTITY_NAME
static String
PROPERTY_ACTIVE
Property active stored in column IsActive in table M_Locatorstatic String
PROPERTY_ALLOWSTORINGITEMS
Property allowStoringItems stored in column Allow_Storing_Items in table M_Locator
Help: Defines whether to allow storing items (directly) in the given storage bin.static String
PROPERTY_BARCODE
Property barcode stored in column Barcode in table M_Locator
Help: Barcode to identify this item.static String
PROPERTY_CHANGESTATUS
Property changeStatus stored in column Change_Status in table M_Locator
Help: Changes the Inventory Status of the Storage Binstatic String
PROPERTY_CLIENT
Property client stored in column AD_Client_ID in table M_Locatorstatic String
PROPERTY_CREATEDBY
Property createdBy stored in column CreatedBy in table M_Locatorstatic String
PROPERTY_CREATIONDATE
Property creationDate stored in column Created in table M_Locatorstatic String
PROPERTY_DEFAULT
Property default stored in column IsDefault in table M_Locator
Help: The Default Checkbox indicates if this record will be used as a default value.static String
PROPERTY_ID
Property id stored in column M_Locator_ID in table M_Locator
Help: The Locator ID indicates where in a Warehouse a product is located.static String
PROPERTY_INCLUDEDHANDLINGUNITTYPES
Property includedHandlingUnitTypes stored in column HU_Type_Selection in table M_Locator
Help: Defines the way Handling unit type will be selected (All, Only those defined or All excluding defined)static String
PROPERTY_INVENTORYSTATUS
Property inventoryStatus stored in column M_InventoryStatus_ID in table M_Locator
Help: The inventory status refers to the condition of a specific inventory (such as AVAILABLE, RETURN, DEFECT, TRANSIT) that is stored in a specific organization, warehouse and bin and for a product with a specific lot/serial and quantity. The inventory status can allow or disallow certain business processes.static String
PROPERTY_ISVIRTUAL
Property isvirtual stored in column Isvirtual in table M_Locatorstatic String
PROPERTY_LEVELZ
Property levelZ stored in column Z in table M_Locator
Help: The Z dimension indicates the Level a product is located in.static String
PROPERTY_MATERIALMGMTSTORAGEDETAILLIST
Property materialMgmtStorageDetailList stored in table M_Locatorstatic String
PROPERTY_ORGANIZATION
Property organization stored in column AD_Org_ID in table M_Locatorstatic String
PROPERTY_PARENTLOCATOR
Property parentLocator stored in column Parent_Locator_ID in table M_Locatorstatic String
PROPERTY_PRODUCTLIST
Property productList stored in table M_Locatorstatic String
PROPERTY_RELATIVEPRIORITY
Property relativePriority stored in column PriorityNo in table M_Locator
Help: The Relative Priority indicates the location to pick from first if an product is stored in more than one location. (0 = highest priority)static String
PROPERTY_ROWX
Property rowX stored in column X in table M_Locator
Help: The X dimension indicates the Aisle a product is located in.static String
PROPERTY_SEARCHKEY
Property searchKey stored in column Value in table M_Locatorstatic String
PROPERTY_STACKY
Property stackY stored in column Y in table M_Locator
Help: The Y dimension indicates the Bin a product is located instatic String
PROPERTY_UPDATED
Property updated stored in column Updated in table M_Locatorstatic String
PROPERTY_UPDATEDBY
Property updatedBy stored in column UpdatedBy in table M_Locatorstatic String
PROPERTY_WAREHOUSE
Property warehouse stored in column M_Warehouse_ID in table M_Locator
Help: The Warehouse identifies a unique Warehouse where products are stored or Services are provided.static String
TABLE_NAME
-
Fields inherited from class org.openbravo.base.structure.BaseOBObject
ID
-
-
Constructor Summary
Constructors Constructor Description Locator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBarcode()
Client
getClient()
Client fieldUser
getCreatedBy()
Created by audit userDate
getCreationDate()
Creation date of auditString
getEntityName()
String
getId()
String
getIncludedHandlingUnitTypes()
InventoryStatus
getInventoryStatus()
String
getLevelZ()
List<StorageDetail>
getMaterialMgmtStorageDetailList()
Help: Containts the current stock for every productOrganization
getOrganization()
Gets organization fieldLocator
getParentLocator()
List<Product>
getProductList()
Help: Defines each product and identifies it for use in price lists and orders. The Location is the default location when receiving the stored products.Long
getRelativePriority()
String
getRowX()
String
getSearchKey()
String
getStackY()
Date
getUpdated()
Update date of auditUser
getUpdatedBy()
Update by audit userWarehouse
getWarehouse()
Boolean
isActive()
Gets active fieldBoolean
isAllowStoringItems()
Boolean
isChangeStatus()
Boolean
isDefault()
Boolean
isVirtual()
void
setActive(Boolean active)
Sets active fieldvoid
setAllowStoringItems(Boolean allowStoringItems)
void
setBarcode(String barcode)
void
setChangeStatus(Boolean changeStatus)
void
setClient(Client client)
Client fieldvoid
setCreatedBy(User createdBy)
Created by audit uservoid
setCreationDate(Date creationDate)
Creation date of auditvoid
setDefault(Boolean deflt)
void
setId(String id)
void
setIncludedHandlingUnitTypes(String includedHandlingUnitTypes)
void
setInventoryStatus(InventoryStatus inventoryStatus)
void
setLevelZ(String levelZ)
void
setMaterialMgmtStorageDetailList(List<StorageDetail> materialMgmtStorageDetailList)
Help: Containts the current stock for every productvoid
setOrganization(Organization organization)
Sets organization fieldvoid
setParentLocator(Locator parentLocator)
void
setProductList(List<Product> productList)
Help: Defines each product and identifies it for use in price lists and orders. The Location is the default location when receiving the stored products.void
setRelativePriority(Long relativePriority)
void
setRowX(String rowX)
void
setSearchKey(String searchKey)
void
setStackY(String stackY)
void
setUpdated(Date updated)
Update date of auditvoid
setUpdatedBy(User updatedBy)
Update by audit uservoid
setVirtual(Boolean isvirtual)
void
setWarehouse(Warehouse warehouse)
-
Methods inherited from class org.openbravo.base.structure.BaseOBObject
checkDerivedReadable, get, get, get, getEntity, getIdentifier, getValue, isAllowRead, isNewOBObject, isOrgClientAccessCheckEnabled, isWriteAccessCheckEnabled, set, setAccessChecks, setAllowRead, setDefaultValue, setId, setNewOBObject, setValue, toString, validate
-
-
-
-
Field Detail
-
TABLE_NAME
public static final String TABLE_NAME
- See Also:
- Constant Field Values
-
ENTITY_NAME
public static final String ENTITY_NAME
- See Also:
- Constant Field Values
-
PROPERTY_ID
public static final String PROPERTY_ID
Property id stored in column M_Locator_ID in table M_Locator
Help: The Locator ID indicates where in a Warehouse a product is located.- See Also:
- Constant Field Values
-
PROPERTY_CLIENT
public static final String PROPERTY_CLIENT
Property client stored in column AD_Client_ID in table M_Locator- See Also:
ClientEnabled
, Constant Field Values
-
PROPERTY_ORGANIZATION
public static final String PROPERTY_ORGANIZATION
Property organization stored in column AD_Org_ID in table M_Locator- See Also:
OrganizationEnabled
, Constant Field Values
-
PROPERTY_ACTIVE
public static final String PROPERTY_ACTIVE
Property active stored in column IsActive in table M_Locator- See Also:
ActiveEnabled
, Constant Field Values
-
PROPERTY_CREATIONDATE
public static final String PROPERTY_CREATIONDATE
Property creationDate stored in column Created in table M_Locator- See Also:
Traceable
, Constant Field Values
-
PROPERTY_CREATEDBY
public static final String PROPERTY_CREATEDBY
Property createdBy stored in column CreatedBy in table M_Locator- See Also:
Traceable
, Constant Field Values
-
PROPERTY_UPDATED
public static final String PROPERTY_UPDATED
Property updated stored in column Updated in table M_Locator- See Also:
Traceable
, Constant Field Values
-
PROPERTY_UPDATEDBY
public static final String PROPERTY_UPDATEDBY
Property updatedBy stored in column UpdatedBy in table M_Locator- See Also:
Traceable
, Constant Field Values
-
PROPERTY_SEARCHKEY
public static final String PROPERTY_SEARCHKEY
Property searchKey stored in column Value in table M_Locator- See Also:
- Constant Field Values
-
PROPERTY_WAREHOUSE
public static final String PROPERTY_WAREHOUSE
Property warehouse stored in column M_Warehouse_ID in table M_Locator
Help: The Warehouse identifies a unique Warehouse where products are stored or Services are provided.- See Also:
- Constant Field Values
-
PROPERTY_RELATIVEPRIORITY
public static final String PROPERTY_RELATIVEPRIORITY
Property relativePriority stored in column PriorityNo in table M_Locator
Help: The Relative Priority indicates the location to pick from first if an product is stored in more than one location. (0 = highest priority)- See Also:
- Constant Field Values
-
PROPERTY_DEFAULT
public static final String PROPERTY_DEFAULT
Property default stored in column IsDefault in table M_Locator
Help: The Default Checkbox indicates if this record will be used as a default value.- See Also:
- Constant Field Values
-
PROPERTY_ROWX
public static final String PROPERTY_ROWX
Property rowX stored in column X in table M_Locator
Help: The X dimension indicates the Aisle a product is located in.- See Also:
- Constant Field Values
-
PROPERTY_STACKY
public static final String PROPERTY_STACKY
Property stackY stored in column Y in table M_Locator
Help: The Y dimension indicates the Bin a product is located in- See Also:
- Constant Field Values
-
PROPERTY_LEVELZ
public static final String PROPERTY_LEVELZ
Property levelZ stored in column Z in table M_Locator
Help: The Z dimension indicates the Level a product is located in.- See Also:
- Constant Field Values
-
PROPERTY_BARCODE
public static final String PROPERTY_BARCODE
Property barcode stored in column Barcode in table M_Locator
Help: Barcode to identify this item.- See Also:
- Constant Field Values
-
PROPERTY_INVENTORYSTATUS
public static final String PROPERTY_INVENTORYSTATUS
Property inventoryStatus stored in column M_InventoryStatus_ID in table M_Locator
Help: The inventory status refers to the condition of a specific inventory (such as AVAILABLE, RETURN, DEFECT, TRANSIT) that is stored in a specific organization, warehouse and bin and for a product with a specific lot/serial and quantity. The inventory status can allow or disallow certain business processes.- See Also:
- Constant Field Values
-
PROPERTY_CHANGESTATUS
public static final String PROPERTY_CHANGESTATUS
Property changeStatus stored in column Change_Status in table M_Locator
Help: Changes the Inventory Status of the Storage Bin- See Also:
- Constant Field Values
-
PROPERTY_ISVIRTUAL
public static final String PROPERTY_ISVIRTUAL
Property isvirtual stored in column Isvirtual in table M_Locator- See Also:
- Constant Field Values
-
PROPERTY_PARENTLOCATOR
public static final String PROPERTY_PARENTLOCATOR
Property parentLocator stored in column Parent_Locator_ID in table M_Locator- See Also:
- Constant Field Values
-
PROPERTY_ALLOWSTORINGITEMS
public static final String PROPERTY_ALLOWSTORINGITEMS
Property allowStoringItems stored in column Allow_Storing_Items in table M_Locator
Help: Defines whether to allow storing items (directly) in the given storage bin.- See Also:
- Constant Field Values
-
PROPERTY_INCLUDEDHANDLINGUNITTYPES
public static final String PROPERTY_INCLUDEDHANDLINGUNITTYPES
Property includedHandlingUnitTypes stored in column HU_Type_Selection in table M_Locator
Help: Defines the way Handling unit type will be selected (All, Only those defined or All excluding defined)- See Also:
- Constant Field Values
-
PROPERTY_MATERIALMGMTSTORAGEDETAILLIST
public static final String PROPERTY_MATERIALMGMTSTORAGEDETAILLIST
Property materialMgmtStorageDetailList stored in table M_Locator- See Also:
- Constant Field Values
-
PROPERTY_PRODUCTLIST
public static final String PROPERTY_PRODUCTLIST
Property productList stored in table M_Locator- See Also:
- Constant Field Values
-
-
Method Detail
-
getEntityName
public String getEntityName()
- Specified by:
getEntityName
in interfaceIdentifiable
- Specified by:
getEntityName
in classBaseOBObject
-
getId
public String getId()
- Specified by:
getId
in interfaceBaseOBObjectDef
- Specified by:
getId
in interfaceIdentifiable
- Overrides:
getId
in classBaseOBObject
- See Also:
PROPERTY_ID
-
setId
public void setId(String id)
- See Also:
PROPERTY_ID
-
getClient
public Client getClient()
Description copied from interface:ClientEnabled
Client field- Specified by:
getClient
in interfaceClientEnabled
- Returns:
- client
- See Also:
PROPERTY_CLIENT
-
setClient
public void setClient(Client client)
Description copied from interface:ClientEnabled
Client field- Specified by:
setClient
in interfaceClientEnabled
- See Also:
PROPERTY_CLIENT
-
getOrganization
public Organization getOrganization()
Description copied from interface:OrganizationEnabled
Gets organization field- Specified by:
getOrganization
in interfaceOrganizationEnabled
- Returns:
- organization
- See Also:
PROPERTY_ORGANIZATION
-
setOrganization
public void setOrganization(Organization organization)
Description copied from interface:OrganizationEnabled
Sets organization field- Specified by:
setOrganization
in interfaceOrganizationEnabled
- See Also:
PROPERTY_ORGANIZATION
-
isActive
public Boolean isActive()
Description copied from interface:ActiveEnabled
Gets active field- Specified by:
isActive
in interfaceActiveEnabled
- Returns:
- active
- See Also:
PROPERTY_ACTIVE
-
setActive
public void setActive(Boolean active)
Description copied from interface:ActiveEnabled
Sets active field- Specified by:
setActive
in interfaceActiveEnabled
- See Also:
PROPERTY_ACTIVE
-
getCreationDate
public Date getCreationDate()
Description copied from interface:Traceable
Creation date of audit- Specified by:
getCreationDate
in interfaceTraceable
- Returns:
- Date of creation
- See Also:
PROPERTY_CREATIONDATE
-
setCreationDate
public void setCreationDate(Date creationDate)
Description copied from interface:Traceable
Creation date of audit- Specified by:
setCreationDate
in interfaceTraceable
- See Also:
PROPERTY_CREATIONDATE
-
getCreatedBy
public User getCreatedBy()
Description copied from interface:Traceable
Created by audit user- Specified by:
getCreatedBy
in interfaceTraceable
- Returns:
- User
- See Also:
PROPERTY_CREATEDBY
-
setCreatedBy
public void setCreatedBy(User createdBy)
Description copied from interface:Traceable
Created by audit user- Specified by:
setCreatedBy
in interfaceTraceable
- See Also:
PROPERTY_CREATEDBY
-
getUpdated
public Date getUpdated()
Description copied from interface:Traceable
Update date of audit- Specified by:
getUpdated
in interfaceTraceable
- Returns:
- Date of update
- See Also:
PROPERTY_UPDATED
-
setUpdated
public void setUpdated(Date updated)
Description copied from interface:Traceable
Update date of audit- Specified by:
setUpdated
in interfaceTraceable
- See Also:
PROPERTY_UPDATED
-
getUpdatedBy
public User getUpdatedBy()
Description copied from interface:Traceable
Update by audit user- Specified by:
getUpdatedBy
in interfaceTraceable
- Returns:
- User who updated
- See Also:
PROPERTY_UPDATEDBY
-
setUpdatedBy
public void setUpdatedBy(User updatedBy)
Description copied from interface:Traceable
Update by audit user- Specified by:
setUpdatedBy
in interfaceTraceable
- See Also:
PROPERTY_UPDATEDBY
-
getSearchKey
public String getSearchKey()
- See Also:
PROPERTY_SEARCHKEY
-
setSearchKey
public void setSearchKey(String searchKey)
- See Also:
PROPERTY_SEARCHKEY
-
getWarehouse
public Warehouse getWarehouse()
- See Also:
PROPERTY_WAREHOUSE
-
setWarehouse
public void setWarehouse(Warehouse warehouse)
- See Also:
PROPERTY_WAREHOUSE
-
getRelativePriority
public Long getRelativePriority()
- See Also:
PROPERTY_RELATIVEPRIORITY
-
setRelativePriority
public void setRelativePriority(Long relativePriority)
- See Also:
PROPERTY_RELATIVEPRIORITY
-
isDefault
public Boolean isDefault()
- See Also:
PROPERTY_DEFAULT
-
setDefault
public void setDefault(Boolean deflt)
- See Also:
PROPERTY_DEFAULT
-
getRowX
public String getRowX()
- See Also:
PROPERTY_ROWX
-
setRowX
public void setRowX(String rowX)
- See Also:
PROPERTY_ROWX
-
getStackY
public String getStackY()
- See Also:
PROPERTY_STACKY
-
setStackY
public void setStackY(String stackY)
- See Also:
PROPERTY_STACKY
-
getLevelZ
public String getLevelZ()
- See Also:
PROPERTY_LEVELZ
-
setLevelZ
public void setLevelZ(String levelZ)
- See Also:
PROPERTY_LEVELZ
-
getBarcode
public String getBarcode()
- See Also:
PROPERTY_BARCODE
-
setBarcode
public void setBarcode(String barcode)
- See Also:
PROPERTY_BARCODE
-
getInventoryStatus
public InventoryStatus getInventoryStatus()
- See Also:
PROPERTY_INVENTORYSTATUS
-
setInventoryStatus
public void setInventoryStatus(InventoryStatus inventoryStatus)
- See Also:
PROPERTY_INVENTORYSTATUS
-
isChangeStatus
public Boolean isChangeStatus()
- See Also:
PROPERTY_CHANGESTATUS
-
setChangeStatus
public void setChangeStatus(Boolean changeStatus)
- See Also:
PROPERTY_CHANGESTATUS
-
isVirtual
public Boolean isVirtual()
- See Also:
PROPERTY_ISVIRTUAL
-
setVirtual
public void setVirtual(Boolean isvirtual)
- See Also:
PROPERTY_ISVIRTUAL
-
getParentLocator
public Locator getParentLocator()
- See Also:
PROPERTY_PARENTLOCATOR
-
setParentLocator
public void setParentLocator(Locator parentLocator)
- See Also:
PROPERTY_PARENTLOCATOR
-
isAllowStoringItems
public Boolean isAllowStoringItems()
- See Also:
PROPERTY_ALLOWSTORINGITEMS
-
setAllowStoringItems
public void setAllowStoringItems(Boolean allowStoringItems)
- See Also:
PROPERTY_ALLOWSTORINGITEMS
-
getIncludedHandlingUnitTypes
public String getIncludedHandlingUnitTypes()
- See Also:
PROPERTY_INCLUDEDHANDLINGUNITTYPES
-
setIncludedHandlingUnitTypes
public void setIncludedHandlingUnitTypes(String includedHandlingUnitTypes)
- See Also:
PROPERTY_INCLUDEDHANDLINGUNITTYPES
-
getMaterialMgmtStorageDetailList
public List<StorageDetail> getMaterialMgmtStorageDetailList()
Help: Containts the current stock for every product- See Also:
StorageDetail
-
setMaterialMgmtStorageDetailList
public void setMaterialMgmtStorageDetailList(List<StorageDetail> materialMgmtStorageDetailList)
Help: Containts the current stock for every product- See Also:
StorageDetail
-
getProductList
public List<Product> getProductList()
Help: Defines each product and identifies it for use in price lists and orders. The Location is the default location when receiving the stored products.- See Also:
Product
-
-