Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Answered

Company logo displayed large size in sales packingslip report

Posted on by 5,901

Hi All,

Can you please let me know, in " Sales Invoice Report " and " Sales Packing slip report " company logo is displayed in HEADER.

We saw that in "Sales Packing slip report " company logo is displaying in large size. We need to scroll to see the logo in Sales packing slip report but in sales invoice report it's coming perfect.

In both report company logo is displayed from company image table. it's happening in PROD environment.

companyLogo = CompanyImage::find(custPackingSlipJour.dataAreaId, tableName2id("InventSite"), InventSite::find(inventSiteid).RecId).Image;

Could you please suggest me how to resolve this issue.

Thanks!

  • @rp@n Profile Picture
    @rp@n 5,901 on at
    RE: Company logo displayed large size in sales packingslip report

    Thanks Sergei

  • Verified answer
    Sergei Minozhenko Profile Picture
    Sergei Minozhenko 23,089 on at
    RE: Company logo displayed large size in sales packingslip report

    Hi,

    Looks like it's the issue. If the image from CompanyImage has a bigger size than Image control on SSRS image control size will be increased respectively.

    You can also decrease image size manually to match image control size and save it again in CompanyImage. It will help you to solve the issue in production without release. But for the long term, I recommend selecting "Fit proportional" option.

  • @rp@n Profile Picture
    @rp@n 5,901 on at
    RE: Company logo displayed large size in sales packingslip report

    aa2.jpg

    I checked, in sales packing slip report in company logo  -- image properties it showing the above property.

    Is this a reason to displaying the large image in company logo ?

    Please give me more shed on this.

    hanks!

  • @rp@n Profile Picture
    @rp@n 5,901 on at
    RE: Company logo displayed large size in sales packingslip report

    Ok, let me check. Will update you

  • Verified answer
    Sergei Minozhenko Profile Picture
    Sergei Minozhenko 23,089 on at
    RE: Company logo displayed large size in sales packingslip report

    Hi,

    "Fit proportional" should be fine for your case.

  • @rp@n Profile Picture
    @rp@n 5,901 on at
    RE: Company logo displayed large size in sales packingslip report

    That will check again and let you know tomorrow for both reports.

    As per you , which option is appropriate in above image? So, that it will print proper logo size...

  • Sergei Minozhenko Profile Picture
    Sergei Minozhenko 23,089 on at
    RE: Company logo displayed large size in sales packingslip report

    Hi,

    Have you also checked "Size" tab for Image control?

    pastedimage1587576503643v1.png

  • @rp@n Profile Picture
    @rp@n 5,901 on at
    RE: Company logo displayed large size in sales packingslip report

    See, I copied the image control from sales invoice report to sales packingslip report.

    So, the properties are same for both report. I checked also.

    For your 2nd answer is , yes its picked the same record from Company image table based on SITE for both reports.

    For example - if I  select  the SalesOrder which having Site = 1 and run both reports so its picked the same line from company image for both reports to display logo.

    That's why i wondering why logo is displaying in large in salespackingslip report?

    Is there any other solutions to get it solve?

  • Sergei Minozhenko Profile Picture
    Sergei Minozhenko 23,089 on at
    RE: Company logo displayed large size in sales packingslip report

    Hi,

    You can check properties for control in the report design for both reports. If you do right click on a control in report design you can open the property window for control and check if sizing options on General tab.

    As both report are picked same image.

    Do you mean the same record fetched from CompanyImage? The image can be the same, but the size of the image can be different and it could cause resize of control in SSRS report.

  • @rp@n Profile Picture
    @rp@n 5,901 on at
    RE: Company logo displayed large size in sales packingslip report

    See, here the record is selected based on DataAreaId, and recid from inventsite. Based on this criteria its picked the image from company image table.

    The logic is same for both reports as well.

    Is it any possibility to reduce logo size for packing slip report?

    As both report are picked same image.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,104 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans