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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Adding new fields to the customer statement

(0) ShareShare
ReportReport
Posted on by 60

Hi,

I'm trying to add a new field to the Customer account statement ext  and I cannot get the new field's value in D365FO.

I've extended CustAccountStatementExtTmp table to add the new field.

extended the CustAccountStatementExtController class and its populateCustAccountStatementExtTmp method to add a value to the new field.

extended the CustAccountStatementExtDP class and its mapCustAccountStatementExtTmpToNewTempTableInstance method.

and even tried to extended the CustAccountStatementExtDP class and its insertNewRecords method.

Is there something else that I've missed.

Regards,

Brightlin

I have the same question (0)
  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi Brightlin,

    Have you created the new report to display the new field? Did you try debugging to check if the values are being assigned to the new fields you added?

  • Brightlin Profile Picture
    60 on at

    Hi Gunjan,

    I tried debugging the CustAccountStatementExtController class and it doesn't step through, only the DP class.

    The value are assigned on the controller class. I even tried assigned it on the DP. Doesn't work. DP is using a mapping.

  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi Brightlin,

    Can you create an extension for the DP class and do a CoC on mapCustAccountStatementExtTmpToNewTempTableInstance method. You can add your new fields here. I don't think you need to modify the controller class.

  • Verified answer
    vinitgoyal2005 Profile Picture
    6,332 on at

    Hi,

    What you have done :

    extended the CustAccountStatementExtController class and its populateCustAccountStatementExtTmp method to add a value to the new field.

    extended the CustAccountStatementExtDP class and its mapCustAccountStatementExtTmpToNewTempTableInstance method.

    It Is correct and should be sufficient, I have the exact same thing done and it is working. Can you share your code? Check if you have added the new field on Design correctly?

    Few other things to try:

    Restart SSRS service

    Reset usage data

    Restart IISExpress/IIS

    I have had issues because of the cached query so the above steps took care of it.

  • vinitgoyal2005 Profile Picture
    6,332 on at

    Hi,

    Were you able to resolve the issue? Please let us know if you need any help.

  • Brightlin Profile Picture
    60 on at

    Sorry Vinit, I was away for few days. It's resolved. Thanks for the help!

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 551 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans