cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Search Restriction not appearing on backoffice

sumit1234
Explorer
0 Likes
461

I've added the following restriction on stocklevels, but it is not applying on stock levels

INSERT_UPDATE SearchRestriction;code[unique=true];name[lang=en];query;principal(UID);restrictedType(code);active[default=true];generate[default=true]

;InventoryVisibilityDealer;;{item:warehouse} in ({{ select {s:pk} from {StockLevel as s JOIN Warehouse as w on {s:warehouse}={w:PK}} where {w:code}='dealer-A}});dealer-AStockLevel;;

I have made the employee and warehouse name as same to help in the query, but am seeing all the stocklevels even after this restriction.

Accepted Solutions (0)

Answers (0)