Options

Posting through NAS

bekiobekio Member Posts: 204
Hello everyone!

I want to post some Invoices and also BOM Journals via NAS, at some schedule time.
I have set up all the thing to do this job. But i get some messages, Confirm is not supported at NAS, Dialog is not supported at NAS. I know that NAS does not allow windows to be displayed.

Does any one has done this posting via NAS, and what was the solution?

Thanks,

Answers

  • Options
    Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    The CONFIRM or DIALOG statements should be preceded with a test, to determine if the code is executed through the NAS or not.

    Have a look at codeunit 90, and find the GUIALLOWED statements. IF GIUALLOWED returns FALSE when the code is executed through NAS.
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • Options
    bekiobekio Member Posts: 204
    Thanks Luc,

    That was the solution as you suggested.

    Thanks a lot. =D>
Sign In or Register to comment.