> For the complete documentation index, see [llms.txt](https://help.arito.vn/ban-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/ban-hang/tien-ich-khac/thiet-lap-ton-kho-an-toan-khi-ban-hang.md).

# Thiết lập tồn kho an toàn khi bán hàng

Tài liệu mô tả tính năng cho bộ phận bán hàng có thể xem tồn kho khả dụng của vật tư đó ngay thời điểm hiện tại, để khi đặt hàng bộ phận bán hàng có thể biết và theo dõi được tồn của vật tư đó còn bao nhiêu trước khi đặt hàng.

## Khai báo hệ thống

Khai báo các tham số tùy chọn, để xử lý tồn trên đơn hàng bán

Đường dẫn: ***Hệ thống/Khai báo các tham số tùy chọn***

<figure><img src="/files/qh2ARyWqk587kz3wldqO" alt=""><figcaption></figcaption></figure>

Giải thích các trường để khai báo

* Không sử dụng: sẽ không theo dõi tồn kho khả dụng trên đơn hàng bán
* Sử dụng tồn kho khả dụng theo vật tư: sẽ theo dõi tồn kho khả dụng theo vật tư
* Sử dụng tồn kho khả dụng theo vật tư, kho: sẽ theo dõi tồn kho khả dụng của vật tư theo kho.

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

Lập đơn hàng bán

Đường dẫn: ***Phân hệ Bán hàng/ Đơn hàng***

<figure><img src="/files/p9tjtohTGdR8AgVFOQbr" alt=""><figcaption></figcaption></figure>

* Sau khi lập đơn hàng bán, chọn mã sản phẩm và mã kho bộ phận bán hàng sẽ thấy số tồn tại thời điểm hiện tại
* Tồn kho khả dụng = tồn thực tế - Số lượng đơn hàng bán(đã duyệt/Đang thực hiện) + số lượng đơn hàng mua (đã duyệt/đang thực hiện)

## Cách xem vật tư có tồn kho an toàn

Báo cáo có thể xem cho biết số lượng vật tư đã bán đã được duyệt và mua đã được duyệt với số lượng bao nhiêu và tồn kho khả dụng theo vật tư đó.

***Phân hệ kho/Báo cáo/Báo cáo tồn kho khả dụng.***

Điều kiện lọc:

<figure><img src="/files/wpdSc7PumdIaof3xY0wr" alt=""><figcaption></figcaption></figure>

Màn hình báo cáo:

<figure><img src="/files/wtidcFZYDiUTdN6zJxFO" alt=""><figcaption></figcaption></figure>


---

# 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/ban-hang/tien-ich-khac/thiet-lap-ton-kho-an-toan-khi-ban-hang.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.
