Closed teosarca closed 6 years ago
update: partial developed
Hotfixed error when generating the receipt in Swing. As as side effect, https://github.com/metasfresh/metasfresh/issues/1905 shall be retested because on Swing the code introduced there was not executed, because the receipts were not collected.
The error stacktrace was:
Caused by: org.adempiere.exceptions.AdempiereException: Cannot provide the generated shipments because the result was not configured to retain them
at de.metas.inoutcandidate.api.impl.DefaultInOutGenerateResult.getInOuts(DefaultInOutGenerateResult.java:87)
at de.metas.handlingunits.receiptschedule.impl.HUReceiptScheduleBL.processReceiptSchedules0(HUReceiptScheduleBL.java:384)
at de.metas.handlingunits.receiptschedule.impl.HUReceiptScheduleBL.lambda$0(HUReceiptScheduleBL.java:290)
at org.adempiere.ad.trx.api.impl.TrxCallableWrappers$5.call(TrxCallableWrappers.java:222)
at org.adempiere.ad.trx.api.impl.AbstractTrxManager.call0(AbstractTrxManager.java:771)
at org.adempiere.ad.trx.api.impl.AbstractTrxManager.call(AbstractTrxManager.java:683)
at org.adempiere.ad.trx.api.impl.AbstractTrxManager.call(AbstractTrxManager.java:584)
at org.adempiere.ad.trx.api.impl.AbstractTrxManager.call(AbstractTrxManager.java:515)
at de.metas.handlingunits.receiptschedule.impl.HUReceiptScheduleBL.processReceiptSchedules(HUReceiptScheduleBL.java:290)
at de.metas.handlingunits.client.terminal.select.api.impl.ReceiptScheduleFiltering.processRows(ReceiptScheduleFiltering.java:245)
at de.metas.handlingunits.client.terminal.select.model.AbstractHUSelectModel.processRows(AbstractHUSelectModel.java:627)
Results of IT1 tested in mf15
When the process is executed, it shall:
=> calling process sometimes causes an error: https://github.com/metasfresh/metasfresh-webui-frontend/issues/1495
questions:
when the invoice is created, the shipment schedule is closed, so if you use this process to create a partial shipment, no other shipments can be created for the resp. schedule: i guess this is wanted?
Transportation Order in WebUI: shows the M_ShipperTransportation_ID in tab Versandpackung, not the no. of the transportation order, but in Swing it's the no., why?
WebUI:
Swing:
still need to do:
Regression testing:
generating shipments from HUs still works in Swing:
regression on generating Invoices:
re-test metasfresh/metasfresh#1905:
Update:
created follow up: #806, closing this one.
Is this a bug or feature request?
part of https://github.com/metasfresh/metasfresh/issues/3190
similar with https://github.com/metasfresh/metasfresh-webui-api/issues/751
What is the expected or desired behavior?
User shall get a notification when:
Note to IT