# EXT\_Document\_Recalculate

> MSS documentation · https://doc.sysdevmobile.com/mss/extensibility/functions-kalipso-to-mss/document/ext_document_recalculate
>
> EXT_Document_Recalculate recalcula todo o documento indicado sobre as tabelas temporárias DCC_Temp e DCL_Temp.

Function to recalculate the entire document (this process runs over the temporary MSS tables DCC\_Temp, DCL\_Temp).

_Input parameters_:

* inDocumentExercise – Exercise of the document;
* inDocumentType – Type of the document;
* inDocumentSeries – Series of the document;
* inDocumentNumber – Number of the document;

_Output parameters_:

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