Wednesday, August 23, 2017

X++ code to find current legal entity Country region

static void FindCountryregionforLegalentity(Args _args)
{
    CompanyInfo    company;
    #ISOCountryRegionCodes
    boolean         isIsoUS       = SysCountryRegionCode::isLegalEntityInCountryRegion([#isoUS]);
    if(isIsoUS == true)
    {
        info("US");
    }
}

1 comment:

  1. A shop establishment certificate is mandatory for businesses operating from shops, offices, or commercial establishments. It is issued under the state Shops and Establishment Act and covers rules related to working hours, wages, and employee welfare. This certificate is commonly required for opening a business bank account and maintaining legal compliance.

    ReplyDelete

Export a copy of the standard user acceptance testing (UAT) database

 Reference link: Export a copy of the standard user acceptance testing (UAT) database - Finance & Operations | Dynamics 365 | Microsoft ...