Page 1 of 1

EDS Statement Email

Posted: Mon Sep 09, 2019 8:40 am
by pmehrkens
OpenDental.Bridges.EDS_Statements

Code: Select all

string email="";
Def billingDef=Defs.GetDef(DefCat.BillingTypes,guar.BillingType);
if(billingDef.ItemValue=="E") {
	email=guar.Email;
}
writer.WriteElementString("EMail",email);
Can we get email to always populate?

If the billing type is setup as an email statement, it overrides the statement mode (OpenDental.FormBillingOptions.GetStatementMode(PatAging)).
So to send an electronic statement with an email field, it requires the user to manually override as electronic.
I don't see anything that's dependent on the contents of the statement xml which would prevent the change.

-Peter

Re: EDS Statement Email

Posted: Mon Sep 09, 2019 11:07 am
by cmcgehee
I don't think we would want to change this to always send the email. I don't know what the ramifications would be of always sending the email to EDS. EDS might perform different actions based on whether or not that email field is present.

Re: EDS Statement Email

Posted: Mon Sep 09, 2019 11:25 am
by pmehrkens
Err...I should have clarified. I work for EDS.

-Peter

Re: EDS Statement Email

Posted: Mon Sep 09, 2019 3:09 pm
by cmcgehee
Ah, that makes sense. Would you mind emailing me so we can discuss this a little more? chris@opendental.com.