metasfresh / metasfresh-webui-api-legacy

metasfresh webui API server
GNU General Public License v3.0
30 stars 32 forks source link

Picking Tray Clearing: packing HUs: Add to Transportation Order, Ship and Invoice action #763

Closed teosarca closed 6 years ago

teosarca commented 6 years ago

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

teosarca commented 6 years ago

update: partial developed

teosarca commented 6 years ago

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)
metas-dh commented 6 years ago

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:

WebUI: 2018-01-08 14_11_52-metasfresh

Swing: 2018-01-08 14_12_35-decloudit001

still need to do:

metas-dh commented 6 years ago

Regression testing:

metas-dh commented 6 years ago

Update:

metas-dh commented 6 years ago

created follow up: #806, closing this one.