# 514 - Edit Article Line

> MSS documentation · https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/sales/514-sales-edit-article-line
>
> Eventos EXT_0514 ao editar uma linha da venda: o Replace pode cancelar (outCanEdit) e o After pode recarregar as linhas do documento.

514 - Edit Article Line

| Event                                             | Extension action set  | Description                                                                                     |
| ------------------------------------------------- | --------------------- | ----------------------------------------------------------------------------------------------- |
| [Before ](https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/sales/514-sales-edit-article-line.md#before)  | EXT\_0514\_1\_Before  | Will be executed before MSS edits the selected line;                                            |
| [Replace](https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/sales/514-sales-edit-article-line.md#replace) | EXT\_0514\_2\_Replace | Will be executed before MSS edits the selected line with the possibility to cancel the process; |
| [After](https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/sales/514-sales-edit-article-line.md#after)     | EXT\_0514\_3\_After   | Will be executed after editing the line;                                                        |

### Before

_Input Parameters_

* inDocumentType - Type of the document;
* inLineNumber - Number of the line;
* inCustomerCode - Code of the selected customer;

### Replace

_Input Parameters_

* inDocumentType - Type of the document;
* inLineNumber - Number of the line;
* inCustomerCode - Code of the selected customer;

_Output Parameters_

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

### After

_Input Parameters_

* inDocumentType - Type of the document;
* inLineNumber - Number of the line;
* inCustomerCode - Code of the selected customer;

_Output Parameters_

* outReloadDocument - Reload document lines, if equal to 1 MSS will reload all document lines to show any change made to the document.
