Anyone has insight as to why doing WHERE status = ‘B’ gives no results but doing WHERE status LIKE ‘%B’ gives expected results? Length of status is 1. Doing WHERE status LIKE ‘%B%’ gives very strange results.
c
Clay Roper
04/12/2022, 5:00 PM
Yes, this is one of Netsuite's fun little stinkers. Check out my answer regarding a way to approach this in SuiteQL, and more broadly Zig's article regarding transaction statuses, here.
t
Thierry at Full Scope Ahead
04/12/2022, 5:21 PM
Thank-you @Clay Roper! Little stinker is right. :-)