# EXT\_Lots\_OpenSeletion

Function to ask MSS to open the Lots selection screen. The lots selected will be saved in DCT\_Temp table with the number of line passed to the function

Input parameters:

* inModule – Module from which the function is called: 0 – Documents / 1 – Services / 2 - Deliveries;
* inMode – List lots or serial numbers: 1 – Lots / 2 – Serial numbers;
* inOperation – Which operation is being done: 1 – New record / 2 – Modifying / 3 – Consulting;
* inArticleCode – Article code;
* inArticleDescription – Article description;
* inDocumentType – Document type of the current document;
* inDocumentLine – Number of the line of the document;
* inQuantity – Quantity selected of the article;
* inLineType – Type of line (DCLTPL);
* inDeliveryOriginDocumentExercise – Exercise of the delivery document (only used when inModule = 2);
* inDeliveryOriginDocumentSerie – Serie of the delivery document (only used when inModule = 2);
* inDeliveryOriginDocumentNumber – Number of the delivery document (only used when inModule = 2);
* inDeliveryDestinyDocumentType – Document to be generated with the delivery information (only used when inModule = 2);
* inServicesExercise – Exercise of the service (only used when inModule = 1);
* inServicesSerie – Serie of the service (only used when inModule = 1);
* inServicesNumber – Number of the service (only used when inModule = 1);
* inServicesEquipmentLine – Line of the equipment of the service (only used when inModule = 1);

*Output parameters*:

* N/a


---

# 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://doc.sysdevmobile.com/mss-extensibility/mss-5.0/untitled-1/lots/ext_lots_openseletion.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.
