pa_transaction_interface_all

As some data error, i am going to update the Project Number filed on PA_TRANSACTION_INTERFACE_ALL Table. But once i applied the SQL, there will appear the error message:

MSG-20003: ORA-20003: import1_prog:
ORA-28115: policy with check option violation
ORA-06512at "APPS.PA_TRANSACTION_INTERFACE_T3", line 99
ORA-04088: error during execution of trigger 'APPS.PA_TRANSACTION_INTERFACE_T3'
ORA-06512at "APPS.PA_TRX_IMPORT", line 9368

Metalink refer docs:

--Transaction Import Error MSG-20003: ORA-20003: import1_prog:ORA-28115: policy with check option violation (Doc ID 1618365.1)

--PA_TRANSACTION_INTERFACE_ALL - How to Resolve ORA-28115:Policy with check violation (Doc ID 1492752.1)

Solution is adding one script before run the update SQL:

/*alter session set current_schema = apps;
begin
mo_global.set_policy_context('S',3138);
end;*/

After execute above SQL, then re-run the update SQL,there will no error and data modified successfully.

 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26225838/viewspace-1164324/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/26225838/viewspace-1164324/

posted @   shu'sblog  阅读(317)  评论(0编辑  收藏  举报
编辑推荐:
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
阅读排行:
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
· Pantheons:用 TypeScript 打造主流大模型对话的一站式集成库
点击右上角即可分享
微信分享提示