Package org.compiere.model
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 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- 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, LOCAL_TRX_PREFIX, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
-
Fields inherited from interface org.compiere.model.I_C_POS
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AutoLogoutDelay, COLUMNNAME_C_BankAccount_ID, COLUMNNAME_C_BPartnerCashTrx_ID, COLUMNNAME_C_CashBook_ID, COLUMNNAME_C_DocType_ID, COLUMNNAME_C_POS_ID, COLUMNNAME_C_POS_UU, COLUMNNAME_C_POSKeyLayout_ID, COLUMNNAME_CashDrawer, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_Help, COLUMNNAME_IsActive, COLUMNNAME_IsModifyPrice, COLUMNNAME_M_PriceList_ID, COLUMNNAME_M_Warehouse_ID, COLUMNNAME_Name, COLUMNNAME_OSK_KeyLayout_ID, COLUMNNAME_OSNP_KeyLayout_ID, COLUMNNAME_PrinterName, COLUMNNAME_SalesRep_ID, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_C_POS(Properties ctx, int C_POS_ID, String trxName)
Standard ConstructorX_C_POS(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
get_AccessLevel()
AccessLevelint
getAutoLogoutDelay()
Get Auto Logout Delay.I_C_BankAccount
getC_BankAccount()
int
getC_BankAccount_ID()
Get Bank Account.I_C_BPartner
getC_BPartnerCashTrx()
int
getC_BPartnerCashTrx_ID()
Get Template B.Partner.I_C_CashBook
getC_CashBook()
int
getC_CashBook_ID()
Get Cash Book.I_C_DocType
getC_DocType()
int
getC_DocType_ID()
Get Document Type.int
getC_POS_ID()
Get POS Terminal.String
getC_POS_UU()
Get C_POS_UU.I_C_POSKeyLayout
getC_POSKeyLayout()
int
getC_POSKeyLayout_ID()
Get POS Key Layout.String
getCashDrawer()
Get CashDrawer.String
getDescription()
Get Description.String
getHelp()
Get Comment/Help.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameI_M_PriceList
getM_PriceList()
int
getM_PriceList_ID()
Get Price List.I_M_Warehouse
getM_Warehouse()
int
getM_Warehouse_ID()
Get Warehouse.String
getName()
Get Name.I_C_POSKeyLayout
getOSK_KeyLayout()
int
getOSK_KeyLayout_ID()
Get On Screen Keyboard layout.I_C_POSKeyLayout
getOSNP_KeyLayout()
int
getOSNP_KeyLayout_ID()
Get On Screen Number Pad layout.String
getPrinterName()
Get Printer Name.I_AD_User
getSalesRep()
int
getSalesRep_ID()
Get Sales Representative.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isModifyPrice()
Get Modify Price.void
setAutoLogoutDelay(int AutoLogoutDelay)
Set Auto Logout Delay.void
setC_BankAccount_ID(int C_BankAccount_ID)
Set Bank Account.void
setC_BPartnerCashTrx_ID(int C_BPartnerCashTrx_ID)
Set Template B.Partner.void
setC_CashBook_ID(int C_CashBook_ID)
Set Cash Book.void
setC_DocType_ID(int C_DocType_ID)
Set Document Type.void
setC_POS_ID(int C_POS_ID)
Set POS Terminal.void
setC_POS_UU(String C_POS_UU)
Set C_POS_UU.void
setC_POSKeyLayout_ID(int C_POSKeyLayout_ID)
Set POS Key Layout.void
setCashDrawer(String CashDrawer)
Set CashDrawer.void
setDescription(String Description)
Set Description.void
setHelp(String Help)
Set Comment/Help.void
setIsModifyPrice(boolean IsModifyPrice)
Set Modify Price.void
setM_PriceList_ID(int M_PriceList_ID)
Set Price List.void
setM_Warehouse_ID(int M_Warehouse_ID)
Set Warehouse.void
setName(String Name)
Set Name.void
setOSK_KeyLayout_ID(int OSK_KeyLayout_ID)
Set On Screen Keyboard layout.void
setOSNP_KeyLayout_ID(int OSNP_KeyLayout_ID)
Set On Screen Number Pad layout.void
setPrinterName(String PrinterName)
Set Printer Name.void
setSalesRep_ID(int SalesRep_ID)
Set Sales Representative.String
toString()
String representation-
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, checkImmutable, clearCrossTenantSafe, clone, columnExists, columnExists, compare, copyPO, copyValues, copyValues, createAttachment, delete, delete, delete_Accounting, delete_Tree, deleteEx, deleteEx, dump, dump, equals, get_Attribute, get_Attributes, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_HashMap, get_ID, get_IDOld, get_KeyColumns, get_Logger, get_OptimisticLockingColumns, get_Table_ID, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getUUIDColumnName, getUUIDColumnName, hashCode, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_Immutable, is_new, is_UseOptimisticLocking, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, load, loadByUU, loadComplete, loadDefaults, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveEx, saveEx, saveNew_afterSetID, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_Attribute, set_ColumnUpdateable, set_CustomColumn, set_CustomColumnReturningBoolean, set_OptimisticLockingColumns, set_TrxName, set_TrxName, set_UseOptimisticLocking, set_Value, set_Value, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, set_ValueOfColumnReturningBoolean, set_ValueOfColumnReturningBoolean, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setCrossTenantSafe, setDoc, setDocWorkflowMgr, setIsActive, setProcessedOn, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock, update_Tree, validForeignKeys
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Methods inherited from interface org.compiere.model.I_C_POS
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActive
-
Methods inherited from interface org.compiere.model.I_Persistent
save
-
-
-
-
Constructor Detail
-
X_C_POS
public X_C_POS(Properties ctx, int C_POS_ID, String trxName)
Standard Constructor
-
X_C_POS
public X_C_POS(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
-
Method Detail
-
get_AccessLevel
protected int get_AccessLevel()
AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 2 - Client
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
setAutoLogoutDelay
public void setAutoLogoutDelay(int AutoLogoutDelay)
Set Auto Logout Delay.- Specified by:
setAutoLogoutDelay
in interfaceI_C_POS
- Parameters:
AutoLogoutDelay
- Automatically logout if terminal inactive for this period
-
getAutoLogoutDelay
public int getAutoLogoutDelay()
Get Auto Logout Delay.- Specified by:
getAutoLogoutDelay
in interfaceI_C_POS
- Returns:
- Automatically logout if terminal inactive for this period
-
setCashDrawer
public void setCashDrawer(String CashDrawer)
Set CashDrawer.- Specified by:
setCashDrawer
in interfaceI_C_POS
- Parameters:
CashDrawer
- CashDrawer
-
getCashDrawer
public String getCashDrawer()
Get CashDrawer.- Specified by:
getCashDrawer
in interfaceI_C_POS
- Returns:
- CashDrawer
-
getC_BankAccount
public I_C_BankAccount getC_BankAccount() throws RuntimeException
- Specified by:
getC_BankAccount
in interfaceI_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 interfaceI_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 interfaceI_C_POS
- Returns:
- Account at the Bank
-
getC_BPartnerCashTrx
public I_C_BPartner getC_BPartnerCashTrx() throws RuntimeException
- Specified by:
getC_BPartnerCashTrx
in interfaceI_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 interfaceI_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 interfaceI_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 interfaceI_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 interfaceI_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 interfaceI_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 interfaceI_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 interfaceI_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 interfaceI_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 interfaceI_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 interfaceI_C_POS
- Returns:
- Point of Sales Terminal
-
getC_POSKeyLayout
public I_C_POSKeyLayout getC_POSKeyLayout() throws RuntimeException
- Specified by:
getC_POSKeyLayout
in interfaceI_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 interfaceI_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 interfaceI_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 interfaceI_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 interfaceI_C_POS
- Returns:
- C_POS_UU
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescription
in interfaceI_C_POS
- Parameters:
Description
- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescription
in interfaceI_C_POS
- Returns:
- Optional short description of the record
-
setHelp
public void setHelp(String Help)
Set Comment/Help.
-
getHelp
public String getHelp()
Get Comment/Help.
-
setIsModifyPrice
public void setIsModifyPrice(boolean IsModifyPrice)
Set Modify Price.- Specified by:
setIsModifyPrice
in interfaceI_C_POS
- Parameters:
IsModifyPrice
- Allow modifying the price
-
isModifyPrice
public boolean isModifyPrice()
Get Modify Price.- Specified by:
isModifyPrice
in interfaceI_C_POS
- Returns:
- Allow modifying the price
-
getM_PriceList
public I_M_PriceList getM_PriceList() throws RuntimeException
- Specified by:
getM_PriceList
in interfaceI_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 interfaceI_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 interfaceI_C_POS
- Returns:
- Unique identifier of a Price List
-
getM_Warehouse
public I_M_Warehouse getM_Warehouse() throws RuntimeException
- Specified by:
getM_Warehouse
in interfaceI_C_POS
- Throws:
RuntimeException
-
setM_Warehouse_ID
public void setM_Warehouse_ID(int M_Warehouse_ID)
Set Warehouse.- Specified by:
setM_Warehouse_ID
in interfaceI_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 interfaceI_C_POS
- Returns:
- Storage Warehouse and Service Point
-
setName
public void setName(String Name)
Set Name.
-
getName
public String getName()
Get Name.
-
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 interfaceI_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 interfaceI_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 interfaceI_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 interfaceI_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 interfaceI_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 interfaceI_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 interfaceI_C_POS
- Parameters:
PrinterName
- Name of the Printer
-
getPrinterName
public String getPrinterName()
Get Printer Name.- Specified by:
getPrinterName
in interfaceI_C_POS
- Returns:
- Name of the Printer
-
getSalesRep
public I_AD_User getSalesRep() throws RuntimeException
- Specified by:
getSalesRep
in interfaceI_C_POS
- Throws:
RuntimeException
-
setSalesRep_ID
public void setSalesRep_ID(int SalesRep_ID)
Set Sales Representative.- Specified by:
setSalesRep_ID
in interfaceI_C_POS
- Parameters:
SalesRep_ID
- Sales Representative or Company Agent
-
getSalesRep_ID
public int getSalesRep_ID()
Get Sales Representative.- Specified by:
getSalesRep_ID
in interfaceI_C_POS
- Returns:
- Sales Representative or Company Agent
-
-