Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Not having an active key?

Posted on by 1,835

Hello Experts,
I have develop the report to print the 'Purchase Order Archive' records. But when I try to print it, always showing the below error. What I need to do that:

The code is below:

Print Purchase Order Archive - OnAction()
PurchaseHeaderArch.RESET;
PurchaseHeaderArch.SETRANGE(PurchaseHeaderArch."No.","No.");
IF PurchaseHeaderArch.FIND('-') THEN
REPORT.RUNMODAL(50064,TRUE,TRUE,PurchaseHeaderArch);

4722.uu.png

 

 

*This post is locked for comments

  • manish.yadav Profile Picture
    manish.yadav 1,835 on at
    RE: Not having an active key?

    Dear Sir,

    I have posted the another query in forum...but my query is still pending. can you look in this issue. The link is:

    community.dynamics.com/.../591749

  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 59,139 Super User 2024 Season 2 on at
    RE: Not having an active key?

    Thank you and wish you the same.

  • manish.yadav Profile Picture
    manish.yadav 1,835 on at
    RE: Not having an active key?

    Done.

    Thank you very much sir. Now It is working.

    I wish you a very happy 'Merry Christmas and Happy New Year 2017!'

  • Verified answer
    Mohana Yadav Profile Picture
    Mohana Yadav 59,139 Super User 2024 Season 2 on at
    RE: Not having an active key?

    check whether you have added any key in DataItemTableView property of dataitems.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans