Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

view criteria not working

Jaismeen-OracleJan 26 2024

Hi All,

I wanted to check if material is already there then it should return true otherwise false. For this I wrote the procedure ismaterialpresent This procedure has 2 parameters. One is componentSequenceId and other is wdReplacedOperationId. wdReplacedOperationId comes from for loop . The issue is first time the for loop ran it passed wdReplacedOperationId and view criteria on that view correctly gets executed. Second time it passes wdReplacedOperationId that is also correct but the view criteria gets applied with first value of wdReplacedOperationId. Does someone think I am missing something in my code because the view criteria still takes the old value of bind variable wdReplacedOperationId.

For the first value in for loop it gives

for the second value it gives

In second run passed and view criteria wdreplacedoperationid is different.

Thank you so much.

Comments
Post Details
Added on Jan 26 2024
1 comment
148 views