Versions Compared

Key

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

...

This structure represents the unique key fields associated with identifying a Invoice Templatean invoice template. Invoice Templates can be identified by InvoiceTemplateName or InvoiceTemplateUid. When specifying a PwsInvoiceTemplateRef as an input to a web service, you may specify one or both the InvoiceTemplateName and/or InvoiceTemplateUid. However, if you do specify both, they must both refer to the same Invoice Template invoice template or the Invoice Template invoice template reference will not be considered valid. When a PwsInvoiceTemplateRef is returned in the response to a web service, both the InvoiceTemplateName and InvoiceTemplateUid will be populated, and guaranteed to refer to a single Invoice Templateinvoice template.

Format


Panel
titlePwsInvoiceTemplateRef
  • PwsInvoiceTemplateRef
    • InvoiceTemplateId: Int32
    • InvoiceTemplateName: String (10)
    • InvoiceTemplateUid: Int64

...

Element

Data Type

Required?Default

Description

Sample Data

InvoiceTemplateId

Int32

No

The Invoice Template invoice template ID. For internal use only.


InvoiceTemplateName

String (10)

The Invoice Template Name One of InvoiceTemplateName or InvoiceTemplateUid is required


The invoice template name is a unique identifier for an Invoice Templateinvoice template.

A200
E001

InvoiceTemplateUid

Int64The Invoice Template Uid is a

See InvoiceTemplateName

A unique and immutable identifier for an Invoice Templateinvoice template.

1152921504606878904
1152921504606878906


Usage Example(s)


Code Block
languagexml
titleExample 01
collapsetrue
                        <b:EmailInvoiceTemplateIdentity>
   <InvoiceTemplateIdentity>                         <InvoiceTemplateId>31928</InvoiceTemplateId><b:InvoiceTemplateId i:nil="true"/>
                           <InvoiceTemplateName>A200<<b:InvoiceTemplateName>E001</b:InvoiceTemplateName>
                        <InvoiceTemplateUid>1152921504606878904</InvoiceTemplateUid>   <b:InvoiceTemplateUid>1152921504606878906</b:InvoiceTemplateUid>
                        </InvoiceTemplateIdentity>b:EmailInvoiceTemplateIdentity>