+ Start a Discussion
LALALALALALA 

how to get value from lookup field

My problem:
in quote object has a field which is Account Name, this field has a relationship with account, because Account Name don't have API, but have Id which is AccountId I can use, so I don't know how to reference date to this field in Quote....  

Thank you:) 
sandeep sankhlasandeep sankhla
Hi,

What exactly you need ?  You want to pull some information from related account ?
sandeep sankhlasandeep sankhla
f its a trigger then you can collect that Id and query on Accpunt to get the fields...else you can query like

Select Account.Name, AccountId From Quote and you will get it..

Please check and let me know if it helps else you can elaborate more where you want and how then I can help you out..

Thanjs,
Sandeep