how do i write a case statement in a search for sales rep = 'me'
Tried this but it didnt work
case when {custrecord_sales_projection_customer.custrecord_sales_projection_employee} = '@Current@' then 1 else 0
j
Jesper M
01/03/2023, 2:20 PM
= {me]
l
Livio
01/03/2023, 6:32 PM
can you help me with this
the first statement doesnt work but the second one works
same THEN
different WHEN
Livio
01/04/2023, 3:47 PM
it works when i do this tho
case when {user.id} = {custrecord_sales_projection_customer.custrecord_sales_projection_employee.id} then 1 else 0 end