> For the complete documentation index, see [llms.txt](https://doc.sysdevmobile.com/mss-extensibility/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.sysdevmobile.com/mss-extensibility/mss-5.0/mss-extension-functions-mss-kalipso/stocks/1900-stocks-stocks-module.md).

# 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;
