# Generate Sales Analysis Files (SALES.P2)

Read Time: 1 minute(s)

Form Details
Form Details

Purpose
The SALES.P2 procedure is used to build the sales analysis inquiry files. The procedure prompts for the year start and the year end dates. All records in both the SALES and SOBOOK files within this date range are selected.

Frequency of Use
Generally, it is recommended that this procedure be included in the nightly batch run and be executed each day.

Prerequisites
Records must exist in the SALES and SOBOOK files.

Version 8.10.57