Skip to main content
Solved

Help: GI Cell formating PO vs Avg Cost


joshmcgrew
Jr Varsity III
Forum|alt.badge.img

Hello, 

Brand new to Acumatica, I am creating a GI for PO vs Avg cost comparison and would like for the field that contains the PO cost to highlight red if its greater than the AVG cost field. I have the entire GI built but am having some trouble getting the format of the formula for this to happen. I was hoping maybe some one here could help me with this ?

 

Best answer by joshmcgrew

@lauraj46 Thank you that helped get me on the right path for sure and I appreciate it. It was still giving me a bit of a problem but we were able to get it to work with the following formula that I thought I would share incase others ran into this:


=Iif([POLINE.UnitCost] > [INITEMCOST.AvgCost],'red20','default')

 

 

View original
Did this topic help you find an answer to your question?

3 replies

lauraj46
Captain II
Forum|alt.badge.img+8
  • Captain II
  • 574 replies
  • February 16, 2024

Hi @joshmcgrew ,

To highlight on cell you would use a formula like this in the Style column of the result field that should be highlighted.  Or to highlight the entire row, you would enter the formula in the Row Style field on the Results Grid tab.

=IIf( IIf( [POLine.UnitCost] < [INItemCost.AvgCost.., 'red40', 'default')

 

​​​​​Hope this helps!

Laura 


joshmcgrew
Jr Varsity III
Forum|alt.badge.img
  • Author
  • Jr Varsity III
  • 18 replies
  • Answer
  • February 16, 2024

@lauraj46 Thank you that helped get me on the right path for sure and I appreciate it. It was still giving me a bit of a problem but we were able to get it to work with the following formula that I thought I would share incase others ran into this:


=Iif([POLINE.UnitCost] > [INITEMCOST.AvgCost],'red20','default')

 

 


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • 2751 replies
  • February 16, 2024

Thank you for sharing your solution with the community @joshmcgrew!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings