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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Adding a custom field in Customer Aging Report

(0) ShareShare
ReportReport
Posted on by 5

Can any one let me know the process to add a custom field from custTrans in "Customer Aging Report"

I have the same question (0)
  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    35,423 on at
    RE: Adding a custom field in Customer Aging Report in D365

    Hi,

    You need add the new field to CustAgingReportTmp table. Next you have to check the CustAgingReportDP class processReport method and create a CoC on the same. You should be able to update the field based on a query in this method. Something like this -

     CustTrans  custTrans;
     
     update_recordSet custAgingReportTmp
            setting NewField   = custTrans.Field,
                join custTrans
                    where custTrans.AccountNum  == custAgingReportTmp.AccountNum &&
                          custTrans.Voucher     == custAgingReportTmp.Voucher;

    You might need to tweak the query as per your requirement.

  • André Arnaud de Calavon Profile Picture
    299,576 Super User 2025 Season 2 on at
    RE: Adding a custom field in Customer Aging Report in D365

    Moved to the Dynamics 365 Finance forum.

  • MD Mujahid Shaan Profile Picture
    5 on at
    RE: Adding a custom field in Customer Aging Report in D365

    Hi Gunjan Bhattacharya,

    Thanks for the reply.

    We will get a voucher in case of Details parameter is on in the report parameter, otherwise we won't get the voucher information in the temp table. Can you please suggest how to handle if details parameter is off.

  • Gunjan Bhattachayya Profile Picture
    35,423 on at
    RE: Adding a custom field in Customer Aging Report in D365

    Hi MD Mujahid Shaan,

    I think you will get a voucher either way. If I remember correctly the data processing is the same for all the parameters, only the design (with different grouping) changes as per the parameters selected.

    Please debug the report and check if you can see the voucher number with the selected parameters.

  • MD Mujahid Shaan Profile Picture
    5 on at
    RE: Adding a custom field in Customer Aging Report in D365

    HI Gunjan Bhattacharya,

    I have checked the same, but I will confirm one more time after debugging...Thank you

  • Gunjan Bhattachayya Profile Picture
    35,423 on at
    RE: Adding a custom field in Customer Aging Report in D365

    Please do.

    I worked on a similar requirement a few months back and don't exactly remember my findings.

  • Gunjan Bhattachayya Profile Picture
    35,423 on at
    RE: Adding a custom field in Customer Aging Report in D365

    Hi MD Mujahid Shaan,

    Please let us know if you are facing any other issues in getting this working.

    In case the solution worked for you, please mark the correct answer(s) as verified.

  • MujahidShaan Profile Picture
    15 on at
    RE: Adding a custom field in Customer Aging Report in D365

    Hi Gunjan Bhattacharyya,

    While the details parameters are turned off, we will not get the voucher as I said in the previous reply, can you plz let me know is there any way to handle this.

  • André Arnaud de Calavon Profile Picture
    299,576 Super User 2025 Season 2 on at
    RE: Adding a custom field in Customer Aging Report in D365

    Hi Mujahid,

    If you didn't select the details, I would expect to have no voucher either. Can you explain where to display what exact voucher number and what would be the purpose of a voucher number if there are no details?

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 1,922

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 1,922

#3
André Arnaud de Calavon Profile Picture

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

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans