Search Results
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 |
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
2
answers
1k
views
test class for a trigger
I have 2 triggers into sandbox that work s perfectly and I want to transfer it into production. The only problem is that I need to write a test class for each one in order to cover 75% of the triggers …
1
vote
1
answer
2k
views
Test Class error while having an OrderItem into it
Hi I am trying to have an orderitem into my test class in order to test a trigger.
class is : `
public static testmethod void TaskTrigger_Test1()
{
Account a = new Account(`enter pref …
-1
votes
2
answers
2k
views
Error on test class
My trigger is :
trigger TaskTrigger on Task (after insert) {
List<Order> ordersToUpdate = new List<Order>();
for(Task t : Trigger.new) {
if(t.WhatId.getSObjectType() == Order.sObjec …
0
votes
1
answer
286
views
Apex Data Loader problem
Is it possible to do that on apex data loader? Whenever I try I get an error like Contact: id value of incorrect type: [email protected]
I have 100k records to insert into 60k Contacts. …
2
votes
2
answers
713
views
Problem with trigger when Inserting new records on custom object [duplicate]
I am trying to insert new records into a custom object (production) via apex data loader. …