Skip to main content

Quick Report Examples - Knowledgebase / SalesPad / Reporting - Cavallo Technical Support

Quick Report Examples

Authors list
Overview

This document applies to Item Quick Report, Vendor Quick Report, Customer Quick Report, Purchase Order Quick Report, Sales Document Quick Report and Sales Line Quick Report.

Settings

Follow the steps below in Modules > Security Editor

  1. Filter to *Quick and select the appropriate Quick Report setting (Item, Purchase Order, Sales Document, Sales Line, Vendor)
  2. Multi Quick Reports Path - allows user to enter the path for many reports
  3. Multiple Reports - defaults to False so one report is being used. Change this to True to use multiple quick reports
  4. Quick Report – If a single report is being used, enter the Quick Report path in this field

Usage

The sales document quick report filters on the sales doc number and sales doc type fields, so the document must be saved in order to work. The two fields are automatically passed in, so they aren't required in your SQL, but whatever data you are querying must have the two fields available to filter on.

Note: You must use the tag in the xml or the reports will not work correctly.

Sales Line Quick Report Sample



SELECT sl.Sales_Doc_Num, sl.Sales_Doc_Type, sl.Source, Item_Number, Sales_Batch, sl.Warehouse_Code
FROM spv3SalesLineItem as sl (nolock)
join spv3SalesDocument as sd (nolock) on sd.Sales_Doc_Num = sl.Sales_Doc_Num and sd.Sales_Doc_Type = sl.Sales_Doc_Type
/*where*/

Sales Document Quick Report Sample



<br /> select * from (<br /> select sli.Sales_Doc_Num, sli.Item_Number, sli.Quantity, sli.Item_Description from spv3SalesLineItem as sli<br /> )<br /> as a<br /> /*where*/<br />

Vendor Quick Report Sample



select * from spvVendorItem
/*where*/

Item Quick Report Sample



SELECT sl.Sales_Doc_Num, sl.Sales_Doc_Type, sl.Source, Item_Number, Sales_Batch, sl.Warehouse_Code
FROM spv3SalesLineItem as sl (nolock)
join spv3SalesDocument as sd (nolock) on sd.Sales_Doc_Num = sl.Sales_Doc_Num and sd.Sales_Doc_Type = sl.Sales_Doc_Type
/*where*/

Customer Quick Report Sample



select * from spvCustomerItemNumber
/*where*/

Purchase Order Quick Report Sample

This PO Quick Report has auto-link examples to the PO document and Vendor card:

Helpful Unhelpful