Problem Ending work Period

There are some errors that are not clear and I have failed to solve it out kindly Help
When the work period is ended there is an error which pops as shown below
When Okay is clicked an error of a log file comes which I believe involves the DB. Assist

Show us the error log.

Sure How can I generate the Error Log?

It’s in your documents / sambapos folder