# 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
