My Oracle Support Banner

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

Last updated on MARCH 27, 2019

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

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
Symptoms
Cause
Solution
References


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