You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Christian Carlow <ch...@gmail.com> on 2014/02/24 19:21:42 UTC

InventoryItem partyId not set when created from production run declaration

Shouldn't the partyId of an InventoryItem record created from a 
production run declaration be set to the declaring worker? 
InventoryItem.partyId gets set to the SupplierPartyId when receiving 
purchase order shipments so it seems to make sense that workers should 
be the partyId of declaration-created inventory items.  If so then the 
form for "manufacturing/control/ProductionRunDeclaration" needs to 
include a worker/partyId field.

Re: InventoryItem partyId not set when created from production run declaration

Posted by Christian Carlow <ch...@gmail.com>.
Yes this would be optional just as it is for the left-side declaration 
form.  The partyId field needs to be added to the right form.  I've also 
added a timeEntryId field to the form which was also added to the 
InventoryItemDetail record.  timeEntryIds are supposed to be created for 
the left-side declaration form but it was never implemented.  All of 
this functionality should be handled by OFBIZ-5548 
<https://issues.apache.org/jira/browse/OFBIZ-5548>.

On 03/04/2014 04:27 PM, Jacques Le Roux wrote:
> This would be optional, right?
>
> Jacques
>
> Le 24/02/2014 19:21, Christian Carlow a écrit :
>> Shouldn't the partyId of an InventoryItem record created from a 
>> production run declaration be set to the declaring worker? 
>> InventoryItem.partyId gets set to the SupplierPartyId when receiving 
>> purchase order shipments so it seems to make sense that workers 
>> should be the partyId of declaration-created inventory items.  If so 
>> then the form for "manufacturing/control/ProductionRunDeclaration" 
>> needs to include a worker/partyId field.
>>


Re: InventoryItem partyId not set when created from production run declaration

Posted by Jacques Le Roux <ja...@les7arts.com>.
This would be optional, right?

Jacques

Le 24/02/2014 19:21, Christian Carlow a écrit :
> Shouldn't the partyId of an InventoryItem record created from a production run declaration be set to the declaring worker? InventoryItem.partyId 
> gets set to the SupplierPartyId when receiving purchase order shipments so it seems to make sense that workers should be the partyId of 
> declaration-created inventory items.  If so then the form for "manufacturing/control/ProductionRunDeclaration" needs to include a worker/partyId field.
>