Skip to main content
Post a question

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id : +8ZSm9D8XFE7323TjJsNMU
Finance | Project Operations, Human Resources, ...
Answered

SSRS Report format not showing in all entities

Like (0) ShareShare
ReportReport
Posted on 28 Apr 2023 07:20:36 by 404

Hello everyone, I have deployed a customized ssrs report related to purchase order, but i'm facing an issue where this report format under the printmanagement setup is not showing for all entities.

In the first picture, its showing under this company pastedimage1682666339067v1.png

while in the second picture , its not showing.

pastedimage1682666393177v2.png

  • D365FO DEV Profile Picture
    404 on 28 Apr 2023 at 08:39:43
    RE: SSRS Report format not showing in all entities

    My issue is fixed, with the code u provided me, there was an 'S' missing, after that, i compiled and tested and now the report is showing in all other entities, thank you

  • Mohit Rampal Profile Picture
    12,554 Moderator on 28 Apr 2023 at 08:35:03
    RE: SSRS Report format not showing in all entities

    How about if you create one record in that table from sql server for a legal entity.

    Also check this article, this should help you. (Haven't used addOther method before)

    denistrunin.com/.../

  • D365FO DEV Profile Picture
    404 on 28 Apr 2023 at 08:19:46
    RE: SSRS Report format not showing in all entities

    I added  the below macros at the beginning of this class, and i added the code you provided but i got these errors.

    #ISOCountryRegionCodes
      #PrintMgmtSetup

    pastedimage1682669942859v1.png

    also, I need you to note that not only this report design is not showing, but there is many more customized reports that are showing for only 2 entities and not showing for the other 10 entities.

  • Verified answer
    Mohit Rampal Profile Picture
    12,554 Moderator on 28 Apr 2023 at 08:14:53
    RE: SSRS Report format not showing in all entities

    Please try below code

    this.addOther(PrintMgmtDocumentType::PurchaseOrderRequisition, ssrsReportStr(Ex_PurchPurchaseOrder, PurchaseOrder2), srsReportStr(Ex_PurchPurchaseOrder, PurchaseOrder2), #NoCountryRegionId);

    And add below Macros at the beginning of this extension class 

      #ISOCountryRegionCodes
      #PrintMgmtSetup
    
  • Mohit Rampal Profile Picture
    12,554 Moderator on 28 Apr 2023 at 08:09:19
    RE: SSRS Report format not showing in all entities

    addOther method has below 4 parameters, so try provide parameter 3 and 4 as per article

    PrintMgmtDocumentType, PrintMgmtReportFormatName, PrintMgmtReportFormatDescription, PrintMgmtReportFormatCountryRegionId

  • D365FO DEV Profile Picture
    404 on 28 Apr 2023 at 07:58:16
    RE: SSRS Report format not showing in all entities

    after i added the closing brace, and builded, i got these errors:

    'PrintMgmtReportFormatPopulator.addOther' is missing argument 3 of type 'str'.

    'PrintMgmtReportFormatPopulator.addOther' is missing argument 4 of type 'str'.

  • Mohit Rampal Profile Picture
    12,554 Moderator on 28 Apr 2023 at 07:54:50
    RE: SSRS Report format not showing in all entities

    Please add closing brace ')' in the line where you are calling add other method.

    Before that, can you check if the issue is related to missing records in PrintMgmtReportFormat table from SQL server.

  • D365FO DEV Profile Picture
    404 on 28 Apr 2023 at 07:49:35
    RE: SSRS Report format not showing in all entities

    pastedimage1682668116514v1.png

    I followed the documentation you provided, but i got 10 errors after building the solution..

    pastedimage1682668171112v2.png

  • Suggested answer
    Mohit Rampal Profile Picture
    12,554 Moderator on 28 Apr 2023 at 07:41:09
    RE: SSRS Report format not showing in all entities

    You can use this article to add your custom report design in all legal entities for print management.

    robscode.onl/.../

  • D365FO DEV Profile Picture
    404 on 28 Apr 2023 at 07:40:00
    RE: SSRS Report format not showing in all entities

    Can you tell how i can check the add method ? I didnt get your point sir

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,865 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,723 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans