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

Add image of the product on Sales quote

(1) ShareShare
ReportReport
Posted on by 35

I did create a customesales quote in Word and happy for that but I did not found a way ti insert the existing images that are already on the product page.

How can I add that image on custom report, like sales quote or invoice?

I did founf very usefull all that Microsoft instructions on LEARN site but nothing about add image and I do not understand why it is so easy to add that picture on Product tab if can not be used??

https://docs.microsoft.com/en-us/learn/modules/change-documents-dynamics-365-business-central/

pastedimage1582852451463v1.png

I have the same question (0)
  • Suggested answer
    Ziyao Profile Picture
    on at

    Hi cpaun,

    If you are expecting displaying product image in your custom report, there is nothing much related to NAV, it's SSRS report topic, here is the link about how to embed a data bound image in SSRS report.

    docs.microsoft.com/.../add-a-data-bound-image-report-builder-and-ssrs

  • Suggested answer
    keoma Profile Picture
    32,729 on at

    hard to realize in word reports. better use an sql report. check standard reports how to do that.

  • Suggested answer
    Alexander Ermakov Profile Picture
    28,096 on at

    Normally your sales quote or invoice contains multiple lines with multiple items and it is relatively rare case that someone wants all the images of all the the products in lines to be available on the invoice.

    However if you would like to, you can definitely develop SSRS report as other members suggested.

  • Suggested answer
    keoma Profile Picture
    32,729 on at

    it can be done in BC using vs-code, also with a word report.

    follow these steps:

    1) copy the standard sales quote report, also the layout to a new custom report, set new object id and name, so that you can make the changes. save, compile, publish the extension. for that steps follow moxie4nav.wordpress.com/.../.

    2) add variable TenantMedia: record "tenant media" to the global report variables

    3) add new dataitem(Item;Item) after the last column of dataitem "Line" (Sales Line)

    4) add the typical properties to connect the dataitems Line and Item via field "No."

    5) add column(Picture;TenantMedia.Content) ... for showing the item picture in the line

    6) in trigger onaftergetrecord add new variable Item: record item

    at the end of the trigger code add:

    item.get("no.")

    if item.picture.count > 0 then begin

    TenantMedia.get(Item.picture.item(1));

    TenantMedia.CalcFields(Content);

    remark:to load the picture data within the onaftergetrecord trigger in new dataitem "Item" won't work, the data is loaded to late to be shown in the line.

    7) edit the word layout in vs-code using ms word, activate the developer tools menu in word, activate the xml structure to view the fields structure

    8) add new column in the line table. set the column heading to "Picture", set the cursor into the new cell in the new column, add new field Header/Line/Item/Picture as Picture into the new cell. save the word report, close word, compile and publish the extension

  • realquo Profile Picture
    5 on at

    Hi,

    I didn't test it but this solution, based on Power Automate, looks simple: 365mechanix.com/.../

    Best,

    S

  • Aarnav Profile Picture
    125 on at

    Hi,

    What solution did you go with? I also have similar requirement.

    Thanks,

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,010

#2
Jainam M. Kothari Profile Picture

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

#3
YUN ZHU Profile Picture

YUN ZHU 1,085 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans