Monday, July 11, 2011

Code to check for "garbage" in the ReleaseUpdateScripts table - AX 2009

ReleaseUpdateScripts    releaseUpdateScripts;
Counter                 total;
Counter                 invalid;
while select ClassID
    from    releaseUpdateScripts
    group by ClassID
    if (classid2name(releaseUpdateScripts.ClassID) == '')
info(strfmt(@"Found %1 invalid classIds out of %2", invalid, total));

No comments:

Post a Comment

Thank you for your thoughts. Your comment will appear in my blog shortly after review.

Have a great day!