====== LoadStatefulDocument ======= ==== Syntax: ==== LoadStatefulDocument([optionally MinSuccessfulState]) {{:images:sign_warning.png?nolink|}}**Note:** Default value of the optional parameter **MinSuccessfulState** is 'Processed'((The MinStatus can be adjusted.)). The function looks in the MessageBox of the current document for all documents of the same type (+SubType) with the same document number... * which have no errors, * that have a status of at least **Processed**((The MinStatus can be adjusted.)). So you know if the document has already been transferred in a newer version((This would be the end of the processing.)) and if there is a predecessor((Then a comparison of the differences is necessary)). === Example ==== Result of a LoadStatefulDocument() call: {{:transformation:mappings:funktionen:diffmappingfunktionen:loadstatefuldocument.png?nolink|}}