I am trying to run the end of year submission I have put in all the details for the submission and run the P35’s but when we click ok I get an error saying the value DMY2DATE parameter 3 is outsite the ranage. The current value is -1. The permitered range is from 1 to 2147483647. Table it is running 900238. Can anyone help with how to fix this error?
Someone should debug that process and find where the DMY2DATE command is executed.
Date := DMY2DATE(Day [, Month] [, Year])
The third parameter represents the year, and according to the error message it is set to -1 when it is executed. It needs to be debugged to determine where it gets that value, so it can fixed from there.