# 1900 - (Stocks) Stocks Module

1900 - (Stocks) Stocks Module

| Event   | Extension action set  | Description                                          |
| ------- | --------------------- | ---------------------------------------------------- |
| Before  | EXT\_1900\_1\_Before  | Will be executed before MSS opens the Stocks module; |
| Replace | EXT\_1900\_2\_Replace | Will replace MSS Stocks module;                      |
| After   | EXT\_1900\_3\_After   | Will be executed after closing the Stocks module;    |

*Input Parameters (event before):*

* inDocumentType – Document type to select automatically;

*Input Parameters* *(event replace):*

* inDocumentType – Document type to select automatically;

*Output Parameters (event replace):*

* outOpenMSSModule – Return code: 1 – Open MSS module / 0 – Don’t open MSS module;

*Input Parameters (event after):*

* inDocumentType – Document type to select automatically;


---

# 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/mss-extension-functions-mss-kalipso/stocks/1900-stocks-stocks-module.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.
