function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Joseph Hurless 4Joseph Hurless 4 

Add a field to Contact that automatically presents the sum of related object custom field

Hi, I am having trouble with tasks 2 through 4. Can someoone please help?

1. Add fields to the Custom Object to capture the following information on the page layout for each pet. :
Cat, Dog or Bird
Breed
Color
Coat Length
Age
Sex
Veterinarian
Vaccination Date (Make this field read-only to all Profiles except for Veterinarian)
Personality Description
2. Add a field to the “Pet” Object called Pet Owner that relates the records to the Contact object.
3. Add a field to Contact that automatically presents the total number of pets the Contact owns.
4. Add three fields to Contact that automatically presents the total number of Cats, Dogs and Birds respectively.
Vivek DVivek D
Are Cats,Dogs and Birds are record type or a picklist on the object pet?
You can make the pet object as a child of contact in a (pet owner ) master details relation ship. Create 3 rollup summary fields with label total_cats,total_dogs and total_birds. select count based on criteria then it will only show total for that respective pet. 
vfdshn htrgutfvfdshn htrgutf
Can this program detect the pets face? I want to test for my overallpets (https://overallpets.com/golden-retriever-puppies/) blog.