#21 Performance issue when selecting Parts Group on Sales screen

closed
Chris Travers
None
5
2011-12-09
2011-12-07
Steven Marshall
No

Steps to Reproduce:

1. Create/Add several parts to a parts group if you don't already have a parts group containing some parts
2. Open Point of Sale/Sale screen
3. Click on one of the parts groups buttons shown after the Print and Post button

Results: It takes about a minute before the Select Items screen shows up with a list of parts that are in the select parts group. I only have two parts in my system at the moment. When I only had one item in the selected parts group, instead of the Select Item screen coming up, that one part would be automatically added to the Sales form. It still took close to the minute in this situation also. I recall this issue being present in Ledgersmb 1.2.x also and required commenting out some code in one of the modules. I don't recall the specific details though and don't still have that version running for me to look at.

As a side note, can we add in Preferences a new option where the user can elect whether or not they want to see the parts group buttons on the Sale screen? Not everyone will want to see these buttons especially if you have many parts groups.

Discussion

  • Chris Travers
    Chris Travers
    2011-12-09

    Hi Steven;

    I can't reproduce this. Can you use top to watch postgres and apache processes to see where the bottleneck is on your system and send me more info?

     
  • Chris Travers
    Chris Travers
    2011-12-09

    • milestone: 2085417 -->
     
  • Chris Travers
    Chris Travers
    2011-12-09

    • assigned_to: nobody --> ehuelsmann
     
  • Chris Travers
    Chris Travers
    2011-12-09

    • assigned_to: ehuelsmann --> einhverfr
     
  • Chris Travers
    Chris Travers
    2011-12-09

    • status: open --> closed
     
  • Chris Travers
    Chris Travers
    2011-12-09

    Resolution was to comment out the send_to_pd function. My recommendation is to change the pole display to use UDP instead. The performance issue is probably due to firewall settings. and the pole display connection.