# 519 - Payments Screen

> MSS documentation · https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/sales/416-orders-delete-line-1
>
> Eventos EXT_0519 do ecrã de pagamentos das vendas: antes de abrir, em substituição do ecrã por omissão e depois; o Replace devolve outCanSave.

519 - Payments Screen

| Event                                          | Extension action set  | Description                                                   |
| ---------------------------------------------- | --------------------- | ------------------------------------------------------------- |
| [Before ](https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/sales/416-orders-delete-line-1.md#before)  | EXT\_0519\_1\_Before  | Will be executed before MSS opens the default payments screen |
| [Replace](https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/sales/416-orders-delete-line-1.md#replace) | EXT\_0519\_2\_Replace | Will be executed to replace MSS default payments screen       |
| [After](https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/sales/416-orders-delete-line-1.md#after)     | EXT\_0519\_3\_After   | Will be executed after MSS opens the default payments screen  |

### Before

Input Parameters

* inDocumentExercise – Exercise of the document;
* inDocumentType – Type of the document; -
* inDocumentSeries – Series of the document;
* inDocumentNumber – Number of the document;
* inCustomerCode – Code of the selected customer;
* inDocumentTotal - Document total value;

### Replace

Input Parameters

* inDocumentExercise – Exercise of the document;
* inDocumentType – Type of the document;
* inDocumentSeries – Series of the document;
* inDocumentNumber – Number of the document;
* inCustomerCode – Code of the selected customer;
* inDocumentTotal - Document total value;

Output Parameters

* outCanSave – Return code: 1 – Continue the process / 0 – Cancel;

### After

Input Parameters

* inDocumentExercise – Exercise of the document;
* inDocumentType – Type of the document;
* inDocumentSeries – Series of the document;
* inDocumentNumber – Number of the document;
* inCustomerCode – Code of the selected customer;
* inDocumentTotal - Document total value;
