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 IQuoteAgent.Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
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
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
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
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
public virtual int[] QuoteAttachmentIds { get; set; }
Property Value
Type | Description |
---|---|
Int32[] |
See Also
QuoteDocumentId
Quote document, as PDF; may be zero if there is no document specified for the version
Declaration
public virtual int QuoteDocumentId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
QuotedProductsId
Quoted products (quote lines or confirmation lines) document, as PDF
Declaration
public virtual int QuotedProductsId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
ToEmail
The email address of the recipient, taken from the sale's person
Declaration
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
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. |