Problem with Running Codeunit and NAS

RomRom Member Posts: 64
Hi,

i've installed a NAS, which runs fine. My problem is, that the Codeunit, i run, uses DIALOGS.

If there a possebility to write which has the same funcionality?
  gfiResultLog.CREATE(gtWorkFileLog);
  gfiResultLog.OPEN(gtWorkFileLog);
  gfiResultLog.TEXTMODE(TRUE)

If it possible, when i starts the codeunit with another one, that i won't have these Problems?

Like in this way.
OnRun(VAR Rec : Record "Job Queue Entry")
CODEUNIT.RUN(50005);

Thanks in advance!

Comments

  • ta5ta5 Member Posts: 1,164
    Hi
    I'm not sure whether I'll got your problem.
    But if you want to run code units in nas and in client, you can suppress dialog things like this
    if guiallowed then
      //some dialogs here
    

    Hope this helps. Don't hesitate to ask again if it's something different...
    Thomas
Sign In or Register to comment.