1. Yes
Is
Iteration
counter=0
3. If an unconfirmed
relation ship exists
for the same
relation?
Yes
Create record in part relationship file
containing input part, relaced part, search
part along with source system ids ,
confirmed/unconfirmed indiacator and
Interation counter. Store Relation date as
Prior Relation date.
2. Did Search Part
replace another
(Confirmed through
Output batch)
1. Set Search Part
= Input Part &
Iteration counter =0
6. Does
Replaced
Part have a
Source
System of
GPS?
2. Did Search Part
replace another
(Not Confirmed
through Output
batch)
Increment
Interation Counter
by one. Has
interation limit been
reached.
Create record
in Error file
and exit
process for
this input.
Yes
No
Set Search Part = Replaced Part
Store
Relation date
as TODATE.
4.Store Relation
date same as
PRT_REPLCD_DT
(Max relation date)
Write into
relation
Exception file
(CS4 SR
8.1.1a)
Determine the highest
Part Relaced Date for the
Searched input and store
in Temp Relation date.
No
Determine the replaced group with
the most recent time stamp for
part Replaced date (from previous
step) and search part.
Determine the largest Part
Source system id/Part number
for replaced group .(from
previous step). This is replaced
part.
Is Prior
Relation date
> Temp
Relation date
Yes
Does
Replaced
Part have a
Source
System of
GPS?
Exit process
for this
input.
Yes
N
o
Is
Iteration
counter=0
3. If an unconfirmed
relation ship exists for
the same relation which
PRT_REPLCD_DT less
than Prior Relation
date?
Store Relation
date as one day
less than Prior
relation date .
Yes