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 13 - $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_IDFields 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
ConstructorsConstructorDescriptionX_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 intAccessLevelintGet Auto Logout Delay.Deprecated.intGet Bank Account.Deprecated.intGet Template B.Partner.Deprecated.intGet Cash Book.Deprecated.intGet Document Type.intGet POS Terminal.Get C_POS_UU.Deprecated.intGet POS Key Layout.Get Cash Drawer.Get Description.getHelp()Get Comment/Help.Get Record ID/ColumnNameDeprecated.intGet Price List.Deprecated.intGet Warehouse.getName()Get Name.Deprecated.intGet On Screen Keyboard layout.Deprecated.intGet On Screen Number Pad layout.Get Printer Name.Deprecated.intGet Sales Representative.protected POInfoinitPO(Properties ctx) Load Meta DatabooleanGet Modify Price.voidsetAutoLogoutDelay(int AutoLogoutDelay) Set Auto Logout Delay.voidsetC_BankAccount_ID(int C_BankAccount_ID) Set Bank Account.voidsetC_BPartnerCashTrx_ID(int C_BPartnerCashTrx_ID) Set Template B.Partner.voidsetC_CashBook_ID(int C_CashBook_ID) Set Cash Book.voidsetC_DocType_ID(int C_DocType_ID) Set Document Type.voidsetC_POS_ID(int C_POS_ID) Set POS Terminal.voidsetC_POS_UU(String C_POS_UU) Set C_POS_UU.voidsetC_POSKeyLayout_ID(int C_POSKeyLayout_ID) Set POS Key Layout.voidsetCashDrawer(String CashDrawer) Set Cash Drawer.voidsetDescription(String Description) Set Description.voidSet Comment/Help.voidsetIsModifyPrice(boolean IsModifyPrice) Set Modify Price.voidsetM_PriceList_ID(int M_PriceList_ID) Set Price List.voidsetM_Warehouse_ID(int M_Warehouse_ID) Set Warehouse.voidSet Name.voidsetOSK_KeyLayout_ID(int OSK_KeyLayout_ID) Set On Screen Keyboard layout.voidsetOSNP_KeyLayout_ID(int OSNP_KeyLayout_ID) Set On Screen Number Pad layout.voidsetPrinterName(String PrinterName) Set Printer Name.voidsetSalesRep_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_TableAttribute, get_TableAttributeAsBoolean, get_TableAttributeAsInt, get_TableAttributes, 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, validForeignKeysExMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongMethods inherited from interface org.compiere.model.I_C_POS
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActiveMethods 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_AccessLevelin classPO- Returns:
- 2 - Client
-
initPO
Load Meta Data -
toString
Description copied from class:POString representation -
setAutoLogoutDelay
public void setAutoLogoutDelay(int AutoLogoutDelay) Set Auto Logout Delay.- Specified by:
setAutoLogoutDelayin interfaceI_C_POS- Parameters:
AutoLogoutDelay- Automatically logout if terminal inactive for this period
-
getAutoLogoutDelay
public int getAutoLogoutDelay()Get Auto Logout Delay.- Specified by:
getAutoLogoutDelayin interfaceI_C_POS- Returns:
- Automatically logout if terminal inactive for this period
-
getC_BPartnerCashTrx
Deprecated.- Specified by:
getC_BPartnerCashTrxin 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_IDin 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_IDin interfaceI_C_POS- Returns:
- Business Partner used for creating new Business Partners on the fly
-
getC_BankAccount
Deprecated.- Specified by:
getC_BankAccountin interfaceI_C_POS- Throws:
RuntimeException
-
setC_BankAccount_ID
public void setC_BankAccount_ID(int C_BankAccount_ID) Set Bank Account.- Specified by:
setC_BankAccount_IDin 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_IDin interfaceI_C_POS- Returns:
- Account at the Bank
-
getC_CashBook
Deprecated.- Specified by:
getC_CashBookin interfaceI_C_POS- Throws:
RuntimeException
-
setC_CashBook_ID
public void setC_CashBook_ID(int C_CashBook_ID) Set Cash Book.- Specified by:
setC_CashBook_IDin 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_IDin interfaceI_C_POS- Returns:
- Cash Book for recording petty cash transactions
-
getC_DocType
Deprecated.- Specified by:
getC_DocTypein interfaceI_C_POS- Throws:
RuntimeException
-
setC_DocType_ID
public void setC_DocType_ID(int C_DocType_ID) Set Document Type.- Specified by:
setC_DocType_IDin 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_IDin interfaceI_C_POS- Returns:
- Document type or rules
-
getC_POSKeyLayout
Deprecated.- Specified by:
getC_POSKeyLayoutin 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_IDin 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_IDin interfaceI_C_POS- Returns:
- POS Function Key Layout
-
setC_POS_ID
public void setC_POS_ID(int C_POS_ID) Set POS Terminal.- Specified by:
setC_POS_IDin 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_IDin interfaceI_C_POS- Returns:
- Point of Sales Terminal
-
setC_POS_UU
Set C_POS_UU.- Specified by:
setC_POS_UUin interfaceI_C_POS- Parameters:
C_POS_UU- C_POS_UU
-
getC_POS_UU
Get C_POS_UU.- Specified by:
getC_POS_UUin interfaceI_C_POS- Returns:
- C_POS_UU
-
setCashDrawer
Set Cash Drawer.- Specified by:
setCashDrawerin interfaceI_C_POS- Parameters:
CashDrawer- Cash Drawer
-
getCashDrawer
Get Cash Drawer.- Specified by:
getCashDrawerin interfaceI_C_POS- Returns:
- Cash Drawer
-
setDescription
Set Description.- Specified by:
setDescriptionin interfaceI_C_POS- Parameters:
Description- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescriptionin 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:
setIsModifyPricein interfaceI_C_POS- Parameters:
IsModifyPrice- Allow modifying the price
-
isModifyPrice
public boolean isModifyPrice()Get Modify Price.- Specified by:
isModifyPricein interfaceI_C_POS- Returns:
- Allow modifying the price
-
getM_PriceList
Deprecated.- Specified by:
getM_PriceListin interfaceI_C_POS- Throws:
RuntimeException
-
setM_PriceList_ID
public void setM_PriceList_ID(int M_PriceList_ID) Set Price List.- Specified by:
setM_PriceList_IDin 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_IDin interfaceI_C_POS- Returns:
- Unique identifier of a Price List
-
getM_Warehouse
Deprecated.- Specified by:
getM_Warehousein interfaceI_C_POS- Throws:
RuntimeException
-
setM_Warehouse_ID
public void setM_Warehouse_ID(int M_Warehouse_ID) Set Warehouse.- Specified by:
setM_Warehouse_IDin 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_IDin 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
Deprecated.- Specified by:
getOSK_KeyLayoutin 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_IDin 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_IDin interfaceI_C_POS- Returns:
- The key layout to use for on screen keyboard for text fields.
-
getOSNP_KeyLayout
Deprecated.- Specified by:
getOSNP_KeyLayoutin 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_IDin 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_IDin interfaceI_C_POS- Returns:
- The key layout to use for on screen number pad for numeric fields.
-
setPrinterName
Set Printer Name.- Specified by:
setPrinterNamein interfaceI_C_POS- Parameters:
PrinterName- Name of the Printer
-
getPrinterName
Get Printer Name.- Specified by:
getPrinterNamein interfaceI_C_POS- Returns:
- Name of the Printer
-
getSalesRep
Deprecated.- Specified by:
getSalesRepin interfaceI_C_POS- Throws:
RuntimeException
-
setSalesRep_ID
public void setSalesRep_ID(int SalesRep_ID) Set Sales Representative.- Specified by:
setSalesRep_IDin interfaceI_C_POS- Parameters:
SalesRep_ID- Sales Representative or Company Agent
-
getSalesRep_ID
public int getSalesRep_ID()Get Sales Representative.- Specified by:
getSalesRep_IDin interfaceI_C_POS- Returns:
- Sales Representative or Company Agent
-