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...
Style Color not swi...
 
Notifications
Clear all

Questions Style Color not switching on Value

 
Acumatica Generic Inquiries & Pivot Tables
Last Post by Tim Rodman 6 years ago
2 Posts
2 Users
0 Reactions
1,442 Views
RSS
Fred Reiter
Posts: 16
 Fred Reiter
Topic starter
December 5, 2019 4:40 pm
(@wfreiter)
Eminent Member
Joined: 6 years ago

I'm trying to switch colors based on a calculated/formula based field and not having much luck.

My latest try was to use the same formula with the Switch command  to set the result to True or False and then set color based on True/False.

Formula: 

=iif(iif(Switch([SOLine.UnitPrice]-IsNull([PriceCustomerPromotional.SalesPrice],IsNull([PriceCustomer.SalesPrice],IsNull([PriceCustomerPriceClassPromotional.SalesPrice],IsNull([PriceCustomerPriceClassPromoBreakQty.SalesPrice],IsNull([PriceCustomerPriceClassBreakQty.SalesPrice],IsNull([PriceCustomerPriceClass.SalesPrice],IsNull([PriceBase.SalesPrice],[InventoryItem.BasePrice])))))))=0,'True')='True','True','False')='True','default', 'bad')

Results:

 


1 Reply
Tim Rodman
Posts: 3204
 Tim Rodman
Admin
December 27, 2019 1:20 am
(@timrodman)
Famed Member
Joined: 11 years ago

Did you paste the exact same formula into both the Data Field and Style fields on the RESULTS GRID tab of the Generic Inquiry (SM208000) screen?


Reply
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,531 Topics
  • 11 K Posts
  • 19 Online
  • 2,418 Members
Our newest member: Chad Treadwell
Latest Post: Upgrade to 2025.2 Custom Report Run Report is missing
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

  • Dianne A
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.

‹›×

    ‹›×