AugForums.com

An Acumatica User Group

  • Free
    • Start Here
    • Rolodex
    • Podcast
    • Blog
    • Forums
  • Paid
    • AugSQL
    • GI Course
    • GI Library
    • Consulting
  • Register
Acumatica Forums

By using this website, you agree to our Terms of Use (click here)

Forums
AUG Forums
Acumatica Generic I...
Getting Sort Order ...
 
Notifications
Clear all

Questions Getting Sort Order to work in GI

 
Acumatica Generic Inquiries & Pivot Tables
Last Post by Ryan Brown @xByte Hosting 5 years ago
16 Posts
5 Users
5 Reactions
3,315 Views
RSS
Alisann Crough
Posts: 28
 Alisann Crough
Topic starter
September 19, 2019 3:47 pm
(@alisann-crough)
Eminent Member
Joined: 7 years ago

I can't get Sorting to work via a GI (only by setting it in the column header filters in the results). I have a GI that pulls Service Orders and I want the results to come back in ascending order of PromisedDate but they come back in descending order of Service Order number.

Am I missing something that interferes with sorting? It seems very simple and straight forward. I'm not doing any Grouping in this GI. I have similar problems in almost all of my GIs. 

Thanks


15 Replies
Tim Rodman
Posts: 3193
 Tim Rodman
Admin
October 17, 2019 7:53 pm
(@timrodman)
Famed Member
Joined: 10 years ago

Can you export and attach the XML from your Generic Inquiry?


Reply
Alisann Crough
 Alisann Crough
(@alisann-crough)
Joined: 7 years ago

Eminent Member
Posts: 28
October 30, 2019 3:27 pm
Reply toTim RodmanTim Rodman

@timrodman  FYI - I am able but haven't received permission. (and yes I know the old adage) 

 


Reply
Tim Rodman
Posts: 3193
 Tim Rodman
Admin
October 31, 2019 12:24 am
(@timrodman)
Famed Member
Joined: 10 years ago

No prob. Ya, I guess that old adage doesn't work with everything. Especially the "football" with the nuclear codes 🙂


Reply
nchyflyer
Posts: 7
 nchyflyer
April 3, 2020 9:11 pm
(@nchyflyer)
Active Member
Joined: 5 years ago

Hey there,

I have a similar problem. Some of the columns in my GI will not allow me to use the Sort ability when clicking on the column. These were fields added to the default GI, so I'm assuming I'm just missing a setting to allow me to sort by that column.

Any ideas? Let me know if I can give you more info.


Reply
Tim Rodman
Posts: 3193
 Tim Rodman
Admin
April 3, 2020 10:05 pm
(@timrodman)
Famed Member
Joined: 10 years ago

@nchyflyer - Can you export the Generic Inquiry and attach it here?


Reply
nchyflyer
 nchyflyer
(@nchyflyer)
Joined: 5 years ago

Active Member
Posts: 7
April 3, 2020 10:36 pm
Reply toTim RodmanTim Rodman

@timrodman, Yes, here you go.

THS-Job Status Inquiry.xml

 


Reply
nchyflyer
 nchyflyer
(@nchyflyer)
Joined: 5 years ago

Active Member
Posts: 7
April 6, 2020 12:55 pm
Reply tonchyflyernchyflyer
Tim Rodman

@timrodman, Any luck? Thanks.


Reply
nchyflyer
Posts: 7
 nchyflyer
April 18, 2020 9:49 pm
(@nchyflyer)
Active Member
Joined: 5 years ago

@timrodman, just checking in. Any ideas? Thanks.


Reply
Jerza
 Jerza
(@jerza)
Joined: 5 years ago

New Member
Posts: 2
May 6, 2020 4:12 pm
Reply tonchyflyernchyflyer

@nchyflyer- I had a similar issue. I copied the Generic Inquiry, created a new one (through paste) and the Sorting worked on the new Generic Inquiry.


Reply
nchyflyer reacted
Ryan Brown @xByte Hosting
Posts: 84
 Ryan Brown @xByte Hosting
May 13, 2020 8:36 pm
(@ryanxbyte)
Estimable Member
Joined: 5 years ago

It’s weird, but I have seen CTRL+F5 fix some things like this. Something gets stuck in the cache and needs to get cleared. I have also had some success with changing the sort in the GI, viewing the GI, and then changing it back. 


Reply
nchyflyer reacted
Jerza
Posts: 2
 Jerza
May 14, 2020 9:56 am
(@jerza)
New Member
Joined: 5 years ago

I changed "Make Visible on UI" to False, saved it, viewed it, and then set "Make Visible on UI" back to True and now it Sorts properly.


Reply
nchyflyer reacted
nchyflyer
Posts: 7
 nchyflyer
May 14, 2020 5:45 pm
(@nchyflyer)
Active Member
Joined: 5 years ago

Hey everyone, thanks for all the input.

Unfortunately none of those solutions fixed the problem.

So I ended up directly linking the Attributes table to my GI. That fixed the problem.

Still not sure why the original field would not sort or filter.

 


Reply
Ryan Brown @xByte Hosting
Posts: 84
 Ryan Brown @xByte Hosting
May 14, 2020 8:59 pm
(@ryanxbyte)
Estimable Member
Joined: 5 years ago

I wonder if you unlinked the attributes table of it would stop working again. We’ve seen some strange things with sorting sometimes. Like it working for some users, but not others until you make a change and re-save. I traced the SQL and could see it using a different sort for different users.  It wasn’t something we could reproduce on demand for Acumatica to really look at it. 


Reply
nchyflyer reacted
nchyflyer
 nchyflyer
(@nchyflyer)
Joined: 5 years ago

Active Member
Posts: 7
May 14, 2020 9:40 pm
Reply toRyan Brown @xByte HostingRyan Brown @xByte Hosting

@ryanxbyte Do you know why it was using a different sort for different users?

None of us could get it to work, and I tried at least 40-50 different variations (options, sorts, grouping, etc.), even rewriting almost every formula to include SUM so that I could remove all aggregate functions.

What's really interesting, is that using the same table and the same data field in a different GI works flawlessly... haha! Go figure. It's got to be some kind of minutia with table relationships, but I didn't have time to dig in.

 


Reply
Ryan Brown @xByte Hosting
 Ryan Brown @xByte Hosting
(@ryanxbyte)
Joined: 5 years ago

Estimable Member
Posts: 84
May 15, 2020 9:11 am
Reply tonchyflyernchyflyer
Ryan Brown @xByte Hosting

@nchyflyer As close as we could tell, something made Acumatica think that there was no sort defined for that GI for that user.  The sort being used was the same as when you don't define any sort for the GI.  


Reply
Tim Rodman reacted
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,526 Topics
  • 10.9 K Posts
  • 52 Online
  • 2,338 Members
Our newest member: Shoaib Shafquat
Latest Post: Pick List report suddenly not splitting on Shipment
Forum Icons: Forum contains no unread posts Forum contains unread posts
Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Online Members

 No online members at the moment

Acumatica Forums

Terms of Use & Disclaimers :: Privacy Policy

Copyright © 2025 · AUG Forums, LLC. All rights reserved. This website is not owned, affiliated with, or endorsed by Acumatica, Inc.

‹›×

    ‹›×