One thing that got missed out of this document was the ESU history tables.
Basically if you copy a PathCode with ESUs applied to a new PathCode, the new PathCode won't have the ESU history against it.
To get around this do the following procedure, (This is a excert from a doument I wrote for a client on the AS400 platform for a PY7333 to PD7333 copy, but you get the general idea...)
ESU History Tracking:
Two files in the JDEB7.MDB file on the deployment server need to have records copied namely R9671 and R9672 so that the ESU history is copied from PY7333 to PD7333.
Copy F9671 and F9672 in SYS7333 to F9671WK and F9672WK respectively, with no data.
Enter the following and run the following SQL commands;
For F9671:
Insert into sys7333.F9671WK select * from
sys7333.F9671 where SDSUDFUT2 = ‘PY7333’
Update sys7333.F9671WK set SDSUDFUT2 = ‘PD7333’
Delete from sys7333.f9671 where SDSUDFUT2 = ‘PD7333’
Insert into sys7333.F9671 select * from sys7333.F9671WK
For F9672:
Insert into sys7333.F9672WK select * from ys7333.F9672 where SUPATHCD = ‘PY7333’
Update sys7333.F9672WK set SUPATHCD = ‘PD7333’
Delete from sys7333.f9672 where SUPATHCD = ‘PD7333’
Insert into sys7333.F9672 select * from F9672WK
Copy them to JDEPLAN.
Sign into the deployment server in the JDEPLAN environment
Enter Batch Versions and Search on R98403
Select Version IGP0001 (Copy ESU History – System to Planner)
Processing Options:
1 Blank
2 OneWorld Local
3 2
4 System – B7333
5 Blank
6 1
7 A
8 Blank
9 Blank
Data Selection
Where ‘Object Name’ = F9671, F9672
Run it locally, records will copy from System to Planner.
Regards