View source | View content page | Page history | Printable version   
Toolbox
Main Page
Upload file
What links here
Recent changes
Help

PDF Books
Show collection (0 pages)
Collections help

Search

Projects:Performace WebPOS/Data Limit Documentation

Introduction

This feature allows to implement a data limit in javascript queries to the local database. In the case this limit is reached a message appears at the end of the list that shows data.

By default this limit is set to 300 in the following models: Products, Product Categories and Business Partners

Configuration

To configure the limit it is needed to modify the Backbone model definition by adding the property dataLimit. If this property does not exist or is set to null no limit is checked.

For example to modify the current limit in the Products, Product Categories and Business Partners models just add the following lines to your module code:

OB.Model.Product.dataLimit = 500;
OB.Model.ProductCategory.dataLimit = 500;
OB.Model.BusinessPartner.dataLimit = 500;

Retrieved from "http://wiki.openbravo.com/wiki/Projects:Performace_WebPOS/Data_Limit_Documentation"

This page has been accessed 406 times. This page was last modified on 26 November 2012, at 16:09. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.