Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
How to include the XML Record without a subgroup data when filter on Subgroup is placed? — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to include the XML Record without a subgroup data when filter on Subgroup is placed?

11
Views
0
Comments

Summary

I want to include the All the Records without subgroup and with subgroup having some filter on it.

Content

Below is the sample XML Data:

<G_1>
        <ID>008611</ID>
        <PAYROLL_RELATIONSHIP_ID>123456789</PAYROLL_RELATIONSHIP_ID>
</G_1>

<G_1>
        <ID>010671</ID>
        <PAYROLL_RELATIONSHIP_ID>987654321</PAYROLL_RELATIONSHIP_ID>

        <G_2>
            <PAYROLL_RELATIONSHIP_ID>987654321</PAYROLL_RELATIONSHIP_ID>
            <GROSS_WAGES>12345</GROSS_WAGES>
            <NET_PAY>12345</NET_PAY>
        </G_2>
</G_1>

<G_1>
        <ID>010671</ID>
        <PAYROLL_RELATIONSHIP_ID>1122334455</PAYROLL_RELATIONSHIP_ID>

        <G_2>
            <PAYROLL_RELATIONSHIP_ID>1122334455</PAYROLL_RELATIONSHIP_ID>
            <GROSS_WAGES>0</GROSS_WAGES>
            <NET_PAY>0</NET_PAY>
        </G_2>
</G_1>

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

If you see the above sample XML I want to print the records having Net or Gross Pay ZERO, or no records in G_2. So from the above sample middle record should get excluded. Can someone please help me achieve this in RTF Template.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!