|
Hi,
With ofbiz-rel9.04-2009-12-01-v885713 :
There is a bug in the createInvoiceFromReturn method of the
InvoiceServices class at the lines 1803-1806.
if (Debug.verboseOn()) {
Debug.logVerbose("Creating Invoice Item with amount " +
returnPrice + " and quantity " + quantity
+ " for shipment [" + item.getString("shipmentId") + ":" +
item.getString("shipmentItemSeqId") + "]", module);
}
Error: Error trying to begin transaction, could not process method:
The current transaction is marked for rollback, not beginning a new
transaction and aborting current operation; the rollbackOnly was
caused by: Service [createInvoiceFromReturn] threw an unexpected
exception/errororg.ofbiz.service.GenericServiceException: Service
[createInvoiceFromReturn] target threw an unexpected exception
([GenericEntity.get] "shipmentItemSeqId" is not a field of
ShipmentReceipt) (Service [createInvoiceFromReturn] target threw an
unexpected exception ([GenericEntity.get] "shipmentItemSeqId" is not a
field of ShipmentReceipt)) calling service quickReceiveReturn in
quickReturnFromOrder
This is because item can be either an ItemIssuance or a
ShipmentReceipt. And in ShipmentReceipt there is no
"shipmentItemSeqId" field.
Cimballi
|