Running a Query on a Hierarchical List Applet

If you run a query on a hierarchical list applet, then Siebel CRM only returns the root layer of records. It returns no child records. This situation does not cause a problem in the Siebel client because the user can expand the root level record to view child records. If you run a query in a script, then it only returns the top level records.