function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
I want to get subscriptiongroupId by passing the contactId by using function.
Any help on this appreciated.i will answer any questions u may have.
Thanks
What is a subscriptiongroupid and how does this relate to a contactid?
If its as simple as the subscriptiongroup has a lookup to a contact, then something like the following should do it:
List<Subscription_Group__c> subs=[select id, Name from Subscription_Group__c where Contact__c=:contactId];
What is a subscriptiongroupid and how does this relate to a contactid?
If its as simple as the subscriptiongroup has a lookup to a contact, then something like the following should do it: