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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

Customer Account statement - custom report printing

(0) ShareShare
ReportReport
Posted on by 228

Hi All,

I duplicated the standard Customer Account Statement report to create our customized version. I am currently facing an issue when calling the standard report.

I am using the Print Management delegate to call my custom report. When I configure my custom report in Print Management and print it, everything works as expected. However, when I try to print the standard report, I get the following error:

"An attempt was made to set a report parameter 'SingleCurrencyReport' that is not defined in this report."

I tried debugging the controller class of the report. While printing the standard report, I noticed that my custom report is being called every time because of the following code:

[SubscribesTo(classStr(PrintMgmtDocType), delegateStr(PrintMgmtDocType, getDefaultReportFormatDelegate))]
public static void PrintMgmtDocType_getDefaultReportFormatDelegate(
    PrintMgmtDocumentType _docType,
    EventHandlerResult _result)
{
    switch (_docType)
    {
        case PrintMgmtDocumentType::CustAccountStatement:
            _result.result(ssrsReportStr(C_CustAccountStatementExt, Report));
            break;
    }
}

Because of this delegate, it appears that my custom report is being selected even when I try to print the standard Customer Account Statement report.

Could someone please advise how I can configure the Print Management delegate so that my custom report is called only when it is explicitly selected, without affecting the standard report?

 

Categories:
I have the same question (0)
  • Subra Profile Picture
    2,056 Super User 2026 Season 2 on at

    Hi @charanch 

    Why you are trying to calling your standard report again. since you business need to changes you have done the changes using custom report. Is there any specific reason why you are calling a standard report again?

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
SajeedMullaji Profile Picture

SajeedMullaji 419

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 271 Super User 2026 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 271 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans