Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Quantity Available 'In Stock' Formula Field Not Working
I can't seem to get the {quantityavailable} field working on a custom transaction column field. Even by itself, with no case statements, it doesn't show anything when the standard Available column is showing a value. I am trying to get the custom column to say 'IN STOCK' if the Qty Available is greater than 0 and OUT OF STOCK if not.
I have tried:
case when {quantityavailable}<=0 then 'OUT OF STOCK' else 'IN STOCK' end
case when {location}=1 and {quantityavailable}<=0 then 'OUT OF STOCK' else 'IN STOCK' end
case when NVL({quantityavailable},0)<=0 then 'OUT OF STOCK' else 'IN STOCK' end
0