PSP Stock Module

Stock module provides stock data and the StockCoverDays calculation. This module depends on the Transaction module.

Lookup

  1. Search for records of the current dependency level in the selected source table. If none is found, use the dependency fallback mechanism.

  2. Filter records with current valid time configuration.

Calculation with Stock

To calculate Days Of Cover, we have to take Sales Volume Forecast from the transaction data and divide it by 365. Then we get average selling volume per day.

Days Of Cover = Stock / Avg selling volume per day

The result is rounded without decimal places, half up.

If the Sales Volume Forecast value is invalid (null, 0,…), there will be no Days Of Cover forecast as well.

Configuration

  1. Set the data source configuration in the PriceSettingConfig PP table. Details can be found at .

  2. Set the dependency mapping in the DependencyMapping PP table with the key Stock. Details can be found at .