Discussions
Check out Oracle NetSuite upcoming events and conferences here
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!
Update your Profile with your Support type to get your Support Type badge.
Don't miss out on our Pop Quiz You only have until September 13, 2024, 3 PM ET to comment your answers and earn rewards! Click here for more details.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Get ready to take on exciting new challenges and become the next SuiteMaster of the Month!
Join the largest gathering of the NetSuite Community at SuiteWorld in Las Vegas, September 9-12! Discover cutting-edge innovations, attend insightful sessions, network with industry leaders, and elevate your business to new heights. Register here!
COMPLEX CASE STATEMENT in Query
Could someone help me. This is based on fields on an item. Thanks!
I keep getting an error message--- ERROR: Invalid Expression
CASE WHEN {costestimatetype} = 'Purchase Price' THEN {cost}
ELSE
CASE WHEN TO_NUMBER({averagecost})= 0 THEN 0
ELSE {averagecost}/
CASE WHEN
TO_NUMBER({custitem_bbts_sales_conversion_rate}) = 0 THEN 0
ELSE
{custitem_nswms_casepack} / TO_NUMBER({custitem_bbts_sales_conversion_rate})
END
END
END
0