• kab1
  • NEWBIE
  • 25 Points
  • Member since 2012

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

I have objects Opportunity, OpportunityLineItem,  

 

CustomObject1( OpptyID , OwnerType, UserID)

 

Custom Object2(OwnerType, OptyLineItemType)

 

I wanted to have a query to get data from Opportunity and OpportunityLineitem based on ( Opportunity.Id=CustomObject1.OpptyId) and CustomObject1.OwnerType=CustomObject2.OwnerType and OpportunityLineItem.LineItemType=Custom Object2.OptyLineItemType)

 also aggregate the lines by  UserID of CustomObject1.

 

Please let me know if there is a workaround or I can use a single query. 

 

thanks in advance.

 

  • November 08, 2012
  • Like
  • 0

Hi I need help with following ccode

I am using URL parameters and then read the parameter like following.

 

String strval=Apexpages.CurrentPage.getParameters().get('str');

sobj.property=strval;

Then passing the value to the query or sobject to update.

 

I am not sure how to make it safe from XSS /soql injection vulnerability.

 

Please send me a code snippet if you have thanks in advance

 

 

  • September 27, 2012
  • Like
  • 0

PHP API Call, 

 

I have a sum(Amout) in my Query which reutrns an "AggregateResult" 

 

how do I echo the AggregatedResult

Hi I need help with following ccode

I am using URL parameters and then read the parameter like following.

 

String strval=Apexpages.CurrentPage.getParameters().get('str');

sobj.property=strval;

Then passing the value to the query or sobject to update.

 

I am not sure how to make it safe from XSS /soql injection vulnerability.

 

Please send me a code snippet if you have thanks in advance

 

 

  • September 27, 2012
  • Like
  • 0