Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview


This specifies all the fields associated with Invoices that are to be e-mailed

Format


Panel
titlePwsInvoiceEmailSettings

Elements


Element

Data Type

Required?

Default

Description

Sample Data

EmailFromUserIdentity

PwsUserRef [1]

On Insert: Yes

On Update: Yes


The User Identity that will be assigned to the "From" field in the Invoice Email


EmailInvoiceTemplateIdentity

PwsInvoiceTemplateRef

On Insert: Yes

On Update: Yes


The Invoice Email Template


InvoiceEmailEnabledFlag

Boolean

On Insert: Yes

On Update: Yes


A setting of 'true' indicates Emailing Invoices is enabled for this installation

true/false

InvoiceEmailType

String (1)

On Insert: Yes

On Update: Yes


Invoice Email Type

"P" to include invoice as a PDF

"H" to embed invoice as HTML in email

"W" to upload invoice to project workspaces and include a link in the emailĀ 

P

Recipients

PwsInvoiceEmailRecipient [1..100]

On Insert: Yes

On Update: Yes


The Recipient(s) of the Invoice Email



Usage Example(s)


Code Block
languagexml
titlePwsInvoiceEmailSettings
collapsetrue
                     <InvoiceEmailSettings> 
                        <EmailFromUserIdentity>
                           <PwsUserRef>
                        </EmailFromUserIdentity>
                        <EmailInvoiceTemplateIdentity>
                           <PwsInvoiceTemplateRef>
                        </EmailInvoiceTemplateIdentity>
                        <InvoiceEmailEnabledFlag>true</InvoiceEmailEnabledFlag>
                        <InvoiceEmailType>H</InvoiceEmailType>
                        <Recipients>
                           <PwsInvoiceEmailRecipient>
                        </Recipients>
                     </InvoiceEmailSettings>