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 106849

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.

1 vote
Accepted

Can we call apex method with the same name but with different letter case in another class?

Yes, it's possible to call a method in another class with the same method name but different cases. For instance, if you have a method named testMethod() in ClassA, and you call it as ClassA.TestMetho …
Arnas Baronas's user avatar
4 votes
2 answers
661 views

System.Formula.recalculateFormulas triggers DML statement while running unit tests

It seems that System.Formula.recalculateFormulas method triggers unexpected behaviour during apex unit tests. Has anyone faced this issue or has any explanation why this is happening? …
Arnas Baronas's user avatar
0 votes

Trigger to count the number of related Records(look up - Not Master Detail)

Trigger can look like this: trigger TriggerName on SObject (before delete) { TriggerHandlerClass.checkChildren(Trigger.old, Trigger.operationType.name()); } And handler class can look like this: …
Arnas Baronas's user avatar
0 votes

Batch Class when parent is created then child should get created

Short answer is no, you can definitely accomplish that without using batch class. If you want more details you will have to be more specific: How can we know what kind of Contact records we need to c …
Arnas Baronas's user avatar
2 votes

Mapping Json Array to salesforce object

First of all, your jsonString is invalid. You need to fix it first if you would like to deserialize JSON to object. Valid jsonString would look like: String jsonString = '{"count":6176,"next":"https:/ …
Arnas Baronas's user avatar