"java.lang.NumberFormatException: For input string" Error When Trying to Approve Allocation Using ASN (Doc ID 1502311.1)

Last updated on APRIL 28, 2016

Applies to:

Oracle Retail Allocation - Version 13.2 to 13.2.5 [Release 13.2]
Information in this document applies to any platform.

Symptoms

When creating and approving an allocation with a source as one Advanced Shipment Notice (ASN) (which has Alpha Numeric Value) for a Purchase Order (PO) with a non-sellable staple pack item, you cannot approve the second  allocation with source as another ASN for the same PO.  The following error occurs:

 

Steps to Reproduce:

Pre-Requisite: The ASN Number must contain alphanumeric characters.

  1. Create a Purchase Order (PO) for 100 units of a non-sellable simple staple pack.
  2. Create and ship ASN1 for 60 units and ASN2 for 40 units.
  3. Create an Allocation such that the demand is quite large using ASN1 (ex: 15000).
  4. Approve the allocation.
  5. Create another allocation with ASN2 and try to approve it.
  6. Notice the approval fails with the status error above.

 

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