Exemplo n.º 1
0
        /// <summary>
        /// Creazione oggetto "FileRequest" relativamente ad una nuova versione del documento
        /// </summary>
        /// <returns></returns>
        private DocsPAWA.DocsPaWR.Documento GetFileRequestVersione()
        {
            DocsPAWA.DocsPaWR.Documento retValue = new DocsPAWA.DocsPaWR.Documento();
            retValue.descrizione = string.Empty;

            ProtocollazioneIngresso.Protocollo.ProtocolloMng protocolloMng = new ProtocollazioneIngresso.Protocollo.ProtocolloMng(this._page);

            DocsPAWA.DocsPaWR.SchedaDocumento schedaDocumento = protocolloMng.GetDocumentoCorrente();
            retValue.docNumber = schedaDocumento.docNumber;

            DocsPAWA.DocsPaWR.DocsPaWebService     ws       = new DocsPAWA.DocsPaWR.DocsPaWebService();
            ProtocollazioneIngresso.Login.LoginMng loginMng = new ProtocollazioneIngresso.Login.LoginMng(this._page);
            retValue = (DocsPAWA.DocsPaWR.Documento)ws.DocumentoAggiungiVersione(retValue, loginMng.GetInfoUtente());
            loginMng = null;
            ws       = null;

            // Inserimento del file request nella scheda documento
            this.AppendFileRequestDocumenti(schedaDocumento, retValue);

            return(retValue);
        }