Changed Autonumber Source For Import Not Used On Second Import In Same User Session (Doc ID 1981479.1)

Last updated on JUNE 13, 2017

Applies to:

Oracle Agile Product Collaboration - Version 9.3.3.0 to 9.3.4.0 [Release 9.3]
Information in this document applies to any platform.

Symptoms

On Agile 9.3.3 Import

Auto Number Source does not take effect on second import of parts in same user session

Imported Parts get wrong Auto Number resource


STEPS:
---------------------

1. In Java Client as admin
created new Items > Parts > Subclass "Service"
2. Created two new Autonumbers to be uses for this new subclass "Service"

    1.st - name: PartServ321- prefix: ORASRV-321-P (4 digits)
    2.nd - name: PartServ123- prefix: ORASRV-123-P (4 digits)

3. Created new import file - imp_itm_serv01.txt (textfile)
"Number","Part Type","Lifecycle Phase"
,"Service","Preliminary"
,"Service","Preliminary"
,"Service","Preliminary"
,"Service","Preliminary"

4. Created new import file - imp_itm_serv02.txt (textfile)
"Number","Part Type","Lifecycle Phase"
,"Service","Preliminary"
,"Service","Preliminary"

5. Login web client to run import
6. Open the Import Wizard, select the "Preferences"
     Select tab Autonumber sources
     Choose Base Class Items

10. Find subclass Service with selection menu - choose PartServ123-
11. Click Save to close Import Preference dialog
12. Import the first import file "imp_itm_serv01.txt" - click Next
13. Specify File Content > Item Only - click Next
14. Select Content Options
- Data Mapping > Define attribute mapping in next step
- Data Transformation > No transformations are necessary
- Redline Options > Updates do not require redlining
click Next
15. Specify Attribute Mapping
Import fields Number Part Type Lifecycle Phase click Next

16. Review Import Definition
In this screen expand "Autonumber Sources" find subclass Service: PartServ123- defined
17. Click Import
18. Import Log Section showing:
messages:
  The 'Service' object 'ORASRV-123-P0004' which doesn't exist in system was created during import.
  The 'Service' object 'ORASRV-123-P0003' which doesn't exist in system was created during import.
  The 'Service' object 'ORASRV-123-P0002' which doesn't exist in system was created during import.
  The 'Service' object 'ORASRV-123-P0001' which doesn't exist in system was created during import.
  The autonumber 'ORASRV-123-P0004' was generated for new object
  The autonumber 'ORASRV-123-P0003' was generated for new object
  The autonumber 'ORASRV-123-P0002' was generated for new object
  The autonumber 'ORASRV-123-P0001' was generated for new object

19. Click Close to close Import Wizard

20. Open again the Import Wizard

21. Do the same import process for the 2nd file
22. Find subclass Service with selection menu - choose -PartServ321
23. Click Save to close Import Preference dialog
24. Browse and the select the second import file "imp_itm_serv02.txt" - click Next
25. Specify File Content > Item Only - click Next
26. Select Content Options
- Data Mapping > Use Currently defined mapping definition
- Data Transformation > No transformations are necessary
- Redline Options > Updates do not require redlining
click Next

27. Specify Attribute Mapping - keep settings
Import fields Number Part Type Lifecycle Phase click Next

28. Review Import Definition
In this screen expand "Autonumber Sources"
find subclass Service: PartServ321- defined
29. Click Import
30. Import Log Section showing:

messages:
  The 'Service' object 'ORASRV-123-P0006' which doesn't exist in system was created during import.
  The 'Service' object 'ORASRV-123-P0005' which doesn't exist in system was created during import.
  The autonumber 'ORASRV-123-P0006' was generated for new object
  The autonumber 'ORASRV-123-P0005' was generated for new object

31. Find "wrong" autonumber source used (from previous 1.st import)
 PartServ123, instead of PartServ321


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