# 414 - Edit Article Line

414 - Edit Article Line

| Event               | Extension action set  | Description                                                                                     |
| ------------------- | --------------------- | ----------------------------------------------------------------------------------------------- |
| [Before ](#before)  | EXT\_0414\_1\_Before  | Will be executed before MSS edits the selected line;                                            |
| [Replace](#replace) | EXT\_0414\_2\_Replace | Will be executed before MSS edits the selected line with the possibility to cancel the process; |
| [After](#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.
