Get specific PISubBatch from UniqueID

Discussion created by hamort on Jan 17, 2012
Latest reply on Jan 17, 2012 by spilon

I would like to retrieve a specific SubBatch object from its UniqueId.


Is there a good way to do this?
The only solution I came up with so far is to loop through all SubBatches with the same name under several UnitBatches and check for the UniqueId.


I wonder if there is not a more efficient way to accomplish this.