I would like to add a comment to each TransactionEntry record, which would show up on the receipt. Rather than write a DLL, I thought a SQL Trigger would be simple enough. (Yes, I know my way around SQL. :-)
The trigger, itself, seems to work fine. Unfortunately, the comment doesn't show up on the receipt. It does when I add a comment directly at POS, so I know the receipt definition can handle a comment. And after Tendering, the correct value appears in the Comment field of the TransactionEntry table. But it's like the receipt (journal?) image is getting generated before the Transaction is posted. But the documentation says the transation is posted before even any add-in runs.
So, where can I put a SQL trigger that will update the TransactionEntry.Comment field so that it will print on the receipt?
Cheers Dan