# 1900 - Stocks Module

> MSS documentation · https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/stocks/1900-stocks-stocks-module
>
> Eventos EXT_1900 Before/Replace/After ao abrir e fechar o módulo Stocks, com o tipo de documento a selecionar e outOpenMSSModule no Replace.

1900 - Stocks Module

| Event                                           | Extension action set  | Description                                          |
| ----------------------------------------------- | --------------------- | ---------------------------------------------------- |
| [Before ](https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/stocks/1900-stocks-stocks-module.md#before)  | EXT\_1900\_1\_Before  | Will be executed before MSS opens the Stocks module; |
| [Replace](https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/stocks/1900-stocks-stocks-module.md#replace) | EXT\_1900\_2\_Replace | Will replace MSS Stocks module;                      |
| [After](https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/stocks/1900-stocks-stocks-module.md#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;
