Class QuotePublishDocuments
Prepare the documents required to publish a quote - Email, main document as pdf, quoted products as pdf, attachments
Carrier object for QuotePublishDocuments. Services for the QuotePublishDocuments Carrier is available from the Quote Agent.Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.2.0.0")]
public class QuotePublishDocuments : Carrier
Constructors
QuotePublishDocuments()
Default constructor
Declaration
public QuotePublishDocuments()
See Also
Properties
ErrorMessage
If something went wrong, show this message and do not continue
Declaration
[DataMember]
public virtual string ErrorMessage { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
MailBody
The string that is the content of the mail body; this is the result of merging the mail body template with the current template variable values
Declaration
[DataMember]
public virtual string MailBody { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
MailSubject
The string that is the mail subject; done by merging the text resource SR_QUOTE_PUBLISH_MAILHEADING with the current template variable values
Declaration
[DataMember]
public virtual string MailSubject { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
QuoteAttachmentIds
Array of id's of any attachments (standard + custom for this version)
Declaration
[DataMember]
public virtual int[] QuoteAttachmentIds { get; set; }
Property Value
Type | Description |
---|---|
int[] |
See Also
QuoteDocumentId
Quote document, as PDF; may be zero if there is no document specified for the version
Declaration
[DataMember]
public virtual int QuoteDocumentId { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
QuotedProductsId
Quoted products (quote lines or confirmation lines) document, as PDF
Declaration
[DataMember]
public virtual int QuotedProductsId { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
ToEmail
The email address of the recipient, taken from the sale's person
Declaration
[DataMember]
public virtual string ToEmail { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
ToFullName
The full name of the recipient, taken from the sale's person
Declaration
[DataMember]
public virtual string ToFullName { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | The carrier contents. |
See Also
ToString(string)
Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.
Declaration
public string ToString(string prefix)
Parameters
Type | Name | Description |
---|---|---|
string | prefix | The line prefix (typically used for indenting) |
Returns
Type | Description |
---|---|
string | The carrier contents. |