Tuesday 15 December 2020

SELECT..INTO returns too many rows occurred in table pay_status_processing_rules_f at location 512

 


When attempting to Run Quickpay,

the following error occurs.


ERROR

-----------------------

A system error SQL-02112: SELECT..INTO returns too many rows occurred in table pay_status_processing_rules_f at location 512. Contact your help desk.


The cause of the issue is invalid / incorrect data in fusion.pay_status_proc_rules_f


There are Duplicate rows of Status processing rules for the Element


Run the Below query to identify the element having duplicate status processing Rules


Query1 : select  distinct element_name,ldg.name,s1.STATUS_PROCESSING_RULE_ID,s1.element_type_id

from fusion.pay_status_proc_rules_f s1, fusion.pay_status_proc_rules_f

s2,fusion.pay_element_types_vl petf,fusion.per_legislative_data_groups_vl ldg

where s1.element_type_id=s2.element_type_id

and petf.element_type_id=s2.element_type_id

and ldg.legislative_data_group_id=s1.legislative_data_group_id

and s1.status_processing_rule_id<>s2.status_processing_rule_id

and s1.status_processing_rule_id>s2.status_processing_rule_id

order by ldg.name;



Check the Status Processing Rules for the Element.Check if there are Multiple Rows available.


If there are More than one Status Processing Rules Delete one of the Rules and retest the issue,


 


If you are unable to delete the Status processing rules from UI, you can go for the HDL approach to delete the same,


Query2 : select * from fusion.pay_status_proc_rules_f where ELEMENT_TYPE_ID = <Use the Element Type ID from First Query>


 



Sample data File

METADATA|StatusProcessingRule|ElementId|LegislativeDataGroupName|StatusProcessingRuleId

DELETE|StatusProcessingRule|300000545904797|AE Legislative Data Group|300000545905167

File Name : PayrollElementDefinition.dat

use the StatusProcessingRuleId from Query 2.

Sunday 6 December 2020

How to Define the Source System Owner for HDL in Oracle Fusion

 How to Define the Source System Owner for HDL in Oracle Fusion


In this post , We will be discuss about the HDL and one of the Important thing we do use in the HDL integration and that is called source system owner. 

Source system owner helps to identifies the imported record in oracle cloud that from which external system we have imported 

these records either through integration or manual import through HDL. Source System Owner in HDL helps to identify the imported 

data in oracle fusion. We do recognize the information in oracle cloud using source system owner. Here below in this post , 

i will try to define the steps to create  Source System Owner for HDL in Oracle Fusion. 


We can use User Keys/Source Keys when we load data for Business Objects. For using Source Keys, 

we first need to define the Source System Owner and then use the defined Source system owner in the HDL file.


Steps to create/define the Source System Owner for HDL in Oracle Fusion 

Step1:- In Fusion Applications > Click on Navigator > Setup and Maintenance

Search for task "Manage Common Lookups"


Step2:- Search for the Lookup Type of "HRC_SOURCE_SYSTEM_OWNER"


and Click on the '+' icon to create the new Source in this Lookup  to use in the HDL scripts.