Service Manager Custom Email  Topic is solved

Discussions relating to plugin development, and the Jiwa API.

Service Manager Custom Email

Postby Ernst » Wed Mar 08, 2023 8:02 am

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?
User avatar
Ernst
Kohai
Kohai
 
Posts: 219
Joined: Tue Feb 19, 2008 3:43 pm
Topics Solved: 12

Re: Service Manager Custom Email

Postby SBarnes » Wed Mar 08, 2023 9:15 am

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.
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1619
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 175

Re: Service Manager Custom Email

Postby Ernst » Fri Mar 10, 2023 1:55 pm

Thanks Stuart, Will check that out..
User avatar
Ernst
Kohai
Kohai
 
Posts: 219
Joined: Tue Feb 19, 2008 3:43 pm
Topics Solved: 12

Re: Service Manager Custom Email

Postby Ernst » Tue Mar 14, 2023 2:41 pm

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 69 times
User avatar
Ernst
Kohai
Kohai
 
Posts: 219
Joined: Tue Feb 19, 2008 3:43 pm
Topics Solved: 12

Re: Service Manager Custom Email  Topic is solved

Postby SBarnes » Tue Mar 14, 2023 3:31 pm

And there I was thinking I was going to find vb, updated version attached :lol:
Attachments
Plugin Service Manager Custom Email.xml
(33.72 KiB) Downloaded 61 times
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1619
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 175

Re: Service Manager Custom Email

Postby Ernst » Tue Mar 14, 2023 5:26 pm

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
User avatar
Ernst
Kohai
Kohai
 
Posts: 219
Joined: Tue Feb 19, 2008 3:43 pm
Topics Solved: 12

Re: Service Manager Custom Email

Postby SBarnes » Tue Mar 14, 2023 5:34 pm

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.
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1619
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 175


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 37 guests

cron