Activity Forums Salesforce® Discussions Create Field In The Object With Master Detail Relationship.

  • Create Field In The Object With Master Detail Relationship.

    Posted by Aman on September 20, 2018 at 7:39 am

    A Custom Object Contains Some Records, Now My Requirement Is To Create Field In This Object With Master Detail Relationship.?

    Parul replied 6 years, 2 months ago 3 Members · 2 Replies
  • 2 Replies
  • shariq

    Member
    September 20, 2018 at 7:40 am

    Hi,

    No. we can no create master detail relationship first create look up relationship and associate look fields for every parent record and then convert this to Master detail relationship.

    Thanks

  • Parul

    Member
    September 20, 2018 at 9:46 am

    Hi

    Read this steps:

    To create the master-detail relationship field to relate custom object with the account  objectFrom Setup, enter Objects in the Quick Find box, then select custom object
    Click Review.
    In the Custom Fields & Relationships related list, click New.
    Select Master-Detail Relationship, and click Next.
    In the Related To drop-down list, choose account, and click Next.
    Click in the Field Name text box and enter the field name ----.
    Select the Read/Write radio button.
    Check Child records can be reparented to other parent records after they are created if you want to be able to change the relationship field’s value. If you leave this box unchecked, you can’t change the value in the future.
    Click Next.
    Accept the defaults in the remaining three steps of the wizard.
    Click Save.

     

    Thanks

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos