As the error message says. The purchasing period may not be open.
Resolution: you may back date the receipt date to the latest open period or ask the system administrator to open Purchasing, Inventory periods in which the receipt date is.
i am getting this error now;-
date entered is not within the tolerance period set-up for the following items