Skip to main content
Question

Warehouse Bay Bin - Migration Job issue

  • November 14, 2023
  • 5 replies
  • 389 views

DomCotton
Do Gooder (Customer)
Forum|alt.badge.img+3

Apps 10 update 12:

I am trying to load some new Inventory Locations.  The migration job is pretty straight forward, see below.

When I try and execute, the first row is successful but second and subsequent rows fail.  The error is:

Insert into WAREHOUSE_BAY_BIN_TAB failed - ORA-20112: WarehouseBayBin.FND_RECORD_EXIST: The Warehouse Bay Bin already exists. (Error caused by line: 3)

It appears that there is a LOCATION_SEQUENCE which retrieves from a sequence (if the field is empty in the attribute string).  Looking at the output of the failures, it is trying to use the same LOCATION_SEQUENCE value for each record.  

Anybody have any ideas or have been successful in data migrating inventory locations?

Thanks in advance,

Dom

5 replies

Forum|alt.badge.img+11
  • Hero (Employee)
  • 106 replies
  • November 15, 2023

Hi @DomCotton ,


the field LOCATION_SEQUENCE is an Oracle sequence which can be kept empty in the mapping of the migration job.
Could you please post another hardcopy of your mapping where the field LOCATION_SEQUENCE is visible? If there is no field mapped, please make sure that there is also no default value added.

BR
Martina


Marcel.Ausan
Ultimate Hero (Partner)
Forum|alt.badge.img+22
  • Ultimate Hero (Partner)
  • 1306 replies
  • November 15, 2023

@DomCotton additionally, I guess you could also use location_seq.nextval as default value for your LOCATION_SEQUENCE field.


MWitczak
Hero (Customer)
Forum|alt.badge.img+10
  • Hero (Customer)
  • 68 replies
  • September 30, 2025

@DomCotton additionally, I guess you could also use location_seq.nextval as default value for your LOCATION_SEQUENCE field.

 

That generates an error… at least in IFS 9.  We’re having the same issue.

 

 


Forum|alt.badge.img+11
  • Hero (Partner)
  • 232 replies
  • October 1, 2025

I usually use a 2 step migration job, 1 load the .csv data to the temporary table then use that to migrate using MIGRATE_SOURCE_DATA. 

When doing that I haven’t had the need to map the NEXTVAL for the sequence at least in Apps 10 it picked up the sequence automatically.

 


MWitczak
Hero (Customer)
Forum|alt.badge.img+10
  • Hero (Customer)
  • 68 replies
  • October 1, 2025

I usually use a 2 step migration job, 1 load the .csv data to the temporary table then use that to migrate using MIGRATE_SOURCE_DATA. 

When doing that I haven’t had the need to map the NEXTVAL for the sequence at least in Apps 10 it picked up the sequence automatically.

 

 

This worked like a charm.  Thank you very much!