You are on page 1of 3

Subject: WIPDJMDF: Error APP-BOM-20516 When Saving a Discrete Job

Doc ID: Note:284383.1 Type: PROBLEM


Last Revision Date: 20-MAR-2006 Status: PUBLISHED

In this Document
Symptoms
Cause
Solution
References

--------------------------------------------------------------------------------

@ (AuthWiz 2.3.3) Created from SR 3999912.996


@ Click here to edit in wizard.

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV)
Rapid Visibility (RaV) process, and therefore has not been subject to an
independent technical review.

Applies to: Oracle Bills of Material - Version: 11.5


Oracle Work in Process - Version: 11.5
This problem can occur on any platform.
WIPDJMDF.fmb
BOMFDRTG.fmb SymptomsWhen creating a WIP discrete job, an error similar to the
following is displayed when trying to save.

APP-BOM-20516: Item XYZ has no valid revision on Sepember 12, 2001

Creation of a discrete job for the same item in another organization may succeed.

CauseThe issue is most likely due to a missing routing revision record in the
MTL_RTG_ITEM_REVISIONS table. SolutionRun the following scripts to determine if you
have missing routing revision records.

To view a count of routings with missing routing revisions, run the following
query:

SELECT
mp.organization_code org,
count(*)
FROM
bom_operational_routings bor,
mtl_parameters mp,
mtl_item_flexfields mif
WHERE
bor.organization_id = mp.organization_id and
bor.organization_id = mif.organization_id and
bor.assembly_item_id = mif.inventory_item_id and
bor.alternate_routing_designator is null and
not exists
(select 'x' from MTL_RTG_ITEM_REVISIONS rrev
where rrev.inventory_item_id = bor.assembly_item_id and
rrev.organization_id = bor.organization_id)
GROUP BY mp.organization_code;
To view the detail for routings with missing routing revisions, run the following
query:
SELECT
mp.organization_code org,
mif.item_number item,
bor.alternate_routing_designator,
bor.organization_id,
bor.assembly_item_id,
bor.routing_sequence_id
FROM
bom_operational_routings bor,
mtl_parameters mp,
mtl_item_flexfields mif
WHERE
bor.organization_id = mp.organization_id and
bor.organization_id = mif.organization_id and
bor.assembly_item_id = mif.inventory_item_id and
bor.alternate_routing_designator is null and
not exists
(select 'x' from MTL_RTG_ITEM_REVISIONS rrev
where rrev.inventory_item_id = bor.assembly_item_id and
rrev.organization_id = bor.organization_id);
If a count greater than 0 is returned, please log a Service Request with Oracle
Support to obtain a data fix.

@ Note to Support:
@
@ The following data fix was provided in Bug.1981761 -
@ "MISSING ROUTING REVISIONS IN MTL_RTG_ITEM_REVISIONS AFTER UPGRADE 10.7 11I"@
This fix should be approved by Development.
@
@ -- INSERT 1 - create missing routing revision for a single routing
@ -- when prompted, enter the org code and item name of
@ -- one of the routings returned by the previously run
@ -- select query.
@ INSERT INTO mtl_rtg_item_revisions
@ (
@ inventory_item_id, organization_id, process_revision, last_updated_by,
@ last_update_date, created_by, creation_date, effectivity_date,
@ last_update_login, implementation_date
@ )
@ SELECT
@ bor.assembly_item_id, bor.organization_id, mp.starting_revision, 1,
@ bor.creation_date, 1, bor.creation_date, bor.creation_date, -1,@
bor.creation_date
@ FROM
@ bom_operational_routings bor,
@ mtl_parameters mp,
@ mtl_item_flexfields mif
@ WHERE
@ mp.organization_code = '&org' and
@ bor.organization_id = mp.organization_id and
@ bor.alternate_routing_designator is null and
@ bor.organization_id = mif.organization_id and
@ bor.assembly_item_id = mif.inventory_item_id and
@ mif.item_number = '&item' and
@ not exists ( select 'x' from MTL_RTG_ITEM_REVISIONS rrev
@ where rrev.inventory_item_id = bor.assembly_item_id and
@ rrev.organization_id = bor.organization_id);
@
@ -- INSERT 2 - create missing routing revisions for all routings having a missing
routing revision
@ INSERT INTO mtl_rtg_item_revisions
@ (
@ inventory_item_id, organization_id, process_revision, last_updated_by,
@ last_update_date, created_by, creation_date, effectivity_date,
@ last_update_login, implementation_date@ )
@ SELECT
@ bor.assembly_item_id, bor.organization_id, mp.starting_revision, 1,
@ bor.creation_date, 1, bor.creation_date, bor.creation_date, -1,@
bor.creation_date
@ FROM
@ bom_operational_routings bor,
@ mtl_parameters mp
@ WHERE
@ bor.organization_id = mp.organization_id and
@ bor.alternate_routing_designator is null and
@ not exists ( select 'x' from MTL_RTG_ITEM_REVISIONS rrev
@ where rrev.inventory_item_id = bor.assembly_item_id and
@ rrev.organization_id = bor.organization_id);

ReferencesBug 1981761 - Missing Routing Revisions In Mtl_Rtg_Item_Revisions After


Upgrade 10.7 - 11i
Bug 2317851 - Wipdjmdf:Item Valid Revision Error App-Bom-20516
@ Bug 3520479 - Wipst:Rg:App-Bom-20516 When Releasing Job With No Rtng And Added Op

--------------------------------------------------------------------------------

Help us improve our service. Please email us your comments for this document. .

You might also like