use of de.metas.vertical.pharma.securpharm.service.SecurPharmHUAttributesScannerResult in project metasfresh-webui-api by metasfresh.
the class WEBUI_M_HU_SecurPharmScan method doIt.
@Override
protected String doIt() {
final SecurPharmHUAttributesScanner scanner = securPharmService.newHUScanner();
final SecurPharmHUAttributesScannerResult result = scanner.scanAndUpdateHUAttributes(getDataMatrix(), getSelectedHuId());
//
// Update view
final HUEditorView view = getView();
if (result.getExtractedCUId() != null) {
view.addHUId(result.getExtractedCUId());
}
view.invalidateAll();
return result.getResultMessageAndCode();
}
Aggregations