Error message Employee No. " does not exist

Hi everyone,

I got the following error while trying to run a form :

**Employee No. " does not exist**

I tried to debug the C/AL code, the error seems to be in this line:

**Employee.GET(GETFILTER("Employee No."));**

I checked the Employee table, the Employee No. already exists in the table…

What should I do???

Why did you use GETFILTER in GET Statement?

Did you try without that?

Use

Employee.Get(“Employee No.”);

Use it in OnAfterGetRecord of trigger not OnOpen form…

Is it a standard form or you have developed it.

I have developped it…

Is your problem still existing after moving the code also?