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
image
When Okay is clicked an error of a log file comes which I believe involves the DB. Assist
image

Show us the error log.

Sure How can I generate the Error Log?

It’s in your documents / sambapos folder