Hi All,
I have a requirement to see orders specific to one site in backoffice for a particular user.
I am running multiple sites on single hybris instance.
Now I would like to restrict orders specific to one site for a particular user.
I have used below search restrivtion impex, but its not working for me :
INSERT_UPDATE SearchRestriction;code[unique=true];name[lang=en];query;principal(UID);restrictedType(code);active;generate
;orderVisibilityForSiteX;;{item.site} IN ({{SELECT {site.pk} FROM {BaseSite as site} WHERE {site.uid} = 'xSiteUID'}});'myUserGroup';Order;true;true
Any help is appreciated !
Thanks in advance!