# Specify related records

To copy related opportunity line item to order line item, follow the steps given below:

* Navigate to **Child Templates** --> Click on **New Click2Clone Template.**

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-M6ZaCcL152niYx2ULKq%2F-M6Zv5m-yw3LXufdJFZb%2FClone2_3.1.png?alt=media\&token=d4c936fb-a379-42c5-aed1-363855ef8233)

* Fill in the following details --> Click on **Save**.

**Name** = Enter an appropriate name for the Child Template.&#x20;

**Source entity** = Opportunity Product (Since we want to copy related opportunity line item)&#x20;

**Target entity** = Order Product (Since we want to copy the related opportunity line item to order line item)&#x20;

**Source relationship** = Select **'product\_opportunities'** (This is **1:N relationship** between **Opportunity** and **Opportunity line** item)&#x20;

**Target relationships** = Select **'order\_details'** (This is **1:N relationship** between **Order** and **Order line** item)

It is **mandatory** that parent entity holds **1:N relationship** with the selected **child** entity.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FzcutZFbqHNMCbpVXbtIV%2Fspecify%20related%20records.png?alt=media&#x26;token=8558ccee-03a2-4878-923d-c1bef1d54a1c" alt=""><figcaption></figcaption></figure>

* Go to **Fields Mapping** section --> Map the fields of child records --> Click on **Save.**

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-M6ZaCcL152niYx2ULKq%2F-M6ZwxzbvItVLlYlVult%2FClone2_3.4.png?alt=media\&token=707febd8-115d-4cb3-b0b8-3e3aaa64f3de)

{% hint style="success" %}
For further queries, reach out to us at <crm@inogic.com>
{% endhint %}

Once you have completed all the steps, you will be able to [copy one entity record to another](https://docs.inogic.com/click2clone/features/copy-one-record-to-another).
