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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

Set based operation in data entity

(0) ShareShare
ReportReport
Posted on by 56

Hi all,

I saw in Data entities list, there is a column "Set Based Operation". Kindly let me know

1. when to use Set based operation and how to configure this?

2. Shall I use this option ( Set based operation ) for any data entities ?

Please give me more shed on this 

I have the same question (0)
  • Verified answer
    Gunjan Bhattachayya Profile Picture
    35,429 on at

    Hi Arpan,

    Set based operations is used to perform bulk operations more efficiently using record set operations. Data entity must Support set-based SQL operation. You can enable the "Set-based operations".

    Set based operations cannot be used on entities using the following -

    a. Views

    b. Unions

    c. Time-State Enabled

    d. Temporary or TempDB

    e. Mixed SaveDataPerCompany

    f. Fields in AK(Alternate Key) not mapped in entity

    g. Aggregations

    h. Composite Data Sources

    i. Joins other than inner and outer join

    For an example, "Set based operations" can be enabled for HcmJobEntity. whereas if you try to enable the same for SalesOrderHeaderV2Entity, you will receive a message "Set operations not supported for 'Sales order headers V2' entity.

  • @rp@n Profile Picture
    56 on at

    Thanks Gunjan,

    One thing while we enable the set based operation then only we came to know,  which entity support that or not.

    Why Sales order headers V2' entity not supported Set based operation?

  • Verified answer
    Gunjan Bhattachayya Profile Picture
    35,429 on at

    You can check the entity itself to see if it can be used to set based operations. If it contains any of the objects as I mentioned in the first response (like views, Unions etc.), it will not be allowed for "Set based operations".

    I believe SalesOrderHeaderV2Entity uses a view which is why it is not supported.

  • @rp@n Profile Picture
    56 on at

    Thsnks Gunjan

  • Lorena M. Profile Picture
    16 on at
    I am having an issue in which a file is imported to an entity which has "Set-based processing" to yes, the lines ar enot getting processed in the correct order. If I uncheck this mark would that correct the issue? would there be any disanvantages? 

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 Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

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

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 681 Super User 2026 Season 1

#2
André Arnaud de Calavon Profile Picture

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

#3
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 579

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans