Closed himeshr closed 1 year ago
This bug has been fixed in Salesforce. ImplementationInventory wont send null values anymore. Ran the below command for entries in prod with null addressId: update individual set address_id = 413044, last_modified_date_time = current_timestamp + ((id) * interval '1 millisecond') where address_id is null and subject_type_id = 1020;
@himeshr : How many records are updated by the script you provided in the comment ? Are all the 365 entries fixed ?
Vinay found 365 entries of ImplementationInventory.. where address_id field is null. Its caused by following fields coming as null in the Goonj Salesforce "Get ImplementationInventories" API: "CenterFieldOfficeState": null, "CenterFieldOfficeDistrict": null,
Tasks:
Code place:
Subject.java: public void setAddress(String address) { map.put(AddressFieldName, address); }