How to get company address in D365FO | x++ code to get Legal Entity address in Dynamics 365 Finance and operation
Views (50)
Below is the x++ code to get Legal Entity address in Dynamics 365 Finance and operation . You can try this code in job also.
CompanyInfo companyInfo = CompanyInfo::find();
info(strFmt("%1",companyInfo.postalAddress().Address));
This was originally posted here.
*This post is locked for comments