You can configure the system to log notes automatically when the following events occur:
v Quote Created: The system generates a note when an opportunity is created.
v Quote Sent for Approval: The system generates a note when a quote is sent for approval.
v Quote Presented to Customer: The system generates a note when a quote is presented to a customer.
v Quote Converted to Order: The system generates a note when a quote is converted to an order.
End-User Impact
The notes that have been configured to be logged automatically will be displayed to users in the Notes dialog box and the Notes panel in the opportunity-related screens and quote-related screens.
Implementation
This section explains the configurations for this functionality:
v Sterling Field Sales enables you to define note types and configure automatic note logging. For more information about defining quote note types and configuring automatic note logging, refer to the Sterling Selling and Fulfillment Suite: Applications Configuration Guide.
v Sterling Field Sales provides sample XSL files to generate the text of the notes being logged for each event. The sample XSL files are located in the
resources.jar/template/service/saadirectory. The following table lists the events and the sample XSL files used to log notes for the corresponding events:
Event Sample XSL File
Quote Created SAA_Log_Note_Create_Quote.xsl.sample Quote Sent for Approval SAA_Log_Note_Send_For_Approval.xsl.sample Quote Presented to
Customer
SAA_Log_Note_Send_To_Customer.xsl.sample
Quote Converted to Order SAA_Log_Note_Convert_Quote_To_Order.xsl.sample
Note: You can use the sample XSL files listed in the table or you can use your own XSL files while selecting the XSL transformation file for an event in the Quote Audit Note Wizard. If you use your own XSL files, you must perform either of the following tasks:
– Save the XSL files in the <INSTALL_DIR>/extensions/template/service/saa directory and then re-create the EAR.
– Save the XSL files in the resources.jar/template/service/saa directory and then restart your server.
Note: You can use the second option only if you are using the
SAA_LogNotesForQuoteAudit_9.0 service that is provided out of the box.
v Sterling Field Sales logs notes with a unique note type for certain tasks performed by a user. The note types used for saving the notes are listed in the following table:
68
Sterling Field Sales: Implementation GuideTask Note Type
Create Opportunity SAA_OPPORTUNITY_CREATED
Mark as Lost SAA_MARK_AS_LOST
Create Quote SAA_QUOTE_CREATED
Send for Approval SAA_SENT_FOR_APPROVAL
Send to Customer SAA_SENT_TO_CUSTOMER
Convert to Order SAA_CONVERTED_TO_ORDER
Abandon Quote SAA_QUOTE_ABANDONED
Accept for Customer SAA_ACCEPTED_BY_CUSTOMER
Reject for Customer SAA_REJECTED_BY_CUSTOMER
Chapter 31. Adding and Viewing a Note
69
70
Sterling Field Sales: Implementation GuideChapter 32. Implementation of Quote Attachments
A Field Sales Representative (FSR) may want to attach files to quotes. For example, the requirements of the customer might have been e-mailed to the FSR as a
Microsoft Office Word document, and the FSR may want to attach the document to the quote, while creating the quote.
Solution
Sterling Field Sales allows users to upload attachments to quotes. Users can also delete existing attachments.
The user can use the Manage Attachments related task to add or delete existing attachments. The getCompleteOrderDetails API is called to retrieve the details of the quote to be displayed in the Manage Attachments screen.
Users can add attachments, by clicking the Add button. The New Attachment dialog box is displayed and the scfileuploadwidget is used to upload the files.
The files are uploaded using the following widgets:
v When the user browses and selects a file the sc.file.upload.type widget is set to ONSELECT. When a single file is, or multiple files, are selected, a multipart request stores the file temporarily on the server.
v After selecting one or more files to be uploaded, when the user clicks the Save button, the sc.file.upload.type widget is set to ONSUBMIT and the files are saved as attachments for the quote. The changeOrder API transfers the files from the temporary location on the server to the database.
v After the files are attached to the quote, the details of the file attachment such as the file name, file description, file content type, and the file size are displayed in the UI. The value of the file type is fetched from the common codes.
v The file attachment API output returns an internet mime type. This internet mime type is mapped with the common codes to generate the value of the file type.
After the files are attached to the quote, the FileAttachments element with file information, such as a unique File ID, File location and Widget ID is uploaded on the server. The New Attachment dialog box is closed, and the Attachments panel of the Manage Attachments screen is refreshed to display the newly added attachment.
When the user clicks the Delete button on the Manage Attachments screen, the selected attachments are removed from the quote using the changeOrder API.
Note: Multiple attachments can be deleted at the same time.
The user can download previously uploaded attachments. When the user click the link on the Name of the attachment, the File Download dialog box is displayed prompting the user to open or save the attachment.
Implementation
This section explains the configurations for this feature:
© Copyright IBM Corp. 2010, 2012
71
v You can configure the directory where the attachments are temporarily stored.
For more information on configuring the directory location, see the Sterling Field Sales Customization Guide.
Note: The temporary file location should not be the same as the application server location.
v You can customize Sterling Field Sales to add files with file extensions, which are not provided, by default. You must override the properties specified in the customeroverride.propertiesfile. For more information, see the Sterling Field Sales: Customization Guide.
v You can configure the application to encode or decode the files being attached to Sterling Field Sales. A new interface, IFileEncoderDecoder, is provided to encode the file content before it is streamed to the temporary file. For more information, see the Sterling Field Sales: Customization Guide.
v You can configure the application to enable virus scan on the file being attached to Sterling Field Sales. A hook is provided using which Sterling Field Sales can plug- in the logic to scan the file being uploaded for viruses. The
sc.file.upload.virus.scannerproperty should be provided in yfs.properties file. IVirusScanner is the newly added interface which enables virus scans. For more information on enabling virus scan, see the Sterling Field Sales:
Customization Guide.
v You can configure the secure delete feature that is available in Sterling Field Sales, by default. A new interface, ISecureFileDelete is provided that performs a secure delete of the files placed in the temporary location. For more
information on customizing the secure delete feature, see the Sterling Field Sales:
Customization Guide.
72
Sterling Field Sales: Implementation GuideChapter 33. Validating a Quote
A quote may contain items that are not valid for the quote. Therefore, it is
necessary that a quote is validated to ensure that all the items or the item quantity in the quote is valid for that quote. For example, if the item quantity in a quote is more than the maximum quantity that can be ordered for that particular item, the item quantity must be modified before a Field Sales Representative can present the quote to a customer.
Solution
Sterling Field Sales enables a user to view the quote lines and recommended lines in a quote that have failed validation in a quote. A user can also view the reasons why the lines failed validation. The validateItemsForOrdering API is called to retrieve the quote lines and recommended lines failing validation. The
getCompleteOrderDetails API is called to retrieve the quote header information.
Sterling Field Sales verifies whether the items or the item quantity in a quote is valid for the quote when a user performs any of the following tasks:
v Requests approval for the quote v Presents the quote to a customer v Converts the quote to an order
End-User Impact
None.
Implementation
None.
© Copyright IBM Corp. 2010, 2012
73
74
Sterling Field Sales: Implementation GuideChapter 34. Implementation of Quote Approval
Sometimes a quote may be placed on hold for various reasons. In such a scenario, the quote must be approved by all the approvers defined in the approval plan to enable a Field Sales Representative to present the quote to a customer. For
example, if the adjustments applied to a quote exceed the maximum limit that has been configured, a Field Sales Representative can present the quote to a customer only after it has been approved by all the required approvers.