Categories
- All Categories
- 86 Oracle Analytics News
- 7 Oracle Analytics Videos
- 14.1K Oracle Analytics Forums
- 5.2K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 48 Oracle Analytics Trainings
- 59 Oracle Analytics Data Visualizations Gallery
- 2 Oracle Analytics Data Visualizations Challenge
- 4 Oracle Analytics Career
- 4 Oracle Analytics Industry
- Find Partners
- For Partners
How Can I access child loop element inside parent for each loop based on condition in rtf template
Content
I have two different groups in xml files 1. GLB_PAY_ARCH_PR_EARNINGS and 2.GLB_PAY_ARCH_PR_HOURS_X_RATE both having common field
REPORTING_NAME .I need data like for every Earninngs_name from (GLB_PAY_ARCH_PR_EARNINGS).it should return hours from (GLB_PAY_ARCH_PR_HOURS_X_RATE) group.
Getting Blank result for below code
Output Example:
Earning_name Hours
EAR1 12
EAR2 8
<?for-each-group:/DATA_DS/G_1/FILE_FRAGMENT/PAYSLIP/PAYMENT_RECORD/GLB_ARCH_PR/GLB_PAY_ARCH_PR_INFO/GLB_ARCH_CBID/GLB_PAY_ARCH_CBID_INFORMATION/GLB_ARCH_TRU/GLB_PAY_ARCH_PR_EARNINGS;./REPORTING_NAME?>
<?for-each:GLB_PAY_ARCH_PR_HOURS_X_RATE[REPORTING_NAME= current-group()/REPORTING_NAME]?>
<?if:REPORTING_NAME!= 'Basic Pay'?>
<?EARNINGS_HOURS?>
<?end if?>
<?end for-each?>
<?end for-each-group?>
Thanks