> 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.0/untitled-1/numerators/ext_numerators_setnewnumber.md).

# EXT\_Numerators\_SetNewNumber

Function to ask MSS to return the next number available for a document type.&#x20;

*Input parameters:*&#x20;

* inDocumentType - Type of document;
* &#x20;inNewNumber - New numerator of the document;&#x20;

*Output parameters:*&#x20;

* outResultCode - Return code: 0 – Done / < 0 User canceled selection or error occurred;
