web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Compiler setup "Lavel 1 to Level 4" for best practice

(0) ShareShare
ReportReport
Posted on by 30

Dear All,

For BP we are setting Compiler setup "Lavel 1 to Level 4" any one.

Can you please let me know if is set Level 2 or Level 4, so what it does?

As i know , we proffered "Level 4 " to catch all BP errors. Is't?

Note : I am creating a new table and didn't mentioned any BPs.

And i set one by one all Level in Compiler setup . It's return me 19 BP error for all Levels.

then where is the difference to set Level 1 or level 4?

Please give me more shed on this.

Thanks!
Arpan

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    PA-22040759-0 Profile Picture
    6,194 on at
    RE: Compiler setup "Lavel 1 to Level 4" for best practice

    I can't recall to ever have seen an extensive list on what the different levels actually mean in details. But you need to set it to Level 4 in order get the BP checks executed.

    This is what me and Google could find about it:

    msdn.microsoft.com/.../aa617600.aspx

    www.microsoftpressstore.com/.../article.aspx;seqNum=7

  • @rp@n Profile Picture
    30 on at
    RE: Compiler setup "Lavel 1 to Level 4" for best practice

    Thanks Pelle,

    I go through the above links.

    It's mentioned Compiler setup to set "Level 4".

    my question is why Level 4 ???

    why not Level 2 or 3???

    Is there any particular advantage to set "Level 4" which is not in other levels???

    I wants to know the difference.

    Please give me more shed on this

    Thanks!

    Arpan

  • @rp@n Profile Picture
    30 on at
    RE: Compiler setup "Lavel 1 to Level 4" for best practice

    Dear All,

    Can you please anyone help me on this.

    Thanks!

    Arpan

  • Verified answer
    Chaitanya Golla Profile Picture
    17,225 on at
    RE: Compiler setup "Lavel 1 to Level 4" for best practice

    Hi,

    When you set your compiler level at 4, along with errors and warnings it also validates all the bestpractices deviations that are been setup in the best practice parameters window. In general, its recommended to be at level 4.

  • Verified answer
    Chaitanya Golla Profile Picture
    17,225 on at
    RE: Compiler setup "Lavel 1 to Level 4" for best practice

    Hi,

    Best Practice Parameters Form:

    7080.BPCheck.png

    Please check below links which has list of best practice deviations that need to be fixed on tables:

    (Data Dictionary Best Practices [AX 2012])
    msdn.microsoft.com/.../aa869325.aspx

    (Best Practices: Tables [AX 2012])
    msdn.microsoft.com/.../aa876262.aspx

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

#2
NNaumenko Profile Picture

NNaumenko 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans