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 7218

This type of relationship links two objects together. Lookup relationships are similar to master-detail relationships, except they do not support sharing or roll-up summary fields.

1 vote

Aggregate functions like min and max in lookup relationship

I changed my trigger like this to make it work for both insert and delete. trigger rollupTrigger on Employee__c (after insert, after update, after delete) { Set<Id> orgIds = new Set<Id>(); L …
Salesforce developer's user avatar
0 votes
3 answers
3k views

Aggregate functions like min and max in lookup relationship

I had two custom objects Organization__c (parent) and Employee__c (child) which were related using lookup relation ship [lookup:orgnitation__c]. …
Salesforce developer's user avatar
12 votes
3 answers
54k views

How to write a rollup summary trigger for a lookup relationship

Is there anyway to update a rollup summary field with lookup relation ship for a custom object. How can we achieve this using triggers ? …
Salesforce developer's user avatar