Ejemplo n.º 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;
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 3
0
 public ExecResult DocumentUpdateStatus(ChangeStatusArguments arg, string documentId)
 {
     object[] results = this.Invoke("DocumentUpdateStatus", new object[] {
                 arg,
                 documentId});
     return ((ExecResult)(results[0]));
 }
Ejemplo n.º 4
0
 /// <remarks/>
 public void DocumentUpdateStatusAsync(ChangeStatusArguments arg, string documentId)
 {
     this.DocumentUpdateStatusAsync(arg, documentId, null);
 }
Ejemplo n.º 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);
 }