Database.upsert and BULK api operation on objectTerritory2Association entity not respecting partial success even though allOrNone is FALSE
Last updated 2021-03-08 ·Reference W-8878172 ·Reported By 10 users
Database.upsert operation on objectTerritory2Association entity not respecting the partial success even though allOrNone is set to FALSE
- Actual Result
If <List> has 2 records and one of them has an error, then all the records are failing to save with the same Error message. No Partial Success is observed.
ERROR: invalid cross reference id
- Expected Result.
Partial success should be respected when allOrNone is false as mentioned in the below doc:
1. Enable TM2 and create a territory.
2. Create two accounts to be assigned to the territory created above.
3. Insert List<objectTerritory2Association>
Set batchsize =1 so that other records will be successfully inserted.
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.