Batch print/email, multiple attachments to same debtor
Posted: Mon Jan 15, 2024 12:07 pm
I'm looking into developing a plugin which can grab all the invoice PDFs (or delivery docket, pick slip i.e. whatever the report type is but typically invoice) going to the same debtor and attaching them all to a single email.
I've found this thread which gives me a clue, but not sure how I would go about it from the BatchPrint business logic.
viewtopic.php?f=26&t=1335
I assume I'd hook into the BatchPrint.ProcessStart? Maybe the BatchPrint.ProcessingLine?
And then how would I
I think I need a head start on this one
I've found this thread which gives me a clue, but not sure how I would go about it from the BatchPrint business logic.
viewtopic.php?f=26&t=1335
I assume I'd hook into the BatchPrint.ProcessStart? Maybe the BatchPrint.ProcessingLine?
And then how would I
add a handler for the SaveStart of the JiwaApplication.JiwaEmail.EmailMessage object before the salesOrder.Email() method is invoked.
I think I need a head start on this one