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 :
Supply chain | Supply Chain Management, Commerce
Unanswered

Calculate total customer rebates/trade allowance amount before generating sales invoice

(1) ShareShare
ReportReport
Posted on by 45

Hi,

I have a new display field on the sales order totals form which should show the total rebate amount by adding/calculating all the sales lines rebates. I know you can see the rebate amount for each line by selecting the sales line and check the price details. It uses PDSREBATETABLE when I open price details for a specific line. The problem with using this table is, it only generates the amounts once you invoice the order. However, my requirement is to show all line rebates total in the Totals form before the invoice. 

is there any class that I can use or create a new one to calculate the total rebate?

Thank you in advance. 

I have the same question (0)
  • pam86 Profile Picture
    45 on at

    Anybody, please.

  • Blue Wang Profile Picture
    on at

    HI Pam,

    I checked the classes related to this table.

    You can refer to PdsRebateTable table calculateRebateAmount method logic. It's based on the rebate amount type.

    Create a new class to calculate the total rebate.

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 > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 298 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 179 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

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

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans