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
subramanyam Rsubramanyam R 

how we know the a relationship is a lookup or master relationship in apex and vf page?

JabarajJabaraj
Master -Detail:
  • The Master -Detail field is required on all Vf Page.
  • we can not update Master - detail field using apex but we can clone it.
Look - up:
  •  Look-up field is not required field in Vf page.
  • We can update look-up field using apex