You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to Fetch data from custom object to Custom Child object

in Sales 1 comment

Summary:

We have 3 custom Object called- Connection , Legal and Legal Child object

when ever we create new records in connection and Check box field (ShowOnQualityPageLicensed_c - Y )

Then new record /Data should create in Legal child object.

Currently we created DCL fields in ALL object to create relationship.

Content (required):

Version (include the version you are using, if applicable):


Code Snippet (add any code snippets that support your topic, if applicable):

Below is my code

if(ShowOnQualityPageLicensed_c=='Y')

{

if(Legal_Obj_c?.FileNumber_c=='17-1505')

{

 def LegalConnectionVO = Legal_Obj_c?.LegalconnectionCollection_c

 def vr = LegalConnectionVO.createRow();

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!