Skip to main content
Answer

Help with IIF formula using picklist values

  • August 21, 2025
  • 5 replies
  • 68 views

Hello,

Currently working on a formula for our stock items for our eCommerce site. We are wanting to update the title based on the picklist field called Visibility on the eCommerce tab. When it’s set to Invisible, the title should be updated to DELETE, else set the title as the Web Title attribute.

IIf( [StockItem -> Custom.ItemSettings.Visibility] = 'I', 'DELETE', [StockItem -> Attributes.Web Title] )

The issue we are running into is that regardless of how we set it, the formula is evaluating to TRUE and updating title to DELETE. Not sure if I’m missing something.

 

Thanks!

Best answer by CelineNwokeke54

Try checking what is stored in the visibility field [StockItem -> Custom.ItemSettings.Visibility] and adjust formula accordingly. 

5 replies

Forum|alt.badge.img
  • Varsity I
  • August 24, 2025

May be try this 

IIf( [StockItem -> Custom.ItemSettings.Visibility] <> 'I', [StockItem -> Attributes.Web Title],’DELETE’  )

 

Also to make sure check on any field on stock item, inspect element and check the raw data (open source data, top right to validate the data). This shows the actual values inside a table.

Not sure if this helps but somewhere to start.

 

 


  • Author
  • Freshman I
  • August 25, 2025

Hello ​@amitkaryekar! Thanks for the suggestion. I just tried the updated formula and it still did not update the web title accordingly.


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • September 26, 2025

Hi ​@alfonsosnchz were you able to find a solution? Thank you!


  • Author
  • Freshman I
  • September 26, 2025

Hello ​@Chris Hackett, I haven’t been able to find a solution yet for this one.


  • Freshman III
  • Answer
  • September 26, 2025

Try checking what is stored in the visibility field [StockItem -> Custom.ItemSettings.Visibility] and adjust formula accordingly.