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, ...
Suggested Answer

Pre-built x++ methods

(0) ShareShare
ReportReport
Posted on by 240

What are the differences between these pre-built x++ methods?

1) allowIndexHint

2) deleteEntityDataSource

3) encryptionPurpose

4) fieldEntityDataSource

5) initializeEntityDataSource

6) insertEntityDataSource

7) persistEntity

8) postCacheLoad

9) scopeIdentifier

10) skipNumberSequenceCheck

  • Suggested answer
    nmaenpaa Profile Picture
    101,172 Moderator on at

    Hi Mark,

    what exactly do you mean by "differences between these methods"? Or do you rather mean "what do these methods do/control"? 

    Anyway, I can warmly recommend searching the web (MS documentation, blogs, discussions etc), you will find a lot of information.

    For example about your first question I found this when I typed "dynamics 365 operations allowIndexHint" in a web seach: https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/fin-ops/get-started/whats-new-platform-update-23#enabling-index-hints-in-x-again

  • Mark JZ Yeap Profile Picture
    240 on at

    I am talking about what are the purposes of those following pre-built x++ methods.

  • Martin Dráb Profile Picture
    241,460 Most Valuable Professional on at

    You forgot to mention at which object(s) are the methods defined, which is a crucial piece of information.

    Nevertheless it seems to me that it's about data entities in D365FO. Is that correct? If so, let me move this thread to a D365FO forum.

  • Mark JZ Yeap Profile Picture
    240 on at

    Its about data entities in D365FO.

  • Martin Dráb Profile Picture
    241,460 Most Valuable Professional on at

    Some of the methods have quite descriptive names. In other cases, you can consult documementation and searcgh the internet for previous discussions and blog posts.

    If any methods remain, then we can discuss them here.

    Also, how did you compile this list? Are you sure that all the methods are relevant? For example, I honestly don't know the purpose of scopeIdentifier(), because I've never needed it for anything. What is your scenario?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

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

#1
Martin Dráb Profile Picture

Martin Dráb 536 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 363 Super User 2026 Season 2

#3
CU-1234529-002 Profile Picture

CU-1234529-002 188

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans