Page 1 of 1

Changing the Subject field in E-mail Settings

Posted: 12 Apr 2010, 14:38
by Angel_Islington
Does anybody know how to change the subject of an invoice in the E-mail Settings section to the invoice number? This would make it easier for me to find replies in my sent box!

Thanks

Re: Changing the Subject field in E-mail Settings

Posted: 14 Apr 2010, 10:15
by andyhoyland
Hey there.

I have the line:

Code: Select all

"Invoice " + INVOICE.INVOICE_NUMBER + " from " + COMPANY.NAME" 
In the subject field in the Email Options within my invoice template and this does the trick. I end up with "Invoice 246 from Company Name" in the subject.

Hope that helps.
Andy.

Re: Changing the Subject field in E-mail Settings

Posted: 14 Apr 2010, 14:14
by brucedenney
Note that solution is version specific.

The addition of numeric and non numeric data throws an error in some versions so you have to convert the number to a string first.

Code: Select all

"Invoice " + cstring(INVOICE.INVOICE_NUMBER) + " from " + COMPANY.NAME"