NSQuotePublishDocuments
Prepare the documents required to publish a quote - Email, main document as pdf, quoted products as pdf, attachments.
Prepare the documents required to publish a quote - Email, main document as pdf, quoted products as pdf, attachments.
Initializes a new instance of the NSQuotePublishDocuments class.
Returns: CRMScript.Global.String - If something went wrong, show this message and do not continue.
Example:
Returns: CRMScript.Global.String - 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.
Example:
Returns: CRMScript.Global.String - The string that is the mail subject; done by merging the text resource SR_QUOTE_PUBLISH_MAILHEADING with the current template variable values.
Example:
Returns: CRMScript.Global.Integer[] - Array of IDs of any attachments (standard + custom for this version).
Example:
Returns: CRMScript.Global.Integer - Quote document, as PDF; may be zero if there is no document specified for the version.
Example:
Returns: CRMScript.Global.Integer - Quoted products (quote lines or confirmation lines) document, as PDf.
Example:
Returns: CRMScript.Global.String - The email address of the recipient, taken from the sale’s person.
Example:
Returns: CRMScript.Global.String - The full name of the recipient, taken from the sale’s person.
Example:
Returns: CRMScript.Global.Void
Example:
Returns: CRMScript.Global.Void
Example:
Returns: CRMScript.Global.Void
Example:
Returns: CRMScript.Global.Void
Example:
Returns: CRMScript.Global.Void
Example:
Returns: CRMScript.Global.Void
Example:
Returns: CRMScript.Global.Void
Example:
Returns: CRMScript.Global.Void
Example: