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, ...
Answered

Purchase order confirmation-View original-Discount

(0) ShareShare
ReportReport
Posted on by 515

HI,

Greetings and hope all are fine

I am in Ax 2012 and I have one PO-generated fro PR(purchase requsition).

The PO status is open and cofirmed

No discount is specified on line or have any purchase agreements or any multiline discounts

Still when I take a copy of PO confirmation-I seethe discount field populated

Can you please help me where the discount field logic is written. or if  I am missing anysetup

Regards

Naz

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    305,703 Super User 2026 Season 1 on at

    Hi Naz,

    You are probably using the standard report lay-out. To have the report as per your requirements, it should be customized. There is an setting to remove both prices and discounts, but not discounts only.

  • NDingankar22 Profile Picture
    515 on at

    Thanks a ton for answering. But i dont know why the discount is getting calculated.I checked trade agreements ,line level discount vendor discount  nothing is specified but still the PO confirmation shows the discount calculated.

    Can you please tell why that happens and where is the logic written and I didnt find the VS project for the same too

    Please help

  • André Arnaud de Calavon Profile Picture
    305,703 Super User 2026 Season 1 on at

    Hi Naz,

    Do you mean to say that actually some discount amount got calculated? I was assuming that you wanted to hide the discount field when it is zero.

  • Junaid Idrees Profile Picture
    2 on at

    Hi NDingankar22 ,

    Can you please tell, Is it happening with all Purchase orders generated from PR or with any specific Purchase order?

    Is discount appearing on Purchase Order Header or on Line level?

  • NDingankar22 Profile Picture
    515 on at

    Thank you for taking time to answer my question

    Its just one PO and the discount is getting calculated .

    Example

    PO 

    item1-Service001-qty 2 2000

    item1(*again) servce 001 qty 1 1000

    when the user prints the PO confirmation the first item1 shows discount as 100 and second line dont show any discount

    Can you please please tell me what setups we need to check so that discount gets calculated

    I checked the class which populates the data in PO confirmation report and it takes from the Purchaselineallversions View

    I dont know how to proceed

    What setup should i check

    Please help

  • Suggested answer
    Junaid Idrees Profile Picture
    2 on at

    Hi NDingankar22 ,

    If the PO has 02 lines with same service product (Service001) and Line 1 is showing discount and line 2 doesn't then i dont think it's product specific issue. Can you please make sure that user didnt specified discount explicitly on Purchase order line 01.  Can you see $ 100 discount on PO line or not?

    Is PO already received/invoiced? If not can you please just remove the discount from PO line and proceed with PO confirmation.

  • NDingankar22 Profile Picture
    515 on at

    Thanks for taking time for answering

    The PO is not received yet just in cofnirmed state

    The issue is I dnt see the discount value on PO line either(PurchLine table)

    I am unsure where the discount gets calculated.

    I checked the DP class for the PO report and it appears the discount value is coming from PurchLineAllversions(which is a view)

    I dnt know why on earth the system is going to this view to get discount

    Please help as it is urgent for the user

  • Verified answer
    NDingankar22 Profile Picture
    515 on at

    Thank u all. 

    The table has value in discount which was removed (Purchline)

    Also the PO confirmation report took the discount value from the PurchlineHistory table

    The issue is now resolved

    Thank u all for your time to help me

    Take care and be safe 

  • André Arnaud de Calavon Profile Picture
    305,703 Super User 2026 Season 1 on at

    Hi Naz,

    Thanks for the update. I have marked your answer, so the thread will now have the status 'Answered'.

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 Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

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

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 628 Super User 2026 Season 1

#2
André Arnaud de Calavon Profile Picture

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

#3
Subra Profile Picture

Subra 437

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans