You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using batch PUT to update records (specifically ICRM Accounts) - I'm using the Addresses collection to handle Address updates. Occasionally an Account will not have any Addresses so all that gets sent back is an empty list. The desired behavior is that only the addresses in the list are updated, and if the list is empty nothing should happen. I've looked at the "Children List" section here and don't think these flags are necessary in this case: http://sage.github.io/SData-2.0/pages/core/0902/
What I'm seeing is that when SData processes the Account record with the empty Address property that record and all subsequent records in the batch fail with this error:
No row with the given identifier exists[Sage.SalesLogix.Entities.Address#a6UJ9A002G72].
The Address ID number is the same for each record. I have no idea where that id number is coming from - it does not exist in the Address table.
I'm assuming the solution is to NOT include the Addresses property when no Addresses are being updated, but at the same time that strikes me as strange behavior.
The text was updated successfully, but these errors were encountered:
Ok, it was a data issue - the account record was referencing an address entity that no longer existed, so maybe the only relevant part here is that it caused the rest of the batch transaction to fail.
I'm using batch PUT to update records (specifically ICRM Accounts) - I'm using the Addresses collection to handle Address updates. Occasionally an Account will not have any Addresses so all that gets sent back is an empty list. The desired behavior is that only the addresses in the list are updated, and if the list is empty nothing should happen. I've looked at the "Children List" section here and don't think these flags are necessary in this case: http://sage.github.io/SData-2.0/pages/core/0902/
What I'm seeing is that when SData processes the Account record with the empty Address property that record and all subsequent records in the batch fail with this error:
No row with the given identifier exists[Sage.SalesLogix.Entities.Address#a6UJ9A002G72].
The Address ID number is the same for each record. I have no idea where that id number is coming from - it does not exist in the Address table.
I'm assuming the solution is to NOT include the Addresses property when no Addresses are being updated, but at the same time that strikes me as strange behavior.
The text was updated successfully, but these errors were encountered: