web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Display the Unit Price of Posted Sales Invoice in a Customer Subform (Help)

(0) ShareShare
ReportReport
Posted on by 481

I have a custom subform (created using a repeater in a ListPart page) where I want to display posted sales invoices (Sales Invoice Header) associated with the current record. Along with from inside the Sales Invoice Header, I also want to display the Unit Price of that specific invoice in my subform as well.

This is my attempt:

pastedimage1662835336627v1.png

But results in 0.00 for each of the Unit Price fields within my custom subform:

Screen-Shot-2022_2D00_09_2D00_10-at-12.43.37-PM.png

What am I doing wrong here?

I have the same question (0)
  • Verified answer
    YUN ZHU Profile Picture
    90,354 Super User 2025 Season 2 on at
    RE: Display the Unit Price of Posted Sales Invoice in a Customer Subform (Help)

    Hi, just adding some info for FlowFields (Sum, Average, Exist, Count, Min, Max, Lookup).

    https://yzhums.com/5802/

    Thanks.

    ZHU

  • Suggested answer
    Amit Baru Profile Picture
    3,035 on at
    RE: Display the Unit Price of Posted Sales Invoice in a Customer Subform (Help)

    Hi,

    Display the Unit Price of Posted Sales Invoice in a Customer Subform (Help)

    As per the above query, he want Unit Price total. That why i told for new field. Because Amount Field in Sales Header show Unit Price * Quantity of all sales line.

    Regards

    Amit Sharma

    www.erpconsultors.com

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,035 Moderator on at
    RE: Display the Unit Price of Posted Sales Invoice in a Customer Subform (Help)

    You already have the amount field in the Sales invoice header table. So why do you need to create another field?

    You should just display the amount filed where you need it.

  • Suggested answer
    Amit Baru Profile Picture
    3,035 on at
    RE: Display the Unit Price of Posted Sales Invoice in a Customer Subform (Help)

    Hi,

    Pls create flow field in Sales Header Table and then shown in Pages as normal. you will get the result.

    Creation of Flowfield-> https://erpconsultors.com/flowfield-in-dynamics-365-bc/

    Regards

    Amit Sharma

    www.erpconsultors.com

  • jdrco Profile Picture
    481 on at
    RE: Display the Unit Price of Posted Sales Invoice in a Customer Subform (Help)

    How do I make a field within a repeater a FlowField? I get an error when I try to:

    Screen-Shot-2022_2D00_09_2D00_10-at-1.23.55-PM.png

  • Suggested answer
    Amit Baru Profile Picture
    3,035 on at
    RE: Display the Unit Price of Posted Sales Invoice in a Customer Subform (Help)

    hi,

    According to your customization, Pls create Invoice Total field is flowfield and then value is coming as per you requirement.

    Regards

    Amit Sharma

    www.erpconsultors.com

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sumit Singh Profile Picture

Sumit Singh 2,710

#2
Sohail Ahmed Profile Picture

Sohail Ahmed 2,675 Super User 2025 Season 2

#3
Jeffrey Bulanadi Profile Picture

Jeffrey Bulanadi 2,203

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans