You cannot delete a period if data exists for the period and the period is either opened, closed, or locked.
To delete a Period: