> For the complete documentation index, see [llms.txt](https://doc.sysdevmobile.com/mss-extensibility/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.sysdevmobile.com/mss-extensibility/mss-5.1/functions-kalipso-to-mss/document/ext_document_editline.md).

# ​EXT\_Document\_EditLine​

Function to change quantities or unit on a line

*Input parameters:*

* inDocumentLine – Number of the line to be changed (DCLLIN)
* inNewQuantity – If empty will open MSS quantity window;
* inNewUnit – If not empty will change the unit of the line;
* inIgnoreLots\_SerialNumbers – Do not open Lots or Serial number selection window ;
* inIgnoreComponents – Do not insert automatic components of the article;
* inIgnoreBonusQuantities – Do not calculate bonus quantities;

*Output parameters*:

* outResultCode – Return code: 0 – Done / < 0 Error occurred;
