Change the language automatically on document reports

To set the language automatically on document reports, in the Header Data Item, set the Set Language Field property to the field containing the language code.

This means that, when creating a new data item, the language is changed automatically if the record has a field with relation to the language table.