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...
[SOOrder.Status] = ...
 
Notifications
Clear all

Questions [SOOrder.Status] = 'Open' always returns false

 
Acumatica Generic Inquiries & Pivot Tables
Last Post by Tim Laird 2 months ago
9 Posts
6 Users
6 Reactions
2,959 Views
RSS
Kimberly Wise
Posts: 16
 Kimberly Wise
Topic starter
June 9, 2019 11:41 pm
(@kpwise)
Eminent Member
Joined: 6 years ago

I was experimenting with conditional formatting and hit an unexpected wall. My statement is:

IIf ( [SOOrder.Status] = 'Open', 'good', 'bad')

It's all 'bad,' including the orders with a status of Open. I am sure there is an obvious reason...please tell me what it is! 🙂

Thank you - Kimberly


8 Replies
Kurt Bauer
Posts: 45
 Kurt Bauer
June 10, 2019 10:51 am
(@kurtybauer)
Trusted Member
Joined: 6 years ago

The status field is actually stored as a single character in the database and the value for open is 'N'.  Below is a screenshot from the code of all the different order statuses.

Thanks,

Kurt


Reply
Tim Rodman reacted
Kimberly Wise
Posts: 16
 Kimberly Wise
Topic starter
June 10, 2019 12:44 pm
(@kpwise)
Eminent Member
Joined: 6 years ago

Thank you, Kurt!


Reply
Royce Lithgo
Posts: 557
 Royce Lithgo
June 10, 2019 6:20 pm
(@roycelithgo)
Honorable Member
Joined: 6 years ago

Here's a little trick to finding the internal values for such fields from GI Conditions. Create a condition on the field you want, tick the From Schema box and then select the value from the drop down list. Then untick From Schema and the internal code will replace the description.

Example:

Saves you having to dig through the code. 


Reply
Tim Rodman and Tony Lanza reacted
tclaw
 tclaw
(@tclaw)
Joined: 6 years ago

Active Member
Posts: 7
April 17, 2020 6:38 am
Reply toRoyce LithgoRoyce Lithgo

@roycelithgo

thank you for the willingness sharing this great info.


Reply
Royce Lithgo and Tim Rodman reacted
Kimberly Wise
Posts: 16
 Kimberly Wise
Topic starter
June 11, 2019 11:53 am
(@kpwise)
Eminent Member
Joined: 6 years ago

Oooh, nice, Royce. Part of what confused me is that the value was 'Open' even when I checked the From Schema box. I was just one click away!


Reply
Royce Lithgo
Posts: 557
 Royce Lithgo
June 11, 2019 5:47 pm
(@roycelithgo)
Honorable Member
Joined: 6 years ago

I had the same issue when i first started as you did Kimberly. That was how i luckily stumbled upon this little trick which I use a lot now. 


Reply
Tim Rodman reacted
russ
Posts: 31
 russ
August 18, 2025 2:08 pm
(@russ)
Eminent Member
Joined: 5 years ago

This trick doesn't seem to work anymore.  At least not for finding the internal id for Customer Classes.  Any other tricks out there?


Reply
Tim Laird
 Tim Laird
(@tlaird)
Joined: 2 years ago

Eminent Member
Posts: 21
August 20, 2025 10:32 am
Reply torussruss

@russ Customer Classes are user maintained, so you setup the ID and the description.  You can look up the ID on the Customer Classes screen (AR2010PL).

For selectors that do have "behind the scenes" codes, my favorite way of looking them up is using Inspect Element (which may not have been an option when this thread originally started).  On the screen that shows the element you want to check out (like the order status from the original example), hold down Ctrl+Alt, and click on the element.  The pop up will have a "Drop Down Values" button that will open a screen with all of the possible values and their codes.


Reply
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,526 Topics
  • 10.9 K Posts
  • 10 Online
  • 2,406 Members
Our newest member: Brittany Bartman
Latest Post: Importing Acumatica User Roles / User Security Permissions from Excel
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.

‹›×

    ‹›×