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

Fixed asset balances report controller class

(0) ShareShare
ReportReport
Posted on by

Hi All,

we are trying to add the new columns into Fixed asset balances report, found the below objects related to this report:

AssetBalancesTmp,

AssetBalanceDP,

but didnt find the AssetbalanceController class to further customisation.

Is there any other class for this asset balance report?

Please advise.

Regards,

Akbar

I have the same question (0)
  • Suggested answer
    Komi Siabi Profile Picture
    13,208 Most Valuable Professional on at

    Hi Akbarpasha

    Check AssetReportsController

  • Akbarpasha Profile Picture
    on at

    Thank you Komi for quick response, 

    we are able to get the controller class.

    onw more query related to Asset balances report customisation,

    we are unable to see the enum for Fixed Asset Balnaces report in Print managment documnet type:

    pastedimage1661507788531v1.png

    how we can redirect to customised report, please advise.

    Regards,

    Akbar

  • Suggested answer
    Komi Siabi Profile Picture
    13,208 Most Valuable Professional on at

    To redirect the customized report, you should extend the controller class.

    Check this.

    docs.microsoft.com/.../custom-designs-business-docs

  • Akbarpasha Profile Picture
    on at

    Hi Komi,

    Yes, i have already extended the controller class like below:

    class AssetReportControllerExt  extends AssetReportsController

    {

       public static AssetReportControllerExt construct()

       {

           return new AssetReportControllerExt();

       }

       public static void main(Args _args)

       {

           SrsReportRunController formLetterController = AssetReportControllerExt::construct();

           AssetReportControllerExt controller = formLetterController;

           controller.parmArgs(_args);

           controller.parmReportName(ssrsReportStr(AssetBalancesExt, Report));

           controller.parmShowDialog(false);

           controller.parmDialogCaption(Fixed Asset Balances Report");

           controller.startOperation();

       }

    }

    i am following the below link for customization, last class is to use the PrintMgmt class delegate method like below:

    https://kishoredynamics11.blogspot.com/2021/07/add-new-field-in-standard-report-in.html

    not able to get the enum value for Asset balances report in below line.

    "PrintMgmtDocumentType::SalesOrderInvoice:

                   _result.result(ssrsReportStr(SalesInvoiceExt, Report));"

    class PrintMgtDocTypeHandlersExt

    {

       [SubscribesTo(classstr(PrintMgmtDocType), delegatestr(PrintMgmtDocType, getDefaultReportFormatDelegate))]

       public static void getDefaultReportFormatDelegate(PrintMgmtDocumentType _docType, EventHandlerResult _result)

       {

           switch (_docType)

           {

               case PrintMgmtDocumentType::SalesOrderInvoice:

                   _result.result(ssrsReportStr(SalesInvoiceExt, Report));

                   break;

           }

       }

    }

  • Akbarpasha Profile Picture
    on at

    Hi Komi,

    i just used controller class like above, now i am getting the below error;

    "The menu item with name assetbalances could not be opened.

    Unable to find the report design AssetBalancesExt.Report."

    Modified the menuitem for object name as extension class name.

    please advise.

  • Suggested answer
    Komi Siabi Profile Picture
    13,208 Most Valuable Professional on at

    You need to deploy your new report without error.

  • Akbarpasha Profile Picture
    on at

    Thank you Komi, after deploying the report, that error is not appearing now,

    But Asset balances report requires Parameters and for our customised report it is throwing info like below:

    1. A value must be provided for the parameter Fixed asset group.

    2. A value must be provided for the parameter Fixed asset number.

    Just compared with standard report execution, it is first displaying parameters form, but for our customised report it is not coming firts Parameters form, it is directly displaying the above two info.

    Please advise how we can resolve this issue.

  • Akbarpasha Profile Picture
    on at

    Hi Komi,

    please suggest how can we resolve the above issue.

  • Akbarpasha Profile Picture
    on at

    Hi Komi,

    We have resolved the issue.

    Thank you very much for your help for other issues.

  • Suggested answer
    Komi Siabi Profile Picture
    13,208 Most Valuable Professional on at

    Hi ,

    Could you please tell us what you did to get the parameter showing?

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