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;
}
Aggregations