Weekly Sales History Rollup by Department, Class, and Subclass (hstbld)
Module Name |
hstbld.pc |
Description |
Weekly Sales History Rollup by Department, Class, and Subclass |
Functional Area |
Sales History |
Module Type |
Business Processing |
Module Technology |
ProC |
Catalog ID |
RMS239 |
Wrapper Script |
rmswrap_multi.ksh |
Design Overview
The sales history rollup routine will extract sales history information for each item from the item and item location history tables. The history information will be rolled up to the subclass, class, and dept level to be written to history tables.
The rebuild program can be run in one of two ways:
First, if the program is run with a run-time parameter of ‘rebuild', the program will read data (dept, class, and subclass) off the manually input HIST_REBUILD_MASK table, which will determine what to rebuild.
Secondly, if the program is run with a run-time parameter of ‘weekly', the program will build sales information for all dept/class/subclass combinations only for the current end of week date.