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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

BP warning Late bound call

(0) ShareShare
ReportReport
Posted on by 35

Hi all,

I 'm trying to use Dictionary in X++, but I got Late bound call warning

pastedimage1676518048088v1.png

Is there any way to solve this warning?

Thanks

I have the same question (0)
  • Suggested answer
    GirishS Profile Picture
    27,843 Moderator on at

    Hi PhucNguyen,

    You can suppress the warning.

    Refer to the below thread which is similar to the issue.

    https://community.dynamics.com/365/financeandoperations/f/dynamics-365-for-finance-and-operations-forum/399786/getting-br-warning-bpupgradecodelateboundcall-by-calling-custom-method-in-form-method-in-d365-fo

    Thanks,

    Girish S.

  • Suggested answer
    Mohit Rampal Profile Picture
    12,573 Moderator on at

    Hi, You can suppress BP warning as Girish mentioned. However, there is another option as well to explore. 

    sangeethwiki.blogspot.com/.../solution-for-bp-bp-rule.html

  • Verified answer
    Martin Dráb Profile Picture
    239,381 Most Valuable Professional on at

    Suppressing the warning isn't rhe best solution. A better approach is actually avoiding the peformance problem.

    You should avoid CLRObject - use a concrete type instead. Unfortunately we don't know why you're trying to do it, so we can't tell you what exactly you should do instead.

    If you just want something like Dictionary and you don't .NET Interop, simply use the X++ native class for this purpose: Map.

    If you need .NET Interop but not necessarily this particular type, consider using a non-generic dictionary: HashTable.

    Or wrap the generic collection in a custom class (with a non-generic interface) and use this class in X++.

    Also, X++ has some support for generics, but it's not very good.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 694

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 646 Super User 2026 Season 1

#3
CP04-islander Profile Picture

CP04-islander 337

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans