> For the complete documentation index, see [llms.txt](https://help.besmart.software/erpp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.besmart.software/erpp/fr-erp-picker/attachments/vault-select/select-example-for-verification.md).

# SELECT example for verification:

SELECT ItemNumber, ItemTitle, ItemDetail, units, CategoryName, IsConsumable, IsObsolete, <mark style="background-color:orange;">CONVERT(NVARCHAR(10), (SELECT TOP (1) Value FROM dbo.Property AS P WHERE (EntityID = dbo.vw\_ItemRevision.ItemIterationID) AND (PropertyDefID=166)) AS TpvZm</mark>&#x20;

FROM dbo.vw\_ItemRevision

WHERE (ItemIterationID IN (SELECT MAX(ItemIterationID) AS E1 FROM dbo.vw\_ItemIteration AS I1 GROUP BY itemMasterID))

* highlighted in yellow is the part of the SQL query that retrieves the user property
* sql function CONVERT converts a value (table Property, field Value) from the sql\_variant type to a specific type to

ERP picker over user property enabled filtering

* the <mark style="background-color:orange;">PropertyDefID</mark> value for the required property can be found in the PropertyDef table


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.besmart.software/erpp/fr-erp-picker/attachments/vault-select/select-example-for-verification.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
