List of Models in Web POS
Contents |
Introduction
This documents describes the extensible models and its properties in Web POS. These properties are needed to create the Java classes and javascript code needed to extend models. In This document it is explained an example how to extend models.
Extending a model consist basically in the ability to include new columns that can be used in the Web POS terminal. These new columns can only be extracted from the HQL tables that the model is accessing and you can use HQL expressions based on the HQL tables included in the model.
Models
Product
This model describes the list products included in the assortment used by the current POS terminal.
- Java entity: org.openbravo.retail.posterminal.master.Product
- Java qualifier: org.openbravo.retail.posterminal.master.Product.productPropertyExtension
- JS Model: OB.Model.Product
HQL Table | HQL Prefix |
---|---|
Product | pli.product |
obretco_prol_product | pli |
PricingProductPrice | ppp |
PricingPriceListVersion | pplv |
BusinessPartner
This model describes the business partners that are accessible by the Web POS terminal.
- Java Entity: org.openbravo.retail.posterminal.master.BusinessPartner
- Java qualifier: org.openbravo.retail.posterminal.master.BusinessPartner.businessPartnerPropertyExtension
- JS Model: OB.Model.BusinessPartner
HQL Table | HQL Prefix |
---|---|
BusinessPartner | bpl.businessPartner |
BusinessPartnerLocation | bpl |
aDUserList | ulist |
BPLocation
This model describes the business partner locations related to the business partners that are accessible by the Web POS terminal.
- Java Entity: org.openbravo.retail.posterminal.master.BPLocation
- Java qualifier: org.openbravo.retail.posterminal.master.BPLocation.bpLocationPropertyExtension
- JS Model: OB.Model.BPLocation
HQL Table | HQL Prefix |
---|---|
BusinessPartnerLocation | bploc |
BPCategory
This model describes the business partner categories that are accessible by the Web POS terminal.
- Java Entity: org.openbravo.retail.posterminal.master.BPCategory
- Java qualifier: org.openbravo.retail.posterminal.master.BPCategory.bpcategoryPropertyExtension
- JS Model: OB.Model.BPCategory
HQL Table | HQL Prefix |
---|---|
BusinessPartnerCategory | bpcat |
Brand
This model describes the brands locations related to the products assortment accessible by the Web POS terminal.
- Java Entity: org.openbravo.retail.posterminal.master.Brand
- Java qualifier: org.openbravo.retail.posterminal.master.Brand.brandPropertyExtension
- JS Model: OB.Model.Brand
HQL Table | HQL Prefix |
---|---|
Brand | product.brand |
ProductCategory
This model describes the product categories that are accessible by the Web POS terminal.
- Java Entity: org.openbravo.retail.posterminal.master.Category
- Java qualifier: org.openbravo.retail.posterminal.master.Category.productCategoryPropertyExtension
- JS Model: ProductCategory
HQL Table | HQL Prefix |
---|---|
ProductCategory | pCat |
CurrencyPanel
This model describes the configuration data related to the bank notes and coins panel.
- Java Entity: org.openbravo.retail.posterminal.master.CurrencyPanel
- Java qualifier:
- JS Model: CurrencyPanel
HQL Table | HQL Prefix |
---|---|
OBPOS_CurrencyPanel |
TaxRate
This model describes the tax rates information used the Web POS terminal.
- Java Entity: org.openbravo.retail.posterminal.master.TaxRate
- Java qualifier:
- JS Model: TaxRate
HQL Table | HQL Prefix |
---|---|
FinancialMgmtTaxRate | financialMgmtTaxRate |
SalesRepresentative
This model describes the sales representatives that are accessible by the Web POS terminal.
- Java Entity: org.openbravo.retail.posterminal.master.SalesRepresentative
- Java qualifier: org.openbravo.retail.posterminal.master.SalesRepresentative.salesRepresentativePropertyExtension
- JS Model: SalesRepresentative
HQL Table | HQL Prefix |
---|---|
ADUser | user |
ProductCharacteristic
This model describes the product characteristics related to the product assortment accessible by the Web POS terminal.
- Java Entity: org.openbravo.retail.posterminal.master.ProductCharacteristic
- Java qualifier: org.openbravo.retail.posterminal.master.ProductCharacteristic.productCharacteristicPropertyExtension
- JS Model: ProductCharacteristic
HQL Table | HQL Prefix |
---|---|
ProductCharacteristicValue | pcv |
ProductChValue
This model describes the product characteristic values related to the product assortment accessible by the Web POS terminal.
- Java Entity: org.openbravo.retail.posterminal.master.ProductChValue
- Java qualifier: org.openbravo.retail.posterminal.master.ProductChValue.productChValuePropertyExtension
- JS Model: ProductChValue
HQL Table | HQL Prefix |
---|---|
CharacteristicValue | cv |
ADTreeNode | node |
Terminal
This model describes the current POS terminal properties and configuration options.
- Java entity: org.openbravo.retail.posterminal.term.Terminal
- Java qualifier: org.openbravo.retail.posterminal.term.Terminal.terminalPropertyExtension
- JS Model: Terminal is a javascript global object that can be accessed with the expression:
OB.POS.modelterminal.get('terminal')
HQL Table | HQL Prefix |
---|---|
POS Terminal | pos |
POS Terminal type | postype |
Store | pos.organization |