Scope Application Cross-scope access policy

avinash21
Mega Contributor

Hi All

I have built a scoped application which constitutes of few tables, when a record is inserted on one of the table , it inserts a record in the table X in global scope. a BR is written on this X table under scoped application on insert for aborting the insert if some condition matches.I found the below error when BR fires.

"Access to api 'setAbortAction' from scope 'x_0016_licence_man' has been refused due to the api's cross-scope access policy"

I have read other post on cross-scope access policy but did not found a valid solution to his problem , Can some one please help me in sorting this out.

TIA

19 REPLIES 19

Based on what I see, sys_user_has_role allows other scopes to crate, read, and update existing records from all other scopes. Have you checked the cross scope application access on your sys_user_has_role table?



find_real_file.png


Unfortunately NO. The only workaround is to create the BR in the global scope.


I tried even that , but the problem is when a record is inserted in my custom scope table , it inserts a new record in table x(sys_user_has_role in global scope) , the BR written on this x table is in global scope and does not fires because the transaction is originating from a custom scoped application.


Did you check the table access on the table you are trying to insert records in to? Can you include a screenshot (to compare with the above?)


Hi Chuck




Please have a look below



find_real_file.png