Adempiere 3.5.2a

org.compiere.model
Class X_C_POS

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_C_POS
All Implemented Interfaces:
Serializable, Comparator, 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 3.5.2a - $Id$
Author:
Adempiere (generated)
See Also:
Serialized Form

Field Summary
static int C_BPARTNERCASHTRX_ID_AD_Reference_ID
          C_BPartnerCashTrx_ID AD_Reference_ID=173
static int SALESREP_ID_AD_Reference_ID
          SalesRep_ID AD_Reference_ID=190
 
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, 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_C_BankAccount_ID, COLUMNNAME_C_BPartnerCashTrx_ID, COLUMNNAME_C_CashBook_ID, COLUMNNAME_C_DocType_ID, COLUMNNAME_C_POS_ID, COLUMNNAME_C_POSKeyLayout_ID, COLUMNNAME_CashDrawer, COLUMNNAME_Description, COLUMNNAME_Help, COLUMNNAME_IsModifyPrice, COLUMNNAME_M_PriceList_ID, COLUMNNAME_M_Warehouse_ID, COLUMNNAME_Name, COLUMNNAME_PrinterName, COLUMNNAME_SalesRep_ID, Model, Table_ID, Table_Name
 
Constructor Summary
X_C_POS(Properties ctx, int C_POS_ID, String trxName)
          Standard Constructor
X_C_POS(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 int getC_BankAccount_ID()
          Get Bank Account.
 I_C_BankAccount getC_BankAccount()
           
 int getC_BPartnerCashTrx_ID()
          Get Template B.Partner.
 int getC_CashBook_ID()
          Get Cash Book.
 I_C_CashBook getC_CashBook()
           
 int getC_DocType_ID()
          Get Document Type.
 I_C_DocType getC_DocType()
           
 int getC_POS_ID()
          Get POS Terminal.
 int getC_POSKeyLayout_ID()
          Get POS Key Layout.
 I_C_POSKeyLayout getC_POSKeyLayout()
           
 String getCashDrawer()
          Get CashDrawer.
 String getDescription()
          Get Description.
 String getHelp()
          Get Comment/Help.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 int getM_PriceList_ID()
          Get Price List.
 I_M_PriceList getM_PriceList()
           
 int getM_Warehouse_ID()
          Get Warehouse.
 I_M_Warehouse getM_Warehouse()
           
 String getName()
          Get Name.
 String getPrinterName()
          Get Printer Name.
 int getSalesRep_ID()
          Get Sales Representative.
protected  POInfo initPO(Properties ctx)
          Load Meta Data
 boolean isModifyPrice()
          Get Modify Price.
 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_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 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, compare, copyValues, copyValues, createAttachment, delete_Accounting, delete_Tree, delete, delete, deleteEx, deleteEx, dump, dump, equals, 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_Table_ID, get_TableName, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_new, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadComplete, loadDefaults, loadSpecial, lock, save, save, saveEx, saveEx, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_ColumnUpdateable, set_CustomColumn, set_TrxName, set_TrxName, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setDoc, setDocWorkflowMgr, setIsActive, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.compiere.model.I_Persistent
save
 

Field Detail

C_BPARTNERCASHTRX_ID_AD_Reference_ID

public static final int C_BPARTNERCASHTRX_ID_AD_Reference_ID
C_BPartnerCashTrx_ID AD_Reference_ID=173

See Also:
Constant Field Values

SALESREP_ID_AD_Reference_ID

public static final int SALESREP_ID_AD_Reference_ID
SalesRep_ID AD_Reference_ID=190

See Also:
Constant Field Values
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 class PO
Returns:
2 - Client

initPO

protected POInfo initPO(Properties ctx)
Load Meta Data

Specified by:
initPO in class PO
Parameters:
ctx - context
Returns:
POInfo

toString

public String toString()
Description copied from class: PO
String representation

Overrides:
toString in class PO
Returns:
String representation

setCashDrawer

public void setCashDrawer(String CashDrawer)
Set CashDrawer.

Specified by:
setCashDrawer in interface I_C_POS
Parameters:
CashDrawer - CashDrawer

getCashDrawer

public String getCashDrawer()
Get CashDrawer.

Specified by:
getCashDrawer in interface I_C_POS
Returns:
CashDrawer

getC_BankAccount

public I_C_BankAccount getC_BankAccount()
                                 throws Exception
Specified by:
getC_BankAccount in interface I_C_POS
Throws:
Exception

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

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 Exception
Specified by:
getC_CashBook in interface I_C_POS
Throws:
Exception

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 Exception
Specified by:
getC_DocType in interface I_C_POS
Throws:
Exception

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 Exception
Specified by:
getC_POSKeyLayout in interface I_C_POS
Throws:
Exception

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

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 Exception
Specified by:
getM_PriceList in interface I_C_POS
Throws:
Exception

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 Exception
Specified by:
getM_Warehouse in interface I_C_POS
Throws:
Exception

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

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

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

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.