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...
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,237 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: 3193
 Tim Rodman
Admin
December 27, 2019 1:20 am
(@timrodman)
Famed Member
Joined: 10 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,526 Topics
  • 10.9 K Posts
  • 80 Online
  • 2,338 Members
Our newest member: Shoaib Shafquat
Latest Post: Pick List report suddenly not splitting on Shipment
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.

‹›×

    ‹›×