# 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).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.inogic.com/click2clone/configuration/copying-from-one-record-to-another/untitled.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
