Exemple #1
0
 public ExecStatus DocumentSign(string DocumentId, string DomainId, string StatusComment)
 {
     ChangeStatusArguments statusArgs = new ChangeStatusArguments();
     ExecResult currentExecResult = new ExecResult();
     //statusArgs.Status = StatusGetByCode(DomainId, "DISPONIBLE");
     statusArgs.Comments = StatusComment;
     currentExecResult = _act.DocumentUpdateStatus(statusArgs, DocumentId);
     return currentExecResult.Status;
 }
Exemple #2
0
 /// <remarks/>
 public void DocumentUpdateStatusAsync(ChangeStatusArguments arg, string documentId, object userState)
 {
     if ((this.DocumentUpdateStatusOperationCompleted == null)) {
         this.DocumentUpdateStatusOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDocumentUpdateStatusOperationCompleted);
     }
     this.InvokeAsync("DocumentUpdateStatus", new object[] {
                 arg,
                 documentId}, this.DocumentUpdateStatusOperationCompleted, userState);
 }
Exemple #3
0
 public ExecResult DocumentUpdateStatus(ChangeStatusArguments arg, string documentId)
 {
     object[] results = this.Invoke("DocumentUpdateStatus", new object[] {
                 arg,
                 documentId});
     return ((ExecResult)(results[0]));
 }
Exemple #4
0
 /// <remarks/>
 public void DocumentUpdateStatusAsync(ChangeStatusArguments arg, string documentId)
 {
     this.DocumentUpdateStatusAsync(arg, documentId, null);
 }
Exemple #5
0
 /// <remarks/>
 public System.IAsyncResult BeginDocumentUpdateStatus(ChangeStatusArguments arg, string documentId, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("DocumentUpdateStatus", new object[] {
                 arg,
                 documentId}, callback, asyncState);
 }