Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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
Get Started with Redwood for Oracle Cloud HCM   Begin Now
To ensure that questions get required attention from community members and are NOT left unanswered, it’s important for the author to indicate (by selecting “Yes” or “No” when prompted) whether the question was answered. (newly added) Please note that it is also important to respond to EACH comment your question receives. Your Yes or No response ensures an accurate status for your question.

For more information, please refer to this announcement explaining best practices for getting answers to questions.

How to pass parameters to the post SQL bind query in the custom payroll flow?

Summary:

How to pass parameters to the post SQL bind query in the custom payroll flow?

Content (required):

Hi experts,

Is it possible to pass flow parameter value to the subsequent parameter based on the post SQL bind query in the custom payroll flow?

Here is a code snippet:

Select   distinct min(to_Char( PTP.END_DATE , 'YYYY.MM' )) from PAY_TIME_PERIODS PTP JOIN PAY_ALL_PAYROLLS_F P   on P.PAYROLL_ID = PTP.PAYROLL_ID   AND trunc(SYSDATE) BETWEEN P.EFFECTIVE_START_DATE and P.EFFECTIVE_END_DATE JOIN PER_LEGISLATIVE_DATA_GROUPS LEG   ON P.LEGISLATIVE_DATA_GROUP_ID = LEG.LEGISLATIVE_DATA_GROUP_ID JOIN FND_TERRITORIES_TL TER   ON LEG.LEGISLATION_CODE = TER.TERRITORY_CODE   AND TER.LANGUAGE = 'US' JOIN HRY_PI_INBD_RECORDS IR   ON IR.FUNCTIONAL_CATEGORY = 'AA'   AND IR.TIME_PERIOD_ID = PTP.TIME_PERIOD_ID   AND IR.PAYROLL_ID = PTP.PAYROLL_ID WHERE (   NOT Exists(     Select 1     FROM HRY_PI_INBD_RECORDS PR     WHERE PR.FUNCTIONAL_CATEGORY = 'AA_RPT'     AND PR.TIME_PERIOD_ID = PTP.TIME_PERIOD_ID     AND PR.PAYROLL_ID = PTP.PAYROLL_ID     GROUP BY PR.TIME_PERIOD_ID   )   AND (     TER.TERRITORY_CODE IN ( :LEGISLATIVE_COUNTRY )   ) )

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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