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

— The Forums are now read-only —

— All new activity now takes place here: —

AugForums.com Discord Server
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 7 years ago
2 Posts
2 Users
0 Reactions
1,655 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,533 Topics
  • 11 K Posts
  • 60 Online
  • 2,438 Members
Our newest member: Ralph Torres
Latest Post: Nested SubReport Issue
Forum Icons: Forum contains no unread posts Forum contains unread posts
Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

By using this website, you agree to our Terms of Use (click here)

Acumatica Forums

Terms of Use & Disclaimers :: Privacy Policy

Copyright © · AUG Forums, LLC. All rights reserved. This website is not owned, affiliated with, or endorsed by Acumatica, Inc.

‹›×

    ‹›×