how can i access the customer list of a static cus...
# suitescript
f
how can i access the customer list of a static customer group? (i havent been able using saved search, sublists, etc) Basically i have a Customer Static Group with a list of members (customers), i need to be able to iterate through that list using suitescript, anyone has any example?
m
It looks like you can get to the list with the
N/query
module and SuiteQL using something like this. I confirmed this particular group in my environment is a static group.
Copy code
select egm.*
from entitygroup eg
inner join entitygroupmember egm on eg.id = egm.group
where id = 6849
💯 1
f
thanks!