//------------------------------------------------------------------------- private CResultAErreur MAJ_Modele() { CResultAErreur result = CResultAErreur.True; if (m_proxyReport != null && m_proxyReport.HasChange()) { result = m_proxyReport.UpdateGed(); if (result) { CDocumentGED doc = Rapport.DocumentGED; if (doc == null) { doc = new CDocumentGED(Rapport.ContexteDonnee); doc.CreateNewInCurrentContexte(); doc.Descriptif = ""; doc.DateCreation = DateTime.Now; Rapport.DocumentGED = doc; } doc.Libelle = I.T("Report Model @1|30228", Rapport.Libelle); doc.ReferenceDoc = (CReferenceDocument)result.Data; doc.DateMAJ = DateTime.Now; doc.NumVersion++; doc.IsFichierSysteme = true; } } return(result); }