Skip to main content

Notifications

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

create extension of controller class to call custom design per legal entity

(0) ShareShare
ReportReport
Posted on by 491

Hi every one,

we have a requirement where we have to customize the sales invoice report and each legal entity has its own format. now i read that we can call custom design through print management https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/analytics/custom-designs-business-docs but this would be one design. i want different design for multiple legal entity. what would be best possible approach for this. 

Thankyou

  • xain Profile Picture
    xain 491 on at
    RE: create extension of controller class to call custom design per legal entity

    Hi Bharani,

    Thanks for suggestion. i end up using your advise and it worked. didn't needed to add delegates.

  • Verified answer
    Bharani Preetham Peraka Profile Picture
    Bharani Preetham Pe... 3,587 Super User 2024 Season 1 on at
    RE: create extension of controller class to call custom design per legal entity

    It will give error if you add using delegate. I would suggest you to use add method to add custom documents and configure print mgmt so that your custom design will run.

  • xain Profile Picture
    xain 491 on at
    RE: create extension of controller class to call custom design per legal entity

    thank you Martin and Mohit. that helps. but i have a question. is the below code correct way to add multiple report in print management, because first one is visible in print management but second one is not available.

    pastedimage1681483210426v1.png

  • Verified answer
    Mohit Rampal Profile Picture
    Mohit Rampal 12,554 Super User 2024 Season 1 on at
    RE: create extension of controller class to call custom design per legal entity

    Yes, Print management settings are legal entity specific. As Martin suggested, you can add different report design in each legal entity as per your requirement.

  • xain Profile Picture
    xain 491 on at
    RE: create extension of controller class to call custom design per legal entity

    Hi Martin,

    so print management settings are company specific, i thought it is shared across all companies.

  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,900 Most Valuable Professional on at
    RE: create extension of controller class to call custom design per legal entity

    I don't understand. If you configure print management in company A to use DesignA, switch to company B and tell print management to use Design B, won't it fulfill you requirements?

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,900 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans