Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

How to get CompanyInfo Details in SSRS Report

(0) ShareShare
ReportReport
Posted on by

Hello awesome community! I'm new to D365 development and i'm working on a report using DP class that requires me to show current company's information (Address, Phone, TeleFax).

There are multiple codes in the internet, tried some but unfortunately I couldn't get the information.

If possible can you give me a simple code that shows these information? 

I appreciate your help and thanks in advance!

CompanyInfo companyInfo = CompanyInfo::find();

wmsPickingList_OrderPickTmpTemplate.CompanyCoRegNum = CompanyInfo.CoRegNum;

wmsPickingList_OrderPickTmpTemplate.CompanyPhone = companyInfo.phone();

wmsPickingList_OrderPickTmpTemplate.CompanyTeleFax = companyInfo.teleFax();

wmsPickingList_OrderPickTmpTemplate.CompanyAddress = companyInfo.postalAddress().Address;

  • Martin Dráb Profile Picture
    232,046 Most Valuable Professional on at
    RE: How to get CompanyInfo Details in SSRS Report

    This is a duplicate - the same thing is already discussed in another Jasir's thread: Unable to Get CompanyInfo Fields in SSRS Report.

  • GirishS Profile Picture
    27,823 Moderator on at
    RE: How to get CompanyInfo Details in SSRS Report

    Above code will work correctly. Have you checked whether all details are available against that company. Navigation - Organization administration - Organizations - Legal entities. - Check whether u have given the address and contact informations under address and contact information tab.

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... 293,280 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,046 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans