Trigger an document action "For each serial" before sending the doc to the printer
Hello,
My situation is the following :
I have a global data field which is a serial number. When printing my document, a document action "for each serial" is inserting a row in a database table, where this serial is the primary key.
For some reasons, probably connections issues, the serial is sometimes not incrementing properly and I get a violation key error, but the label still prints.
As far as I saw, the action is triggered after the document is sent to the printer.
What I would like to do is to trigger the action before the document is sent, so I can block the printing in case of a database error, but until now I didn't find how to do it.
Any idea?
Thanks in advance
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
0 commentaire