function AltaSol($lngId, $strAccionPropuesta, $strDescResponsableAfect, $strUsuario) { $strErrorDatos = ''; if (!isset($lngId) || !is_numeric($lngId)) { $strErrorDatos = 'El identificador de la No Conformidad no es correcto.'; } if (!empty($strAccionPropuesta)) { $strErrorDatos = 'Si no se rellena la Soluci�n propuesta, no puede realizarse el Alta.'; } require_once '../CAD/clsCADNCS.php'; $clsCADNCS = new clsCADNCS(); $clsCADNCS->setStrBD($this->getStrBD()); return $clsCADNCS->AltaSol($lngId, $strAccionPropuesta, $strDescResponsableAfect, $strUsuario); }