< Previous

Module summary

In this module, you learned how to work with records using the Rational® ClearQuest® Perl API.
You use methods of the Session, Entity, and FieldInfo objects to view, modify, and create records, and to work with the fields in a record.
  • To view the contents of a record, you retrieve the record by calling the GetEntity method of the Session object.
  • To modify the contents of a record, you first retrieve the record by calling the GetEntity method and then calling the EditEntity method of the Session object.
  • Committing changes to the database is a two-step process where you first validate the record you changed or created, and then commit the change.
  • To create a new record, you use the BuildEntity method of the Session object.

Lessons learned

By completing this tutorial/module, you learned about the following concepts and tasks:
  • How to view a record.
  • How to modify a record.
  • How to use the Validate, Commit, and Revert methods to save or revert you changes.
  • How to create a new record.

Additional resources

For more information on the Rational ClearQuest API see, the Rational ClearQuest API Reference pages.
< Previous