Search in sources :

Example 1 with HUToReportWrapper

use of de.metas.handlingunits.report.HUToReportWrapper in project metasfresh-webui-api by metasfresh.

the class WEBUI_Picking_PickQtyToNewHU method doIt.

@Override
protected String doIt() throws Exception {
    final PickingSlotRow pickingSlotRow = getSingleSelectedRow();
    final I_M_HU hu = createAndAddHU(pickingSlotRow);
    addPickedQuantity(hu, pickingSlotRow);
    final HUToReportWrapper huToReport = HUToReportWrapper.of(hu);
    printPickingLabel(huToReport);
    invalidateView();
    invalidateParentView();
    return MSG_OK;
}
Also used : HUToReportWrapper(de.metas.handlingunits.report.HUToReportWrapper) PickingSlotRow(de.metas.ui.web.picking.pickingslot.PickingSlotRow) I_M_HU(de.metas.handlingunits.model.I_M_HU)

Example 2 with HUToReportWrapper

use of de.metas.handlingunits.report.HUToReportWrapper in project metasfresh-webui-api by metasfresh.

the class WEBUI_Picking_TU_Label method doIt.

@Override
protected String doIt() throws Exception {
    final PickingSlotRow rowToProcess = getSingleSelectedRow();
    final I_M_HU hu = load(rowToProcess.getHuId(), I_M_HU.class);
    final HUToReportWrapper huToReport = HUToReportWrapper.of(hu);
    printPickingLabel(huToReport);
    return MSG_OK;
}
Also used : HUToReportWrapper(de.metas.handlingunits.report.HUToReportWrapper) PickingSlotRow(de.metas.ui.web.picking.pickingslot.PickingSlotRow) I_M_HU(de.metas.handlingunits.model.I_M_HU)

Aggregations

I_M_HU (de.metas.handlingunits.model.I_M_HU)2 HUToReportWrapper (de.metas.handlingunits.report.HUToReportWrapper)2 PickingSlotRow (de.metas.ui.web.picking.pickingslot.PickingSlotRow)2