A Shipment has ShipmentItems (for each shipment item you can specify
the productId) and ShipmentPackages (for each shipment package you can
specify the boxTypeId).
The association between ShipmentItems and ShipmentPackages is thru the
ShipmentPackageContent (so that the same ShipmentItem can be splitted
in more than one package and one package can contain products from
different shipment items).
The Product itself is not associated directly to the ShipmentPackages
but we have some plans to add a new field to the Product entity to
specify the default shipment box type (and number of pieces in it)
that should be used when the product is shipped.
Jacopo
On Apr 25, 2008, at 12:01 PM, Sumit Pandit wrote:
> Hello all,
>
> Can some one tell me the relationship between
>
> product, box and package
>
> I am little bit confuse in the relation. It will be helpful for me
> if some one express the relation in mathematical terms.
>
> Thanks
> Sumit Pandit