Class X_M_Warehouse

java.lang.Object
org.compiere.model.PO
org.compiere.model.X_M_Warehouse
All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_M_Warehouse, I_Persistent, Evaluatee
Direct Known Subclasses:
MWarehouse

public class X_M_Warehouse extends PO implements I_M_Warehouse, I_Persistent
Generated Model for M_Warehouse
Version:
Release 11 - $Id$
Author:
iDempiere (generated)
See Also:
  • Constructor Details

    • X_M_Warehouse

      public X_M_Warehouse(Properties ctx, int M_Warehouse_ID, String trxName)
      Standard Constructor
    • X_M_Warehouse

      public X_M_Warehouse(Properties ctx, int M_Warehouse_ID, String trxName, String... virtualColumns)
      Standard Constructor
    • X_M_Warehouse

      public X_M_Warehouse(Properties ctx, String M_Warehouse_UU, String trxName)
      Standard Constructor
    • X_M_Warehouse

      public X_M_Warehouse(Properties ctx, String M_Warehouse_UU, String trxName, String... virtualColumns)
      Standard Constructor
    • X_M_Warehouse

      public X_M_Warehouse(Properties ctx, ResultSet rs, String trxName)
      Load Constructor
  • Method Details

    • get_AccessLevel

      protected int get_AccessLevel()
      AccessLevel
      Specified by:
      get_AccessLevel in class PO
      Returns:
      3 - Client - Org
    • initPO

      protected POInfo initPO(Properties ctx)
      Load Meta Data
      Specified by:
      initPO in class PO
      Parameters:
      ctx - context
      Returns:
      Meta data of PO
    • toString

      public String toString()
      Description copied from class: PO
      String representation
      Overrides:
      toString in class PO
      Returns:
      String representation
    • getC_Location

      public I_C_Location getC_Location() throws RuntimeException
      Specified by:
      getC_Location in interface I_M_Warehouse
      Throws:
      RuntimeException
    • setC_Location_ID

      public void setC_Location_ID(int C_Location_ID)
      Set Address.
      Specified by:
      setC_Location_ID in interface I_M_Warehouse
      Parameters:
      C_Location_ID - Location or Address
    • getC_Location_ID

      public int getC_Location_ID()
      Get Address.
      Specified by:
      getC_Location_ID in interface I_M_Warehouse
      Returns:
      Location or Address
    • setDescription

      public void setDescription(String Description)
      Set Description.
      Specified by:
      setDescription in interface I_M_Warehouse
      Parameters:
      Description - Optional short description of the record
    • getDescription

      public String getDescription()
      Get Description.
      Specified by:
      getDescription in interface I_M_Warehouse
      Returns:
      Optional short description of the record
    • setIsDisallowNegativeInv

      public void setIsDisallowNegativeInv(boolean IsDisallowNegativeInv)
      Set Disallow Negative Inventory.
      Specified by:
      setIsDisallowNegativeInv in interface I_M_Warehouse
      Parameters:
      IsDisallowNegativeInv - Negative Inventory is not allowed in this warehouse
    • isDisallowNegativeInv

      public boolean isDisallowNegativeInv()
      Get Disallow Negative Inventory.
      Specified by:
      isDisallowNegativeInv in interface I_M_Warehouse
      Returns:
      Negative Inventory is not allowed in this warehouse
    • setIsInTransit

      public void setIsInTransit(boolean IsInTransit)
      Set In Transit.
      Specified by:
      setIsInTransit in interface I_M_Warehouse
      Parameters:
      IsInTransit - Movement is in transit
    • isInTransit

      public boolean isInTransit()
      Get In Transit.
      Specified by:
      isInTransit in interface I_M_Warehouse
      Returns:
      Movement is in transit
    • getM_ReserveLocator

      public I_M_Locator getM_ReserveLocator() throws RuntimeException
      Specified by:
      getM_ReserveLocator in interface I_M_Warehouse
      Throws:
      RuntimeException
    • setM_ReserveLocator_ID

      public void setM_ReserveLocator_ID(int M_ReserveLocator_ID)
      Set Reservation Locator.
      Specified by:
      setM_ReserveLocator_ID in interface I_M_Warehouse
      Parameters:
      M_ReserveLocator_ID - Reservation Locator (just for reporting purposes)
    • getM_ReserveLocator_ID

      public int getM_ReserveLocator_ID()
      Get Reservation Locator.
      Specified by:
      getM_ReserveLocator_ID in interface I_M_Warehouse
      Returns:
      Reservation Locator (just for reporting purposes)
    • setM_Warehouse_ID

      public void setM_Warehouse_ID(int M_Warehouse_ID)
      Set Warehouse.
      Specified by:
      setM_Warehouse_ID in interface I_M_Warehouse
      Parameters:
      M_Warehouse_ID - Storage Warehouse and Service Point
    • getM_Warehouse_ID

      public int getM_Warehouse_ID()
      Get Warehouse.
      Specified by:
      getM_Warehouse_ID in interface I_M_Warehouse
      Returns:
      Storage Warehouse and Service Point
    • getM_WarehouseSource

      public I_M_Warehouse getM_WarehouseSource() throws RuntimeException
      Specified by:
      getM_WarehouseSource in interface I_M_Warehouse
      Throws:
      RuntimeException
    • setM_WarehouseSource_ID

      public void setM_WarehouseSource_ID(int M_WarehouseSource_ID)
      Set Source Warehouse.
      Specified by:
      setM_WarehouseSource_ID in interface I_M_Warehouse
      Parameters:
      M_WarehouseSource_ID - Optional Warehouse to replenish from
    • getM_WarehouseSource_ID

      public int getM_WarehouseSource_ID()
      Get Source Warehouse.
      Specified by:
      getM_WarehouseSource_ID in interface I_M_Warehouse
      Returns:
      Optional Warehouse to replenish from
    • setM_Warehouse_UU

      public void setM_Warehouse_UU(String M_Warehouse_UU)
      Set M_Warehouse_UU.
      Specified by:
      setM_Warehouse_UU in interface I_M_Warehouse
      Parameters:
      M_Warehouse_UU - M_Warehouse_UU
    • getM_Warehouse_UU

      public String getM_Warehouse_UU()
      Get M_Warehouse_UU.
      Specified by:
      getM_Warehouse_UU in interface I_M_Warehouse
      Returns:
      M_Warehouse_UU
    • setName

      public void setName(String Name)
      Set Name.
      Specified by:
      setName in interface I_M_Warehouse
      Parameters:
      Name - Alphanumeric identifier of the entity
    • getName

      public String getName()
      Get Name.
      Specified by:
      getName in interface I_M_Warehouse
      Returns:
      Alphanumeric identifier of the entity
    • getKeyNamePair

      public KeyNamePair getKeyNamePair()
      Get Record ID/ColumnName
      Returns:
      ID/ColumnName pair
    • setReplenishmentClass

      public void setReplenishmentClass(String ReplenishmentClass)
      Set Replenishment Class.
      Specified by:
      setReplenishmentClass in interface I_M_Warehouse
      Parameters:
      ReplenishmentClass - Custom class to calculate Quantity to Order
    • getReplenishmentClass

      public String getReplenishmentClass()
      Get Replenishment Class.
      Specified by:
      getReplenishmentClass in interface I_M_Warehouse
      Returns:
      Custom class to calculate Quantity to Order
    • setSeparator

      public void setSeparator(String Separator)
      Set Element Separator.
      Specified by:
      setSeparator in interface I_M_Warehouse
      Parameters:
      Separator - Element Separator
    • getSeparator

      public String getSeparator()
      Get Element Separator.
      Specified by:
      getSeparator in interface I_M_Warehouse
      Returns:
      Element Separator
    • setValue

      public void setValue(String Value)
      Set Search Key.
      Specified by:
      setValue in interface I_M_Warehouse
      Parameters:
      Value - Search key for the record in the format required - must be unique
    • getValue

      public String getValue()
      Get Search Key.
      Specified by:
      getValue in interface I_M_Warehouse
      Returns:
      Search key for the record in the format required - must be unique