> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Stored procedure

> Example of an ABBYY FlexiCapture custom report built on a stored procedure, describing the XML definition and RPT files that return the first 100 records.

The example of a custom report based on a stored procedure includes the following files:

* SampleSPTextCustomReportRussian.xml – an xml file with a description of the report.
* SampleDataSetReportRussian.rpt – a file that contains the report. This file is the same for reports based on stored procedures and SQL queries.

This report returns the first 100 records from the event log.
