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
Generated Model for C_POS
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
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, UUID_NEW_RECORD, 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
ConstructorDescriptionX_C_POS
(Properties ctx, int C_POS_ID, String trxName) Standard ConstructorX_C_POS
(Properties ctx, int C_POS_ID, String trxName, String... virtualColumns) Standard ConstructorX_C_POS
(Properties ctx, String C_POS_UU, String trxName) Standard ConstructorX_C_POS
(Properties ctx, String C_POS_UU, String trxName, String... virtualColumns) Standard ConstructorX_C_POS
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Auto Logout Delay.int
Get Bank Account.int
Get Template B.Partner.int
Get Cash Book.int
Get Document Type.int
Get POS Terminal.Get C_POS_UU.int
Get POS Key Layout.Get Cash Drawer.Get Description.getHelp()
Get Comment/Help.Get Record ID/ColumnNameint
Get Price List.int
Get Warehouse.getName()
Get Name.int
Get On Screen Keyboard layout.int
Get On Screen Number Pad layout.Get Printer Name.int
Get Sales Representative.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
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 Cash Drawer.void
setDescription
(String Description) Set Description.void
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
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.toString()
String representationMethods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, buildInsertSQL, 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_UUID, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, 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, loadByUU, loadComplete, loadDefaults, loadPO, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveCrossTenantSafe, saveCrossTenantSafeEx, saveCrossTenantSafeEx, 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, toInsertSQL, 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 Details
-
X_C_POS
Standard Constructor -
X_C_POS
Standard Constructor -
X_C_POS
Standard Constructor -
X_C_POS
Standard Constructor -
X_C_POS
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 2 - Client
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
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
Set Cash Drawer.- Specified by:
setCashDrawer
in interfaceI_C_POS
- Parameters:
CashDrawer
- Cash Drawer
-
getCashDrawer
Get Cash Drawer.- Specified by:
getCashDrawer
in interfaceI_C_POS
- Returns:
- Cash Drawer
-
getC_BankAccount
- 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
- 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
- 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
- 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
- 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
Set C_POS_UU.- Specified by:
setC_POS_UU
in interfaceI_C_POS
- Parameters:
C_POS_UU
- C_POS_UU
-
getC_POS_UU
Get C_POS_UU.- Specified by:
getC_POS_UU
in interfaceI_C_POS
- Returns:
- C_POS_UU
-
setDescription
Set Description.- Specified by:
setDescription
in interfaceI_C_POS
- Parameters:
Description
- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescription
in interfaceI_C_POS
- Returns:
- Optional short description of the record
-
setHelp
Set Comment/Help. -
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
- 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
- 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
Set Name. -
getName
Get Name. -
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
getOSK_KeyLayout
- 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
- 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
Set Printer Name.- Specified by:
setPrinterName
in interfaceI_C_POS
- Parameters:
PrinterName
- Name of the Printer
-
getPrinterName
Get Printer Name.- Specified by:
getPrinterName
in interfaceI_C_POS
- Returns:
- Name of the Printer
-
getSalesRep
- 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
-