How can i validate a field from a codeunit?

jgallegoajgallegoa Member Posts: 20
Hi everybody,
Im having a problem validating a field from a table from a codeunit:
The code is

serlines.SETFILTER(Document no, 'ps-60006');
if serlines.FINDFIRST THEN BEGIN
Serlines.VALIDATE(Serlines.Shortcut dimension 1 code, 'SAT');
Serlines.MODIFY;
END;

Anyone can see the problem?, im begginer and i'm going crazy...

Thanks in advance,
Regards,Jon.

Sorry by doble post, please drop this question...

Best Answer

Answers

  • jgallegoajgallegoa Member Posts: 20
    Hi Wisa, my record Serlines was for service line table, but i have solved my problem with the dimension mangagement codeunit.

    Thanks a lot!
    Regards,Jon.
Sign In or Register to comment.