My Oracle Support Banner

System Error: Procedure sort_segment_order at Step 40 In HR_ASSIGNMENT_API.UPDATE_EMP_ASG (Doc ID 2535018.1)

Last updated on DECEMBER 04, 2019

Applies to:

Oracle Human Resources - Version 12.1.3 and later
Information in this document applies to any platform.


On : 12.1.3 HRMS RUP 3 version, Application Programming Interface

When attempting to update employees Assignment DFF using API HR_ASSIGNMENT_API.UPDATE_EMP_ASG,
the following error occurs.

ORA-20001: System Error: Procedure sort_segment_order at Step 40
Cause: The procedure sort_segment_order has created an error at Step 40.
Action: Contact your system administrator quoting the procedure sort_segment_order and Step 40.

The issue can be reproduced at will with the following steps:
1. Call the HR_ASSIGNMENT_API.UPDATE_EMP_ASG API to update an existing employee Assignment record
using p_datetrack_update_mode parameter as 'CORRECTION'
2. Noted above error in the pl/sql block output


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.