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 18, 2026, at 8:00 PM Pacific Time, our Case Management System will undergo a scheduled maintenance for approximately 15 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Looking for the statement that will evaluate the difference between two fields and if negative, retu
I created a calculated customrecord Integer Number field and am using it to calculate the difference between an 2 other fields (actual count and the # included) but if the result is negative, I'd like the value returned to be 0 (zero)
My current formula is: {custrecord_cd_usage_actual}-{custrecord_cd_usage_included} but often actual usage is less than included usage so a negative value is returned.
I am looking for the statement that will evaluate the result and if negative, return 0 (zero).
Can anyone help? Thanks
2