+ Start a Discussion
Jayaramu T 9Jayaramu T 9 

I have a field called ERP Instance Id. This field comes under Service Contracts.

I have a field called ERP Instance Id. This field comes under Service Contracts.
I have ERP Instance Id. I wanted to know the Service Contract ID based on that ERP Instance Id at SFDC.
Raj VakatiRaj Vakati
Use this SOQL 
List<ServiceContract > sc = [Select Id from ServiceContract where ERP_Instance_c='YOUR_ERP' ]