Cause:
This error occurs when selected month is not defined in period table before confirming the distribution Issue record.
Solutions:
Please check if the defined month record is present in period table.
To check this user should go to System Menu->Master->PeriodTable and search for the specified period.