Exemple #1
0
 public ResultStatus LoadESigDetails(
     SellReasonMaint sellReasonMaint,
     SellReasonMaint_Request request,
     out SellReasonMaint_Result result)
 {
     return(this.LoadESigDetails(sellReasonMaint, (SellReasonMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Exemple #2
0
 public ResultStatus Freeze(
     SellReasonMaint sellReasonMaint,
     SellReasonMaint_Request request,
     out SellReasonMaint_Result result)
 {
     return(this.Freeze(sellReasonMaint, (SellReasonMaint_Parameters)null, request, out result));
 }
Exemple #3
0
 public ResultStatus GetWIPMsgs(
     SellReasonMaint sellReasonMaint,
     SellReasonMaint_Request request,
     out SellReasonMaint_Result result)
 {
     return(this.GetWIPMsgs(sellReasonMaint, (SellReasonMaint_Parameters)null, request, out result));
 }
Exemple #4
0
 public ResultStatus GetEnvironment(
     SellReasonMaint cdo,
     SellReasonMaint_Request request,
     out SellReasonMaint_Result result)
 {
     result = (SellReasonMaint_Result)null;
     try
     {
         return(((ISellReasonMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemple #5
0
 public ResultStatus CommitTransaction(
     SellReasonMaint_Request request,
     out SellReasonMaint_Result result)
 {
     result = (SellReasonMaint_Result)null;
     try
     {
         SellReasonMaintMethod[] methods = new SellReasonMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((ISellReasonMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemple #6
0
        public ResultStatus ExecuteTransaction(
            SellReasonMaint cdo,
            SellReasonMaint_Request request,
            out SellReasonMaint_Result result)
        {
            result = (SellReasonMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ISellReasonMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new SellReasonMaintMethod(cdo, SellReasonMaintMethods.ExecuteTransaction, (SellReasonMaint_Parameters)null));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(ExecuteTransaction), res, (DCObject)cdo, (Parameters)null, (Request)request, (Result)result);
            }
            return(res);
        }
Exemple #7
0
        public ResultStatus Freeze(
            SellReasonMaint sellReasonMaint,
            SellReasonMaint_Parameters parameters,
            SellReasonMaint_Request request,
            out SellReasonMaint_Result result)
        {
            result = (SellReasonMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)sellReasonMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ISellReasonMaintService)this._Channel).Freeze(this._UserProfile, sellReasonMaint, parameters, request, out result) : this.AddMethod((Method) new SellReasonMaintMethod(sellReasonMaint, SellReasonMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)sellReasonMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Exemple #8
0
 public ResultStatus ExecuteTransaction(
     SellReasonMaint_Request request,
     out SellReasonMaint_Result result)
 {
     return(this.ExecuteTransaction((SellReasonMaint)null, request, out result));
 }
Exemple #9
0
 public ResultStatus GetEnvironment(
     SellReasonMaint_Request request,
     out SellReasonMaint_Result result)
 {
     return(this.GetEnvironment((SellReasonMaint)null, request, out result));
 }