Page 1 of 1

Hook Requests - FormRpProdInc

Posted: Tue Feb 18, 2014 7:09 pm
by dporter
Hi,

We use OD in 5 dental offices currently. We are rolling it out to 6-7 more offices this year and have made a commitment to the platform. I need the following Hooks added for additional reporting requirements. Please validate and add as soon as possible as I'm late on a rollout. I appreciate your help.

FormRpProdInc.cs approx line 602 at the beginning of the RunDaily() method:

Code: Select all

		private void RunDaily(){
            if (Plugins.HookMethod(this, "FormRpProdInc.RunDaily", PIn.Date(textDateFrom.Text), PIn.Date(textDateTo.Text)))
            {
                return;
            }

			dateFrom=PIn.Date(textDateFrom.Text);
			dateTo=PIn.Date(textDateTo.Text);
Same FormRpProdInc.cs approx line 1079 at the beginning of the RunMonthly() method:

Code: Select all

		private void RunMonthly(){
            if (Plugins.HookMethod(this, "FormRpProdInc.RunMonthly", PIn.Date(textDateFrom.Text), PIn.Date(textDateTo.Text)))
            {
                return;
            }

			dateFrom=PIn.Date(textDateFrom.Text);
			dateTo=PIn.Date(textDateTo.Text);
Same FormRpProdInc.cs approx line 1661 at the beginning of the RunAnnual() method:

Code: Select all

		private void RunAnnual(){
            if (Plugins.HookMethod(this, "FormRpProdInc.RunAnnual", PIn.Date(textDateFrom.Text), PIn.Date(textDateTo.Text)))
            {
                return;
            }

			dateFrom=PIn.Date(textDateFrom.Text);
			dateTo=PIn.Date(textDateTo.Text);

Re: Hook Requests - FormRpProdInc

Posted: Wed Feb 19, 2014 7:58 am
by allends

Code: Select all

private void RunDaily(){
			if(Plugins.HookMethod(this,"FormRpProdInc.RunDaily_Start",PIn.Date(textDateFrom.Text),PIn.Date(textDateTo.Text))) {
				return;
			}
			dateFrom=PIn.Date(textDateFrom.Text);
			dateTo=PIn.Date(textDateTo.Text);

Code: Select all

private void RunMonthly(){
			if(Plugins.HookMethod(this,"FormRpProdInc.RunMonthly_Start",PIn.Date(textDateFrom.Text),PIn.Date(textDateTo.Text))) {
				return;
			}
			dateFrom=PIn.Date(textDateFrom.Text);
			dateTo=PIn.Date(textDateTo.Text);

Code: Select all

private void RunAnnual(){
			if(Plugins.HookMethod(this,"FormRpProdInc.RunAnnual_Start",PIn.Date(textDateFrom.Text),PIn.Date(textDateTo.Text))) {
				return;
			}
			dateFrom=PIn.Date(textDateFrom.Text);
			dateTo=PIn.Date(textDateTo.Text);
I have backported these changes to 14.1. All the plugins have had _Start added to the names so that they can conform with our plug-in patterns better. Thanks for being an awesome customer and supporting the development of OD. :D

Re: Hook Requests - FormRpProdInc

Posted: Wed Feb 19, 2014 10:41 am
by dporter
Great. Thanks for your quick response. Any chance I can get these hooks back ported to 13.2? We have found Open Dental to be the best option for growing business like ours that don't want to be pigeon holed into a platform with no customization. Thanks for the good work you guys are doing for the industry.

-Damon

Re: Hook Requests - FormRpProdInc

Posted: Wed Feb 19, 2014 9:04 pm
by jsalmon
Sorry, hooks and plugins only go to beta versions:
We will add hooks wherever any programmer needs them. We add them quickly and we backport them to the beta version so you can get going right away.
http://opendental.com/manual/plugins.html