• Moss
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies

Hi Experts,

I am developing a .Net based web application to create salesforce users and then assign some packages to that user remotely.

 

Creating a user is not a problem but assigning a package to that user seems no luck.

I don’t know which fields in user object to reference to?

 

Can you please give some directions on how to do it in .Net?

 

Your help is appreciated...

 

Thanks

Moss

 

  • June 10, 2013
  • Like
  • 0

Hi All,

 

I want to select records where the any of the values of two multi-selects match.

 

I am using includes which I think is the only way, but unless both multi-selects match, it doesn't return any values.

 

Any ideas?

 

Thanks

 

 

 

 

List<Account> fromLead = [select Id, Name, BillingCity, Country_ISO_Code__c, Type, Accreditations__c from Account where 
 	 			
 	 				Type = 'Dealer' 
 	 				
 	 				AND Country_ISO_Code__c =: lead.Country_ISO__c
 	 				
 	 			
 	 				
 	 				AND Accreditations__c includes (: lead.All_Accreditation_Endorsements__c ) 
 	 				
 	 				AND Accreditations__c != null
 	 				
 	 				LIMIT 1000];
 	 				
 	 				accs = fromLead;