Page 1 of 1

Debtor statement Email as HTML plugin conversion issue 7 .1

PostPosted: Wed Jun 20, 2018 12:25 pm
by indikad
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

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

PostPosted: Wed Jun 20, 2018 6:45 pm
by SBarnes
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

Re: Debtor statement Email as HTML plugin conversion issue 7

PostPosted: Wed Jun 20, 2018 7:12 pm
by Mike.Sheen
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.

Re: Debtor statement Email as HTML plugin conversion issue 7

PostPosted: Thu Aug 30, 2018 1:28 pm
by indikad
Thanks Stuart and Mike