Search in sources :

Example 1 with I_M_ForecastLine

use of org.compiere.model.I_M_ForecastLine in project metasfresh-webui-api by metasfresh.

the class ForecastLineQuickInputProcessor method process.

@Override
public DocumentId process(final QuickInput quickInput) {
    final I_M_Forecast forecast = quickInput.getRootDocumentAs(I_M_Forecast.class);
    final I_M_ForecastLine forecastLine = InterfaceWrapperHelper.newInstance(I_M_ForecastLine.class, forecast);
    forecastLine.setM_Forecast(forecast);
    updateForecastLine(forecastLine, quickInput);
    save(forecastLine);
    return DocumentId.of(forecastLine.getM_ForecastLine_ID());
}
Also used : I_M_ForecastLine(org.compiere.model.I_M_ForecastLine) I_M_Forecast(org.compiere.model.I_M_Forecast)

Aggregations

I_M_Forecast (org.compiere.model.I_M_Forecast)1 I_M_ForecastLine (org.compiere.model.I_M_ForecastLine)1