I have a lot of trouble with productaveragecost exceptions when modeling 
production runs which are looking for non-zero values in the entity.  

Has there been development on this since 0.9.1 opentaps came out? I looked in 
your BLOG but did not spot any comments about this item yet. (Maybe missed it.)

Thanks, 

Claude Feistel
IntegraSphere Inc. 
Austin, TX

-----Original Message-----
From: Jacopo Cappellato [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 16, 2006 12:29 AM
To: [email protected]
Subject: Re: Production Run with Subassemby

Hi Claude,

ok the error is this:

Service Error [postRawMaterialIssuancesToG粒]: No ProductAverageCost 
found for productId [spr243L2.0] and organization [Company].

So you just need to add a record (for each one of the 
components/subassemblies) to the ProductAverageCost entity and 
everything will be ok (this is needed to post the correct GL transactions).

I think (but I'm not sure, maybe Si can help with this) that in more 
recent versions of the "financials" component this step is no more needed.

Jacopo

Claude Feistel wrote:
> Jacopo, here is the console.log file that contains the production run
> attempts including a new one toward the end of it. 
> 
> Claude Feistel
> 
> 
> -----Original Message-----
> From: Jacopo Cappellato [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, August 15, 2006 11:06 AM
> To: [email protected]
> Subject: Re: Production Run with Subassemby
> 
> Hi Claude,
> 
> Claude Feistel wrote:
>> I am testing production runs, and have a problem when a part in the BOM is
> a
>> subassembly from another production run.  The scenario:  
>>
>>             Production Run 1:  builds a subassembly from raw parts that
> are
>> transferred into inventory.   Saves the subassembly into inventory. 
>>
>>             Production Run 2:  builds a finished good using the
> subassembly
>> from Run 1. 
>>
>>  
>>
>> Question 1:  Is this a valid production run scenario?
>>
>>  
> 
> Yes, it is.
> 
>> When Run 2 is at the Issue Components step, it has this error:
>>
>>  
>>
>>             The Following Errors Occurred:
>>
>> *    Error calling event: org.ofbiz.webapp.event.EventHandlerException:
>> Service invocation error (Commit transaction failed)
>>
>> Question 2:  Where are the error logs kept, that will detail this problem?
> 
> 
> Yes please, send the log file (zipped); you'll find it in the
> framework/logs/console.log file (the console.log file is recreated
> everytime OFBiz is restarted).
> 
> Jacopo
> 
>> Thanks, 
>>
>>  
>>
>> Claude Feistel
>>
>>  
>>
>>
> 


Reply via email to