Cannot Query Cycle Counts Made By Now-Inactive Employees
Last updated on MARCH 01, 2016
Applies to:Oracle Inventory Management - Version 12.1.3 and later
Information in this document applies to any platform.
When attempting to view cycle count entries performed by employees who are now inactive, an error occurs. These were not contingent employees, but were once-active employees who are no longer with the company and are, as a result, inactive.
Based on the trace files provided, the following query fails to return a row when querying counts made by an inactive employee:
SELECT DISTINCT FULL_NAME FROM PER_WORKFORCE_CURRENT_X WHERE PERSON_ID = :b1 AND ROWNUM = 1
END OF STMT
Using former employee 134 as a sample:
SELECT EMPLOYEE_NUMBER, CURRENT_EMPLOYEE_FLAG, FULL_NAME FROM PER_WORKFORCE_CURRENT_X WHERE PERSON_ID = 134 returns zero rows
SELECT EMPLOYEE_NUMBER, CURRENT_EMPLOYEE_FLAG, FULL_NAME FROM PER_WORKFORCE_X WHERE PERSON_ID = 134 returns 1 row.
The issue can be reproduced at will with the following steps:
1. Responsibility = INV
2. Cycle Counting
3. Approve Counts
4. Cycle Count = MFG Count
6. Query counts Pending Approval = Yes
8. Count Sequence = 83074
9. Count Status unchecked
11. Get error
13. Query Caused no records to be retrieved.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms