Am trying to write out a courier text file every time a pack slip is printed. Got this going fine for print pack slip from the sales order screen, But now want to do the same for when they print a batch of pick slips from the Batch Printing function.
Got as far as this.
Public Sub Setup(ByVal JiwaForm As JiwaApplication.IJiwaForm, ByVal Plugin As JiwaApplication.Plugin.Plugin) Implements JiwaApplication.IJiwaFormPlugin.Setup
If TypeOf(JiwaForm) Is JiwaFinancials.Jiwa.JiwaSalesUI.BatchPrinting.MainForm Then
Dim salesOrderBatchForm As JiwaFinancials.Jiwa.JiwaSalesUI.BatchPrinting.MainForm = DirectCast(JiwaForm, JiwaFinancials.Jiwa.JiwaSalesUI.BatchPrinting.MainForm)
AddHandler salesOrderBatchForm.BatchPrint.ProcessedCandidate ,AddressOf salesoBatch_Activate
End If
End Sub
Private Sub salesoBatch_Activate(Candidate As ???, Action As ???? )
msgbox ("activated")
End Sub
Not sure what to put in ???,or how to access the invoice number that was just printed, or which doc was printed,
This is JIWA7.0.175 using VB. Any help appreciated.