Discussions
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Join us
Filter only the last date of a system note type in a formula field on a transacction saved search
I´m running a transaction search for items in SO, and I need to add a column to obtain the approval date for the SO (in detail view)
I tried:
CASE WHEN {systemnotes.field} = 'Estado del documento' and {systemnotes.newvalue} = 'Ejecución de la orden pendiente' THEN {systemnotes.date} ELSE NULL END
(field name is in Spanish and is "document status" and the new value is "pending fulfillment")
But there are cases with some sales Orders that get changed back to "pending approval" and then back to "pending fulfillment" so this statement returns multiple dates.
I cannot use the solution to summarize this field and get the maximum (as I have read in some forums), I need to get this at the detail level and get only one result per SO with the latest approval date.