PrintRecords vs. Document-Print

Does anybody know the reason why navision wrote a single PrintRecords trigger for sales invoices and shipments while for orders and so on there is a trigger in the codeunit 229 “Document-Print”? I could only think of permissions …

I think it has something to do with the fact that all cu229 documents are not posted and every posted document has a function PrintRecords. Perhaps different navision developers have developed the functionality.

I wouldn’t like to say they did a good job of it, but the logic was to allow the print counter to be updated in locked tables. There is quite a difference to printing a sales record, since it can have many doucment types, where a posted invoice, is just a posted invoice. Of course it would be nice to have a mechanism to print different reports for diffrernt circumstances.