> 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.1/functions-mss-to-kalipso/stocks/1900-stocks-stocks-module.md).

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