Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 46165

Questions relating to Apex, the native programming language for the Force.com platform. Use it for general questions on syntax, errors, constructs, and rules of use. Most questions should include a code *excerpt* to help answerers understand specifically what has gone wrong or why you need help.

0 votes
3 answers
4k views

space between firstname and lastname

How do I add a space between FirstName and LastName? I have tried below code, but I am not able to see any space between contact FirstName and LastName. String body = 'Hi '; if(u.FirstName!=null …
Ram's user avatar
  • 21
1 vote
1 answer
233 views

Conditionally Update Stage Name

We need to check the condition like Opportunity IsClosed field is set to true, before determining whether or not the it’s been closed less than 30/45 days from when it was created. As of now my curre …
Ram's user avatar
  • 21
0 votes
1 answer
585 views

Too many SOQL queries in batch class

When we are running the below batch getting: Too many SOQL queries: 201 Error. What are some steps I can take to avoid this error? Batch: Will post the code.Sorry for the deletion Thanks
Ram's user avatar
  • 21
0 votes
1 answer
175 views

Test class code coverage error

As of now test class code coverage 85%, but when we are validating the chageset getting 0% code coverage error saying ` STANDARD_PRICE_NOT_DEFINED No standard price defined for this product. Ple …
Ram's user avatar
  • 21