Receiving Inventory strange issue

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Receiving Inventory strange issue

Woyce Batkins
Hello,
I have been trying to receive inventory from a purchase order, but I am
getting a conversion error like the following:
*java.lang.Exception: Error:Error running the simple-method: Error while
converting "54,000" to a number: For input string: "54,000" Method =
receiveInventoryProduct File =
file:/apps/ofbiz-framework/applications/product/minilang/shipment/receipt/ShipmentReceiptServices.xml,
Element = <loop>, Line 147null*

I am at a lost here
Reply | Threaded
Open this post in threaded view
|

Re: Receiving Inventory strange issue

Suraj Khurana-2
Hi Woyce,

Please confirm which OFBiz version you are currently using, so that it can
be checked.
On a cursory review, it seems that if you use 54000 (without comma) instead
of 54,000 it should work.

--
Best Regards,
Suraj Khurana
Senior Technical Consultant


On Fri, Jun 18, 2021 at 6:21 AM Woyce Batkins <[hidden email]>
wrote:

> Hello,
> I have been trying to receive inventory from a purchase order, but I am
> getting a conversion error like the following:
> *java.lang.Exception: Error:Error running the simple-method: Error while
> converting "54,000" to a number: For input string: "54,000" Method =
> receiveInventoryProduct File =
>
> file:/apps/ofbiz-framework/applications/product/minilang/shipment/receipt/ShipmentReceiptServices.xml,
> Element = <loop>, Line 147null*
>
> I am at a lost here
>
Reply | Threaded
Open this post in threaded view
|

Re: Receiving Inventory strange issue

Woyce Batkins
Hello,
*"Powered by Apache OFBiz. <http://ofbiz.apache.org> Release 17.12"* is the
version that I am using. The value is already entered with the comma, as it
is automatically populated. I even tried it by removing the value and
re-entering it manually, but its the same error.
I have been suspecting a hidden character being inserted somewhere in the
processing chain, so I switched the language to french, because I also
happen to speak french and this is the error message that I am receiving:
Erreur pendant la simple-method: Error while converting *"54Â 000"* to a
number: For input string: *"54Â 000"* .
It looks like an encoding issue somewhere may be? Not sure..

On Fri, Jun 18, 2021 at 7:22 AM Suraj Khurana <[hidden email]>
wrote:

> Hi Woyce,
>
> Please confirm which OFBiz version you are currently using, so that it can
> be checked.
> On a cursory review, it seems that if you use 54000 (without comma) instead
> of 54,000 it should work.
>
> --
> Best Regards,
> Suraj Khurana
> Senior Technical Consultant
>
>
> On Fri, Jun 18, 2021 at 6:21 AM Woyce Batkins <[hidden email]>
> wrote:
>
> > Hello,
> > I have been trying to receive inventory from a purchase order, but I am
> > getting a conversion error like the following:
> > *java.lang.Exception: Error:Error running the simple-method: Error while
> > converting "54,000" to a number: For input string: "54,000" Method =
> > receiveInventoryProduct File =
> >
> >
> file:/apps/ofbiz-framework/applications/product/minilang/shipment/receipt/ShipmentReceiptServices.xml,
> > Element = <loop>, Line 147null*
> >
> > I am at a lost here
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Receiving Inventory strange issue

radesatzn
Tell us which version of OFBiz you are currently using so that we can check it.
According to a brief inspection, using 54000 (without the comma) in place of 54,000 should make it work. basketball stars