> For the complete documentation index, see [llms.txt](https://help.arito.vn/mua-hang/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.arito.vn/mua-hang/tien-ich-khac/tinh-nang-ke-thua-du-lieu.md).

# Tính năng kế thừa dữ liệu

Dùng để kế thừa dữ liệu từ các chứng từ với nhau trong quy trình. Chứng từ sau sẽ kế thừa dữ liệu của chứng từ trước

Lưu vết dữ liệu đã được lấy và có thể truy về chứng từ được lấy dữ liệu để theo dõi/ kiểm tra

## Hướng dẫn thao tác

Hiện tại trên phần mềm đều có nhiều chứng từ lấy dữ liệu từ chứng từ khác để thể hiện các chứng từ có liên kết với nhau

Ví dụ: Hóa đơn mua hàng trong nước => Lấy dữ liệu từ Đơn hàng mua trong nước

**Bước 1:** Thêm mới Đơn hàng mua trong nước

Đường dẫn: ***Mua hàng/ Đơn hàng/ Trong nước***  &#x20;

<figure><img src="/files/yfUkWEBmsV9ULz9Am2nA" alt=""><figcaption><p>Đơn hàng mua trong nước</p></figcaption></figure>

**Bước 2:** Thêm mới hóa đơn mua hàng trong nước

Đường dẫn: ***Mua hàng/ Hóa đơn/ Trong nước***

<figure><img src="/files/03COxHVk1wcbZiXOt0ef" alt=""><figcaption><p>Hóa đơn mua hàng trong nước</p></figcaption></figure>

**Bước 3:** Kế thừa dữ liệu từ Đơn hàng mua trong nước ở bước 1

Kế thừa dữ liệu từ Đơn hàng được tạo mới ở bước 1 và **Lưu**

<figure><img src="/files/1GrfdmiTy6MZ8RTqxCl4" alt=""><figcaption><p>Kế thừa đơn hàng</p></figcaption></figure>

**Bước 4:** Kiểm tra liên kết chứng từ

Kiểm tra nếu số đơn hàng và dòng của sản phẩm tương ứng với B1 khi thiết lập Đơn hàng mới và kiểm tra trạng thái trên Đơn hàng, nếu ở trạng thái: Đang thực hiện/ Hoàn thành thì hoàn thành việc liên kết chứng từ

<figure><img src="/files/EGuieIlNGSFSqrPwBSHp" alt=""><figcaption><p>Dữ liệu sao khi đã kế thừa</p></figcaption></figure>

&#x20;


---

# 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://help.arito.vn/mua-hang/tien-ich-khac/tinh-nang-ke-thua-du-lieu.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.
