web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Attempt was made to set a report parameter FormLetterRecordId that is not defined in this report.

(4) ShareShare
ReportReport
Posted on by 2,334
Hi,
 
I'm getting this error while trying to print Sales Order Confirmation Report
 
Confirmation (SO###) An attempt was made to set a report parameter 'FormLetterRecordId' that is not defined in this report.
 
Any clues what could be wrong?
 
I'm using 10.0.43 VHD. But the UAT is on 10.0.45 and I have restored the DB on VHD.
 
Appreciate any tips.
Categories:
I have the same question (0)
  • Martin Dráb Profile Picture
    239,029 Most Valuable Professional on at
    Okay, so you're talking about a development environment where you restored a database from a higher version of F&O than what you have. Are you intentionally developing on an older version?
     
    How did you run the report? 
  • MYGz Profile Picture
    2,334 on at
    Hi,
    I was able to successfully upgrade the development environment also to 10.0.45. But still the same error.
     
    It's a custom report and I'm printing using "use print management" option after going into "Sales Order Confirmations" page from Sales Orders List page form.
     
    Thanks
  • Martin Dráb Profile Picture
    239,029 Most Valuable Professional on at
    A custom report? That's a critical piece of information. Next time, please mention such things already when creating a thread. 
     
    You didn't say that explicitly, but I'm assuming you mean that the report worked before the DB restore. Is it the case?
     
    Does your report have FormLetterRecordId parameter or not? If so, have you tried redeploying it?
     
    Which method does throw the exception?
  • Verified answer
    MYGz Profile Picture
    2,334 on at
     
    Thanks for your inputs.
     
    It turned out that the custom table and classes were used for the Custom Sales Order Confirmation report and it was to be called from a custom button instead of standard buttons. Hence the error.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 617

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 461 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 298 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans