GeeKs Blogging @ dotCOM

Let's share…
  • Home
  • About
  • How To – FAQs
  • Disclaimer
  • Terms & Conditions
12 May 2009

Siebel – Looping multiple records – Query and Process

by Nitin Jain



In my last post, I discussed as to how we can query and update multiple records in Siebel Database. You can find it in the link below:
Siebel – Looping multiple records – Update.

Today, let’s see if there are some good ways to loop through multiple records in Siebel in Query mode, and process the data in each of the records one by one. Let’s assume the requirement statement is, “To query for these multiple records and send them to external interface one by one”.

One of the easiest solutions, use scripts! I am extending the example I used in the previous post:

var bo_Order = TheApplication().GetBusObject ( “Order Entry (Sales)” );
var bc_Order = bo_Order.GetBusComp ( “Order Entry – Orders” );

with (bc_Order)
{
ClearToQuery();
SetViewMode(AllView);
ActivateField ( “Status” );
SetSearchSpec ( “Account”, “Nitin Test Account” );
ExecuteQuery ( ForwardOnly );

var IsRecord = FirstRecord();

while (IsRecord)
{

// Call another workflow / BS to process the data.. send to external interface in this case..

IsRecord = NextRecord();
}
}
return (CancelOperation);

Anybody who can possibly think of a better solution?

  • Twitter
  • Digg
  • Facebook
  • LinkedIn
  • Delicious
  • FriendFeed
  • Gmail
  • Hotmail
  • Multiply
  • MySpace
  • Yahoo Buzz
  • Yahoo Mail
  • Share/Bookmark

Related posts:

  1. Siebel – Looping multiple records – Update records Hi, We often come across a requirement where we need...
  2. Siebel – Looping Multiple Records – III Looping through multiple records is a requirement we come across...
  3. Siebel – EAI Siebel Adapter – Looping Multiple Records This is a follow-up post on the post, Siebel –...
  4. Siebel – SIA BC Utility Service – Loop multiple records This is a vanilla business service which provides an extensive...
  5. Query on the Long Column or Field A typical problem in any EAI project. Others too!! One...
  6. Siebel – FINS Industry XML Query Service “Extracting values from a tag deep down in the Hierarchy.”...
  7. Siebel – Merge Records – Checklist I call this Part III, and concluding part of a...

Tags: eScript, problems, Siebel, Tutorials



This entry was posted on Tuesday, May 12th, 2009 at 10:40 AM and is filed under Siebel CRM. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

One Response to “Siebel – Looping multiple records – Query and Process”

  1. Siebel - Looping Multiple Records - III | GeeKs Blogging @ dotCOM | Let's Share says:
    July 8, 2009 at 8:10 AM

    [...] this Part III, as we have already covered this before on GeeksBlogging@dotCOM, in the articles, Siebel – Looping multiple records – Query and Process Siebel – SIA BC Utility Service – Loop multiple [...]

Leave a Reply

Click here to cancel reply.


« Siebel – Looping multiple records – Update records
Ankit Bhardwaj »



  • Admin Controls

    • Log in
  • Talk to us

    • Bouquets, brickbats, suggestions, complaints?

    • Click here...
  • Authorships

    • We are currently looking out for active authors. Are you willing to contribute?

    • Please click here

    • Everyone's invited..
  • Subscribe by Email


  • Subscribe

    • Entries (RSS)
    • Comments (RSS)
  • Daily Dilbert

    •          
  • Categories

    • Admin Notifications (9)
    • Business Intelligence (2)
      • Actuate (2)
    • CRM (90)
      • CRM News (3)
      • Sage Software / ACT! (1)
      • Siebel CRM (84)
    • EAI (2)
    • FUN 'n' FROLIC (4)
    • Hot Technologies (1)
    • IT News (30)
    • Meet the Author (8)
    • ORACLE (5)
      • Database (2)
    • Product Demostrations (5)
    • Uncategorized (3)
  • Tag Cloud

    Actuate Admin Admin Notifications Applet Author Introductions Business Component Calculated Function Certification CFG file Client Configuration Critique CRM Database Debugging EAI EIM eScript Fundamentals Fusion Middleware Google IT News License Logging Login Microsoft ORACLE Performance problems Product Defect Product Demostrations Scriptless solutions Security Server Siebel Siebel Secrets SOA SRF Tips Tools Tricks Tutorials User Property Workarounds workflows



  • Archives

    • December 2009
    • November 2009
    • October 2009
    • September 2009
    • August 2009
    • July 2009
    • June 2009
    • May 2009
    • April 2009
    • March 2009
  • Authors

    • Ankit Bhardwaj
    • Ashish Kaul
    • brijesh
    • Himanshu Bajpai
    • Madhvi Arora
    • Nitin Jain
    • Prachi Sharma
    • Renuka Ankam
    • Vikas Luthra
  • Administrators

    • geeksblogging@gmail.com
    • admin@geeksbloggingat.com
  • Sponsors

Fresh Ideas

  • Cloud Computing : Plain and Simple
  • Google advertising its Search??
  • Fastest Web Application yet??
  • Google gives words a new meaning
  • Managing Intellectual Properties
  • Changes to the Oracle Homepage?
  • CRUD
  • Oracle Openworld 2009: Heralding a new journey
  • Google Mobile blurring boundaries?
  • Query on the Long Column or Field

Just Said

  • Ranjith R on Siebel – Autosave Opportunity data – Sample Code
  • uberVU - social comments on Fastest Web Application yet??
  • Tweets that mention Fastest Web Application yet?? | GeeKs Blogging @ dotCOM | Let's Share -- Topsy.com on Fastest Web Application yet??
  • Nitin Jain on Fastest Web Application yet??
  • James Arrington on Fastest Web Application yet??
  • Jonathan on Fastest Web Application yet??
  • Nitin Jain on Fastest Web Application yet??
  • Petr Jiricka on Fastest Web Application yet??
  • Prabha_sbl on Siebel – Installer hangs midway
  • Vishnu vardhan on Siebel – Number of rows displayed in List Applet

Most Commented

  • Siebel - SIA BC Utility Service - Loop multiple records
  • Siebel - Adding License Keys to Sample
  • Siebel - Popup Update Only
  • Siebel - Reading data directly from Siebel SRF
  • Siebel - Installer hangs midway
  • Siebel - Looping multiple records - Update records
  • Siebel - Automatic User Logout
  • Fastest Web Application yet??
  • Nitin Kumar Jain
  • Siebel - Scrolling between records - UP and DOWN

Old Favourites

  • Highrise Customer Relationship Management
  • Siebel - Autosave Opportunity data - Sample Code
  • Siebel - Autosave Opportunity data - The concept
  • Renuka Ankam
  • Siebel - Merge Records - Checklist
  • Siebel - Fetch Active view properties - III
  • Oracle 11g Certification coming soon
  • Siebel - Fetch Active view properties - II
  • Siebel - Fetch Active view properties
  • Siebel - Automating Merge Records by script - II

If you also want to write on GeeksBlogging@dotCOM, click here. Area of Specialization no constraint. Become Famous!


Entries (RSS) and Comments (RSS).