use of de.metas.ui.web.window.model.DocumentInterfaceWrapperHelper in project metasfresh-webui-api by metasfresh.
the class WebRestApiApplication method adempiere.
@Bean(Adempiere.BEAN_NAME)
public Adempiere adempiere(final WebRestApiContextProvider webuiContextProvider) {
Env.setContextProvider(webuiContextProvider);
InterfaceWrapperHelper.registerHelper(new DocumentInterfaceWrapperHelper());
final Adempiere adempiere = Env.getSingleAdempiereInstance(applicationContext);
adempiere.startup(RunMode.WEBUI);
Services.get(IMigrationLogger.class).addTableToIgnoreList(I_T_WEBUI_ViewSelection.Table_Name);
return adempiere;
}
Aggregations