When Signing-Off MR Its Completes The Workorder Without Invoking The User Hook. (Doc ID 2266173.1)

Last updated on MAY 30, 2017

Applies to:

Oracle Complex Maintenance, Repair, & Overhaul - Version 12.2.5 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.5 version,

ACTUAL BEHAVIOR
---------------
For work order updates there is user hooks for AHL which is not triggered while signing-off the work orders.


While Analyzing the code we found that:
AHL_COMPLETIONS_PVT.COMPLETE_WORKORDER is called while sign-off and its directly updates the base table ahl_workorders and doesnt invoke AHL_PRD_WORKORDER_PVT.UPDATE_JOB.

There by bypassing the user hook

EXPECTED BEHAVIOR
-----------------------
Expect to invoke AHL_PRD_WORKORDER_PVT

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Checking the source code

There by bypassing the user hook AHL_COMPLETIONS_PVT



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