How can I get sys_id from parent table in form of children table?

chenyanwei
Giga Contributor

I made a relationship  between parent_table and chile_table,how can I get the parent sys_ id in the form of child_table?

find_real_file.png

1 ACCEPTED SOLUTION

Karishma5
Tera Expert

Hi chenyanwei,

 

Create a reference field on child form that will refer to the parent table and when creating new record from related list it will automatically relate to the parent record.

 

Thanks,

Karishma

 

View solution in original post

4 REPLIES 4

rammohanraomadd
Kilo Guru

Hi,

 

As per the screenshot parent sys_id will be the value of Product Code in Child Table.

 

Regards,

Ram M

how can I get the value ? I want to set field value of child table as the parent sys_id when I create a child table record.

Hi,

You will be creating the child record from the related list itself right?

 

Then click on new button which will automatically update the parent field.

 

Regards,

Ram M

Karishma5
Tera Expert

Hi chenyanwei,

 

Create a reference field on child form that will refer to the parent table and when creating new record from related list it will automatically relate to the parent record.

 

Thanks,

Karishma