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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Formula to find first time a case was assigned
I am trying to build out a formula that will show the first time a case was assigned to a person after the initial assignment. We use rules to assign to groups on creation and this is the formula I have come up with. Can anyone see if I can simplify it some?
min(round(({systemnotes.date} - {createddate}) *1440)) keep(dense_rank first order by decode({systemnotes.type}, 'Change', decode({systemnotes.field}, 'Assigned',round(({systemnotes.date} - {createddate}) *1440))))
0