> For the complete documentation index, see [llms.txt](https://docs.inogic.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.inogic.com/click2clone/configuration/copying-from-one-record-to-another/untitled.md).

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

![](/files/-M6Zv5m-yw3LXufdJFZb)

* 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="/files/MLIBfBkDwDf46OfWnRZm" alt=""><figcaption></figcaption></figure>

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

![](/files/-M6ZwxzbvItVLlYlVult)

{% 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
