From: skaill <sk...@ro...> - 2004-08-27 08:30:50
|
I guess I did kind of change it without knowing to $DisplayRecordsMax. I'm going to be working on paging the rest of that list of scripts! Wish it was shorter but if it was then webERP would not have so much functionality!!! Steve ----- Original Message ----- From: "skaill" <sk...@ro...> To: <web...@li...> Sent: Monday, August 23, 2004 6:07 AM Subject: Re: [Web-erp-developers] Paging > Comments within... > > ----- Original Message ----- > From: "Phil Daintree" <p.d...@pa...> > To: <web...@li...> > Sent: Monday, August 23, 2004 3:46 PM > Subject: Re: [Web-erp-developers] Paging > > > > 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. > > > > Sounds good. > > > 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 > > Yikes! I didn't know there were that many. Many of those are support > tables such as PaymentTerms and are unlikely to be lengthy. Anyway, I'll > plug away on the most significant first. If you want to suggest an order of > significance, Phil, it would help. Otherwise I'll guess an order but I bet > you know better. BankReconcilliation is probably high on the list I figure. > > > > > 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 > > I'm thinking it would reduce compatibility unless all the Javascript were > optional. If we do go that route then it would probably be wise to have a > selection in a user preferences area where the user could select whether to > activate all those little Javascript bits or not. > > > > > 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 > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > > _______________________________________________ > > Web-erp-developers mailing list > > Web...@li... > > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers |