Unable to Create New Purchase Order

Hi,

 I have created a newly  company and sites.

However, when creating the first Purchase Order, the document number is automatically created and displayed, but the button "Create" still active.

It display error message (Order JBP020724PO0001, Line 1000)

Normal end of log file 04/07/24 23:17:50

The record has not been created in the database.

When the screen is closed, the entry is lost.

Does anyone know what kind of setting to do to solve this error?

Thanks.