function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sureshgvsureshgv 

I want to create Master detailed relation ship

Hi All,

 

This is suresh, i want to create master detailed relation ship.please help me,how to create a relation ship

 

just like this

 

object name is BANK:

 fileds like:

ICICI:

SBI:

AXIS:

HDFC:

 

like again i want to maintain relationship to fields of Acc no,Acc name,balance to the fields of ICICI,SBI,AXIS,HDFC

 

 

Thanks,

Suresh GV

KalyanLKalyanL

I think it should be something like this

 

Bank (Master)

 

Bank Accounts (Child)

 

Bank Accounts will have the following fields

 

Bank Name

Account Number

Account Balance

 

as a good design practice, you would want to have flxibility to extend your object model instead of having the bank names as fields.

 

HTH

 

Thanks!

sureshgvsureshgv

 

Hi,

This is Suresh, here what i am saying is 

 

Bank is main object and fields are ICICI,SBI,AXIS,HDFC like wise the fields are acc_no,acc_name,balance.

 

bank fields are icici,sbi,axis

and bank to icici,sbi to maintain master detailed relationship

and icici,sbi,axis to acc_no,acc_name,bal to maintain master detailed relation ship

 

 

how i can develop the relationship can u tell me please. 

KalyanLKalyanL

I don't think you can do this way.  One object can be a child only once for the Master object not multiple times. 

 

Thanks,
Kalyan

www.convnimbus.com