Need to Auto Populate Fields from Opportunity in Related Custom Object.
We have created a Related custom object called Sample Tracking Against an Opportunity. When we create sample tracking records with custom Fields such as 1. Customer, 2. Primary Contact, 3. Line of Business, and 4. Application area, these fields should be automatically fetched from that associated Opportunity. Please find the attachment shared for Reference.
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):