Dear All,
I have a small problem, I import an excel tabel in the General Journal tabel under a certain batch name, After that when I open the General Journal manually (After selecting the target batch name ) I can see all the importet lines.
Now the question is How can I open this Form directlly from my code. I tried the follwoing but its not working.
C/AL Globals:
Name Type SubType
FormGJ Form General Journal
Import Gen. Journal Line Rec Gen. Journal Line
“Import Gen. Journal Line”.SETRANGE(“Document Type”,“Import Gen. Journal Line”.“Document Type”::Payment);
FormGJ.SETTABLEVIEW(“Import Gen. Journal Line”);
FormGJ.RUN;
Is this right ? how what Iam doing wrong?
Thanks all