Thursday, January 3, 2019

Get objects MetaData details in Dynamics 365 for finance and operation

StringEnumerator   objectNameString;
str objectName;
objectNameString = Microsoft.Dynamics.Ax.Xpp.MetadataSupport::ClassNames();
     while (objectNameString.moveNext())
     {
            objectName =  objectNameString.Current;
            AxClass classSt = Microsoft.Dynamics.Ax.Xpp.MetadataSupport::GetClass(objectName);

           //  classSt .
     }

No comments:

Post a Comment

Convert Call stack to readable format in D365FO X++

//Input --container _xppCallStack = xSession::xppCallStack();  Public static str POL_formatXppCallStack(container _xppCallStack, int _skipFr...