# 414 - Edit Article Line

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

414 - Edit Article Line

| Event                                              | Extension action set  | Description                                                                                     |
| -------------------------------------------------- | --------------------- | ----------------------------------------------------------------------------------------------- |
| [Before ](https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/orders/414-orders-edit-article-line.md#before)  | EXT\_0414\_1\_Before  | Will be executed before MSS edits the selected line;                                            |
| [Replace](https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/orders/414-orders-edit-article-line.md#replace) | EXT\_0414\_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/orders/414-orders-edit-article-line.md#after)     | EXT\_0414\_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.
