Search in sources :

Example 1 with I_M_InOut

use of de.metas.handlingunits.model.I_M_InOut in project metasfresh-webui-api by metasfresh.

the class WEBUI_M_InOut_Shipment_SelectHUs method doIt.

@Override
protected String doIt() throws Exception {
    final I_M_InOut shipment = getRecord(I_M_InOut.class);
    final List<I_M_HU> shipmentHandlingUnits = Services.get(IHUInOutDAO.class).retrieveShippedHandlingUnits(shipment);
    getResult().setRecordsToOpen(TableRecordReference.ofCollection(shipmentHandlingUnits));
    return MSG_OK;
}
Also used : I_M_HU(de.metas.handlingunits.model.I_M_HU) I_M_InOut(de.metas.handlingunits.model.I_M_InOut) IHUInOutDAO(de.metas.handlingunits.inout.IHUInOutDAO)

Aggregations

IHUInOutDAO (de.metas.handlingunits.inout.IHUInOutDAO)1 I_M_HU (de.metas.handlingunits.model.I_M_HU)1 I_M_InOut (de.metas.handlingunits.model.I_M_InOut)1