+ 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?