Showing posts with label How to Get Current Company. Show all posts
Showing posts with label How to Get Current Company. Show all posts

How to Get Current Company



How to Get Current Company

Hi,
Please use to get current logged in company with curExt();
Example :
static void curExtExample(Args _arg)
{
    str _CompanyId;
    ;
    _CompanyId= curExt();
      Info(_CompanyId);
}
You can also get the logged in company with below code
static void curExtExample(Args _arg)
{
    str _CompanyId;
    ;
   _CompanyId= CompanyInfo::Find().DataAreaId;
   Info(_CompanyId);
}

Support Faryal's Cusine


Purchase Order Confirmation

  Introduction In Microsoft Dynamics 365 Finance & Operations (D365 F&O), Purchase Orders can be confirmed programmatically using th...