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
sagarshahsagarshah 

How to fill my lookup field evrytime I create a new Timecard?

I have an object Timecard <pse__Timecard_Header__c> and a lookup field PD <PD__c> which is related to another object called Period i.e. <c2g__codaPeriod__c>. I want to fill this lookup field everytime I create a new Timecard.
John PipkinJohn Pipkin
We will need a bit more information in order to help you out. 

Do you create the Timecard record from the PD record? Is there a static PD record to fill in on every timecard? What is the logic in getting the correct PD record to fill in that lookup field?