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
MichaelABMichaelAB 

Need Lookup field to default to a certain Value

I have a Lookup field (Signing ISO) and when an account is created I need that field to default to

gotoBilling ISO, which is a value in the lookup.

 

Could someone tell me the code for this?

So far I have:

 

ISNEW( Signing_ISO__c )

 

Don't know what to do next.

 

Thanks.

Steve :-/Steve :-/

Can you provide a little more information?

 

 

  • What object is the Lookup located on?  
  • Which Object to the Lookup to?  
  • What is the relationship between the 2 Objects? 

 

MichaelABMichaelAB
both Lookup fields are with the Accounts object - do you need something more?
Steve :-/Steve :-/

What object are they Looking Up?

 

What is the relationship between the Account Object and the Object of the Lookup?  

MichaelABMichaelAB

Boy! Now I'm getting confused. I thought when I said they are both under the Account object that would tell their relationship and what object they are looking up. No?

 

One is a standard lookup field and one is a custom both under the Account object.

 

I must not be getting something here.

 

Steve :-/Steve :-/

What I meant was "What type of record are you trying to connect to the Account via the ISO Lookup field?"

 

For example: on an Opportunity record the Account Name is a lookup(Account).

 

 

MichaelABMichaelAB
They are both Account records.