AugForums.com

An Acumatica User Group

  • Free
    • Start Here
    • In-Person Gatherings
    • Power BI Workshop
    • Podcast
    • Rolodex
    • 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...
Conditions
 
Notifications
Clear all

Questions Conditions

 
Acumatica Generic Inquiries & Pivot Tables
Last Post by Tim Rodman 9 years ago
3 Posts
3 Users
0 Reactions
2,869 Views
RSS
Brian Rowerdink
Posts: 18
 Brian Rowerdink
Topic starter
July 24, 2017 6:05 pm
(@browerdink)
Eminent Member
Joined: 6 years ago

I run into this on occasion. I have a list of conditions on this generic inquiry. All of them are working except the last 2 lines that reference the SoOrder.Status not equaling canceled or completed. Any thoughts on this. Am I missing something obvious. 


2 Replies
Casval
Posts: 5
 Casval
July 24, 2017 10:19 pm
(@casval)
Active Member
Joined: 9 years ago

 Hi Brian, 

The OR is showing results that do not equal "Completed" OR do not equal "Cancelled". When the Status is "Completed" it's true for the "does not equal Cancelled" condition and is displayed in the results and vice versa. If you change the OR to an AND between those two conditions it should work fine. 

If the two conditions were "equals" instead of "does not equal", than an OR would be required since an AND in that case would show no results, as demonstrated in the SiteID conditions in your example.  

- Casval


Reply
Tim Rodman
Posts: 3199
 Tim Rodman
Admin
July 25, 2017 12:55 am
(@timrodman)
Famed Member
Joined: 10 years ago

Right on Casval. I totally agree.

Also, in the Relations tab screenshot, you should join on the OrderType field in addition to the OrderNbr field since both fields are needed to form a primary key on the SOOrder table. It's possible that two different order types can have the same order number.


Reply
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,528 Topics
  • 10.9 K Posts
  • 10 Online
  • 2,412 Members
Our newest member: Peter Paasch
Latest Post: Credit Reference Report Needed
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 © 2026 · AUG Forums, LLC. All rights reserved. This website is not owned, affiliated with, or endorsed by Acumatica, Inc.

‹›×

    ‹›×