Issue on latest trunk

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

Issue on latest trunk

charleslcso
Hello,

I installed trunk r1342326 and come across a problem.

Basically I followed the Technical Production Setup Guide & apache-ofbiz-business-setup-guide.html as closely as I can. The demo and seed data are loaded, and revised the existing sample data to suit my need.

In Order Entry I created an order, Approved it, and under Actions section, Destination Facility, I clicked on "Quick Receive Purchase Order". Then the following error shows up:

org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://product/widget/facility/FacilityScreens.xml#ReceiveInventory]: java.lang.IllegalArgumentException: Error running script at location [component://product/webapp/facility/WEB-INF/actions/inventory/ReceiveInventory.groovy]: javax.script.ScriptException: org.ofbiz.entity.transaction.GenericTransactionException: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Error in simple-method [Convert UOM values [file:/Applications/ofbiz/framework/common/script/org/ofbiz/common/CommonServices.xml#convertUom]]: ; {UOM Conversion Relationship Not Found} (Error running script at location [component://product/webapp/facility/WEB-INF/actions/inventory/ReceiveInventory.groovy]: javax.script.ScriptException: org.ofbiz.entity.transaction.GenericTransactionException: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Error in simple-method [Convert UOM values [file:/Applications/ofbiz/framework/common/script/org/ofbiz/common/CommonServices.xml#convertUom]]: ; {UOM Conversion Relationship Not Found})

It seems that the ReceiveInventory.groovy cannot be run is because UOM Conversion Relationship is not found.

I would appreciate if someone can share if they have the same issue, and if there is a workaround.

Thanks!
Charles So

smime.p7s (6K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Issue on latest trunk

Adrian Crum-3
We will need more detail. From what you've described, there seems to be
a UOM conversion missing. The missing conversion could be a quantity UOM
or a currency UOM. Examine the data you changed and check your quantity
UOMs and currency UOMs to make sure there are conversions for each.

-Adrian

On 5/31/2012 11:12 AM, Charles So wrote:

> Hello,
>
> I installed trunk r1342326 and come across a problem.
>
> Basically I followed the Technical Production Setup Guide&  apache-ofbiz-business-setup-guide.html as closely as I can. The demo and seed data are loaded, and revised the existing sample data to suit my need.
>
> In Order Entry I created an order, Approved it, and under Actions section, Destination Facility, I clicked on "Quick Receive Purchase Order". Then the following error shows up:
>
> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://product/widget/facility/FacilityScreens.xml#ReceiveInventory]: java.lang.IllegalArgumentException: Error running script at location [component://product/webapp/facility/WEB-INF/actions/inventory/ReceiveInventory.groovy]: javax.script.ScriptException: org.ofbiz.entity.transaction.GenericTransactionException: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Error in simple-method [Convert UOM values [file:/Applications/ofbiz/framework/common/script/org/ofbiz/common/CommonServices.xml#convertUom]]: ; {UOM Conversion Relationship Not Found} (Error running script at location [component://product/webapp/facility/WEB-INF/actions/inventory/ReceiveInventory.groovy]: javax.script.ScriptException: org.ofbiz.entity.transaction.GenericTransactionException: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Error in simple-method [Convert UOM values [file:/Applications/ofbiz/framework/common/script/org/ofbiz/common/CommonServices.xml#convertUom]]: ; {UOM Conversion Relationship Not Found})
>
> It seems that the ReceiveInventory.groovy cannot be run is because UOM Conversion Relationship is not found.
>
> I would appreciate if someone can share if they have the same issue, and if there is a workaround.
>
> Thanks!
> Charles So

Reply | Threaded
Open this post in threaded view
|

Re: Issue on latest trunk

charleslcso
I didn't know I'm already subscribed to the list... I never get the confirmation email even though I sent request emails from yahoo.com, gmail.com and my own email server.

Anyhow, I've almost give up on using the trunk and go to 10.04.02... Thank you for your reply!

I've created an order in demo-trunk, a P.O. with Order Nbr 1. It has exactly the same issue.

Appreciate if you can take a look. In the mean time, I'm not sure what you mean by Quantity UOM. But I'll go thru the applications and see what I can find.

Thank you again Adrian.
Reply | Threaded
Open this post in threaded view
|

Re: Issue on latest trunk

charleslcso
In reply to this post by Adrian Crum-3
All UOM in each product such as Height, Width, Depth, Diameter, Weight and Quantity are blank.

I'll input something and see if it works.
Reply | Threaded
Open this post in threaded view
|

Re: Issue on latest trunk

charleslcso
In reply to this post by Adrian Crum-3
Hi Adrian

I'm out of my wit on how to correct this. Can you share or give me more pointers?

Is my problem in the Product? Or in the Company? Or in the invoice?

The PO is approved, so I proceed to issue a PO invoice, then Payment, and then hopefully receive the Shipment. I think this is the correct business flow, but I'm not sure how OFBiz processes really requires...

Appreciate some pointers too!