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 Report De...
Need to compare 2 d...
 
Notifications
Clear all

Questions Need to compare 2 database fields on filter

 
Acumatica Report Designer
Last Post by ncantral 6 years ago
2 Posts
2 Users
1 Reactions
2,302 Views
RSS
Michael Roszkowski
Posts: 28
 Michael Roszkowski
Topic starter
April 16, 2020 8:49 am
(@mikerosz)
Trusted Member
Joined: 6 years ago

I am having trouble in my Report Designer Report where I want to compare the InventoryItem.BaseUnit and the InventoryItem.SalesUnit and if they are not equal, select for the report.  What I have tried to do is use the an iif statement in the Data Field Formula screen (see attached) and compare a value.  When I run it, the report bombs out.  Hope I am just missing something.  Maybe there is a different way to accomplish this as well.   Thanks for any help.

Filter

Here is the trace:

trace

1 Reply
ncantral
Posts: 24
 ncantral
April 22, 2020 8:26 pm
(@ncantral)
Eminent Member
Joined: 6 years ago

Looks like your formula has a rogue single quote after the <> in your formula.

There are a few options to accomplish what you're looking to do. My suggestion would be to use "=[InventoryItem.BaseUnit]<>[InventoryItem.SalesUnit]" as the visible expression in the details section to hide any records that do match.


Reply
Tim Rodman reacted
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,527 Topics
  • 10.9 K Posts
  • 21 Online
  • 2,412 Members
Our newest member: Peter Paasch
Latest Post: Can't export GI's to excel that contain the FATrans DAC after upgrade to 2025 R1 in less than 25 min
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

  • amassey
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.

‹›×

    ‹›×