SYS.DBMS_RLS error when applying patch 17043522
As a post 12.1.3 upgrade patching step, I'm applying a merge patch with various recommended patches to go on top of 12.1.3. One of the patches is 17043522, which is the iReceivables RPC.
I'm getting the following errors from this patch:
sqlplus -s APPS/***** @/snd1/apps/apps_st/appl/ar/12.0.0/patch/115/sql/aricustgtpol.sql MOVPD &un_iex &un_apps
Connected.
DECLARE
*
ERROR at line 1:
ORA-28101: policy already exists
ORA-06512: at "SYS.DBMS_RLS", line 20
ORA-06512: at line 11sqlplus -s APPS/***** @/snd1/apps/apps_st/appl/ar/12.0.0/patch/115/sql/aripmtgtpol.sql MOVPD &un_iex &un_apps
Connected.
DECLARE
*
ERROR at line 1:
ORA-28101: policy already exists