Query to Fetch Transaction Details

 Select 

Txnd.Status As Txn_Status 

,Txnh.Module_Identifier 

,p.person_number 

,txnh.CREATION_DATE 

,Txnh.Transaction_Id 

,txnd.STATE as TXN_STATE 

,txnh.CREATED_BY 

,Txnh.Initiator_User_Id 

,Txne.Fault_Date 

,Txne.Error_Details 

,wft.tasknumber 

,wft.compositeinstanceid 

,wft.TITLE 

,wft.OUTCOME as WF_OUTCOME 

,wft.STATE as WF_STATE 

,Wft.Substate 

,Wft.Assignees 

,Wft.Assigneesdisplayname As Current_Assignee 

,wft.Assigneddate 

,wft.Approvers

,wft.ASSIGNMENTCONTEXT

from 

Fusion.hrc_txn_header txnh, Fusion.hrc_txn_data txnd, 

fa_fusion_soainfra.wftask wft, 

fusion.hrc_txn_error txne, Fusion.per_all_people_f p 

Where Txnh.Transaction_Id = Txnd.Transaction_Id 

and txnh.transaction_id = txne.transaction_id(+) 

And To_Char(Txnh.Transaction_Id) = Wft.Identificationkey(+) 

And Txnh.subject_id = p.person_id(+) 

And Txnh.Transaction_Id = P_TRANSACTION_ID

Comments

Popular posts from this blog

Query to get Salary Change details in Fusion HCM

Oracle Fusion HCM - Enhancements to Summary of Changes and History Sections in Redwood Workforce Structures Pages

๐Ÿงพ Streamlining Payroll Operations with Oracle Payroll Activity Center