View order summary
After capturing payments, the store associate must be able to view the order summary and print the receipt.
Order summary
- The
getCompleteOrderDetailsAPI is called to get the order details. - The
getCompleteOrderLineListAPI is called to get the order line details.
Notes
The store associate can click Add Notes from the View
Cart screen for a draft order and from theOrder Summary screen for a
confirmed order. A pop-up window is displayed with the total number of notes and the existing
comments which include both user logged and automatically logged events. The
getNoteList API is called to retrieve the comments saved to the order. The store
associate can enter a new comment in the text box and click Add. The changeOrder
API is called to save the notes to the order.
Print receipts
StoreOrderSummary_94
print service is called to print the receipt. The following logic is executed in the service: - The
getItemUOMMasterListAPI is called to retrieve the unit of measure. - The
getRuleDetailsAPI is called to get the unit of measure rule value. If the unit of measure rule value is not set toH, then the unit of measure is shown. If the unit of measure rule is set toH, then the unit of measure is not shown. - The
getShipNodeListAPI is called to get the details of the current store. - The
getCompleteOrderDetailsAPI is called to get all order details for the receipt. - The
getCurrencyListAPI is called to get the order currency type. - The
getOrganizationHierarchyAPI is called to get the organization information to be used in the receipt.
YCDGetModifiedOutputForOrder, which consolidates the outputs into a single output
and then the output is converted into HTML format for printing. - Printing from a desktop browser
- In Google Chrome and Mozilla Firefox browsers, the HTML content is appended into an iFrame and the print command is executed.
- In Internet Explorer, the HTML content is appended into a new pop-up window and the command is executed.
- Printing from a mobile browser
- In iOS and Android devices, the HTML content is appended into a new pop-up window and the store associate must use the device options to execute the print.
- In Windows™ Mobile Internet Explorer, the HTML content is appended into an iFrame and the current content is hidden to show the iFrame. The store associate must use the device options to execute the print.
Email receipts
The customer might want the order receipt to be sent to an e-mail address. The
YCD_StoreOrder_Email service is invoked to get the order details and send the
email.
You must configure this service for your email-server appropriately in the Applications Manager.
The YCD_StoreOrder_Email service uses
StoreOrderEmail_95_1_multiApi.xsl.sample and
StoreOrderEmail_GenerateData_95_1_multiApi.xsl.sample templates. In the service
definition, set the E-mail Server field to point to your mail server. The Subject and From fields
have certain default values as part of the service, which can also be customized as required.