Using ActivityService web service, updateActivityAssignee operation to update Invoke UpdateActivityAssignee() to update ReminderPeriod and ShowTimeAsCode attributes resulting in exception oracle.jbo.ReadOnlyAttrException. (Doc ID 2269913.1)

Last updated on JULY 27, 2017

Applies to:

Oracle Fusion Sales Cloud Service - Version 11.12.1.0.0 to 11.12.1.0.0 [Release 1.0]
Information in this document applies to any platform.

Symptoms



Using ActivityService web service, updateActivityAssignee operation to update Invoke UpdateActivityAssignee() to update ReminderPeriod and ShowTimeAsCode attributes resulting in exception oracle.jbo.ReadOnlyAttrException.

ERROR
-----------------------
JBO-27023: Failed to validate all rows in a transaction.JBO-27024: Failed to validate a row with key oracle.jbo.Key[300000004071628 ] in ActivityEOJBO-27024: Failed to validate a row with key oracle.jbo.Key[300000004071628 300000000763642 ] in ActivityAssigneeEOJBO-27004: Attribute set for ShowTimeAsCode in entity ActivityAssigneeEO failedJBO-27004: Attribute set for ReminderPeriod in entity ActivityAssigneeEO failed

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Web Service: appCmmnCompActivitiesActivityManagement/ActivityService?WSDL
2. Operation: updateActivityAssignee
3. Request:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<updateActivityAssignee xmlns="http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/types/">
<activityAssigneeWebService>
<ActivityId xmlns="http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/">300000004071628</ActivityId>
<AssigneeId xmlns="http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/">300000000763642</AssigneeId>
<ReminderDatetime xmlns="http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/">2016-10-12T18:55:00Z</ReminderDatetime>
<ReminderPeriod xmlns="http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/">5</ReminderPeriod>
<ShowTimeAsCode xmlns="http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/">BUSY</ShowTimeAsCode>
</activityAssigneeWebService>
</updateActivityAssignee>
</s:Body>
</s:Envelope>
4. Create an appointment
5. Assign 3 resources
6. Use the above web service to update the owner and it works
7. Use the above web service to update any of the resources and you get the error.

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, customer is building an integration using this web service and not able to get it to work.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms