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

Set based operation in data entity

(0) ShareShare
ReportReport
Posted on by 30

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,423 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
    30 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,423 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
    30 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
André Arnaud de Calavon Profile Picture

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

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 311

#3
Diego Mancassola Profile Picture

Diego Mancassola 271

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans