public function setCode( $code )
	{
		$this->_checkCode( $code );

		$this->_values['code'] = (string) $code;
		$this->setModified();
	}
public function setCode( $code )
	{
		$this->_checkCode( $code );

		$this->_values['code'] = (string) $code;
		$this->setModified();
	}
public function setCode ( $ code ) { $ this -> _checkCode ( $ code ) ; $ this -> _values [ 'code' ] = ( string ) $ code ; $ this -> setModified ( ) ; }
Sets the code of the warehouse item.

@param string $code New code of the warehouse item
Sets the code of the warehouse item .