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, ...
Suggested Answer

How to retreive the purchase order header Line discount field from the "totals"

(1) ShareShare
ReportReport
Posted on by 406
Hello everyone.
 
i am modifying the standard PO report, i want to get the line discount amount (75.00) as you can see in the screenshot. you can find it in the totals under the purchase order action pane.
i need to know the code relation in order to map it to my  field. this amount is in the header and not lines
I have the same question (0)
  • Adis Profile Picture
    6,860 Super User 2026 Season 1 on at
    Hey,
     
    I know it doesnt answer your question, but have you considered using Electronic reporting for that? I am not saying it is better than changing the ssrs report for this particular case, but you may consider it if you want to change reports in general.
     
    Kind regards, Adis
  • D365FO DEV Profile Picture
    406 on at
    Hi Adis,
     
    the client wants it as ssrs report and not electronic reporting
  • Suggested answer
    Martin Dráb Profile Picture
    240,181 Most Valuable Professional on at
    Values in this form are calculated by PurchTotals class. For example:
    PurchTotals purchTotals = PurchTotals::newPurchTable(purchTable);
    purchTotals.calc();
    purchTotals.purchLineDisc();
     
     
     

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 June Top 10 Community Leaders

These are the community rock stars!

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 385 Super User 2026 Season 1

#2
Subra Profile Picture

Subra 270

#3
Martin Dráb Profile Picture

Martin Dráb 243 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans