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