Start RTC Report as PREVIEW instead of request page

AmiliaAmilia Member Posts: 3
edited 2014-10-16 in NAV Three Tier
How can I start from a Page an Report dierect as PREVIEW

Now the User can Press print and then sellect PREVIEW
Can I Programm this that the Button starts a PREVIEW Direct (Without a request page)
I cannot set this property by Code, just SaveAsPDf,WOrd,Html,Excel are avvailable

Is there another way?

reason. A Customer wants 1 Button for direct preview of the Invoice before posting and printing, the second Button then directs sends the Invoice to the Customer

Someone any idea?

regards,

Amilia

Comments

  • tinoruijstinoruijs Member Posts: 1,226
    I once created this feature for a customer using sendkeys.

    You cannot show an invoice before posting because the invoice is based on the posted sales invoice. Before posting you could show the Sales Document - Test (202) report.

    Customers usually want this because they do not (yet) trust the system. Is this also the case for your customer?
    Once they know how it works, they won't need the preview anymore.

    Why does your customer want it?

    Tino Ruijs
    Microsoft Dynamics NAV specialist
  • AmiliaAmilia Member Posts: 3
    tinoruijs wrote:
    I once created this feature for a customer using sendkeys.

    You cannot show an invoice before posting because the invoice is based on the posted sales invoice. Before posting you could show the Sales Document - Test (202) report.

    Customers usually want this because they do not (yet) trust the system. Is this also the case for your customer?
    Once they know how it works, they won't need the preview anymore.

    Why does your customer want it?

    Hi,

    They want to direct see the preview without using -> print, then click on the preview button
    I see that in 2013R2 there is no direct way to start a Report in preview mode or?
    I changed the property to print Layout so what you see is what you get (More or les :))

    If I use an Automation with Shell


    Report.RUN;
    CREATE(WshShell);
    WshShell.SendKeys('%{v}');
    CLEAR(WshShell);

    Where Report should be the reportName

    Then this can only be implented on Client site.
Sign In or Register to comment.