Hi team,
https://community.dynamics.com/forums/thread/details/?threadid=796bd8f9-f1c6-f111-aaad-3833c5e86001
Continuing the thread
1: Set-based processing works
Suppose you want to insert 1,000 customers into D365FO.
D365FO can ask SQL Server to insert multiple records together instead of processing every customer separately.
2: Set-based processing falls back
Suppose we have business requirements :
If a customer's credit limit exceeds ₹1,00,000, reject that customer.
Otherwise, insert the customer.
***Suppose the required validation must run separately for each customer.
D365FO may need to process the records individually to execute the required logic. For example - Postload method.
So, my assumption is Enabling set-based processing means D365FO can attempt bulk processing; it does not guarantee that every operation will run that way. The exact fallback depends on the implementation and the type of logic involved.
Is my understanding is correct?
Pls advise thanks