while initializing payroll year

I’m facing this error while creating payroll year.

Credit Interval Regular must have a value in Leave Master: Location Code=DED, Salary Plan Code=MTL, Grade Code=c3, Leave Code=AL. It cannot be zero or empty.

thanks in advance.


Which payroll application and which version of NAV is this about?

Sir, payroll year 2018-2018 and NAV version is 2016…

The error-message tells you what is wrong.

Go into the Table Leave Master, find the line with Location Code = DED, Salary PC = MTL Grade Code=3 and Leave Code = AL and change the value from blank in the file Credit Interval Regular…

thank your sir but i have fixed one hour before itself. my mistake is what you replied…thanks agian

For your next question, please try to spend a little time on finding the solution yourself first…Thank-you.

sir, i tried more than half an hour for that but i couldn’t find solution then only i came here and asked… thank you sir.

Hi Santhosh,

You asked your question in the Developers forum, so I assume that your are a programmer and that you have learned to use the debugger?


If not, then may I suggest that you use 30 minutes learning how to use the debugger. Then it will only take you a few minutes to the the error next time. If you have activated it with “Break on error”, then the debugger will stop and show you exactly where the error is thrown. Then it’s really just a matter of tracing the error back to where the faulty condition was created.

You should also watch [mention:7b760359dfe84e1486ba231d57699789:e9ed411860ed4f2ba0265705b8793d05]'s 18 minute long Youtube video about the debugger, here:


It’s about NAV 2013, but it’s the same debugger even if you are now on NAV 2013.