Error in Update Inventory Item

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

Error in Update Inventory Item

Koon Sang
Hi,

In https://localhost:8443/facility/control/UpdateInventoryItem, when I selected "My Retail Store" for the Facility Id and clicked on "Create", I got the following error:


The Following Errors Occurred:

ERROR: Could not complete the Update an InventoryItem [file:/D:/kks/ofbiz/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#updateInventoryItem] process [env variable for value-name lookedUpValue is not a GenericValue object; for the relation-name: Facility]


Am I missing anything?
Thanks!

Version: 9.04 (2010-2-17)
Reply | Threaded
Open this post in threaded view
|

Re: Error in Update Inventory Item

james_sg
Hi,

May I know how did you arrived at the https://localhost:8443/facility/control/UpdateInventoryItem page?

Regards,
James

Koon Sang wrote
Hi,

In https://localhost:8443/facility/control/UpdateInventoryItem, when I selected "My Retail Store" for the Facility Id and clicked on "Create", I got the following error:


The Following Errors Occurred:

ERROR: Could not complete the Update an InventoryItem [file:/D:/kks/ofbiz/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#updateInventoryItem] process [env variable for value-name lookedUpValue is not a GenericValue object; for the relation-name: Facility]


Am I missing anything?
Thanks!

Version: 9.04 (2010-2-17)
Reply | Threaded
Open this post in threaded view
|

Re: Error in Update Inventory Item

Koon Sang
From Facility application, select Facilities.  Choose a facility and in the facility, choose Inventory Items, then choose New Inventory Item.

There are actually a few issues here:
(1) There is no link to product pop-up selection for Product Id.
(2) After you key in anything as the Inventory Item Id and click on "Create" without filling in the Product Id field, you will get the following error:

       The Following Errors Occurred:
       The following required parameter is missing: [createInventoryItem.productId]

(a) Consistency issue: The mandatory fields are not marked with asterisks as done in other pages.
(b) User friendliness issue: The message is not a user-friendly message, as far as end user is concerned.

(3) Try to click on the "Create" button again without entering the Product Id, you will get the error mentioned:

The Following Errors Occurred:
ERROR: Could not complete the Update an InventoryItem [file:/D:/kks/ofbiz/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#updateInventoryItem] process [env variable for value-name lookedUpValue is not a GenericValue object; for the relation-name: Facility]


Reply | Threaded
Open this post in threaded view
|

Re: Error in Update Inventory Item

Atul Vani
In reply to this post by Koon Sang
a GenericValue object means a map (where key value pairs exist),

it seems like the GenericValue object being used by update service
doesn't match with that of the Facility entity,

i will check for more details and get back to you...



Koon Sang wrote:

> Hi,
>
> In https://localhost:8443/facility/control/UpdateInventoryItem, when I
> selected "My Retail Store" for the Facility Id and clicked on "Create", I
> got the following error:
>
>
> The Following Errors Occurred:
>
> ERROR: Could not complete the Update an InventoryItem
> [file:/D:/kks/ofbiz/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#updateInventoryItem]
> process [env variable for value-name lookedUpValue is not a GenericValue
> object; for the relation-name: Facility]
>
>
> Am I missing anything?
> Thanks!
>
> Version: 9.04 (2010-2-17)
>  
Reply | Threaded
Open this post in threaded view
|

Re: Error in Update Inventory Item

Jacques Le Roux
Administrator
In reply to this post by Koon Sang
Hi,

I don't know if you still follow this ML, but I have addressed your concerns at r944893

Thanks for your reporting efforts (at large, not only this message). I wish all users would do the same (and be patients ;o)

Jacques

From: "Koon Sang" <[hidden email]>

>>From Facility application, select Facilities.  Choose a facility and in the
> facility, choose Inventory Items, then choose New Inventory Item.
>
> There are actually a few issues here:
> (1) There is no link to product pop-up selection for Product Id.
> (2) After you key in anything as the Inventory Item Id and click on "Create"
> without filling in the Product Id field, you will get the following error:
>
>       The Following Errors Occurred:
>       The following required parameter is missing:
> [createInventoryItem.productId]
>
> (a) Consistency issue: The mandatory fields are not marked with asterisks as
> done in other pages.
> (b) User friendliness issue: The message is not a user-friendly message, as
> far as end user is concerned.
>
> (3) Try to click on the "Create" button again without entering the Product
> Id, you will get the error mentioned:
>
> The Following Errors Occurred:
> ERROR: Could not complete the Update an InventoryItem
> [file:/D:/kks/ofbiz/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#updateInventoryItem]
> process [env variable for value-name lookedUpValue is not a GenericValue
> object; for the relation-name: Facility]
>
>
>
> --
> View this message in context: http://n4.nabble.com/Error-in-Update-Inventory-Item-tp1564054p1565413.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>

Reply | Threaded
Open this post in threaded view
|

Re: Error in Update Inventory Item

Koon Sang
Thanks!

On Mon, 17 May 2010 02:44:02 +0800, Jacques Le Roux [via OFBiz] <[hidden email]> wrote:

Hi,

I don't know if you still follow this ML, but I have addressed your concerns at r944893

Thanks for your reporting efforts (at large, not only this message). I wish all users would do the same (and be patients ;o)

Jacques

From: "Koon Sang" <[hidden email]>

>>From Facility application, select Facilities.  Choose a facility and in the
> facility, choose Inventory Items, then choose New Inventory Item.
>
> There are actually a few issues here:
> (1) There is no link to product pop-up selection for Product Id.
> (2) After you key in anything as the Inventory Item Id and click on "Create"
> without filling in the Product Id field, you will get the following error:
>
>       The Following Errors Occurred:
>       The following required parameter is missing:
> [createInventoryItem.productId]
>
> (a) Consistency issue: The mandatory fields are not marked with asterisks as
> done in other pages.
> (b) User friendliness issue: The message is not a user-friendly message, as
> far as end user is concerned.
>
> (3) Try to click on the "Create" button again without entering the Product
> Id, you will get the error mentioned:
>
> The Following Errors Occurred:
> ERROR: Could not complete the Update an InventoryItem
> [file:/D:/kks/ofbiz/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml#updateInventoryItem]
> process [env variable for value-name lookedUpValue is not a GenericValue
> object; for the relation-name: Facility]
>
>
>
> --
> View this message in context: http://n4.nabble.com/Error-in-Update-Inventory-Item-tp1564054p1565413.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>



View message @ http://ofbiz.135035.n4.nabble.com/Error-in-Update-Inventory-Item-tp1564054p2218777.html
To unsubscribe from Re: Error in Update Inventory Item, click here.




--
Best Regards,
Koon Sang
Tel: +65 6567 2838 ext 102