Framework classes must have a disclaimer in the ClassDeclaration to discourage customizations.

Hi guys,

first of all I am using ax 2012 r3 and I have developed one customized class and when I run BP deviation it throws BP deviation errors:

Framework classes must have a disclaimer in the ClassDeclaration to discourage customizations.

Please help me to resolve this error

but didn’t get much info

Thanks,

Rohit

Framework classes, such as those with names beginning with Sys or Aif, contains the following disclaimer comment:

// This is a framework class. Customizing this class may cause problems with future upgrades to the software.

But you shouldn’t just add it to your class - you’re not Microsoft creating a new framework class. It seems that your class has a wrong name.

I know this is an old thread, but I have found that custom classes with Srs* prefix also generate BP:287
Is there a full list of no-no prefixes?

You’ll find it in SysBPCheckMemberFunction.checkFrameworkClassDisclaimer().
The Srs prefix is used by Microsoft for objects related to SQL Server Reporting Services, such as SrsReportRunController.

Thanks Martin!