Skip to Main Content

Cloud Platform

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

assignmentDFF inconsistent behaviour with EffectiveDate UPDATE

Martin...Jan 9 2022

Hi,
I am referencing: https://docs.oracle.com/en/cloud/saas/human-resources/21d/farws/op-workers-workersuniqid-child-workrelationships-periodofserviceid-child-assignments-assignmentsuniqid-child-assignmentsdff-assignmentsdffuniqid-patch.html
I can make a PATCH call to an assignment DFF and change a custom field value successfully using this call. However I have inconsistent behaviour with regards to EffectiveStartDate.
Example:
Assignment Start Date: 2021-12-01
myField: null
I make the PATCH UPDATE call with sysdate (2022-01-09) and BODY {"myField":"sometext"}
The outcome is
Assignment Start Date: 2022-01-09
myField: sometext
Yet on another worker assignment I use the same code to make the update and the outcome is:
Assignment Start Date: 2021-12-01
myField: sometext
Both calls report success 200 OK, yet I have different behaviours with regards to the EffectiveStartDate
Essentially the first seems to have performed an UPDATE whilst the second has performed a CORRECTION. Yet both calls a PATCH with RangeMode=UPDATE

Does anyone have any idea why this would be the case?
Thanks

Comments
Post Details
Added on Jan 9 2022
0 comments
204 views