Page 1 of 1

Service Manager Custom Email

PostPosted: Wed Mar 08, 2023 8:02 am
by Ernst
We have a plugin called "Sales Order Custom Email"

Looking for something similar for service manager.

Customer wants the email box to change the default report to the third report, Not always the top one.

Any idea?

Re: Service Manager Custom Email

PostPosted: Wed Mar 08, 2023 9:15 am
by SBarnes
You need to do it in an application plugin attach to the after dialog start event on the dialog factory, Mike posted an example of doing this on this post viewtopic.php?f=26&t=1055&p=4022&hilit=DialogFactory#p4022 with work order serial numbers

The actual dialog you are after is in the Service Manager UI name space and is called JiwaFinancials.Jiwa.JiwaServiceManagerUI.EmailReport and the control you want is called ReportsUltraComboEditor which is public so you can access it.

Re: Service Manager Custom Email

PostPosted: Fri Mar 10, 2023 1:55 pm
by Ernst
Thanks Stuart, Will check that out..

Re: Service Manager Custom Email

PostPosted: Tue Mar 14, 2023 2:41 pm
by Ernst
Hi Stuart/ Or Mike.

OK got this far . see attached plugin. Still not sure how to change the emailed report to the second one on the list.

Thx.

Plugin Service Manager Custom Email.xml
(32.82 KiB) Downloaded 188 times

Re: Service Manager Custom Email  Topic is solved

PostPosted: Tue Mar 14, 2023 3:31 pm
by SBarnes
And there I was thinking I was going to find vb, updated version attached :lol:

Re: Service Manager Custom Email

PostPosted: Tue Mar 14, 2023 5:26 pm
by Ernst
Gosh Stuart, Thats works great. Thanks ..sure owe you a beer, at the next JIWA get together..

Still baffles me how those lines of C make any sense to anybody, and actually works...:) :D

Re: Service Manager Custom Email

PostPosted: Tue Mar 14, 2023 5:34 pm
by SBarnes
To Be honest I have the same problem in the reverse whilst I can and do code in visual basic, I have to think about it more but I used to program in c, c++, and java so that's probably why.

Although I am used to begins and ends through pascal and Delphi :) which I did many moons ago.