BillOfPlano
Programmer
Hi,
I am a new user and just start to learning Cognos ReportNet.
How can I edit the report sql and add the following where condition into the report sql:
(
('*','$LOGIN$') IN (select perm_value,user_name from user_permission where permission_type = 'supplier')
OR
(im_supplier.supplier_name, '$LOGIN$') in select perm_value,user_name from user_permission where permission_type = 'supplier')
)
--> we mainly want to limit the certain user can see only certain supplier's data.
Please help.
I am a new user and just start to learning Cognos ReportNet.
How can I edit the report sql and add the following where condition into the report sql:
(
('*','$LOGIN$') IN (select perm_value,user_name from user_permission where permission_type = 'supplier')
OR
(im_supplier.supplier_name, '$LOGIN$') in select perm_value,user_name from user_permission where permission_type = 'supplier')
)
--> we mainly want to limit the certain user can see only certain supplier's data.
Please help.