# Vehicles in stock

## How to add vehicle to the stock

You will need to go to the database and find the table called `vehicles_to_buy`

<figure><img src="https://rco.re/docs/pdm/stock-7.png" alt=""><figcaption></figcaption></figure>

We need to focus on `licensePrice` and `piecePrice` these two columns have to be both filled in order for the "instock" to work in-game

Description of the two columns

`licensePrice` = the vehicle shop is paying for rights to sell this vehicle.

`piecePrice` = price of a single vehicle that will be added to the stock.

## How to buy vehicles to the stock

In the boss menu, you can see an item menu called "Buy vehicles to the stock"

<figure><img src="https://rco.re/docs/pdm/stock-23.png" alt=""><figcaption></figcaption></figure>

It will open this vehicle menu

<figure><img src="https://rco.re/docs/pdm/stock-27.png" alt=""><figcaption></figcaption></figure>

After you select the vehicle you want to buy to the stock you will see this menu

<figure><img src="https://rco.re/docs/pdm/stock-31.png" alt=""><figcaption></figcaption></figure>

So just type how many cars you want to order for your vehicle shop and confirm the payment.


---

# 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://documentation.rcore.cz/paid-resources/rcore_pdm/vehicles-in-stock.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.
