You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Karim Rahimpur (JIRA)" <ji...@apache.org> on 2009/02/02 22:23:59 UTC

[jira] Updated: (OFBIZ-2163) Packing issues: weights and remaining items

     [ https://issues.apache.org/jira/browse/OFBIZ-2163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karim Rahimpur updated OFBIZ-2163:
----------------------------------

    Attachment: Packing.patch

This patch *fixes these bugs*:

- package line weights are not cleared when lines are cleared, fixed in:

	PackingSession.clearLine(...)
	PackingSession.clearAllLines(...)
	PackingSession.clear()

- remaining number of items is not calculated correctly in PackOrder.ftl, fixed:

	inputQty is assign remaining quantity less packed quantity

_*Improvements*_

The *patch adds/enables these functions*:

- one may pack multiple packages of same characteristics
- one may set the packed weight when adding a line

	PackingServices.packBulk(...)

- list packages and packed items in order

	added PackingServices.getPackingSessionLinesByPackage()

Files affected:
applications/product/servicedef/services_shipment.xml
applications/product/webapp/facility/shipment/PackOrder.ftl
applications/product/src/org/ofbiz/shipment/packing/PackingServices.java
applications/product/src/org/ofbiz/shipment/packing/PackingSession.java

If these improvements are welcome (please try) then it would be a nice addition to the packing screen. We have a case where the need to pack multiple packages of the same kind (e.g. hundreds of them) at the same time is an absolute must, so that's where these functions come in handy.

Also the list of packages with currently packed items, ordered by package sequence id and listing the items is provided in addition to the former plain list of items which goes below.

> Packing issues: weights and remaining items
> -------------------------------------------
>
>                 Key: OFBIZ-2163
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2163
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: SVN trunk
>         Environment: any
>            Reporter: Karim Rahimpur
>             Fix For: SVN trunk
>
>         Attachments: Packing.patch
>
>
> - package line weights are not cleared when lines are cleared, in:
> 	PackingSession.clearLine(...)
> 	PackingSession.clearAllLines(...)
> 	PackingSession.clear()
> - remaining number of items is not calculated correctly in PackOrder.ftl:
> 	inputQty
> Example: If the quantity of an order item is shipped in two ship groups and the first is packed, the second cannot be packed correctly because the remaining quantity is wrong.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.