As promised, it is time to share an enhancement for the document posting preview.
The posting preview functionality in NAV 2016 is built around a single-instance Codeunit number 19. That Codeunit has temporary tables declared as global variables and what ever is written to these tables remains there even if the actual database write is rollbacked.