# 1900 - Stocks Module

1900 - Stocks Module

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

### Before

*Input Parameters*

* inDocumentType – Document type to select automatically;

### Replace

*Input Parameters*

* inDocumentType – Document type to select automatically;

*Output Parameters*

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

### After

*Input Parameters*

* 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.1/functions-mss-to-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.
