EDS Statement Email

This forum is for programmers who have questions about the source code.
Post Reply
pmehrkens
Posts: 4
Joined: Fri Sep 06, 2019 2:18 pm

EDS Statement Email

Post 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
User avatar
cmcgehee
Posts: 711
Joined: Tue Aug 25, 2015 5:06 pm
Location: Salem, Oregon

Re: EDS Statement Email

Post 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.
Chris McGehee
Open Dental Software
http://www.opendental.com
pmehrkens
Posts: 4
Joined: Fri Sep 06, 2019 2:18 pm

Re: EDS Statement Email

Post by pmehrkens »

Err...I should have clarified. I work for EDS.

-Peter
User avatar
cmcgehee
Posts: 711
Joined: Tue Aug 25, 2015 5:06 pm
Location: Salem, Oregon

Re: EDS Statement Email

Post by cmcgehee »

Ah, that makes sense. Would you mind emailing me so we can discuss this a little more? chris@opendental.com.
Chris McGehee
Open Dental Software
http://www.opendental.com
Post Reply