Debtor statement Email as HTML plugin conversion issue 7 .1  Topic is solved

Discussions relating to plugin development, and the Jiwa API.

Debtor statement Email as HTML plugin conversion issue 7 .1

Postby indikad » Wed Jun 20, 2018 12:25 pm

This was a plugin obtained from a older thread here.
We have tried to convert to 7.1 and are currently stuck with a single line of code not compiling. see the screenshot below and also the attached plugin. Any help is appreciated.

ScreenShot.png
Attachments
Plugin testEmailHTML.xml
(31.29 KiB) Downloaded 90 times
indikad
Frequent Contributor
Frequent Contributor
 
Posts: 182
Joined: Thu Jun 18, 2009 1:14 pm
Topics Solved: 2

Re: Debtor statement Email as HTML plugin conversion issue 7  Topic is solved

Postby SBarnes » Wed Jun 20, 2018 6:45 pm

Change the line to

Code: Select all
JiwaForm.Manager.BusinessLogicFactory.AfterBusinessLogicSetup += AfterBusinessLogicSetup;


In 7.1 all objects have their own manager, this will make it compile but given I am not sure what you are trying to do you may need it at the application plugin level which would be

Code: Select all
Plugin.Manager.BusinessLogicFactory.AfterBusinessLogicSetup
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1619
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 175

Re: Debtor statement Email as HTML plugin conversion issue 7

Postby Mike.Sheen » Wed Jun 20, 2018 7:12 pm

SBarnes wrote:Change the line to

Code: Select all
JiwaForm.Manager.BusinessLogicFactory.AfterBusinessLogicSetup += AfterBusinessLogicSetup;


In 7.1 all objects have their own manager, this will make it compile but given I am not sure what you are trying to do you may need it at the application plugin level which would be

Code: Select all
Plugin.Manager.BusinessLogicFactory.AfterBusinessLogicSetup


Either way will work fine.
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2444
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 756

Re: Debtor statement Email as HTML plugin conversion issue 7

Postby indikad » Thu Aug 30, 2018 1:28 pm

Thanks Stuart and Mike
indikad
Frequent Contributor
Frequent Contributor
 
Posts: 182
Joined: Thu Jun 18, 2009 1:14 pm
Topics Solved: 2


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 9 guests

cron