Siebel Open UI, Tools, Scripting and EAI (MOSC)

MOSC Banner

escript loops on agreement list to fetch largest agreement number

edited Nov 19, 2019 4:00AM in Siebel Open UI, Tools, Scripting and EAI (MOSC) 7 commentsAnswered

Hi All,

     I have a scenario to get all child agreement number list for a customer to fetch largest agreement number. I am able to query as below:

     1) initiate account, and agreement Business object and Business components.

     2) Fetched a account number and queried its related agreement number list via while loop

   

However I will need to fetch all related agreement list and find the largest/biggest agreement number. From below code how do I capture the biggest/largest agreement number. Until now I am not able to capture the intended result

/********************** below is the portion of code********************/

if (accntrecords)

                                    {

                                        accnt_Id = oBCAct.GetFieldValue("Id");

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center