Field help (ODPACCDAT) 

The accounting entry date must not be outside the open periods of the company to which the site belongs.