# Document

| Extension                                                                                                | Description                                                                                                         |
| -------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| [EXT\_Document\_Cancel](/mss-extensibility/mss-5.0/untitled-1/document/ext_document_cancel.md)           | Function to ask MSS to cancel a document.                                                                           |
| [EXT\_Document\_AddLine](/mss-extensibility/mss-5.0/untitled-1/document/ext_document_addline.md)         | Function to add a new line to MSS document.                                                                         |
| [EXT\_Document\_DeleteLine](/mss-extensibility/mss-5.0/untitled-1/document/ext_document_deleteline.md)   | Function to Delete a document line.                                                                                 |
| [EXT\_Document\_EditLine](/mss-extensibility/mss-5.0/untitled-1/document/ext_document_editline.md)       | Function to Edit a document line.                                                                                   |
| [EXT\_Document\_Finalize](/mss-extensibility/mss-5.0/untitled-1/document/ext_document_finalize.md)       | Function to ask MSS to create a new document based on a temporary one applying all the rules related to it.         |
| [EXT\_Document\_Recalculate](/mss-extensibility/mss-5.0/untitled-1/document/ext_document_recalculate.md) | Function to recalculate the entire document (this process runs over the temporary MSS tables DCC\_Temp, DCL\_Temp). |
| [EXT\_Documents\_OpenModule](/mss-extensibility/mss-5.0/untitled-1/document/ext_documents_openmodule.md) | Function to ask MSS to open the Documents screen.                                                                   |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.sysdevmobile.com/mss-extensibility/mss-5.0/untitled-1/document.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
