Friday, February 17, 2023

Get resource related file name in D365FO

  public static str getResourceFilename(str _resourceName)

    {

        resourceNode resource = new resourceNode(_resourceName);

        return _resourceName && resource ? resource.filename() : null;

    }


No comments:

Post a Comment

Search hierarchy for a match (TableALLGroup) X++

  Table1 ppt;  select firstonly ppt  order ItemCode, ItemRelation, AccountCode, AccountRelation where      (ppt.ItemCode == TableGroupAll::T...