Which kind of relationship would a developer use to relate the - ProProfs Discuss
Advertisement

Which kind of relationship would a developer use to relate the Account to Warehouse? A company has a custom object named Warehouse. Each Warehouse record has a distinct record owner and is related to a parent Account in Salesforce.


This question is part of platform dev i

Asked by Andrew, Last updated: Oct 23, 2020

+ Answer
Request
Question menu
Vote up Vote down 1

8 Answers

anilkumarsahu81

anilkumarsahu

anilkumarsahu81
Anilkumarsahu

Answered Mar 26, 2017

Lookup is correct, master detail inherits owner from Parent!!
Lookup is correct answer! Hope this help you
upvote downvote
Reply 

NitinUniyal

NitinUniyal

NitinUniyal
NitinUniyal

Answered Jan 30, 2017

Dbri is right. Lookup is the right answer. In Master detail child always inherit the owner of parent. Lookup you can maintain the distinct owner requirment.
upvote downvote
Reply 

khare.van08

khare.van

khare.van08
Khare.van

Answered Jan 12, 2017

Admin, please correct the question's answer.

The answer is LOOKUP.
upvote downvote
Reply 

dbri

dbri

dbri
It must be look-up, because a detail can have only one master and so there would be no possible DISTINCT Owner.
upvote downvote
Reply 

daniel_branch

daniel_branch

daniel_branch
Why is the answer not Lookup? There is no indication in the question that a master-detail relationship is required, and as already stated, One-to-Many is not a valid relationship in Salesforce
upvote downvote
Reply 

BunniesKill

BunniesKill

BunniesKill
It is not One to Many because that is not a lookup type in Salesforce. Lookup is right because there is nothing stating that Warehouse security is dependent upon Account security.
upvote downvote
Reply 

John Adney

John Adney

John Adney
B. Lookup
When we define relationship in salesforce through custom fields there is no One-to-Many or Parent-Child relationship. It can be either Lookup or Master-Detail relationship. Also, in salesforce Child record of a Master-Detail relationship can't have owner. Here Warehouse is child to Account. As the question says warehouse has distintct owner, the answer should be Lookup
upvote downvote
Reply 

John Smith

John Smith

John Smith
John Smith

Answered Sep 09, 2016

One-to-Many
####
upvote downvote
Reply 

Advertisement
Advertisement
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader

Email Sent
We have sent an email to your address "" with instructions to reset your password.