From: Phil D. <p.d...@pa...> - 2004-08-23 07:44:50
|
Steve, There is actually a variable in config.php called $Maximum_Number_Of_Parts_To_Show = 100; Perhaps we should change this variable to something more generic to cover customers, items, suppliers et al. Scripts that potentially list a pile of data are: Areas.php - expect only a limited number really BOMInquiry.php BankMatching.php - already has an option to allow a limited number of tranactions BankReconciliation.php - could be piles of outstanding unmatched transactions COGSGLPostings.php Currencies.php - should only be few but could be heaps. CustomerAllocations.php CustomerBranches.php CustomerTransInquiry.php DiscountCategories.php DiscountMatrix.php FreightCosts.php GLAccountInquiry.php GLAccounts.php GLTrialBalance.php PO_SelectOSPurchOrder.php PO_SelectPurchOrder.php PaymentTerms.php PeriodsInquiry.php Prices.php SalesAnalRepts.php SalesGLPostings.php SalesPeople.php SalesTypes.php SelectCompletedOrder.php SelectCustomer.php SelectGLAccount.php SelectOrderItems.php SelectProduct.php SelectSalesOrder.php SelectSupplier.php Shipments.php Shippers.php Shipt_Select.php ShiptsList.php StockCategories.php StockLocMovements.php StockLocStatus.php StockLocTransfer.php StockLocTransferReceive.php StockMovements.php - already has movements since SupplierAllocations.php SupplierContacts.php SupplierInquiry.php TaxAuthorities.php - should only be a few TaxAuthorityRates.php WWW_Users.php WhereUsedInquiry.php Is it worth considering a little javascript function to put the focus in the first form field while going through all these scripts? perhaps this might be a function to put in header.inc Phil On Mon, 2004-08-23 at 06:10, skaill wrote: > Hi all, > > I have created paging in my version of webERP for when there are more > records from a search than you would want to display on a single > page. There is a new variable called $DisplayRecordsMax in config > that says the maximum number of records per page and a drop-down > allows the selection of the page. > > It can be seen at http://weberp.gocom.ca/weberpcvstest. Click on > Select Customer then type "a" to search for all customers with an > "a". There are 9 "a" records so it puts them into 2 pages since right > now to test I have the $DisplayRecordsMax set at 5. > > Would this be good to have in the base webERP version? > > If so, I will do similar code for other areas that have searches/lists > such as Select Item and Select Supplier and send Phil to put into the > cvs. > > In the searches I'm thinking it would be nice to have Begins With and > Contains Within radio buttons as well. > > Steve |