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...
GI Equation Trouble
 
Notifications
Clear all

Questions [Solved] GI Equation Trouble

 
Acumatica Generic Inquiries & Pivot Tables
Last Post by mhoss 7 years ago
3 Posts
2 Users
1 Reactions
2,036 Views
RSS
mhoss
Posts: 34
 mhoss
Topic starter
August 6, 2018 1:20 pm
(@mhoss)
Trusted Member
Joined: 5 years ago

Hi All,

I'm having trouble with a simple equation in a GI I am working on.

=IIf([AMBatch.DocType] = 'Move' , [AMBatch.BatNbr], Null )

I just get a blank column, it does not appear to be evaluating. 

See the full GI attached below.

Thanks,
Matt

Right-click to Download


2 Replies
Shawn P Slavin
Posts: 196
 Shawn P Slavin
August 6, 2018 5:17 pm
(@shawn-p-slavin)
Estimable Member
Joined: 6 years ago

Often times, the value you are using within a condition is not always the same as the value you would use in a filter on the same column.  For instance, you are building a condition with the value 'Move'. However, the condition is applied before much of the Acumatica formating and data normalization processes occur. Therefore, you need to use the value contained within the database source itself.

I am unfamiliar with the AMBatch DAC. Where is it used? If we know that, we can try to determine where the actual data is stored in SQL and see what is stored within it. I suspect it to be something like 'M' rather than the user-friendly term 'Move'.


Reply
mhoss
Posts: 34
 mhoss
Topic starter
August 7, 2018 11:32 am
(@mhoss)
Trusted Member
Joined: 5 years ago

Thank you! I didn't even think about that.

When you create a filter, it shows a different letter when you save - turns out that is the SQL value I should be using in my filter.

In this case, it was O for the move step.

Thanks,
Matt


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
  • 24 Online
  • 2,412 Members
Our newest member: thollings
Latest Post: Attribute Input Mask
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.

‹›×

    ‹›×