Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

Sales Invoice (credit report)

Posted on by 6
Hi Team, We want to customize salesInvoice(credit note) report. created extension of SalesInvoicedDP while generating report for normal invoice new field populating value but creating report for same place credit note report not populating new field value. 
do we need to add logic in some other method to populate value. pls advice  thank in advance...
[ExtensionOf(classStr(SalesInvoiceDP))]
final class SalesInvoiceDP_Test_Extension
{
    protected void populateSalesInvoiceHeaderFooterTmp(CustInvoiceJour _custInvoiceJour, CompanyInfo _companyInfo)
    {
      next populateSalesInvoiceHeaderFooterTmp( _custInvoiceJour, _companyInfo)
     //salesInvoiceHeaderFooterTmp.    ///adding my logic and 
    }
}
  • Layan Jwei Profile Picture
    Layan Jwei 7,320 Super User 2024 Season 2 on at
    Sales Invoice (credit report)
    Hi,
     
    Did you debug and see if this method gets called when you generate the report from both ways?
     
    Also please show us the menu item path when u click the credit report and the sales invoice report
  • Suggested answer
    Waed Ayyad Profile Picture
    Waed Ayyad 6,205 Super User 2024 Season 2 on at
    Sales Invoice (credit report)
    Hi,
     
    Do you mean the report already have the fields, but you changed the values in the extension of the DP class? What do mean here "creating report for same place credit note report not populating new field value. "? Do you create new report? 
     
    Thanks,
    Waed Ayyad
     

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,134 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,928 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans