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

MOSC Banner

Retrieving Distinct Records

edited May 10, 2013 6:12AM in Siebel Open UI, Tools, Scripting and EAI (MOSC) 15 commentsAnswered
Hi Experts,
One of my teammate is struck with a requirement. Thought of asking suggestions from Community Experts.

In Scripting, I need to get the Count of distict Service Id from Assets belonging to particular Owner Account.

Say for example I am using Asset Mgmt - Asset BO and Asset Mgmt - Asset BC.

If the data present is as follows:
SERIAL_NUM       OWNER_ACCNT_ID
  04421313                 1-RJKL2
  04421313                 1-RJKL2
  04421313                 1-RJKL2
  04421313                 1-RJKL2
  04492398                 1-RJKL2
  04492398                 1-RJKL2
  04492398                 1-RJKL2
  04428372                 1-RJKL2
  04428372                 1-RJKL2
  04428372                 1-RJKL2

Then the count should be 3, as we have only 3 distinct SERIAL_NUM (Service Id in BC). To get the Count I can use CountRecords().

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