Report with request form but without std button ok/cancel/?

andy76
andy76 Member Posts: 616
Hello,

is that possible?
I would like to use a report as a form with button defined by me calling functions and codeunits but with also the possibility to schedule it via jobqueue.
The report does not have to loop on records.

Thank you

Andy

Comments

  • kine
    kine Member Posts: 12,562
    And why not use the form for that? Report is for printing and batch processing...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • andy76
    andy76 Member Posts: 616
    I have to schedule it via job scheduler /jobqueue / NAS.
    Form is not runnable via NAS..

    Thank you
  • kine
    kine Member Posts: 12,562
    But you cannot run Request form of the report under NAS too... I do not understand why you want to have buttons on something, when it will be running under NAS scheduler...

    You need to split it - one part is the user interface, second is the process itself which can be scheduled without user interface...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • andy76
    andy76 Member Posts: 616
    I develop a report with buttons.
    The report has various functions.
    Each button call 1 function.
    The function of report can also be called by a codeunit without user interface/request option window. Isn't it?

    The report can so be called manually by user request or by NAS.

    Do you advice to use a new form only for buttons and user interface?

    Thank you
  • kine
    kine Member Posts: 12,562
    Yes, because how you will make the reoport what you want under the scheduler, where you cannot press the buttons? For me better way is to have the buttons separately and call different reports for different functions (depends on the functionality and what does it means "different"). Or you can call the report with some parameters which will select which function you want from the report. But all depends on details...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.