Hi Bilgin,
please see my comments inline:
On May 15, 2008, at 6:48 PM, Bilgin Ibryam wrote:
Iain described two scenarios:
1. Cancel issuance during receaiving purchase order.
2. Cance issuance done for sales shipment.
I mainly work on the second senario and found one more step to be
done:
Reserve Inventory for the order item. So far the steps looks like
this:
1. Add the cancelQuantity to ItemIssuance.cancelQuantity field.
2. Create a InventoryItemDetail.
3. ReserveInventory for the cancelledQuantity.
4. Call balanceInventoryItems.
or maybe the newer service: "reassignInventoryReservations"
5. Create a seca for adjusting the accounting transaction.
Yes, there should be a service that can be used to revert an existing
accounting transaction: so we may retrieve the accounting transaction
id and call that service to revert it (and this new service can be
placed with the other postAcct* services in the accounting component).
In general it sounds good to me,
Jacopo
PS: also I agree that we should prevent the user to modify the
shipment items of a packed (invoiced) shipment.
--
View this message in context:
http://www.nabble.com/Service-for-Canceling-ItemIssuance-tp17228500p17257630.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.