Searching customers for membership in a “Group” yi...
# suitescript
e
Searching customers for membership in a “Group” yields opposing results in Client vs User Event (Server) scripts. For Dynamic Group, if I query (using nlapiSearchRecord - it’s a 1.0 script) the
customer
record for a dynamic
group
using
noneof
or
anyof
, I get the correct results in client (or in the browser console directly) but not in the Script Debugger or a UE Script
var restrictedSalesResults = nlapiSearchRecord('customer', null, [['internalid', 'anyof', filterEntity], 'AND', ['group', 'anyof', restrictedSalesGroupId]], null);