Report selection

BerndWBerndW Member Posts: 5
edited 2009-05-12 in Navision Attain
When I run an orderconfirmation-report in a salesorder, the report must select automatically the salesordernumber from the salesorder.
How to do that?

Comments

  • SavatageSavatage Member Posts: 7,142
    Do you have access to the c/al code on the menu item you're selecting the report from? if not - you won't be able to do it.

    it would be something like this
    SalesHeader.RESET;
    SalesHeader.SETRANGE("Document Type", "Document Type");
    SalesHeader.SETRANGE("No.","No.");
    REPORT.RUNMODAL(REPORT::"Order Confirmation Report",TRUE,TRUE,SalesHeader);
Sign In or Register to comment.