Class X_C_POS

java.lang.Object
org.compiere.model.PO
org.compiere.model.X_C_POS
All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_C_POS, I_Persistent, Evaluatee
Direct Known Subclasses:
MPOS

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

  • Method Details

    • get_AccessLevel

      protected int get_AccessLevel()
      AccessLevel
      Specified by:
      get_AccessLevel in class PO
      Returns:
      2 - Client
    • 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
    • setAutoLogoutDelay

      public void setAutoLogoutDelay(int AutoLogoutDelay)
      Set Auto Logout Delay.
      Specified by:
      setAutoLogoutDelay in interface I_C_POS
      Parameters:
      AutoLogoutDelay - Automatically logout if terminal inactive for this period
    • getAutoLogoutDelay

      public int getAutoLogoutDelay()
      Get Auto Logout Delay.
      Specified by:
      getAutoLogoutDelay in interface I_C_POS
      Returns:
      Automatically logout if terminal inactive for this period
    • setCashDrawer

      public void setCashDrawer(String CashDrawer)
      Set Cash Drawer.
      Specified by:
      setCashDrawer in interface I_C_POS
      Parameters:
      CashDrawer - Cash Drawer
    • getCashDrawer

      public String getCashDrawer()
      Get Cash Drawer.
      Specified by:
      getCashDrawer in interface I_C_POS
      Returns:
      Cash Drawer
    • getC_BankAccount

      public I_C_BankAccount getC_BankAccount() throws RuntimeException
      Specified by:
      getC_BankAccount in interface I_C_POS
      Throws:
      RuntimeException
    • setC_BankAccount_ID

      public void setC_BankAccount_ID(int C_BankAccount_ID)
      Set Bank Account.
      Specified by:
      setC_BankAccount_ID in interface I_C_POS
      Parameters:
      C_BankAccount_ID - Account at the Bank
    • getC_BankAccount_ID

      public int getC_BankAccount_ID()
      Get Bank Account.
      Specified by:
      getC_BankAccount_ID in interface I_C_POS
      Returns:
      Account at the Bank
    • getC_BPartnerCashTrx

      public I_C_BPartner getC_BPartnerCashTrx() throws RuntimeException
      Specified by:
      getC_BPartnerCashTrx in interface I_C_POS
      Throws:
      RuntimeException
    • setC_BPartnerCashTrx_ID

      public void setC_BPartnerCashTrx_ID(int C_BPartnerCashTrx_ID)
      Set Template B.Partner.
      Specified by:
      setC_BPartnerCashTrx_ID in interface I_C_POS
      Parameters:
      C_BPartnerCashTrx_ID - Business Partner used for creating new Business Partners on the fly
    • getC_BPartnerCashTrx_ID

      public int getC_BPartnerCashTrx_ID()
      Get Template B.Partner.
      Specified by:
      getC_BPartnerCashTrx_ID in interface I_C_POS
      Returns:
      Business Partner used for creating new Business Partners on the fly
    • getC_CashBook

      public I_C_CashBook getC_CashBook() throws RuntimeException
      Specified by:
      getC_CashBook in interface I_C_POS
      Throws:
      RuntimeException
    • setC_CashBook_ID

      public void setC_CashBook_ID(int C_CashBook_ID)
      Set Cash Book.
      Specified by:
      setC_CashBook_ID in interface I_C_POS
      Parameters:
      C_CashBook_ID - Cash Book for recording petty cash transactions
    • getC_CashBook_ID

      public int getC_CashBook_ID()
      Get Cash Book.
      Specified by:
      getC_CashBook_ID in interface I_C_POS
      Returns:
      Cash Book for recording petty cash transactions
    • getC_DocType

      public I_C_DocType getC_DocType() throws RuntimeException
      Specified by:
      getC_DocType in interface I_C_POS
      Throws:
      RuntimeException
    • setC_DocType_ID

      public void setC_DocType_ID(int C_DocType_ID)
      Set Document Type.
      Specified by:
      setC_DocType_ID in interface I_C_POS
      Parameters:
      C_DocType_ID - Document type or rules
    • getC_DocType_ID

      public int getC_DocType_ID()
      Get Document Type.
      Specified by:
      getC_DocType_ID in interface I_C_POS
      Returns:
      Document type or rules
    • setC_POS_ID

      public void setC_POS_ID(int C_POS_ID)
      Set POS Terminal.
      Specified by:
      setC_POS_ID in interface I_C_POS
      Parameters:
      C_POS_ID - Point of Sales Terminal
    • getC_POS_ID

      public int getC_POS_ID()
      Get POS Terminal.
      Specified by:
      getC_POS_ID in interface I_C_POS
      Returns:
      Point of Sales Terminal
    • getC_POSKeyLayout

      public I_C_POSKeyLayout getC_POSKeyLayout() throws RuntimeException
      Specified by:
      getC_POSKeyLayout in interface I_C_POS
      Throws:
      RuntimeException
    • setC_POSKeyLayout_ID

      public void setC_POSKeyLayout_ID(int C_POSKeyLayout_ID)
      Set POS Key Layout.
      Specified by:
      setC_POSKeyLayout_ID in interface I_C_POS
      Parameters:
      C_POSKeyLayout_ID - POS Function Key Layout
    • getC_POSKeyLayout_ID

      public int getC_POSKeyLayout_ID()
      Get POS Key Layout.
      Specified by:
      getC_POSKeyLayout_ID in interface I_C_POS
      Returns:
      POS Function Key Layout
    • setC_POS_UU

      public void setC_POS_UU(String C_POS_UU)
      Set C_POS_UU.
      Specified by:
      setC_POS_UU in interface I_C_POS
      Parameters:
      C_POS_UU - C_POS_UU
    • getC_POS_UU

      public String getC_POS_UU()
      Get C_POS_UU.
      Specified by:
      getC_POS_UU in interface I_C_POS
      Returns:
      C_POS_UU
    • setDescription

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

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

      public void setHelp(String Help)
      Set Comment/Help.
      Specified by:
      setHelp in interface I_C_POS
      Parameters:
      Help - Comment or Hint
    • getHelp

      public String getHelp()
      Get Comment/Help.
      Specified by:
      getHelp in interface I_C_POS
      Returns:
      Comment or Hint
    • setIsModifyPrice

      public void setIsModifyPrice(boolean IsModifyPrice)
      Set Modify Price.
      Specified by:
      setIsModifyPrice in interface I_C_POS
      Parameters:
      IsModifyPrice - Allow modifying the price
    • isModifyPrice

      public boolean isModifyPrice()
      Get Modify Price.
      Specified by:
      isModifyPrice in interface I_C_POS
      Returns:
      Allow modifying the price
    • getM_PriceList

      public I_M_PriceList getM_PriceList() throws RuntimeException
      Specified by:
      getM_PriceList in interface I_C_POS
      Throws:
      RuntimeException
    • setM_PriceList_ID

      public void setM_PriceList_ID(int M_PriceList_ID)
      Set Price List.
      Specified by:
      setM_PriceList_ID in interface I_C_POS
      Parameters:
      M_PriceList_ID - Unique identifier of a Price List
    • getM_PriceList_ID

      public int getM_PriceList_ID()
      Get Price List.
      Specified by:
      getM_PriceList_ID in interface I_C_POS
      Returns:
      Unique identifier of a Price List
    • getM_Warehouse

      public I_M_Warehouse getM_Warehouse() throws RuntimeException
      Specified by:
      getM_Warehouse in interface I_C_POS
      Throws:
      RuntimeException
    • setM_Warehouse_ID

      public void setM_Warehouse_ID(int M_Warehouse_ID)
      Set Warehouse.
      Specified by:
      setM_Warehouse_ID in interface I_C_POS
      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_C_POS
      Returns:
      Storage Warehouse and Service Point
    • setName

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

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

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

      public I_C_POSKeyLayout getOSK_KeyLayout() throws RuntimeException
      Specified by:
      getOSK_KeyLayout in interface I_C_POS
      Throws:
      RuntimeException
    • setOSK_KeyLayout_ID

      public void setOSK_KeyLayout_ID(int OSK_KeyLayout_ID)
      Set On Screen Keyboard layout.
      Specified by:
      setOSK_KeyLayout_ID in interface I_C_POS
      Parameters:
      OSK_KeyLayout_ID - The key layout to use for on screen keyboard for text fields.
    • getOSK_KeyLayout_ID

      public int getOSK_KeyLayout_ID()
      Get On Screen Keyboard layout.
      Specified by:
      getOSK_KeyLayout_ID in interface I_C_POS
      Returns:
      The key layout to use for on screen keyboard for text fields.
    • getOSNP_KeyLayout

      public I_C_POSKeyLayout getOSNP_KeyLayout() throws RuntimeException
      Specified by:
      getOSNP_KeyLayout in interface I_C_POS
      Throws:
      RuntimeException
    • setOSNP_KeyLayout_ID

      public void setOSNP_KeyLayout_ID(int OSNP_KeyLayout_ID)
      Set On Screen Number Pad layout.
      Specified by:
      setOSNP_KeyLayout_ID in interface I_C_POS
      Parameters:
      OSNP_KeyLayout_ID - The key layout to use for on screen number pad for numeric fields.
    • getOSNP_KeyLayout_ID

      public int getOSNP_KeyLayout_ID()
      Get On Screen Number Pad layout.
      Specified by:
      getOSNP_KeyLayout_ID in interface I_C_POS
      Returns:
      The key layout to use for on screen number pad for numeric fields.
    • setPrinterName

      public void setPrinterName(String PrinterName)
      Set Printer Name.
      Specified by:
      setPrinterName in interface I_C_POS
      Parameters:
      PrinterName - Name of the Printer
    • getPrinterName

      public String getPrinterName()
      Get Printer Name.
      Specified by:
      getPrinterName in interface I_C_POS
      Returns:
      Name of the Printer
    • getSalesRep

      public I_AD_User getSalesRep() throws RuntimeException
      Specified by:
      getSalesRep in interface I_C_POS
      Throws:
      RuntimeException
    • setSalesRep_ID

      public void setSalesRep_ID(int SalesRep_ID)
      Set Sales Representative.
      Specified by:
      setSalesRep_ID in interface I_C_POS
      Parameters:
      SalesRep_ID - Sales Representative or Company Agent
    • getSalesRep_ID

      public int getSalesRep_ID()
      Get Sales Representative.
      Specified by:
      getSalesRep_ID in interface I_C_POS
      Returns:
      Sales Representative or Company Agent