Message SAP WRF_CONS309 - Date &1 is not in the current period or previous period

Diagnosis
Stock determination caused an error because date &1 is not in thecurrent period or the previous period.
You can only post to the current or previous periods.