JCP002 Error during AR invoicing

Issue/Symptom/Question

During the invoice completion process user received the below error:

Error detected. Please call your Penta account representative.

JCP002 Function next_accounting_period()

No next period information.

Environment

Penta for Windows

Window receiving the error:

Billing & Accounts Receivable > Automated Invoice Processing > Complete Invoice Processing

Window to set up Accounting Periods:

Finance & Accounting > Organizational Units > Accounting Periods

Resolution/Fix/Answer

The error indicates there are not accounting periods set up to post entries. Adding future Accounting Periods in the Finance & Accounting > Organization Units > Accounting Periods for the OU Id will resolve this error.