1
Our main issue is the following:
- We updated the Primary contact (primarycontactid) to the Customer(account) record in CE. This is purely a Customer specific information. This is a Customer specific information only, and it should not update the Vendor record, but the system tries to update the Vendor record too.
- Every time, we do this update (update the Customer), the system, without any reason runs an update (tries to update the Vendor), which is not required, and not efficient.
The responsible plugin is, the Microsoft.Dynamics.GABExtended.Plugins.UpdatePartyAttributesFromAccountEntity], which seems to be causing this behavior:
- It seems like the UpdateVendorEntity function retrieves the related Vendor with the following three fields: msdyn_partyid, msdyn_company, msdyn_vendoraccountnumber.
- Then it checks for updated fields on the Account, and adds these fields to the Entity variable which has been retrieved in the previous step and updates the record, based on this variable (with the retrieved fields already being on it), disregarding the fact that in this case only the primarycontactid field was changed on the Account, and no field update is needed based on the if branches, it should not trigger the update.
- The only fields that are updated are the ones that have been retrieved in the first place, namely msdyn_partyid, msdyn_company and msdyn_vendoraccountnumber (with the original values).
STATUS DETAILS
New