Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Compiler warning: "Unknown error" in Function LookupDocNo (Rep 292 and 492), NAV 2009 R2 Standard objects

(0) ShareShare
ReportReport
Posted on by

Compiler warning: "Unknown error" in Function LookupDocNo (Rep 292 and 492), NAV 2009 R2 Standard objects.

Does anyone know why the warning occurs? Does anyone know how the source code would be correct? An application hotfix exists only for PT (KB

2558804), which does not fix the problem. Google also doesn't know anything:-).

Is this the correct way (classic client, RTC is not used)?
Before: "RequestOptionsForm.UPDATE(FALSE);".
After: "RequestOptionsPage.UPDATE(FALSE);"

*This post is locked for comments

  • Community Member Profile Picture
    on at
    RE: Compiler warning: "Unknown error" in Function LookupDocNo (Rep 292 and 492), NAV 2009 R2 Standard objects

    Thanks for the reply. The answer was helpful. My question is answered.

  • Verified answer
    keoma Profile Picture
    32,727 on at
    RE: Compiler warning: "Unknown error" in Function LookupDocNo (Rep 292 and 492), NAV 2009 R2 Standard objects

    that's right, you can fix the issue by

    replacing RequestOptionsForm.UPDATE(FALSE);

    by RequestOptionsPage.UPDATE(FALSE);

    in fct. LookupDocNo.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics NAV (Archived)

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans