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)

Best practice BP 325 Display and edit methods must have unique labels. A field or another method has the same label as does method <methodName>

(0) ShareShare
ReportReport
Posted on by 1,307

Hi,

I am getting the above the best practice error BP :325 for a table method. 

Please guide me what needs to be done to fix this best practice error.

Thanks,

Lakshmi

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    236,316 Most Valuable Professional on at
    RE: Best practice BP 325 Display and edit methods must have unique labels. A field or another method has the same label as does method <methodName>

    You have two or more methods with the same label, therefore users couldn't distinguish them. Use return types with different labels; create new extended data types if needed.

  • Lakshmi Karambakkam Profile Picture
    1,307 on at
    RE: Best practice BP 325 Display and edit methods must have unique labels. A field or another method has the same label as does method <methodName>

    Hi Martin,

    But most of these methods are system methods.  I am trying to fix best practice errors for InventTrans table and the methods starting with cost and open are throwing these best practice errors and they are system methods.

    There should  be an alternate way rather than messing with all system methods?

    How to handle these?

    Thanks,

    Lakshmi

  • Martin Dráb Profile Picture
    236,316 Most Valuable Professional on at
    RE: Best practice BP 325 Display and edit methods must have unique labels. A field or another method has the same label as does method <methodName>

    It's strange, I don't think there was such BP errors in standard AX 2012.

  • Lakshmi Karambakkam Profile Picture
    1,307 on at
    RE: Best practice BP 325 Display and edit methods must have unique labels. A field or another method has the same label as does method <methodName>

    Here is a snapshot of the best practice errors of InventTrans table.

    CompilerBestPracticeErrors.png

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
Guy Terry Profile Picture

Guy Terry 2 Moderator

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans