public function getCopyRecordByItemNumber ($itemNumber)
    {
        foreach ($this->_records as $record) {
            if ($record->getItemNumber() === $itemNumber) {
                return $record;
            }
        }
        return null;
    }
public function getCopyRecordByItemNumber ($itemNumber)
    {
        foreach ($this->_records as $record) {
            if ($record->getItemNumber() === $itemNumber) {
                return $record;
            }
        }
        return null;
    }
public function getCopyRecordByItemNumber ( $ itemNumber ) { foreach ( $ this -> _records as $ record ) { if ( $ record -> getItemNumber ( ) === $ itemNumber ) { return $ record ; } } return null ; }
Return copy record by item number.

@param  integer $itemNumber Item number
@return CopyRecord|null The copy record or null if none exists
Return copy record by item number .