When you edit a field with a related record in a project record, you retrieve that field using the Project interface. When you cannot edit a related record field in the project record, the ProjectService interface has methods for retrieving information related to a project. Use the following methods to obtain related records for a project:
•ProjectService.getChildProjects()—Retrieves all child projects records of a particular type related to a Project record.
•ProjectService.getInvolved()—Retrieves all Involved party records related to a Project record.
•Project.getParentProjecct()—Retrieves the parent project of a Project record.
•Project.getEmbeddedProjects()—Retrieves all embedded project records of a particular type related to a Project record.
•Project.getRelations()—Retrieves all projects related to a Project record. The API retrieves information about each relation using the ProjectRelation class.
Note: In some cases, when you need to narrow down the list of related records you are looking for, you may need to search.
For complete samples in Java, see the Looping through Related Records of Projects and Copying Values from Parent to Multiple Child Records samples.