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.

learn more… | top users | synonyms

1
vote
1answer
50 views

Related List not visible for selection from Page Layout

I have a custom object called Partner__c It has two lookup relationships to Contact standard object as shown below. But in Page Layout I am unable to see the Contact object available in the ...
0
votes
0answers
33 views

Add custom lookup field in VisualForce page

I want to create a VF page that displays a Custom Object's Lookup field. I create the object in my apex controller class using the new keyword and would like to add a lookup field to write another ...
0
votes
0answers
18 views

Lookup editable only in edit mode [duplicate]

I created a custom lookup field, but when I add the visualforce page (the lookup) to my object page, he stays editable in the details page. I want he stays read only at details page and editable on ...
2
votes
0answers
26 views

Using a Lookup Relationship in a Formula Field

I want to update a field on the the account object based on a field being updated on the contact object, in this case a date / time field. So far, I have setup a lookup relaionship field on the ...
0
votes
1answer
16 views

Custom Lookup Design

We have a Custom Object called "CaseEvents" which is a child to the parent standard object "Case". Case-CaseEvents is 1:M relationship. I would like to perform the following configuration a) ...
1
vote
1answer
30 views

Accessing lookup fields within trigger context

I have a custom object Customer with a few fields. One of the fields is a Lookup field that refers to a standard object Account. I'm writing a trigger that should fire before each insert/update. The ...
0
votes
1answer
31 views

Lookup Window From SelectList Option

Here's the deal: I have a search field that searchs the object selected from the list, presenting the results below in a table. But in my next step, i want to add the lookup icon next to the text ...
-1
votes
0answers
33 views

How to match two look up fields in salesforce

I would like to match two look up fields in salesforces. I have two look up fields Project payment terms and Payment terms fields. Once the Payment term field lookup selects one project. THe ...
1
vote
1answer
38 views

VisualFlow - Field Lookup

I'm creating a flow and was wondering if there exists the capability to lookup records on the input screen. On the standard record creation page, some fields have a lookup icon, shown in the ...
0
votes
2answers
43 views

Hey I am developing an auto complete field instead of lookup and i want to save that field in controller on click. how can i do this?

Hey I am developing an auto complete field instead of lookup and i want to save that field in controller on click. how can i do this? I tried storing that value on click method but i am not even able ...
1
vote
1answer
28 views

Test Code for Apex Trigger - Trigger works but Test Code fails

I have this trigger code to pull down a contact lookup relationship from Account to Opportunity. Code below: //trigger to update relationship_manager on contact based on account trigger ...
0
votes
3answers
40 views

Prepopulate custom field in Contact Object Based on its Related Account Object

We have a custom field named "Region__c" in the account object. The same field is also present in the Contact object. When we select an account form the contact edit view we want to populate the ...
0
votes
2answers
33 views

Making a lookup readonly?

I tried to make a lookup read only from page layout and tried it from profile. But I am not able to make it read only on my standard page. Is it possible to make a lookup read only. Because we have ...
1
vote
1answer
43 views

How to Populate text field values onto a lookup/picklist?

Subscribe system object has a text field "legacy ID". 1 account can have many unique legacy ID. I have a new object Sub Details wherer I want to populate a picklist/lookup containing all legacy ID ...
3
votes
3answers
86 views

Custom object list view filter criteria does not return results

This is a pretty basic question but I have a list view that I created on a custom object that should be returning results but is not. Object B has a lookup field to Object A,. So lets say I have 2 ...
0
votes
1answer
35 views

lookup realtionship in triggers between two objects

for example in a lookup relation,customer object is a parent,bike object was child, both have same amount__c field ,when we enter the amount__c value in customer obj automatically update the amount ...
1
vote
1answer
35 views

set custom field value to other field of same object

I am trying to set the value of one object in a custom object to be the same as the value of another object before deleting the first object. When I use the assignment operator, nothing happens ...
1
vote
0answers
37 views

Change custom lookup on object through trigger

I'm trying to create a trigger that will remove a custom object called customer when another customer with the same first name, last name and title (MR, MRS, Miss) is added, so only the second entry ...
3
votes
1answer
26 views

External SalesForce Forms

Is it possible to create external SalesForce Forms that can populate fields in the same way as inside salesforce? We offer online teaching and the idea is that teachers, after every lesson, can fill ...
3
votes
1answer
40 views

Mandatory to create Junction object?

I have attached a screenshot of the schema. I have order, order_lines and shipment_lines related as in the following picture... Is it mandatory to create a junction object to get shipment lines for ...
4
votes
3answers
75 views

How to construct mileage expense formula without hard coding the mileage rate into the expense field

I have created a "mileage expense" formula field which calculated the "miles" field by the mileage reimbursement rate - $.56 - hard coded into the formula. Mileage reimbursement rates change at least ...
1
vote
2answers
47 views

list all on search in lookup!

I have in my business salesforce1 an object that has a Lookup to the object car. When I click on the magnifying glass to choose a car, this just shows me the cars that I've visualized. It is possible ...
1
vote
1answer
49 views

Related list availablity

I have custom object X which is look up with Account and custom object Y which is detail of X(master). Now I have to make Y appear in related list section of only those Accounts, whose reference ...
0
votes
0answers
55 views

AMPscript lookuprows function with date value - what's correct format for date

I have a "date" type field in my Data Extension named "upload_date". I want use lookuprows function to grab all records where upload_date is equal "8/26/2014 9:16 AM". Following call doesn't return ...
0
votes
1answer
55 views

How to have lookup field on a Salesforce1 Publisher Action only display records that match the lookup filter?

I'm having trouble in Salesforce1 with a lookup field on a Chatter Publisher Action not respecting the lookup field's required filter criteria. When users are in the Salesforce1 app (iOS or HTML5) ...
2
votes
1answer
63 views

How to preserve relationships upon data import?

I've set up lookup and master-detail relationships between objects in Salesforce, and I have SQL-exported CSVs of legacy data which mirror these relationships. How do I preserve the existing ...
2
votes
1answer
58 views

problem creating a dependent picklist

I want a user to be able to firstly select a value from a picklist and then to be able to select values in a lookup. For example, if the user selects the value "campaign" from the lead source ...
2
votes
1answer
26 views

delete look up reference

I have two objects A and B. I have a look up reference of B on A. In certain cases, if the A has B reference, I would want to delete the look up it by making it null or blank, so that I can look up a ...
1
vote
0answers
31 views

Exact Target - Individual Email Result object - linking Lookup field to IER records in Salesforce

Apparently Exact Target "uses" Stack Exchange for support issues. More specifically, they have no developer support, and their API is "as-is", and either way I believe I have this isolated to a ...
0
votes
1answer
31 views

Field Formula to Count Contact Number of Cases

I have done some researching and just trying to verify that this is not possible to count the number of cases a contact has created with a formula field. Is the only option a trigger? I'm assuming I ...
0
votes
1answer
22 views

Can I pull field data from an Event into its related Account? (Professional Edition)

Our company uses Events to represent demos of our SaaS product. We have several custom fields on the Event object where the person scheduling the demo leaves notes for the person who will run the ...
4
votes
1answer
42 views

Workaround to make Contact lookup field searchable

I believe the lookup fields are not searchable via Global search.. In the Case object we have contact as a look up field. When we search for a contact name in the global search it returns with 0 ...
2
votes
1answer
100 views

How to set a Predefined Field Value lookup field by ID?

I created an Opportunity Action, using the OpportunityLineItem as the Target Object. I want to set a Predefined Field Value for the field PricebookEntryID. When I add a new predefined value, select ...
0
votes
1answer
28 views

How do I create a master detail or lookup relationship to ContentVersion?

I've created my custom object, I want to add a lookup or (ideally) a master detail relationship to ContentVersion. However when I go to create a New Relationship on the custom object, I don't see ...
1
vote
2answers
46 views

Lookup Field Object

I have to get the object name of the lookup field in any object. I am using: sobjectType objectType=Schema.getGlobalDescribe().get('SA_S3_File__c'). then, to get the lookup field name, i am using ...
1
vote
1answer
48 views

How do we calculate the average value of a field in a lookup relationship?

We have a lookup relationship between a meter (parent) and an index (child). We would like to calculate the average of all indexes, and then validate if the entered value of the index is not greater ...
1
vote
1answer
67 views

Get Selected Lookup id in Javascript issue

I have created a Vf page.In that VF page I have look up field for Account look up.My requirement is to get the look up id and pass the id to text box.I have tried the below code but it is not working ...
3
votes
2answers
141 views

“maximum depth of master-detail relationship exceeded” Can't change from Look up To Master Detail

I have two Object, Current Relationship is Look Up I am trying change it to M-D. In change Field Type the field itself is "Grayed Out" with this Info. My Intial requirement was Master-Detail because ...
4
votes
1answer
57 views

How to limit the lookup by Type?

I added 2 RecordType values to the Account object. Now when an Account lookup is invoked from a visual force page, I would like to limit it by RecordType. Is there a way to do this? Hopefully via ...
3
votes
1answer
38 views

How to add 2 independent lookups to a page?

I am building a VF page. I'd like to have 2 lookups on the page. One for a built in Account object and the other one for a custom object Market__c. Short of building a new object that has ...
2
votes
1answer
69 views

Are lookup fields on the User object (e.g. to Contact) supported by the platform?

Aim – i need to have a lookup field on the user object which looks @ the contact object and only returns values where the email address is @domain.com Now i am under the impression that no lookups ...
1
vote
1answer
61 views

Lookup default value - AMPscript

This is going to be a fairly easy question for you I think. I have a lookup aimed at a Data Extension, but I want to set a default value for all lookups that does not find a value in the DE. Here is ...
2
votes
1answer
47 views

MultiSelect List that uses Lookup

Is it possible to create a custom lookup field that allows multiple selects? I couldn't find an option for it. I've created a Project object and was attempting to connect it with the Product object ...
4
votes
1answer
48 views

can you have a lookup search contacts and accounts?

I have a custom object that contains a lookup field and I want to search on contact and accounts.
0
votes
1answer
81 views

Lookup in visualforce page

It's possible to create a lookup in visualforce page to choose one of two visualforce pages with the data from object? I have one object, and I have to choose one pdf or another according the value ...
1
vote
0answers
35 views

How to correct a db schema?

I have problem in a Salesforce db schema. The relevant part of the schema looks like this: Program State District Site Scholar All are custom objects and each is related (lookup field) to the one ...
1
vote
2answers
295 views

Test Code assistance on Orders - System.SObjectException: Field is not writeable: Order.AccountId

I am not sure how to resolve this. With the new Orders Object Salesforce does not give you the option to create a new Order from the Opp. This is a requirement for our org. I have created a custom ...
1
vote
1answer
23 views

Are leads in lookup relationships still kept after conversion?

If I have a lookup field with a lead in and later convert that lead, what happens to the value of the field? I read somewhere that converted leads were only visible in reports.
2
votes
1answer
458 views

Relationship between Account and Opportunity and Account and Contact

On Opportunity there is a lookup relationship to Account.But why it behaves as Master-Detail as we can create Rollup Summary Fields on Account. Similarly if we delete Account then Contact gets ...
0
votes
1answer
210 views

How to override lookup icon in standard page layout

We need to override lookup icon in standard page layout and customize logic by ourselves. Anybody knows how to solve this?