Search in sources :

Example 1 with IPPOrderReceiptHUProducer

use of de.metas.handlingunits.pporder.api.IPPOrderReceiptHUProducer in project metasfresh-webui-api by metasfresh.

the class WEBUI_PP_Order_Receipt method doIt.

@Override
@RunOutOfTrx
protected String doIt() throws Exception {
    final PPOrderLineRow selectedRow = getSingleSelectedRow();
    final IPPOrderReceiptHUProducer receiptCandidatesProducer = createReceiptCandidatesProducer(selectedRow);
    // Calculate and set the LU/TU config from packing info params and defaults
    final I_M_HU_LUTU_Configuration lutuConfig = getPackingInfoParams().createAndSaveNewLUTUConfig();
    receiptCandidatesProducer.setM_HU_LUTU_Configuration(lutuConfig);
    receiptCandidatesProducer.createReceiptCandidatesAndPlanningHUs();
    return MSG_OK;
}
Also used : I_M_HU_LUTU_Configuration(de.metas.handlingunits.model.I_M_HU_LUTU_Configuration) IPPOrderReceiptHUProducer(de.metas.handlingunits.pporder.api.IPPOrderReceiptHUProducer) PPOrderLineRow(de.metas.ui.web.pporder.PPOrderLineRow) RunOutOfTrx(de.metas.process.RunOutOfTrx)

Aggregations

I_M_HU_LUTU_Configuration (de.metas.handlingunits.model.I_M_HU_LUTU_Configuration)1 IPPOrderReceiptHUProducer (de.metas.handlingunits.pporder.api.IPPOrderReceiptHUProducer)1 RunOutOfTrx (de.metas.process.RunOutOfTrx)1 PPOrderLineRow (de.metas.ui.web.pporder.PPOrderLineRow)1