use of de.metas.ui.web.view.descriptor.SqlViewKeyColumnNamesMap in project metasfresh-webui-api by metasfresh.
the class PickingTerminalViewInvalidationAdvisor method findAffectedRowIds.
@Override
public Set<DocumentId> findAffectedRowIds(final Set<TableRecordReference> recordRefs, final IView view) {
final Set<Integer> shipmentScheduleIds = extractShipmentScheduleIds(recordRefs);
if (shipmentScheduleIds.isEmpty()) {
return ImmutableSet.of();
}
final SqlViewKeyColumnNamesMap keyColumnNamesMap = SqlViewKeyColumnNamesMap.ofIntKeyField(I_M_Packageable_V.COLUMNNAME_M_ShipmentSchedule_ID);
return SqlViewRowIdsOrderedSelectionFactory.retrieveRowIdsForLineIds(keyColumnNamesMap, view.getViewId(), shipmentScheduleIds);
}
Aggregations