Quantcast
Channel: Martin Dráb's Activities
Viewing all articles
Browse latest Browse all 17532

How to get CompanyInfo Details in SSRS Report

$
0
0

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;


Viewing all articles
Browse latest Browse all 17532

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>