Article Details
Id:18476
Product:finPOWER Connect
Type:NEW
Version:3.04.01
Opened:22/06/2021
Closed:11/08/2021
Released:31/08/2021
Job: J026821

Update Requests; Contact Address and Contact Method Update Requests now support updating existing Contacts

Previously, when updating a Contact Address or Contact Method using the "Update Existing" Request Type, this would make the existing record historic, and then add the new Contact as a new item.

Now, the finUpdateRequestClientContactMethod and finUpdateRequestClientContactAddress Classes support an additional Property, "EditExisting". This is only applied when the Request Type is "UpdateExisting" and will allow the existing Contact to be updated with the new details, rather than made historic.

The following Business Layer functions have been updated and now support an Optional "editExisting" parameter:

  • finBL.UpdateRequestUtilities.CreateUpdateRequestLog_AddressUpdate_FromAddressDetails()
  • finBL.UpdateRequestUtilities.CreateUpdateRequestLog_AddressUpdate_FromAddressDetailsJsonString()
  • finBL.UpdateRequestUtilities.CreateUpdateRequestLog_AddressUpdates_FromAddressDetails()
  • finBL.UpdateRequestUtilities.CreateUpdateRequestLog_ContactMethodUpdate()

Additionally, the Contact Method Update Request now validates the scenario where the Request Type is "Update Existing", but the Update Request is attempting to clear the value. This will now result in an error.