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 :
Small and medium business | Business Central, N...
Answered

Help with Custom Layout

(0) ShareShare
ReportReport
Posted on by 10

How do you add discounted unit price for a sales quote in custom report layout. For example, my current table consists of
Quantity | MSRP | Discounted Price | Discount % | Total Price

4            |  3000  |                              |  -25%          | 9000

I cannot find the field with the discounted price of the item. Is there a way to add it on a sales quote?

pastedimage1648497716177v1.png

I have the same question (0)
  • Tu-Vuong Le Profile Picture
    10 on at

    EDIT: I am creating the reports with Word

  • Verified answer
    YUN ZHU Profile Picture
    95,331 Super User 2025 Season 2 on at

    Hi, This requires a little customization.

    You can use report extension to add a new colum.

    For example: report 1304 "Standard Sales - Quote"

    Sample Sales quote:

    pastedimage1648513967571v4.png

    Report Extension

    pastedimage1648513901664v1.png

    Word layout

    pastedimage1648513924961v2.png

    Report:

    pastedimage1648513930913v3.png

    reportextension 50102 MyExtension2 extends "Standard Sales - Quote"
    {
        dataset
        {
            add(Line)
            {
                column(DiscountedPrice; DiscountedPrice)
                { }
            }
            modify(Line)
            {
                trigger OnAfterAfterGetRecord()
                begin
                    DiscountedPrice := "Unit Price" * (100 - "Line Discount %") / 100;
                end;
            }
        }
    
        var
            DiscountedPrice: Decimal;
    }

    Hope this will help.

    Thanks.

    ZHU

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,143

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,694 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans