You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Jacopo Cappellato <ja...@gmail.com> on 2008/06/16 12:11:37 UTC
How to link a Sales Return Shipment to the Return?
What is the best way to associate a ReturnItem to a ShipmentItem of
type "sales return"?
Do we need an associative entity between ReturnItem and ShipmentItem
or we can simplify the design by adding the shipmentId and
shipmentItemSeqId to the ReturnItem entity?
I guess we will need the associative entity... and if we go for it,
what is the best name for the new entity? ReturnItemShipment?
Thanks,
Jacopo
Re: How to link a Sales Return Shipment to the Return?
Posted by Jacopo Cappellato <ja...@gmail.com>.
Thanks David,
this is done in rev. 669188
Jacopo
On Jun 16, 2008, at 6:08 PM, David E Jones wrote:
>
> On Jun 16, 2008, at 4:11 AM, Jacopo Cappellato wrote:
>
>> What is the best way to associate a ReturnItem to a ShipmentItem of
>> type "sales return"?
>> Do we need an associative entity between ReturnItem and
>> ShipmentItem or we can simplify the design by adding the shipmentId
>> and shipmentItemSeqId to the ReturnItem entity?
>>
>> I guess we will need the associative entity... and if we go for it,
>> what is the best name for the new entity? ReturnItemShipment?
>
> This sounds fine to me. The join entity should have a quantity on it
> like other similar entities so that you could have multiple
> ShipmentItems for a single ReturnItem.
>
> -David
>
Re: How to link a Sales Return Shipment to the Return?
Posted by David E Jones <jo...@hotwaxmedia.com>.
On Jun 16, 2008, at 4:11 AM, Jacopo Cappellato wrote:
> What is the best way to associate a ReturnItem to a ShipmentItem of
> type "sales return"?
> Do we need an associative entity between ReturnItem and ShipmentItem
> or we can simplify the design by adding the shipmentId and
> shipmentItemSeqId to the ReturnItem entity?
>
> I guess we will need the associative entity... and if we go for it,
> what is the best name for the new entity? ReturnItemShipment?
This sounds fine to me. The join entity should have a quantity on it
like other similar entities so that you could have multiple
ShipmentItems for a single ReturnItem.
-David