Weekly Sales History Rollup by Diff (hstbld_diff)

Module Name

hstbld_diff.pc

Description

Weekly Sales History Rollup by Diff

Functional Area

Sales History

Module Type

Business Processing

Module Technology

ProC

Catalog ID

RMS240

Wrapper Script

rmswrap.ksh

Schedule

Oracle Retail Merchandising Batch Schedule

Design Overview

The sales history rollup routine will extract sales history information for each item_parent from the ITEM_LOC_HIST table. The history information will be rolled up to the item differentiator level to be written to: item_diff_loc_hist and item_parent_loc_hist.

For each item, data to be retrieved includes sales qty and stock. This data must be collected from several tables including ITEM_LOC_HIST, ITEM_LOC, and ITEM_MASTER.

Restart/Recovery

N/A

Design Assumptions

N/A

Key Tables Affected

Table 15-3 Key Tables Affected

Table Select Insert Update Delete

ITEM_PARENT_LOC_HIST

No

Yes

Yes

No

ITEM_DIFF_LOC_HIST

No

Yes

Yes

No

ITEM_LOC

Yes

No

No

No

ITEM_LOC_HIST

Yes

No

No

No

ITEM_MASTER

Yes

No

No

No

SYSTEM_VARIABLES

Yes

No

No

No

PERIOD

Yes

No

No

No