Friday, September 18, 2015

How to Implement One-to-One Relationship for Lookup and Mater-Details

 FOR LOOKUP:::

STEP 1: Create one custom field in Child Object with Uniq option.

STEP2:CREATE WorkFlow Rule on Child object and Criteria is Created or edited .

  In fields:select the Parent is notnull click on save&next button.

STEP3: Choose field update option.
STEP4: Choose use-formula: and select the parentobject  and click on save and active the Workflow.

  MASTERDETAILS:

  Create Rollupsummay field on Parent  and write validation if Roll up summary is greater than one throw error message

No comments:

Post a Comment