Add Unit Price to Order Item Report

From High5Wiki
Jump to: navigation, search

Duplicate the Standard Order Ticket - Order Item report


1. Go to Reports module > Customize reports
2. Search the standard reports for the Standard Order Ticket - Order Item report.
3. Click Duplicate Report.
4. Enter a new short name for the report.
5. Click Save
6. Click Open Report Designer
7. Click File > Save As
8. In the File Name field, enter a name for the report and click Save.
9. Close the Report Designer
10. Click the box to the right of the filename field and select the file you saved in step 8 above.
ReportFilenameField.png


Add Query


1. Click the Advanced tab.
2. Right click in the SQL Statement box and choose Select All
SQLStatementSelectAll.png
3. Delete the selected text to clear the SQL Statement box.
4. Copy the query in the linked doc: File:AddUnitPriceToOrderItemReport.doc
5. Paste the query into the SQL Statement box.
6.. Click Test SQL. You should get a message that SQL is Valid. Click Save at the top.

Make Room for Unit Price


1. Click Open Report Designer
2. Locate the Name, Description, Qty and Total column headers. Move them around to make room for the Unit Price label you are going to add. Move the data corresponding to the label to keep alignment with the label (image below). If you aren't using the Group column, you can delete that to make more room.
MakeRoomForUnitPrice.png

Add Unit Price to the Report


1. Click the Text tool. (image below)
2. Click your cursor to where you want the Unit Price column label and edit the text to say "Unit Price" (image below)
AddALabel.png
3. Click the DBText tool (image below)
ClicktheDBTextTool.png
4. Click your cursor where you want the Unit Price to show (under the "Unit Price" text you just added)
5. Select UnitPrice from the query drop down in upper left (image below)
SelectUnitPrice.png
6. Click File > Save.